From 7dc55c11e9f5e181faf53c532a6c6a70a2566cb4 Mon Sep 17 00:00:00 2001 From: Haoling Dong Date: Wed, 15 May 2024 17:00:12 +0800 Subject: [PATCH 01/12] remove raw type for getting description --- typespec-extension/src/code-model-builder.ts | 65 ++++++++++---------- 1 file changed, 33 insertions(+), 32 deletions(-) diff --git a/typespec-extension/src/code-model-builder.ts b/typespec-extension/src/code-model-builder.ts index acfa6d6b17..a0a9e4d00a 100644 --- a/typespec-extension/src/code-model-builder.ts +++ b/typespec-extension/src/code-model-builder.ts @@ -96,6 +96,7 @@ import { getProjectedName, getSummary, getTypeName, + getVisibility, ignoreDiagnostics, isArrayModelType, isErrorModel, @@ -120,7 +121,7 @@ import { getStatusCodeDescription, isPathParam, } from "@typespec/http"; -import { getResourceOperation } from "@typespec/rest"; +import { getResourceOperation, getSegment } from "@typespec/rest"; import { Version, getAddedOnVersions, getVersion } from "@typespec/versioning"; import { fail } from "assert"; import pkg from "lodash"; @@ -1792,8 +1793,8 @@ export class CodeModelBuilder { private processStringSchemaFromSdkType(type: SdkBuiltInType, name: string): StringSchema { return this.codeModel.schemas.add( - new StringSchema(name, this.getDoc(type.__raw), { - summary: this.getSummary(type.__raw), + new StringSchema(name, type.details ?? "", { + summary: type.description, }), ); } @@ -1801,8 +1802,8 @@ export class CodeModelBuilder { private processByteArraySchemaFromSdkType(type: SdkBuiltInType, name: string): ByteArraySchema { const base64Encoded: boolean = type.encode === "base64url"; return this.codeModel.schemas.add( - new ByteArraySchema(name, this.getDoc(type.__raw), { - summary: this.getSummary(type.__raw), + new ByteArraySchema(name, type.details ?? "", { + summary: type.description, format: base64Encoded ? "base64url" : "byte", }), ); @@ -1810,16 +1811,16 @@ export class CodeModelBuilder { private processIntegerSchemaFromSdkType(type: SdkBuiltInType, name: string, precision: number): NumberSchema { return this.codeModel.schemas.add( - new NumberSchema(name, this.getDoc(type.__raw), SchemaType.Integer, precision, { - summary: this.getSummary(type.__raw), + new NumberSchema(name, type.details ?? "", SchemaType.Integer, precision, { + summary: type.description, }), ); } private processNumberSchemaFromSdkType(type: SdkBuiltInType, name: string): NumberSchema { return this.codeModel.schemas.add( - new NumberSchema(name, this.getDoc(type.__raw), SchemaType.Number, 64, { - summary: this.getSummary(type.__raw), + new NumberSchema(name, type.details ?? "", SchemaType.Number, 64, { + summary: type.description, }), ); } @@ -1827,16 +1828,16 @@ export class CodeModelBuilder { private processDecimalSchemaFromSdkType(type: SdkBuiltInType, name: string): NumberSchema { // "Infinity" maps to "BigDecimal" in Java return this.codeModel.schemas.add( - new NumberSchema(name, this.getDoc(type.__raw), SchemaType.Number, Infinity, { - summary: this.getSummary(type.__raw), + new NumberSchema(name, type.details ?? "", SchemaType.Number, Infinity, { + summary: type.description, }), ); } private processBooleanSchemaFromSdkType(type: SdkBuiltInType, name: string): BooleanSchema { return this.codeModel.schemas.add( - new BooleanSchema(name, this.getDoc(type.__raw), { - summary: this.getSummary(type.__raw), + new BooleanSchema(name, type.details ?? "", { + summary: type.description, }), ); } @@ -1844,14 +1845,14 @@ export class CodeModelBuilder { private processArraySchemaFromSdkType(type: SdkArrayType, name: string): ArraySchema { const elementSchema = this.processSchemaFromSdkType(type.valueType, name); return this.codeModel.schemas.add( - new ArraySchema(name, this.getDoc(type.__raw), elementSchema, { - summary: this.getSummary(type.__raw), + new ArraySchema(name, type.details ?? "", elementSchema, { + summary: type.description, }), ); } private processDictionarySchemaFromSdkType(type: SdkDictionaryType, name: string): DictionarySchema { - const dictSchema = new DictionarySchema(name, type.details ? type.details : "", null, { + const dictSchema = new DictionarySchema(name, type.details ?? "", null, { summary: type.description, }); @@ -1904,8 +1905,8 @@ export class CodeModelBuilder { const valueType = this.processSchemaFromSdkType(type.valueType, type.valueType.kind); return this.codeModel.schemas.add( - new ConstantSchema(name, this.getDoc(type.__raw), { - summary: this.getSummary(type.__raw), + new ConstantSchema(name, type.details ?? "", { + summary: type.description, valueType: valueType, value: new ConstantValue(type.value), }), @@ -1916,8 +1917,8 @@ export class CodeModelBuilder { const valueType = this.processSchemaFromSdkType(type.enumType, type.enumType.name); return this.codeModel.schemas.add( - new ConstantSchema(name, this.getDoc(type.__raw), { - summary: this.getSummary(type.__raw), + new ConstantSchema(name, type.details ?? "", { + summary: type.description, valueType: valueType, value: new ConstantValue(type.value ?? type.name), }), @@ -1926,16 +1927,16 @@ export class CodeModelBuilder { private processUnixTimeSchemaFromSdkType(type: SdkDatetimeType, name: string): UnixTimeSchema { return this.codeModel.schemas.add( - new UnixTimeSchema(name, this.getDoc(type.__raw), { - summary: this.getSummary(type.__raw), + new UnixTimeSchema(name, type.details ?? "", { + summary: type.description, }), ); } private processDateTimeSchemaFromSdkType(type: SdkDatetimeType, name: string, rfc1123: boolean): DateTimeSchema { return this.codeModel.schemas.add( - new DateTimeSchema(name, this.getDoc(type.__raw), { - summary: this.getSummary(type.__raw), + new DateTimeSchema(name, type.details ?? "", { + summary: type.description, format: rfc1123 ? "date-time-rfc1123" : "date-time", }), ); @@ -1943,16 +1944,16 @@ export class CodeModelBuilder { private processDateSchemaFromSdkType(type: SdkBuiltInType, name: string): DateSchema { return this.codeModel.schemas.add( - new DateSchema(name, this.getDoc(type.__raw), { - summary: this.getSummary(type.__raw), + new DateSchema(name, type.details ?? "", { + summary: type.description, }), ); } private processTimeSchemaFromSdkType(type: SdkBuiltInType, name: string): TimeSchema { return this.codeModel.schemas.add( - new TimeSchema(name, this.getDoc(type.__raw), { - summary: this.getSummary(type.__raw), + new TimeSchema(name, type.details ?? "", { + summary: type.description, }), ); } @@ -1963,8 +1964,8 @@ export class CodeModelBuilder { format: DurationSchema["format"] = "duration-rfc3339", ): DurationSchema { return this.codeModel.schemas.add( - new DurationSchema(name, this.getDoc(type.__raw), { - summary: this.getSummary(type.__raw), + new DurationSchema(name, type.details ?? "", { + summary: type.description, format: format, }), ); @@ -1972,8 +1973,8 @@ export class CodeModelBuilder { private processUrlSchemaFromSdkType(type: SdkBuiltInType, name: string): UriSchema { return this.codeModel.schemas.add( - new UriSchema(name, this.getDoc(type.__raw), { - summary: this.getSummary(type.__raw), + new UriSchema(name, type.details ?? "", { + summary: type.description, }), ); } From 42ce21cf6cb4e32717f60d7fdec5daaf3b6597fa Mon Sep 17 00:00:00 2001 From: Haoling Dong Date: Wed, 15 May 2024 17:00:39 +0800 Subject: [PATCH 02/12] regen --- .../access/InternalOperationAsyncClient.java | 12 +- .../core/access/InternalOperationClient.java | 12 +- .../access/PublicOperationAsyncClient.java | 8 +- .../core/access/PublicOperationClient.java | 8 +- .../RelativeModelInOperationAsyncClient.java | 8 +- .../RelativeModelInOperationClient.java | 8 +- .../SharedModelInOperationAsyncClient.java | 8 +- .../access/SharedModelInOperationClient.java | 8 +- .../InternalOperationsImpl.java | 12 +- .../implementation/PublicOperationsImpl.java | 8 +- .../RelativeModelInOperationsImpl.java | 8 +- .../SharedModelInOperationsImpl.java | 8 +- .../implementation/models/AbstractModel.java | 4 +- .../implementation/models/BaseModel.java | 4 +- .../implementation/models/InnerModel.java | 4 +- .../InternalDecoratorModelInInternal.java | 4 +- .../models/NoDecoratorModelInInternal.java | 4 +- .../models/NoDecoratorModelInPublic.java | 4 +- .../PublicDecoratorModelInInternal.java | 4 +- .../models/PublicDecoratorModelInPublic.java | 4 +- .../core/access/models/SharedModel.java | 4 +- .../core/usage/models/InputModel.java | 4 +- .../core/usage/models/OrphanModel.java | 4 +- .../core/usage/models/OutputModel.java | 4 +- .../azure/core/basic/models/FirstItem.java | 6 +- .../core/basic/models/ListItemInputBody.java | 6 +- .../azure/core/basic/models/SecondItem.java | 6 +- .../_specs_/azure/core/basic/models/User.java | 30 +- .../azure/core/basic/models/UserOrder.java | 26 +- .../lro/rpc/models/GenerationOptions.java | 6 +- .../core/lro/rpc/models/GenerationResult.java | 6 +- .../lro/standard/models/ExportedUser.java | 12 +- .../azure/core/lro/standard/models/User.java | 12 +- .../scalar/models/AzureLocationModel.java | 4 +- .../azure/core/traits/models/User.java | 12 +- .../core/traits/models/UserActionParam.java | 6 +- .../traits/models/UserActionResponse.java | 6 +- .../fluent/models/OperationInner.java | 14 +- .../models/TopLevelArmResourceInner.java | 12 +- .../models/TopLevelArmResourceProperties.java | 18 +- .../models/ChildResourceListResult.java | 6 +- .../implementation/models/PagedOperation.java | 6 +- .../models/TopLevelArmResourceListResult.java | 6 +- .../models/ManagedServiceIdentity.java | 12 +- .../armresourceprovider/models/Operation.java | 10 +- .../models/OperationDisplay.java | 31 +- .../models/TopLevelArmResource.java | 18 +- .../TopLevelArmResourceUpdateProperties.java | 18 +- .../models/UserAssignedIdentity.java | 20 +- .../com/cadl/builtin/BuiltinAsyncClient.java | 30 +- .../java/com/cadl/builtin/BuiltinClient.java | 30 +- .../implementation/BuiltinOpsImpl.java | 28 +- .../java/com/cadl/builtin/models/Builtin.java | 48 +- .../java/com/cadl/builtin/models/Encoded.java | 12 +- .../cadl/errormodel/models/Diagnostic.java | 4 +- .../com/cadl/flatten/FlattenAsyncClient.java | 428 ------------ .../java/com/cadl/flatten/FlattenClient.java | 418 ----------- .../cadl/flatten/FlattenClientBuilder.java | 302 -------- .../cadl/flatten/FlattenServiceVersion.java | 40 -- .../implementation/FlattenClientImpl.java | 649 ------------------ .../implementation/JsonMergePatchHelper.java | 42 -- .../MultipartFormDataHelper.java | 210 ------ .../models/SendLongRequest.java | 368 ---------- .../models/SendProjectedNameRequest.java | 83 --- .../implementation/models/SendRequest.java | 136 ---- .../models/UploadFileRequest.java | 57 -- .../models/UploadTodoRequest.java | 199 ------ .../implementation/models/package-info.java | 10 - .../flatten/implementation/package-info.java | 10 - .../flatten/models/FileDataFileDetails.java | 97 --- .../cadl/flatten/models/SendLongOptions.java | 308 --------- .../flatten/models/SendLongRequestStatus.java | 61 -- .../com/cadl/flatten/models/TodoItem.java | 230 ------- .../cadl/flatten/models/TodoItemPatch.java | 212 ------ .../flatten/models/TodoItemPatchStatus.java | 61 -- .../flatten/models/UpdatePatchRequest.java | 137 ---- .../flatten/models/UploadTodoOptions.java | 198 ------ .../java/com/cadl/flatten/models/User.java | 83 --- .../com/cadl/flatten/models/package-info.java | 10 - .../java/com/cadl/flatten/package-info.java | 10 - .../models/ResponseInternalInner.java | 4 +- .../com/cadl/internal/models/ApiResponse.java | 4 +- .../cadl/internal/models/RequestInner.java | 4 +- .../internal/models/StandAloneDataInner.java | 4 +- .../longrunning/LongRunningAsyncClient.java | 4 +- .../cadl/longrunning/LongRunningClient.java | 4 +- .../implementation/LongRunningClientImpl.java | 4 +- .../com/cadl/longrunning/models/JobData.java | 6 +- .../cadl/longrunning/models/JobResult.java | 4 +- .../longrunning/models/JobResultResult.java | 4 +- .../cadl/longrunning/models/PollResponse.java | 4 +- .../cadl/model/models/InputOutputData2.java | 4 +- .../com/cadl/model/models/NestedModel2.java | 4 +- .../com/cadl/model/models/OutputData.java | 4 +- .../com/cadl/model/models/OutputData3.java | 4 +- .../java/com/cadl/model/models/Resource1.java | 4 +- .../java/com/cadl/model/models/Resource2.java | 4 +- .../java/com/cadl/model/models/Resource3.java | 4 +- .../multicontenttypes/models/Resource.java | 8 +- .../cadl/multipart/MultipartAsyncClient.java | 10 +- .../com/cadl/multipart/MultipartClient.java | 10 +- .../implementation/MultipartClientImpl.java | 8 +- .../com/cadl/multipart/models/FormData.java | 8 +- .../java/com/cadl/multipart/models/Size.java | 8 +- .../multipleapiversion/FirstAsyncClient.java | 4 +- .../cadl/multipleapiversion/FirstClient.java | 4 +- .../NoApiVersionAsyncClient.java | 4 +- .../NoApiVersionClient.java | 4 +- .../multipleapiversion/SecondAsyncClient.java | 4 +- .../cadl/multipleapiversion/SecondClient.java | 4 +- .../implementation/FirstClientImpl.java | 4 +- .../NoApiVersionClientImpl.java | 4 +- .../implementation/SecondClientImpl.java | 4 +- .../multipleapiversion/models/Resource.java | 12 +- .../multipleapiversion/models/Resource2.java | 12 +- .../com/cadl/naming/models/BytesData.java | 10 +- .../java/com/cadl/naming/models/Data.java | 4 +- .../naming/models/GetAnonymousResponse.java | 4 +- .../cadl/optional/OptionalAsyncClient.java | 26 +- .../com/cadl/optional/OptionalClient.java | 26 +- .../implementation/OptionalOpsImpl.java | 20 +- .../models/AllPropertiesOptional.java | 52 +- .../cadl/optional/models/ImmutableModel.java | 8 +- .../com/cadl/optional/models/Optional.java | 70 +- .../models/PartialUpdateModel.java | 18 +- .../main/java/com/cadl/patch/models/Fish.java | 24 +- .../com/cadl/patch/models/InnerModel.java | 12 +- .../java/com/cadl/patch/models/Resource.java | 26 +- .../ProtocolAndConvenientAsyncClient.java | 7 +- .../ProtocolAndConvenientClient.java | 7 +- .../ProtocolAndConvenienceOpsImpl.java | 24 +- .../models/ResourceA.java | 8 +- .../models/ResourceB.java | 8 +- .../models/ResourceE.java | 8 +- .../models/ResourceF.java | 8 +- .../models/ResourceI.java | 12 +- .../models/ResourceJ.java | 12 +- .../response/models/OperationDetails1.java | 6 +- .../response/models/OperationDetails2.java | 6 +- .../com/cadl/response/models/Resource.java | 18 +- .../com/cadl/server/ContosoAsyncClient.java | 4 +- .../java/com/cadl/server/ContosoClient.java | 4 +- .../com/cadl/server/HttpbinAsyncClient.java | 4 +- .../java/com/cadl/server/HttpbinClient.java | 4 +- .../implementation/ContosoClientImpl.java | 4 +- .../implementation/HttpbinClientImpl.java | 4 +- .../specialchars/SpecialCharsAsyncClient.java | 2 +- .../cadl/specialchars/SpecialCharsClient.java | 2 +- .../implementation/models/ReadRequest.java | 4 +- .../cadl/specialchars/models/Resource.java | 30 +- .../EtagHeadersAsyncClient.java | 12 +- .../specialheaders/EtagHeadersClient.java | 12 +- .../EtagHeadersOptionalBodyAsyncClient.java | 15 +- .../EtagHeadersOptionalBodyClient.java | 15 +- .../RepeatabilityHeadersAsyncClient.java | 16 +- .../RepeatabilityHeadersClient.java | 16 +- .../SkipSpecialHeadersAsyncClient.java | 8 +- .../SkipSpecialHeadersClient.java | 8 +- .../implementation/EtagHeadersImpl.java | 8 +- .../EtagHeadersOptionalBodiesImpl.java | 14 +- .../RepeatabilityHeadersImpl.java | 24 +- .../SkipSpecialHeadersImpl.java | 8 +- .../cadl/specialheaders/models/Resource.java | 20 +- .../java/com/cadl/union/UnionAsyncClient.java | 10 +- .../main/java/com/cadl/union/UnionClient.java | 10 +- .../implementation/UnionFlattenOpsImpl.java | 12 +- .../models/SendLongRequest.java | 20 +- .../implementation/models/SubResult.java | 6 +- .../java/com/cadl/union/models/Result.java | 4 +- .../cadl/union/models/SendLongOptions.java | 30 +- .../main/java/com/cadl/union/models/User.java | 4 +- .../versioning/VersioningAsyncClient.java | 18 +- .../com/cadl/versioning/VersioningClient.java | 18 +- .../implementation/VersioningOpsImpl.java | 44 +- .../versioning/models/ExportedResource.java | 8 +- .../com/cadl/versioning/models/Resource.java | 12 +- .../java/com/cadl/visibility/models/Dog.java | 12 +- .../com/cadl/visibility/models/ReadDog.java | 8 +- .../visibility/models/RoundTripModel.java | 8 +- .../com/cadl/visibility/models/WriteDog.java | 4 +- .../wiretype/models/SubClassBothMismatch.java | 4 +- .../com/client/naming/NamingAsyncClient.java | 8 +- .../java/com/client/naming/NamingClient.java | 8 +- .../implementation/NamingClientImpl.java | 8 +- .../com/client/naming/models/ClientModel.java | 6 +- .../ClientNameAndJsonEncodedNameModel.java | 6 +- .../client/naming/models/ClientNameModel.java | 6 +- .../com/client/naming/models/JavaModel.java | 6 +- .../models/LanguageClientNameModel.java | 6 +- .../com/encode/bytes/HeaderAsyncClient.java | 12 +- .../java/com/encode/bytes/HeaderClient.java | 12 +- .../com/encode/bytes/QueryAsyncClient.java | 12 +- .../java/com/encode/bytes/QueryClient.java | 12 +- .../encode/bytes/RequestBodyAsyncClient.java | 12 +- .../com/encode/bytes/RequestBodyClient.java | 12 +- .../encode/bytes/ResponseBodyAsyncClient.java | 4 +- .../com/encode/bytes/ResponseBodyClient.java | 4 +- .../bytes/implementation/HeadersImpl.java | 12 +- .../bytes/implementation/QueriesImpl.java | 12 +- .../implementation/RequestBodiesImpl.java | 12 +- .../implementation/ResponseBodiesImpl.java | 4 +- .../bytes/models/Base64BytesProperty.java | 4 +- .../bytes/models/Base64urlBytesProperty.java | 4 +- .../bytes/models/DefaultBytesProperty.java | 4 +- .../encode/datetime/HeaderAsyncClient.java | 16 +- .../com/encode/datetime/HeaderClient.java | 16 +- .../com/encode/datetime/QueryAsyncClient.java | 16 +- .../java/com/encode/datetime/QueryClient.java | 16 +- .../datetime/implementation/HeadersImpl.java | 16 +- .../datetime/implementation/QueriesImpl.java | 16 +- .../encode/duration/HeaderAsyncClient.java | 20 +- .../com/encode/duration/HeaderClient.java | 20 +- .../com/encode/duration/QueryAsyncClient.java | 20 +- .../java/com/encode/duration/QueryClient.java | 20 +- .../duration/implementation/HeadersImpl.java | 20 +- .../duration/implementation/QueriesImpl.java | 20 +- .../basic/ImplicitBodyAsyncClient.java | 2 +- .../parameters/basic/ImplicitBodyClient.java | 2 +- .../implementation/models/SimpleRequest.java | 4 +- .../com/parameters/basic/models/User.java | 4 +- .../bodyoptionality/models/BodyModel.java | 4 +- .../parameters/spread/AliasAsyncClient.java | 16 +- .../com/parameters/spread/AliasClient.java | 16 +- .../parameters/spread/ModelAsyncClient.java | 24 +- .../com/parameters/spread/ModelClient.java | 24 +- .../spread/implementation/AliasImpl.java | 16 +- .../spread/implementation/ModelsImpl.java | 24 +- .../models/SpreadAsRequestBodyRequest.java | 4 +- .../SpreadAsRequestParameterRequest.java | 4 +- .../SpreadWithMultipleParametersRequest.java | 24 +- .../spread/models/BodyParameter.java | 4 +- .../spread/models/CompositeRequestMix.java | 4 +- .../SpreadWithMultipleParametersOptions.java | 32 +- .../models/PngImageAsJson.java | 4 +- .../jsonmergepatch/models/InnerModel.java | 12 +- .../jsonmergepatch/models/Resource.java | 22 +- .../jsonmergepatch/models/ResourcePatch.java | 18 +- .../mediatype/MediaTypeAsyncClient.java | 8 +- .../payload/mediatype/MediaTypeClient.java | 8 +- .../implementation/StringBodiesImpl.java | 8 +- .../com/payload/multipart/models/Address.java | 4 +- .../models/BinaryArrayPartsRequest.java | 4 +- .../multipart/models/ComplexPartsRequest.java | 4 +- .../multipart/models/MultiPartRequest.java | 4 +- .../com/payload/pageable/models/User.java | 6 +- .../json/models/JsonEncodedNameModel.java | 6 +- .../path/multiple/MultipleAsyncClient.java | 4 +- .../server/path/multiple/MultipleClient.java | 4 +- .../implementation/MultipleClientImpl.java | 4 +- .../notversioned/NotVersionedAsyncClient.java | 8 +- .../notversioned/NotVersionedClient.java | 8 +- .../NotVersionedClientImpl.java | 8 +- .../specialwords/ParametersAsyncClient.java | 136 ++-- .../com/specialwords/ParametersClient.java | 136 ++-- .../implementation/ParametersImpl.java | 136 ++-- .../java/com/specialwords/models/And.java | 4 +- .../main/java/com/specialwords/models/As.java | 4 +- .../java/com/specialwords/models/Assert.java | 4 +- .../java/com/specialwords/models/Async.java | 4 +- .../java/com/specialwords/models/Await.java | 4 +- .../java/com/specialwords/models/Break.java | 4 +- .../com/specialwords/models/ClassModel.java | 4 +- .../com/specialwords/models/Constructor.java | 4 +- .../com/specialwords/models/Continue.java | 4 +- .../java/com/specialwords/models/Def.java | 4 +- .../java/com/specialwords/models/Del.java | 4 +- .../java/com/specialwords/models/Elif.java | 4 +- .../java/com/specialwords/models/Else.java | 4 +- .../java/com/specialwords/models/Except.java | 4 +- .../java/com/specialwords/models/Exec.java | 4 +- .../java/com/specialwords/models/Finally.java | 4 +- .../java/com/specialwords/models/For.java | 4 +- .../java/com/specialwords/models/From.java | 4 +- .../java/com/specialwords/models/Global.java | 4 +- .../main/java/com/specialwords/models/If.java | 4 +- .../java/com/specialwords/models/Import.java | 4 +- .../main/java/com/specialwords/models/In.java | 4 +- .../main/java/com/specialwords/models/Is.java | 4 +- .../java/com/specialwords/models/Lambda.java | 4 +- .../java/com/specialwords/models/Not.java | 4 +- .../main/java/com/specialwords/models/Or.java | 4 +- .../java/com/specialwords/models/Pass.java | 4 +- .../java/com/specialwords/models/Raise.java | 4 +- .../java/com/specialwords/models/Return.java | 4 +- .../com/specialwords/models/SameAsModel.java | 4 +- .../java/com/specialwords/models/Try.java | 4 +- .../java/com/specialwords/models/While.java | 4 +- .../java/com/specialwords/models/With.java | 4 +- .../java/com/specialwords/models/Yield.java | 4 +- .../com/type/array/models/InnerModel.java | 6 +- .../type/dictionary/models/InnerModel.java | 6 +- .../flatten/models/ChildFlattenModel.java | 4 +- .../type/model/flatten/models/ChildModel.java | 8 +- .../model/flatten/models/FlattenModel.java | 4 +- .../flatten/models/NestedFlattenModel.java | 4 +- .../enumdiscriminator/models/Dog.java | 6 +- .../enumdiscriminator/models/Snake.java | 6 +- .../nesteddiscriminator/models/Fish.java | 4 +- .../models/GoblinShark.java | 4 +- .../nesteddiscriminator/models/SawShark.java | 4 +- .../nesteddiscriminator/models/Shark.java | 4 +- .../notdiscriminated/models/Cat.java | 4 +- .../notdiscriminated/models/Pet.java | 4 +- .../notdiscriminated/models/Siamese.java | 4 +- .../recursive/models/Extension.java | 4 +- .../singlediscriminator/models/Bird.java | 8 +- .../singlediscriminator/models/Dinosaur.java | 4 +- .../singlediscriminator/models/Eagle.java | 4 +- .../singlediscriminator/models/Goose.java | 4 +- .../singlediscriminator/models/SeaGull.java | 4 +- .../singlediscriminator/models/Sparrow.java | 4 +- .../model/usage/models/InputOutputRecord.java | 4 +- .../type/model/usage/models/InputRecord.java | 4 +- .../type/model/usage/models/OutputRecord.java | 4 +- .../visibility/models/VisibilityModel.java | 18 +- .../models/DifferentSpreadFloatDerived.java | 6 +- .../models/DifferentSpreadFloatRecord.java | 6 +- .../DifferentSpreadModelArrayRecord.java | 4 +- .../models/DifferentSpreadModelRecord.java | 4 +- .../models/DifferentSpreadStringDerived.java | 6 +- .../models/DifferentSpreadStringRecord.java | 6 +- .../ExtendsFloatAdditionalProperties.java | 6 +- .../ExtendsStringAdditionalProperties.java | 6 +- .../ExtendsUnknownAdditionalProperties.java | 6 +- ...ndsUnknownAdditionalPropertiesDerived.java | 16 +- ...nownAdditionalPropertiesDiscriminated.java | 12 +- ...itionalPropertiesDiscriminatedDerived.java | 22 +- .../models/IsFloatAdditionalProperties.java | 6 +- .../models/IsStringAdditionalProperties.java | 6 +- .../models/IsUnknownAdditionalProperties.java | 6 +- .../IsUnknownAdditionalPropertiesDerived.java | 16 +- ...nownAdditionalPropertiesDiscriminated.java | 12 +- ...itionalPropertiesDiscriminatedDerived.java | 22 +- .../models/ModelForRecord.java | 6 +- .../models/MultipleSpreadRecord.java | 6 +- .../models/SpreadFloatRecord.java | 6 +- .../SpreadRecordForDiscriminatedUnion.java | 6 +- .../SpreadRecordForNonDiscriminatedUnion.java | 6 +- ...SpreadRecordForNonDiscriminatedUnion2.java | 6 +- ...SpreadRecordForNonDiscriminatedUnion3.java | 6 +- .../models/SpreadRecordForUnion.java | 6 +- .../models/SpreadStringRecord.java | 6 +- .../models/WidgetData0.java | 4 +- .../models/WidgetData2.java | 4 +- .../nullable/models/BytesProperty.java | 20 +- .../models/CollectionsByteProperty.java | 10 +- .../models/CollectionsModelProperty.java | 10 +- .../nullable/models/DatetimeProperty.java | 10 +- .../nullable/models/DurationProperty.java | 10 +- .../property/nullable/models/InnerModel.java | 10 +- .../nullable/models/StringProperty.java | 20 +- .../optional/models/BytesProperty.java | 10 +- .../models/RequiredAndOptionalProperty.java | 16 +- .../optional/models/StringProperty.java | 10 +- .../valuetypes/models/BooleanProperty.java | 6 +- .../valuetypes/models/BytesProperty.java | 6 +- .../valuetypes/models/Decimal128Property.java | 6 +- .../valuetypes/models/DecimalProperty.java | 9 +- .../valuetypes/models/FloatProperty.java | 6 +- .../valuetypes/models/InnerModel.java | 6 +- .../valuetypes/models/IntProperty.java | 6 +- .../valuetypes/models/StringProperty.java | 6 +- .../scalar/Decimal128TypeAsyncClient.java | 8 +- .../com/type/scalar/Decimal128TypeClient.java | 8 +- .../scalar/Decimal128VerifyAsyncClient.java | 6 +- .../type/scalar/Decimal128VerifyClient.java | 6 +- .../type/scalar/DecimalTypeAsyncClient.java | 12 +- .../com/type/scalar/DecimalTypeClient.java | 12 +- .../type/scalar/DecimalVerifyAsyncClient.java | 6 +- .../com/type/scalar/DecimalVerifyClient.java | 6 +- .../implementation/Decimal128TypesImpl.java | 8 +- .../Decimal128VerifiesImpl.java | 6 +- .../implementation/DecimalTypesImpl.java | 12 +- .../implementation/DecimalVerifiesImpl.java | 6 +- .../main/java/com/type/union/models/Cat.java | 4 +- .../main/java/com/type/union/models/Dog.java | 4 +- .../versioning/added/AddedAsyncClient.java | 4 +- .../com/versioning/added/AddedClient.java | 4 +- .../added/implementation/AddedClientImpl.java | 4 +- .../com/versioning/added/models/ModelV1.java | 4 +- .../com/versioning/added/models/ModelV2.java | 4 +- .../madeoptional/MadeOptionalAsyncClient.java | 4 +- .../madeoptional/MadeOptionalClient.java | 4 +- .../MadeOptionalClientImpl.java | 4 +- .../madeoptional/models/TestModel.java | 10 +- .../versioning/removed/models/ModelV2.java | 4 +- .../renamedfrom/RenamedFromAsyncClient.java | 4 +- .../renamedfrom/RenamedFromClient.java | 4 +- .../implementation/RenamedFromClientImpl.java | 4 +- .../renamedfrom/models/NewModel.java | 4 +- .../ReturnTypeChangedFromAsyncClient.java | 4 +- .../ReturnTypeChangedFromClient.java | 4 +- .../ReturnTypeChangedFromClientImpl.java | 4 +- .../TypeChangedFromAsyncClient.java | 4 +- .../TypeChangedFromClient.java | 4 +- .../TypeChangedFromClientImpl.java | 4 +- .../typechangedfrom/models/TestModel.java | 8 +- 397 files changed, 2094 insertions(+), 5999 deletions(-) delete mode 100644 typespec-tests/src/main/java/com/cadl/flatten/FlattenAsyncClient.java delete mode 100644 typespec-tests/src/main/java/com/cadl/flatten/FlattenClient.java delete mode 100644 typespec-tests/src/main/java/com/cadl/flatten/FlattenClientBuilder.java delete mode 100644 typespec-tests/src/main/java/com/cadl/flatten/FlattenServiceVersion.java delete mode 100644 typespec-tests/src/main/java/com/cadl/flatten/implementation/FlattenClientImpl.java delete mode 100644 typespec-tests/src/main/java/com/cadl/flatten/implementation/JsonMergePatchHelper.java delete mode 100644 typespec-tests/src/main/java/com/cadl/flatten/implementation/MultipartFormDataHelper.java delete mode 100644 typespec-tests/src/main/java/com/cadl/flatten/implementation/models/SendLongRequest.java delete mode 100644 typespec-tests/src/main/java/com/cadl/flatten/implementation/models/SendProjectedNameRequest.java delete mode 100644 typespec-tests/src/main/java/com/cadl/flatten/implementation/models/SendRequest.java delete mode 100644 typespec-tests/src/main/java/com/cadl/flatten/implementation/models/UploadFileRequest.java delete mode 100644 typespec-tests/src/main/java/com/cadl/flatten/implementation/models/UploadTodoRequest.java delete mode 100644 typespec-tests/src/main/java/com/cadl/flatten/implementation/models/package-info.java delete mode 100644 typespec-tests/src/main/java/com/cadl/flatten/implementation/package-info.java delete mode 100644 typespec-tests/src/main/java/com/cadl/flatten/models/FileDataFileDetails.java delete mode 100644 typespec-tests/src/main/java/com/cadl/flatten/models/SendLongOptions.java delete mode 100644 typespec-tests/src/main/java/com/cadl/flatten/models/SendLongRequestStatus.java delete mode 100644 typespec-tests/src/main/java/com/cadl/flatten/models/TodoItem.java delete mode 100644 typespec-tests/src/main/java/com/cadl/flatten/models/TodoItemPatch.java delete mode 100644 typespec-tests/src/main/java/com/cadl/flatten/models/TodoItemPatchStatus.java delete mode 100644 typespec-tests/src/main/java/com/cadl/flatten/models/UpdatePatchRequest.java delete mode 100644 typespec-tests/src/main/java/com/cadl/flatten/models/UploadTodoOptions.java delete mode 100644 typespec-tests/src/main/java/com/cadl/flatten/models/User.java delete mode 100644 typespec-tests/src/main/java/com/cadl/flatten/models/package-info.java delete mode 100644 typespec-tests/src/main/java/com/cadl/flatten/package-info.java diff --git a/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/InternalOperationAsyncClient.java b/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/InternalOperationAsyncClient.java index eb246b40cc..1cadd70dd1 100644 --- a/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/InternalOperationAsyncClient.java +++ b/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/InternalOperationAsyncClient.java @@ -50,7 +50,7 @@ public final class InternalOperationAsyncClient { * } * } * - * @param name A sequence of textual characters. + * @param name The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -75,7 +75,7 @@ Mono> noDecoratorInInternalWithResponse(String name, Reques * } * } * - * @param name A sequence of textual characters. + * @param name The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -100,7 +100,7 @@ Mono> internalDecoratorInInternalWithResponse(String name, * } * } * - * @param name A sequence of textual characters. + * @param name The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -118,7 +118,7 @@ Mono> publicDecoratorInInternalWithResponse(String name, Re /** * The noDecoratorInInternal operation. * - * @param name A sequence of textual characters. + * @param name The name parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -140,7 +140,7 @@ Mono noDecoratorInInternal(String name) { /** * The internalDecoratorInInternal operation. * - * @param name A sequence of textual characters. + * @param name The name parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -162,7 +162,7 @@ Mono internalDecoratorInInternal(String name) /** * The publicDecoratorInInternal operation. * - * @param name A sequence of textual characters. + * @param name The name parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/InternalOperationClient.java b/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/InternalOperationClient.java index 7ad987d3e4..31dd4b8672 100644 --- a/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/InternalOperationClient.java +++ b/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/InternalOperationClient.java @@ -48,7 +48,7 @@ public final class InternalOperationClient { * } * } * - * @param name A sequence of textual characters. + * @param name The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -72,7 +72,7 @@ Response noDecoratorInInternalWithResponse(String name, RequestOptio * } * } * - * @param name A sequence of textual characters. + * @param name The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -96,7 +96,7 @@ Response internalDecoratorInInternalWithResponse(String name, Reques * } * } * - * @param name A sequence of textual characters. + * @param name The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -114,7 +114,7 @@ Response publicDecoratorInInternalWithResponse(String name, RequestO /** * The noDecoratorInInternal operation. * - * @param name A sequence of textual characters. + * @param name The name parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -135,7 +135,7 @@ NoDecoratorModelInInternal noDecoratorInInternal(String name) { /** * The internalDecoratorInInternal operation. * - * @param name A sequence of textual characters. + * @param name The name parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -156,7 +156,7 @@ InternalDecoratorModelInInternal internalDecoratorInInternal(String name) { /** * The publicDecoratorInInternal operation. * - * @param name A sequence of textual characters. + * @param name The name parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/PublicOperationAsyncClient.java b/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/PublicOperationAsyncClient.java index 4bea89e554..78913337ba 100644 --- a/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/PublicOperationAsyncClient.java +++ b/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/PublicOperationAsyncClient.java @@ -49,7 +49,7 @@ public final class PublicOperationAsyncClient { * } * } * - * @param name A sequence of textual characters. + * @param name The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -74,7 +74,7 @@ public Mono> noDecoratorInPublicWithResponse(String name, R * } * } * - * @param name A sequence of textual characters. + * @param name The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -92,7 +92,7 @@ public Mono> publicDecoratorInPublicWithResponse(String nam /** * The noDecoratorInPublic operation. * - * @param name A sequence of textual characters. + * @param name The name parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -113,7 +113,7 @@ public Mono noDecoratorInPublic(String name) { /** * The publicDecoratorInPublic operation. * - * @param name A sequence of textual characters. + * @param name The name parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/PublicOperationClient.java b/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/PublicOperationClient.java index 49a902e38c..472adda679 100644 --- a/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/PublicOperationClient.java +++ b/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/PublicOperationClient.java @@ -47,7 +47,7 @@ public final class PublicOperationClient { * } * } * - * @param name A sequence of textual characters. + * @param name The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -71,7 +71,7 @@ public Response noDecoratorInPublicWithResponse(String name, Request * } * } * - * @param name A sequence of textual characters. + * @param name The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -88,7 +88,7 @@ public Response publicDecoratorInPublicWithResponse(String name, Req /** * The noDecoratorInPublic operation. * - * @param name A sequence of textual characters. + * @param name The name parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -109,7 +109,7 @@ public NoDecoratorModelInPublic noDecoratorInPublic(String name) { /** * The publicDecoratorInPublic operation. * - * @param name A sequence of textual characters. + * @param name The name parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/RelativeModelInOperationAsyncClient.java b/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/RelativeModelInOperationAsyncClient.java index 1870770c50..42e2631c8d 100644 --- a/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/RelativeModelInOperationAsyncClient.java +++ b/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/RelativeModelInOperationAsyncClient.java @@ -62,7 +62,7 @@ public final class RelativeModelInOperationAsyncClient { * } * } * - * @param name A sequence of textual characters. + * @param name The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -95,7 +95,7 @@ Mono> operationWithResponse(String name, RequestOptions req * } * } * - * @param kind A sequence of textual characters. + * @param kind The kind parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -123,7 +123,7 @@ Mono> discriminatorWithResponse(String kind, RequestOptions * } * ```. * - * @param name A sequence of textual characters. + * @param name The name parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -152,7 +152,7 @@ Mono operation(String name) { * } * ```. * - * @param kind A sequence of textual characters. + * @param kind The kind parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/RelativeModelInOperationClient.java b/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/RelativeModelInOperationClient.java index 8a7f294361..f49e30819d 100644 --- a/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/RelativeModelInOperationClient.java +++ b/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/RelativeModelInOperationClient.java @@ -60,7 +60,7 @@ public final class RelativeModelInOperationClient { * } * } * - * @param name A sequence of textual characters. + * @param name The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -92,7 +92,7 @@ Response operationWithResponse(String name, RequestOptions requestOp * } * } * - * @param kind A sequence of textual characters. + * @param kind The kind parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -119,7 +119,7 @@ Response discriminatorWithResponse(String kind, RequestOptions reque * } * ```. * - * @param name A sequence of textual characters. + * @param name The name parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -146,7 +146,7 @@ OuterModel operation(String name) { * } * ```. * - * @param kind A sequence of textual characters. + * @param kind The kind parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/SharedModelInOperationAsyncClient.java b/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/SharedModelInOperationAsyncClient.java index 85ac763395..8b3caf31cb 100644 --- a/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/SharedModelInOperationAsyncClient.java +++ b/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/SharedModelInOperationAsyncClient.java @@ -48,7 +48,7 @@ public final class SharedModelInOperationAsyncClient { * } * } * - * @param name A sequence of textual characters. + * @param name The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -73,7 +73,7 @@ public Mono> publicMethodWithResponse(String name, RequestO * } * } * - * @param name A sequence of textual characters. + * @param name The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -91,7 +91,7 @@ Mono> internalWithResponse(String name, RequestOptions requ /** * The publicMethod operation. * - * @param name A sequence of textual characters. + * @param name The name parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -112,7 +112,7 @@ public Mono publicMethod(String name) { /** * The internal operation. * - * @param name A sequence of textual characters. + * @param name The name parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/SharedModelInOperationClient.java b/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/SharedModelInOperationClient.java index 33b125d2de..dd99a503de 100644 --- a/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/SharedModelInOperationClient.java +++ b/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/SharedModelInOperationClient.java @@ -46,7 +46,7 @@ public final class SharedModelInOperationClient { * } * } * - * @param name A sequence of textual characters. + * @param name The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -70,7 +70,7 @@ public Response publicMethodWithResponse(String name, RequestOptions * } * } * - * @param name A sequence of textual characters. + * @param name The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -87,7 +87,7 @@ Response internalWithResponse(String name, RequestOptions requestOpt /** * The publicMethod operation. * - * @param name A sequence of textual characters. + * @param name The name parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -107,7 +107,7 @@ public SharedModel publicMethod(String name) { /** * The internal operation. * - * @param name A sequence of textual characters. + * @param name The name parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/implementation/InternalOperationsImpl.java b/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/implementation/InternalOperationsImpl.java index 94c8ccb8d9..1f546b3b79 100644 --- a/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/implementation/InternalOperationsImpl.java +++ b/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/implementation/InternalOperationsImpl.java @@ -122,7 +122,7 @@ Response publicDecoratorInInternalSync(@QueryParam("name") String na * } * } * - * @param name A sequence of textual characters. + * @param name The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -148,7 +148,7 @@ public Mono> noDecoratorInInternalWithResponseAsync(String * } * } * - * @param name A sequence of textual characters. + * @param name The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -172,7 +172,7 @@ public Response noDecoratorInInternalWithResponse(String name, Reque * } * } * - * @param name A sequence of textual characters. + * @param name The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -199,7 +199,7 @@ public Mono> internalDecoratorInInternalWithResponseAsync(S * } * } * - * @param name A sequence of textual characters. + * @param name The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -223,7 +223,7 @@ public Response internalDecoratorInInternalWithResponse(String name, * } * } * - * @param name A sequence of textual characters. + * @param name The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -250,7 +250,7 @@ public Mono> publicDecoratorInInternalWithResponseAsync(Str * } * } * - * @param name A sequence of textual characters. + * @param name The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/implementation/PublicOperationsImpl.java b/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/implementation/PublicOperationsImpl.java index f0ef0c11b5..3c5b2aec41 100644 --- a/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/implementation/PublicOperationsImpl.java +++ b/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/implementation/PublicOperationsImpl.java @@ -104,7 +104,7 @@ Response publicDecoratorInPublicSync(@QueryParam("name") String name * } * } * - * @param name A sequence of textual characters. + * @param name The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -129,7 +129,7 @@ public Mono> noDecoratorInPublicWithResponseAsync(String na * } * } * - * @param name A sequence of textual characters. + * @param name The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -153,7 +153,7 @@ public Response noDecoratorInPublicWithResponse(String name, Request * } * } * - * @param name A sequence of textual characters. + * @param name The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -179,7 +179,7 @@ public Mono> publicDecoratorInPublicWithResponseAsync(Strin * } * } * - * @param name A sequence of textual characters. + * @param name The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/implementation/RelativeModelInOperationsImpl.java b/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/implementation/RelativeModelInOperationsImpl.java index 4c5ad5562f..ecd6b80784 100644 --- a/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/implementation/RelativeModelInOperationsImpl.java +++ b/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/implementation/RelativeModelInOperationsImpl.java @@ -117,7 +117,7 @@ Response discriminatorSync(@QueryParam("kind") String kind, @HeaderP * } * } * - * @param name A sequence of textual characters. + * @param name The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -155,7 +155,7 @@ public Mono> operationWithResponseAsync(String name, Reques * } * } * - * @param name A sequence of textual characters. + * @param name The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -187,7 +187,7 @@ public Response operationWithResponse(String name, RequestOptions re * } * } * - * @param kind A sequence of textual characters. + * @param kind The kind parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -220,7 +220,7 @@ public Mono> discriminatorWithResponseAsync(String kind, Re * } * } * - * @param kind A sequence of textual characters. + * @param kind The kind parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/implementation/SharedModelInOperationsImpl.java b/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/implementation/SharedModelInOperationsImpl.java index 204a88cf95..cd3684b45b 100644 --- a/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/implementation/SharedModelInOperationsImpl.java +++ b/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/implementation/SharedModelInOperationsImpl.java @@ -104,7 +104,7 @@ Response internalSync(@QueryParam("name") String name, @HeaderParam( * } * } * - * @param name A sequence of textual characters. + * @param name The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -129,7 +129,7 @@ public Mono> publicMethodWithResponseAsync(String name, Req * } * } * - * @param name A sequence of textual characters. + * @param name The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -153,7 +153,7 @@ public Response publicMethodWithResponse(String name, RequestOptions * } * } * - * @param name A sequence of textual characters. + * @param name The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -178,7 +178,7 @@ public Mono> internalWithResponseAsync(String name, Request * } * } * - * @param name A sequence of textual characters. + * @param name The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/implementation/models/AbstractModel.java b/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/implementation/models/AbstractModel.java index 7ff66964b9..8963580297 100644 --- a/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/implementation/models/AbstractModel.java +++ b/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/implementation/models/AbstractModel.java @@ -24,7 +24,7 @@ public class AbstractModel implements JsonSerializable { private String kind; /* - * The name property. + * A sequence of textual characters. */ @Generated private final String name; @@ -51,7 +51,7 @@ public String getKind() { } /** - * Get the name property: The name property. + * Get the name property: A sequence of textual characters. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/implementation/models/BaseModel.java b/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/implementation/models/BaseModel.java index a07093e2f2..31ecbeaa43 100644 --- a/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/implementation/models/BaseModel.java +++ b/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/implementation/models/BaseModel.java @@ -18,7 +18,7 @@ @Immutable public class BaseModel implements JsonSerializable { /* - * The name property. + * A sequence of textual characters. */ @Generated private final String name; @@ -34,7 +34,7 @@ protected BaseModel(String name) { } /** - * Get the name property: The name property. + * Get the name property: A sequence of textual characters. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/implementation/models/InnerModel.java b/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/implementation/models/InnerModel.java index f25467917c..8faecc40dc 100644 --- a/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/implementation/models/InnerModel.java +++ b/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/implementation/models/InnerModel.java @@ -18,7 +18,7 @@ @Immutable public final class InnerModel implements JsonSerializable { /* - * The name property. + * A sequence of textual characters. */ @Generated private final String name; @@ -34,7 +34,7 @@ private InnerModel(String name) { } /** - * Get the name property: The name property. + * Get the name property: A sequence of textual characters. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/implementation/models/InternalDecoratorModelInInternal.java b/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/implementation/models/InternalDecoratorModelInInternal.java index ef5a20cd5b..bd8cd9ed7c 100644 --- a/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/implementation/models/InternalDecoratorModelInInternal.java +++ b/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/implementation/models/InternalDecoratorModelInInternal.java @@ -18,7 +18,7 @@ @Immutable public final class InternalDecoratorModelInInternal implements JsonSerializable { /* - * The name property. + * A sequence of textual characters. */ @Generated private final String name; @@ -34,7 +34,7 @@ private InternalDecoratorModelInInternal(String name) { } /** - * Get the name property: The name property. + * Get the name property: A sequence of textual characters. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/implementation/models/NoDecoratorModelInInternal.java b/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/implementation/models/NoDecoratorModelInInternal.java index 9a68f77faf..90be3ad7c4 100644 --- a/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/implementation/models/NoDecoratorModelInInternal.java +++ b/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/implementation/models/NoDecoratorModelInInternal.java @@ -18,7 +18,7 @@ @Immutable public final class NoDecoratorModelInInternal implements JsonSerializable { /* - * The name property. + * A sequence of textual characters. */ @Generated private final String name; @@ -34,7 +34,7 @@ private NoDecoratorModelInInternal(String name) { } /** - * Get the name property: The name property. + * Get the name property: A sequence of textual characters. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/models/NoDecoratorModelInPublic.java b/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/models/NoDecoratorModelInPublic.java index a9b58bb9fb..d4a808cd97 100644 --- a/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/models/NoDecoratorModelInPublic.java +++ b/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/models/NoDecoratorModelInPublic.java @@ -18,7 +18,7 @@ @Immutable public final class NoDecoratorModelInPublic implements JsonSerializable { /* - * The name property. + * A sequence of textual characters. */ @Generated private final String name; @@ -34,7 +34,7 @@ private NoDecoratorModelInPublic(String name) { } /** - * Get the name property: The name property. + * Get the name property: A sequence of textual characters. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/models/PublicDecoratorModelInInternal.java b/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/models/PublicDecoratorModelInInternal.java index 89316a7b00..a717c57604 100644 --- a/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/models/PublicDecoratorModelInInternal.java +++ b/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/models/PublicDecoratorModelInInternal.java @@ -18,7 +18,7 @@ @Immutable public final class PublicDecoratorModelInInternal implements JsonSerializable { /* - * The name property. + * A sequence of textual characters. */ @Generated private final String name; @@ -34,7 +34,7 @@ private PublicDecoratorModelInInternal(String name) { } /** - * Get the name property: The name property. + * Get the name property: A sequence of textual characters. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/models/PublicDecoratorModelInPublic.java b/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/models/PublicDecoratorModelInPublic.java index 29ca90615f..53101f87bc 100644 --- a/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/models/PublicDecoratorModelInPublic.java +++ b/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/models/PublicDecoratorModelInPublic.java @@ -18,7 +18,7 @@ @Immutable public final class PublicDecoratorModelInPublic implements JsonSerializable { /* - * The name property. + * A sequence of textual characters. */ @Generated private final String name; @@ -34,7 +34,7 @@ private PublicDecoratorModelInPublic(String name) { } /** - * Get the name property: The name property. + * Get the name property: A sequence of textual characters. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/models/SharedModel.java b/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/models/SharedModel.java index d44595619b..e2816aad00 100644 --- a/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/models/SharedModel.java +++ b/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/models/SharedModel.java @@ -18,7 +18,7 @@ @Immutable public final class SharedModel implements JsonSerializable { /* - * The name property. + * A sequence of textual characters. */ @Generated private final String name; @@ -34,7 +34,7 @@ private SharedModel(String name) { } /** - * Get the name property: The name property. + * Get the name property: A sequence of textual characters. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/usage/models/InputModel.java b/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/usage/models/InputModel.java index ea68f203a2..db5702a213 100644 --- a/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/usage/models/InputModel.java +++ b/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/usage/models/InputModel.java @@ -18,7 +18,7 @@ @Immutable public final class InputModel implements JsonSerializable { /* - * The name property. + * A sequence of textual characters. */ @Generated private final String name; @@ -34,7 +34,7 @@ public InputModel(String name) { } /** - * Get the name property: The name property. + * Get the name property: A sequence of textual characters. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/usage/models/OrphanModel.java b/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/usage/models/OrphanModel.java index ac76f02e2b..c6e54e43e6 100644 --- a/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/usage/models/OrphanModel.java +++ b/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/usage/models/OrphanModel.java @@ -18,7 +18,7 @@ @Immutable public final class OrphanModel implements JsonSerializable { /* - * The name property. + * A sequence of textual characters. */ @Generated private final String name; @@ -34,7 +34,7 @@ public OrphanModel(String name) { } /** - * Get the name property: The name property. + * Get the name property: A sequence of textual characters. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/usage/models/OutputModel.java b/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/usage/models/OutputModel.java index 59a1123ca5..7bfde8d7f9 100644 --- a/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/usage/models/OutputModel.java +++ b/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/usage/models/OutputModel.java @@ -18,7 +18,7 @@ @Immutable public final class OutputModel implements JsonSerializable { /* - * The name property. + * A sequence of textual characters. */ @Generated private final String name; @@ -34,7 +34,7 @@ public OutputModel(String name) { } /** - * Get the name property: The name property. + * Get the name property: A sequence of textual characters. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/_specs_/azure/core/basic/models/FirstItem.java b/typespec-tests/src/main/java/com/_specs_/azure/core/basic/models/FirstItem.java index 615a4299dc..7dc990e8b8 100644 --- a/typespec-tests/src/main/java/com/_specs_/azure/core/basic/models/FirstItem.java +++ b/typespec-tests/src/main/java/com/_specs_/azure/core/basic/models/FirstItem.java @@ -18,6 +18,8 @@ @Immutable public final class FirstItem implements JsonSerializable { /* + * A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) + * * The id of the item. */ @Generated @@ -31,7 +33,9 @@ private FirstItem() { } /** - * Get the id property: The id of the item. + * Get the id property: A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) + * + * The id of the item. * * @return the id value. */ diff --git a/typespec-tests/src/main/java/com/_specs_/azure/core/basic/models/ListItemInputBody.java b/typespec-tests/src/main/java/com/_specs_/azure/core/basic/models/ListItemInputBody.java index 564eaf93ec..cb41a23c6e 100644 --- a/typespec-tests/src/main/java/com/_specs_/azure/core/basic/models/ListItemInputBody.java +++ b/typespec-tests/src/main/java/com/_specs_/azure/core/basic/models/ListItemInputBody.java @@ -18,6 +18,8 @@ @Immutable public final class ListItemInputBody implements JsonSerializable { /* + * A sequence of textual characters. + * * The name of the input. */ @Generated @@ -34,7 +36,9 @@ public ListItemInputBody(String inputName) { } /** - * Get the inputName property: The name of the input. + * Get the inputName property: A sequence of textual characters. + * + * The name of the input. * * @return the inputName value. */ diff --git a/typespec-tests/src/main/java/com/_specs_/azure/core/basic/models/SecondItem.java b/typespec-tests/src/main/java/com/_specs_/azure/core/basic/models/SecondItem.java index fa733e229e..2d43996478 100644 --- a/typespec-tests/src/main/java/com/_specs_/azure/core/basic/models/SecondItem.java +++ b/typespec-tests/src/main/java/com/_specs_/azure/core/basic/models/SecondItem.java @@ -18,6 +18,8 @@ @Immutable public final class SecondItem implements JsonSerializable { /* + * A sequence of textual characters. + * * The name of the item. */ @Generated @@ -31,7 +33,9 @@ private SecondItem() { } /** - * Get the name property: The name of the item. + * Get the name property: A sequence of textual characters. + * + * The name of the item. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/_specs_/azure/core/basic/models/User.java b/typespec-tests/src/main/java/com/_specs_/azure/core/basic/models/User.java index ce4a45f53f..0ef4d88df9 100644 --- a/typespec-tests/src/main/java/com/_specs_/azure/core/basic/models/User.java +++ b/typespec-tests/src/main/java/com/_specs_/azure/core/basic/models/User.java @@ -22,12 +22,16 @@ @Fluent public final class User implements JsonSerializable { /* + * A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) + * * The user's id. */ @Generated private int id; /* + * A sequence of textual characters. + * * The user's name. */ @Generated @@ -40,6 +44,11 @@ public final class User implements JsonSerializable { private List orders; /* + * The ETag (or entity tag) HTTP response header is an identifier for a specific version of a resource. + * It lets caches be more efficient and save bandwidth, as a web server does not need to resend a full response if the content was not changed. + * + * It is a string of ASCII characters placed between double quotes, like "675af34563dc-tr34". + * * The entity tag for this resource. */ @Generated @@ -74,7 +83,9 @@ public User() { } /** - * Get the id property: The user's id. + * Get the id property: A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) + * + * The user's id. * * @return the id value. */ @@ -84,7 +95,9 @@ public int getId() { } /** - * Get the name property: The user's name. + * Get the name property: A sequence of textual characters. + * + * The user's name. * * @return the name value. */ @@ -94,7 +107,9 @@ public String getName() { } /** - * Set the name property: The user's name. + * Set the name property: A sequence of textual characters. + * + * The user's name. *

Required when create the resource.

* * @param name the name value to set. @@ -131,7 +146,14 @@ public User setOrders(List orders) { } /** - * Get the etag property: The entity tag for this resource. + * Get the etag property: The ETag (or entity tag) HTTP response header is an identifier for a specific version of a + * resource. + * It lets caches be more efficient and save bandwidth, as a web server does not need to resend a full response if + * the content was not changed. + * + * It is a string of ASCII characters placed between double quotes, like "675af34563dc-tr34". + * + * The entity tag for this resource. * * @return the etag value. */ diff --git a/typespec-tests/src/main/java/com/_specs_/azure/core/basic/models/UserOrder.java b/typespec-tests/src/main/java/com/_specs_/azure/core/basic/models/UserOrder.java index cd3dee8165..929a2d2600 100644 --- a/typespec-tests/src/main/java/com/_specs_/azure/core/basic/models/UserOrder.java +++ b/typespec-tests/src/main/java/com/_specs_/azure/core/basic/models/UserOrder.java @@ -21,18 +21,24 @@ @Fluent public final class UserOrder implements JsonSerializable { /* + * A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) + * * The user's id. */ @Generated private int id; /* + * A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) + * * The user's id. */ @Generated private int userId; /* + * A sequence of textual characters. + * * The user's order detail */ @Generated @@ -67,7 +73,9 @@ public UserOrder() { } /** - * Get the id property: The user's id. + * Get the id property: A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) + * + * The user's id. * * @return the id value. */ @@ -77,7 +85,9 @@ public int getId() { } /** - * Get the userId property: The user's id. + * Get the userId property: A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) + * + * The user's id. * * @return the userId value. */ @@ -87,7 +97,9 @@ public int getUserId() { } /** - * Set the userId property: The user's id. + * Set the userId property: A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) + * + * The user's id. *

Required when create the resource.

* * @param userId the userId value to set. @@ -101,7 +113,9 @@ public UserOrder setUserId(int userId) { } /** - * Get the detail property: The user's order detail. + * Get the detail property: A sequence of textual characters. + * + * The user's order detail. * * @return the detail value. */ @@ -111,7 +125,9 @@ public String getDetail() { } /** - * Set the detail property: The user's order detail. + * Set the detail property: A sequence of textual characters. + * + * The user's order detail. *

Required when create the resource.

* * @param detail the detail value to set. diff --git a/typespec-tests/src/main/java/com/_specs_/azure/core/lro/rpc/models/GenerationOptions.java b/typespec-tests/src/main/java/com/_specs_/azure/core/lro/rpc/models/GenerationOptions.java index ff3ba790ac..3df5502d9e 100644 --- a/typespec-tests/src/main/java/com/_specs_/azure/core/lro/rpc/models/GenerationOptions.java +++ b/typespec-tests/src/main/java/com/_specs_/azure/core/lro/rpc/models/GenerationOptions.java @@ -18,6 +18,8 @@ @Immutable public final class GenerationOptions implements JsonSerializable { /* + * A sequence of textual characters. + * * Prompt. */ @Generated @@ -34,7 +36,9 @@ public GenerationOptions(String prompt) { } /** - * Get the prompt property: Prompt. + * Get the prompt property: A sequence of textual characters. + * + * Prompt. * * @return the prompt value. */ diff --git a/typespec-tests/src/main/java/com/_specs_/azure/core/lro/rpc/models/GenerationResult.java b/typespec-tests/src/main/java/com/_specs_/azure/core/lro/rpc/models/GenerationResult.java index f2c3f42526..0bd41a5483 100644 --- a/typespec-tests/src/main/java/com/_specs_/azure/core/lro/rpc/models/GenerationResult.java +++ b/typespec-tests/src/main/java/com/_specs_/azure/core/lro/rpc/models/GenerationResult.java @@ -18,6 +18,8 @@ @Immutable public final class GenerationResult implements JsonSerializable { /* + * A sequence of textual characters. + * * The data. */ @Generated @@ -34,7 +36,9 @@ private GenerationResult(String data) { } /** - * Get the data property: The data. + * Get the data property: A sequence of textual characters. + * + * The data. * * @return the data value. */ diff --git a/typespec-tests/src/main/java/com/_specs_/azure/core/lro/standard/models/ExportedUser.java b/typespec-tests/src/main/java/com/_specs_/azure/core/lro/standard/models/ExportedUser.java index d348d25508..0e18e17433 100644 --- a/typespec-tests/src/main/java/com/_specs_/azure/core/lro/standard/models/ExportedUser.java +++ b/typespec-tests/src/main/java/com/_specs_/azure/core/lro/standard/models/ExportedUser.java @@ -18,12 +18,16 @@ @Immutable public final class ExportedUser implements JsonSerializable { /* + * A sequence of textual characters. + * * The name of user. */ @Generated private final String name; /* + * A sequence of textual characters. + * * The exported URI. */ @Generated @@ -42,7 +46,9 @@ private ExportedUser(String name, String resourceUri) { } /** - * Get the name property: The name of user. + * Get the name property: A sequence of textual characters. + * + * The name of user. * * @return the name value. */ @@ -52,7 +58,9 @@ public String getName() { } /** - * Get the resourceUri property: The exported URI. + * Get the resourceUri property: A sequence of textual characters. + * + * The exported URI. * * @return the resourceUri value. */ diff --git a/typespec-tests/src/main/java/com/_specs_/azure/core/lro/standard/models/User.java b/typespec-tests/src/main/java/com/_specs_/azure/core/lro/standard/models/User.java index d94a9d19cb..c2f5f3df85 100644 --- a/typespec-tests/src/main/java/com/_specs_/azure/core/lro/standard/models/User.java +++ b/typespec-tests/src/main/java/com/_specs_/azure/core/lro/standard/models/User.java @@ -18,12 +18,16 @@ @Immutable public final class User implements JsonSerializable { /* + * A sequence of textual characters. + * * The name of user. */ @Generated private String name; /* + * A sequence of textual characters. + * * The role of user */ @Generated @@ -40,7 +44,9 @@ public User(String role) { } /** - * Get the name property: The name of user. + * Get the name property: A sequence of textual characters. + * + * The name of user. * * @return the name value. */ @@ -50,7 +56,9 @@ public String getName() { } /** - * Get the role property: The role of user. + * Get the role property: A sequence of textual characters. + * + * The role of user. * * @return the role value. */ diff --git a/typespec-tests/src/main/java/com/_specs_/azure/core/scalar/models/AzureLocationModel.java b/typespec-tests/src/main/java/com/_specs_/azure/core/scalar/models/AzureLocationModel.java index f057933288..4b0ea5f53c 100644 --- a/typespec-tests/src/main/java/com/_specs_/azure/core/scalar/models/AzureLocationModel.java +++ b/typespec-tests/src/main/java/com/_specs_/azure/core/scalar/models/AzureLocationModel.java @@ -18,7 +18,7 @@ @Immutable public final class AzureLocationModel implements JsonSerializable { /* - * The location property. + * Represents an Azure geography region where supported resource providers live. */ @Generated private final String location; @@ -34,7 +34,7 @@ public AzureLocationModel(String location) { } /** - * Get the location property: The location property. + * Get the location property: Represents an Azure geography region where supported resource providers live. * * @return the location value. */ diff --git a/typespec-tests/src/main/java/com/_specs_/azure/core/traits/models/User.java b/typespec-tests/src/main/java/com/_specs_/azure/core/traits/models/User.java index 3c2a62c7f9..d2852ad2c8 100644 --- a/typespec-tests/src/main/java/com/_specs_/azure/core/traits/models/User.java +++ b/typespec-tests/src/main/java/com/_specs_/azure/core/traits/models/User.java @@ -18,12 +18,16 @@ @Immutable public final class User implements JsonSerializable { /* + * A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) + * * The user's id. */ @Generated private int id; /* + * A sequence of textual characters. + * * The user's name. */ @Generated @@ -37,7 +41,9 @@ private User() { } /** - * Get the id property: The user's id. + * Get the id property: A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) + * + * The user's id. * * @return the id value. */ @@ -47,7 +53,9 @@ public int getId() { } /** - * Get the name property: The user's name. + * Get the name property: A sequence of textual characters. + * + * The user's name. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/_specs_/azure/core/traits/models/UserActionParam.java b/typespec-tests/src/main/java/com/_specs_/azure/core/traits/models/UserActionParam.java index b7772c28d0..668ada2c7c 100644 --- a/typespec-tests/src/main/java/com/_specs_/azure/core/traits/models/UserActionParam.java +++ b/typespec-tests/src/main/java/com/_specs_/azure/core/traits/models/UserActionParam.java @@ -18,6 +18,8 @@ @Immutable public final class UserActionParam implements JsonSerializable { /* + * A sequence of textual characters. + * * User action value. */ @Generated @@ -34,7 +36,9 @@ public UserActionParam(String userActionValue) { } /** - * Get the userActionValue property: User action value. + * Get the userActionValue property: A sequence of textual characters. + * + * User action value. * * @return the userActionValue value. */ diff --git a/typespec-tests/src/main/java/com/_specs_/azure/core/traits/models/UserActionResponse.java b/typespec-tests/src/main/java/com/_specs_/azure/core/traits/models/UserActionResponse.java index 7852ae4bc5..a216f83f58 100644 --- a/typespec-tests/src/main/java/com/_specs_/azure/core/traits/models/UserActionResponse.java +++ b/typespec-tests/src/main/java/com/_specs_/azure/core/traits/models/UserActionResponse.java @@ -18,6 +18,8 @@ @Immutable public final class UserActionResponse implements JsonSerializable { /* + * A sequence of textual characters. + * * User action result. */ @Generated @@ -34,7 +36,9 @@ private UserActionResponse(String userActionResult) { } /** - * Get the userActionResult property: User action result. + * Get the userActionResult property: A sequence of textual characters. + * + * User action result. * * @return the userActionResult value. */ diff --git a/typespec-tests/src/main/java/com/cadl/armresourceprovider/fluent/models/OperationInner.java b/typespec-tests/src/main/java/com/cadl/armresourceprovider/fluent/models/OperationInner.java index db56ca8f63..cfdb2727c6 100644 --- a/typespec-tests/src/main/java/com/cadl/armresourceprovider/fluent/models/OperationInner.java +++ b/typespec-tests/src/main/java/com/cadl/armresourceprovider/fluent/models/OperationInner.java @@ -16,12 +16,16 @@ @Immutable public final class OperationInner { /* + * A sequence of textual characters. + * * The name of the operation, as per Resource-Based Access Control (RBAC). Examples: "Microsoft.Compute/virtualMachines/write", "Microsoft.Compute/virtualMachines/capture/action" */ @JsonProperty(value = "name", access = JsonProperty.Access.WRITE_ONLY) private String name; /* + * Boolean with `true` and `false` values. + * * Whether the operation applies to data-plane. This is "true" for data-plane operations and "false" for Azure Resource Manager/control-plane operations. */ @JsonProperty(value = "isDataAction", access = JsonProperty.Access.WRITE_ONLY) @@ -52,7 +56,9 @@ private OperationInner() { } /** - * Get the name property: The name of the operation, as per Resource-Based Access Control (RBAC). Examples: + * Get the name property: A sequence of textual characters. + * + * The name of the operation, as per Resource-Based Access Control (RBAC). Examples: * "Microsoft.Compute/virtualMachines/write", "Microsoft.Compute/virtualMachines/capture/action". * * @return the name value. @@ -62,8 +68,10 @@ public String name() { } /** - * Get the isDataAction property: Whether the operation applies to data-plane. This is "true" for data-plane - * operations and "false" for Azure Resource Manager/control-plane operations. + * Get the isDataAction property: Boolean with `true` and `false` values. + * + * Whether the operation applies to data-plane. This is "true" for data-plane operations and "false" for Azure + * Resource Manager/control-plane operations. * * @return the isDataAction value. */ diff --git a/typespec-tests/src/main/java/com/cadl/armresourceprovider/fluent/models/TopLevelArmResourceInner.java b/typespec-tests/src/main/java/com/cadl/armresourceprovider/fluent/models/TopLevelArmResourceInner.java index ce4bcd3d1f..4c70397ce6 100644 --- a/typespec-tests/src/main/java/com/cadl/armresourceprovider/fluent/models/TopLevelArmResourceInner.java +++ b/typespec-tests/src/main/java/com/cadl/armresourceprovider/fluent/models/TopLevelArmResourceInner.java @@ -82,7 +82,7 @@ public List configurationEndpoints() { } /** - * Get the userName property: The userName property. + * Get the userName property: A sequence of textual characters. * * @return the userName value. */ @@ -91,7 +91,7 @@ public String userName() { } /** - * Set the userName property: The userName property. + * Set the userName property: A sequence of textual characters. * * @param userName the userName value to set. * @return the TopLevelArmResourceInner object itself. @@ -105,7 +105,7 @@ public TopLevelArmResourceInner withUserName(String userName) { } /** - * Get the userNames property: The userNames property. + * Get the userNames property: A sequence of textual characters. * * @return the userNames value. */ @@ -114,7 +114,7 @@ public String userNames() { } /** - * Set the userNames property: The userNames property. + * Set the userNames property: A sequence of textual characters. * * @param userNames the userNames value to set. * @return the TopLevelArmResourceInner object itself. @@ -128,7 +128,7 @@ public TopLevelArmResourceInner withUserNames(String userNames) { } /** - * Get the accuserName property: The accuserName property. + * Get the accuserName property: A sequence of textual characters. * * @return the accuserName value. */ @@ -137,7 +137,7 @@ public String accuserName() { } /** - * Set the accuserName property: The accuserName property. + * Set the accuserName property: A sequence of textual characters. * * @param accuserName the accuserName value to set. * @return the TopLevelArmResourceInner object itself. diff --git a/typespec-tests/src/main/java/com/cadl/armresourceprovider/fluent/models/TopLevelArmResourceProperties.java b/typespec-tests/src/main/java/com/cadl/armresourceprovider/fluent/models/TopLevelArmResourceProperties.java index 3e9321df1b..6dd73dabb5 100644 --- a/typespec-tests/src/main/java/com/cadl/armresourceprovider/fluent/models/TopLevelArmResourceProperties.java +++ b/typespec-tests/src/main/java/com/cadl/armresourceprovider/fluent/models/TopLevelArmResourceProperties.java @@ -23,19 +23,19 @@ public final class TopLevelArmResourceProperties { private List configurationEndpoints; /* - * The userName property. + * A sequence of textual characters. */ @JsonProperty(value = "userName", required = true) private String userName; /* - * The userNames property. + * A sequence of textual characters. */ @JsonProperty(value = "userNames", required = true) private String userNames; /* - * The accuserName property. + * A sequence of textual characters. */ @JsonProperty(value = "accuserName", required = true) private String accuserName; @@ -68,7 +68,7 @@ public List configurationEndpoints() { } /** - * Get the userName property: The userName property. + * Get the userName property: A sequence of textual characters. * * @return the userName value. */ @@ -77,7 +77,7 @@ public String userName() { } /** - * Set the userName property: The userName property. + * Set the userName property: A sequence of textual characters. * * @param userName the userName value to set. * @return the TopLevelArmResourceProperties object itself. @@ -88,7 +88,7 @@ public TopLevelArmResourceProperties withUserName(String userName) { } /** - * Get the userNames property: The userNames property. + * Get the userNames property: A sequence of textual characters. * * @return the userNames value. */ @@ -97,7 +97,7 @@ public String userNames() { } /** - * Set the userNames property: The userNames property. + * Set the userNames property: A sequence of textual characters. * * @param userNames the userNames value to set. * @return the TopLevelArmResourceProperties object itself. @@ -108,7 +108,7 @@ public TopLevelArmResourceProperties withUserNames(String userNames) { } /** - * Get the accuserName property: The accuserName property. + * Get the accuserName property: A sequence of textual characters. * * @return the accuserName value. */ @@ -117,7 +117,7 @@ public String accuserName() { } /** - * Set the accuserName property: The accuserName property. + * Set the accuserName property: A sequence of textual characters. * * @param accuserName the accuserName value to set. * @return the TopLevelArmResourceProperties object itself. diff --git a/typespec-tests/src/main/java/com/cadl/armresourceprovider/implementation/models/ChildResourceListResult.java b/typespec-tests/src/main/java/com/cadl/armresourceprovider/implementation/models/ChildResourceListResult.java index fc49c2baf2..242ff28df0 100644 --- a/typespec-tests/src/main/java/com/cadl/armresourceprovider/implementation/models/ChildResourceListResult.java +++ b/typespec-tests/src/main/java/com/cadl/armresourceprovider/implementation/models/ChildResourceListResult.java @@ -22,6 +22,8 @@ public final class ChildResourceListResult { private List value; /* + * The location of an instance of ChildResource + * * The link to the next page of items */ @JsonProperty(value = "nextLink") @@ -43,7 +45,9 @@ public List value() { } /** - * Get the nextLink property: The link to the next page of items. + * Get the nextLink property: The location of an instance of ChildResource + * + * The link to the next page of items. * * @return the nextLink value. */ diff --git a/typespec-tests/src/main/java/com/cadl/armresourceprovider/implementation/models/PagedOperation.java b/typespec-tests/src/main/java/com/cadl/armresourceprovider/implementation/models/PagedOperation.java index 37962da233..d6ad47c041 100644 --- a/typespec-tests/src/main/java/com/cadl/armresourceprovider/implementation/models/PagedOperation.java +++ b/typespec-tests/src/main/java/com/cadl/armresourceprovider/implementation/models/PagedOperation.java @@ -23,6 +23,8 @@ public final class PagedOperation { private List value; /* + * The location of an instance of Operation + * * The link to the next page of items */ @JsonProperty(value = "nextLink") @@ -44,7 +46,9 @@ public List value() { } /** - * Get the nextLink property: The link to the next page of items. + * Get the nextLink property: The location of an instance of Operation + * + * The link to the next page of items. * * @return the nextLink value. */ diff --git a/typespec-tests/src/main/java/com/cadl/armresourceprovider/implementation/models/TopLevelArmResourceListResult.java b/typespec-tests/src/main/java/com/cadl/armresourceprovider/implementation/models/TopLevelArmResourceListResult.java index cca4923b3e..9f2b8aa758 100644 --- a/typespec-tests/src/main/java/com/cadl/armresourceprovider/implementation/models/TopLevelArmResourceListResult.java +++ b/typespec-tests/src/main/java/com/cadl/armresourceprovider/implementation/models/TopLevelArmResourceListResult.java @@ -22,6 +22,8 @@ public final class TopLevelArmResourceListResult { private List value; /* + * The location of an instance of TopLevelArmResource + * * The link to the next page of items */ @JsonProperty(value = "nextLink") @@ -43,7 +45,9 @@ public List value() { } /** - * Get the nextLink property: The link to the next page of items. + * Get the nextLink property: The location of an instance of TopLevelArmResource + * + * The link to the next page of items. * * @return the nextLink value. */ diff --git a/typespec-tests/src/main/java/com/cadl/armresourceprovider/models/ManagedServiceIdentity.java b/typespec-tests/src/main/java/com/cadl/armresourceprovider/models/ManagedServiceIdentity.java index b65653e56d..67ddb8f4ce 100644 --- a/typespec-tests/src/main/java/com/cadl/armresourceprovider/models/ManagedServiceIdentity.java +++ b/typespec-tests/src/main/java/com/cadl/armresourceprovider/models/ManagedServiceIdentity.java @@ -14,12 +14,16 @@ @Fluent public final class ManagedServiceIdentity { /* + * A sequence of textual characters. + * * The Active Directory tenant id of the principal. */ @JsonProperty(value = "tenantId", access = JsonProperty.Access.WRITE_ONLY) private String tenantId; /* + * A sequence of textual characters. + * * The active directory identifier of this principal. */ @JsonProperty(value = "principalId", access = JsonProperty.Access.WRITE_ONLY) @@ -44,7 +48,9 @@ public ManagedServiceIdentity() { } /** - * Get the tenantId property: The Active Directory tenant id of the principal. + * Get the tenantId property: A sequence of textual characters. + * + * The Active Directory tenant id of the principal. * * @return the tenantId value. */ @@ -53,7 +59,9 @@ public String tenantId() { } /** - * Get the principalId property: The active directory identifier of this principal. + * Get the principalId property: A sequence of textual characters. + * + * The active directory identifier of this principal. * * @return the principalId value. */ diff --git a/typespec-tests/src/main/java/com/cadl/armresourceprovider/models/Operation.java b/typespec-tests/src/main/java/com/cadl/armresourceprovider/models/Operation.java index 550f03e498..56ddeed98b 100644 --- a/typespec-tests/src/main/java/com/cadl/armresourceprovider/models/Operation.java +++ b/typespec-tests/src/main/java/com/cadl/armresourceprovider/models/Operation.java @@ -11,7 +11,9 @@ */ public interface Operation { /** - * Gets the name property: The name of the operation, as per Resource-Based Access Control (RBAC). Examples: + * Gets the name property: A sequence of textual characters. + * + * The name of the operation, as per Resource-Based Access Control (RBAC). Examples: * "Microsoft.Compute/virtualMachines/write", "Microsoft.Compute/virtualMachines/capture/action". * * @return the name value. @@ -19,8 +21,10 @@ public interface Operation { String name(); /** - * Gets the isDataAction property: Whether the operation applies to data-plane. This is "true" for data-plane - * operations and "false" for Azure Resource Manager/control-plane operations. + * Gets the isDataAction property: Boolean with `true` and `false` values. + * + * Whether the operation applies to data-plane. This is "true" for data-plane operations and "false" for Azure + * Resource Manager/control-plane operations. * * @return the isDataAction value. */ diff --git a/typespec-tests/src/main/java/com/cadl/armresourceprovider/models/OperationDisplay.java b/typespec-tests/src/main/java/com/cadl/armresourceprovider/models/OperationDisplay.java index 8692181d3c..6d12e7f698 100644 --- a/typespec-tests/src/main/java/com/cadl/armresourceprovider/models/OperationDisplay.java +++ b/typespec-tests/src/main/java/com/cadl/armresourceprovider/models/OperationDisplay.java @@ -13,24 +13,32 @@ @Immutable public final class OperationDisplay { /* + * A sequence of textual characters. + * * The localized friendly form of the resource provider name, e.g. "Microsoft Monitoring Insights" or "Microsoft Compute". */ @JsonProperty(value = "provider") private String provider; /* + * A sequence of textual characters. + * * The localized friendly name of the resource type related to this operation. E.g. "Virtual Machines" or "Job Schedule Collections". */ @JsonProperty(value = "resource") private String resource; /* + * A sequence of textual characters. + * * The concise, localized friendly name for the operation; suitable for dropdowns. E.g. "Create or Update Virtual Machine", "Restart Virtual Machine". */ @JsonProperty(value = "operation") private String operation; /* + * A sequence of textual characters. + * * The short, localized friendly description of the operation; suitable for tool tips and detailed views. */ @JsonProperty(value = "description") @@ -43,8 +51,10 @@ private OperationDisplay() { } /** - * Get the provider property: The localized friendly form of the resource provider name, e.g. "Microsoft Monitoring - * Insights" or "Microsoft Compute". + * Get the provider property: A sequence of textual characters. + * + * The localized friendly form of the resource provider name, e.g. "Microsoft Monitoring Insights" or "Microsoft + * Compute". * * @return the provider value. */ @@ -53,8 +63,10 @@ public String provider() { } /** - * Get the resource property: The localized friendly name of the resource type related to this operation. E.g. - * "Virtual Machines" or "Job Schedule Collections". + * Get the resource property: A sequence of textual characters. + * + * The localized friendly name of the resource type related to this operation. E.g. "Virtual Machines" or "Job + * Schedule Collections". * * @return the resource value. */ @@ -63,8 +75,10 @@ public String resource() { } /** - * Get the operation property: The concise, localized friendly name for the operation; suitable for dropdowns. E.g. - * "Create or Update Virtual Machine", "Restart Virtual Machine". + * Get the operation property: A sequence of textual characters. + * + * The concise, localized friendly name for the operation; suitable for dropdowns. E.g. "Create or Update Virtual + * Machine", "Restart Virtual Machine". * * @return the operation value. */ @@ -73,8 +87,9 @@ public String operation() { } /** - * Get the description property: The short, localized friendly description of the operation; suitable for tool tips - * and detailed views. + * Get the description property: A sequence of textual characters. + * + * The short, localized friendly description of the operation; suitable for tool tips and detailed views. * * @return the description value. */ diff --git a/typespec-tests/src/main/java/com/cadl/armresourceprovider/models/TopLevelArmResource.java b/typespec-tests/src/main/java/com/cadl/armresourceprovider/models/TopLevelArmResource.java index 4cbf8a5930..3961d36ca9 100644 --- a/typespec-tests/src/main/java/com/cadl/armresourceprovider/models/TopLevelArmResource.java +++ b/typespec-tests/src/main/java/com/cadl/armresourceprovider/models/TopLevelArmResource.java @@ -66,21 +66,21 @@ public interface TopLevelArmResource { List configurationEndpoints(); /** - * Gets the userName property: The userName property. + * Gets the userName property: A sequence of textual characters. * * @return the userName value. */ String userName(); /** - * Gets the userNames property: The userNames property. + * Gets the userNames property: A sequence of textual characters. * * @return the userNames value. */ String userNames(); /** - * Gets the accuserName property: The accuserName property. + * Gets the accuserName property: A sequence of textual characters. * * @return the accuserName value. */ @@ -219,9 +219,9 @@ interface WithTags { */ interface WithUserName { /** - * Specifies the userName property: The userName property.. + * Specifies the userName property: A sequence of textual characters.. * - * @param userName The userName property. + * @param userName A sequence of textual characters. * @return the next definition stage. */ WithCreate withUserName(String userName); @@ -232,9 +232,9 @@ interface WithUserName { */ interface WithUserNames { /** - * Specifies the userNames property: The userNames property.. + * Specifies the userNames property: A sequence of textual characters.. * - * @param userNames The userNames property. + * @param userNames A sequence of textual characters. * @return the next definition stage. */ WithCreate withUserNames(String userNames); @@ -245,9 +245,9 @@ interface WithUserNames { */ interface WithAccuserName { /** - * Specifies the accuserName property: The accuserName property.. + * Specifies the accuserName property: A sequence of textual characters.. * - * @param accuserName The accuserName property. + * @param accuserName A sequence of textual characters. * @return the next definition stage. */ WithCreate withAccuserName(String accuserName); diff --git a/typespec-tests/src/main/java/com/cadl/armresourceprovider/models/TopLevelArmResourceUpdateProperties.java b/typespec-tests/src/main/java/com/cadl/armresourceprovider/models/TopLevelArmResourceUpdateProperties.java index 9b278dd896..736ea43851 100644 --- a/typespec-tests/src/main/java/com/cadl/armresourceprovider/models/TopLevelArmResourceUpdateProperties.java +++ b/typespec-tests/src/main/java/com/cadl/armresourceprovider/models/TopLevelArmResourceUpdateProperties.java @@ -14,19 +14,19 @@ @Fluent public final class TopLevelArmResourceUpdateProperties { /* - * The userName property. + * A sequence of textual characters. */ @JsonProperty(value = "userName") private String userName; /* - * The userNames property. + * A sequence of textual characters. */ @JsonProperty(value = "userNames") private String userNames; /* - * The accuserName property. + * A sequence of textual characters. */ @JsonProperty(value = "accuserName") private String accuserName; @@ -44,7 +44,7 @@ public TopLevelArmResourceUpdateProperties() { } /** - * Get the userName property: The userName property. + * Get the userName property: A sequence of textual characters. * * @return the userName value. */ @@ -53,7 +53,7 @@ public String userName() { } /** - * Set the userName property: The userName property. + * Set the userName property: A sequence of textual characters. * * @param userName the userName value to set. * @return the TopLevelArmResourceUpdateProperties object itself. @@ -64,7 +64,7 @@ public TopLevelArmResourceUpdateProperties withUserName(String userName) { } /** - * Get the userNames property: The userNames property. + * Get the userNames property: A sequence of textual characters. * * @return the userNames value. */ @@ -73,7 +73,7 @@ public String userNames() { } /** - * Set the userNames property: The userNames property. + * Set the userNames property: A sequence of textual characters. * * @param userNames the userNames value to set. * @return the TopLevelArmResourceUpdateProperties object itself. @@ -84,7 +84,7 @@ public TopLevelArmResourceUpdateProperties withUserNames(String userNames) { } /** - * Get the accuserName property: The accuserName property. + * Get the accuserName property: A sequence of textual characters. * * @return the accuserName value. */ @@ -93,7 +93,7 @@ public String accuserName() { } /** - * Set the accuserName property: The accuserName property. + * Set the accuserName property: A sequence of textual characters. * * @param accuserName the accuserName value to set. * @return the TopLevelArmResourceUpdateProperties object itself. diff --git a/typespec-tests/src/main/java/com/cadl/armresourceprovider/models/UserAssignedIdentity.java b/typespec-tests/src/main/java/com/cadl/armresourceprovider/models/UserAssignedIdentity.java index 4f47995ead..c64571fe78 100644 --- a/typespec-tests/src/main/java/com/cadl/armresourceprovider/models/UserAssignedIdentity.java +++ b/typespec-tests/src/main/java/com/cadl/armresourceprovider/models/UserAssignedIdentity.java @@ -13,12 +13,16 @@ @Fluent public final class UserAssignedIdentity { /* + * A sequence of textual characters. + * * The active directory client identifier for this principal. */ @JsonProperty(value = "clientId") private String clientId; /* + * A sequence of textual characters. + * * The active directory identifier for this principal. */ @JsonProperty(value = "principalId") @@ -31,7 +35,9 @@ public UserAssignedIdentity() { } /** - * Get the clientId property: The active directory client identifier for this principal. + * Get the clientId property: A sequence of textual characters. + * + * The active directory client identifier for this principal. * * @return the clientId value. */ @@ -40,7 +46,9 @@ public String clientId() { } /** - * Set the clientId property: The active directory client identifier for this principal. + * Set the clientId property: A sequence of textual characters. + * + * The active directory client identifier for this principal. * * @param clientId the clientId value to set. * @return the UserAssignedIdentity object itself. @@ -51,7 +59,9 @@ public UserAssignedIdentity withClientId(String clientId) { } /** - * Get the principalId property: The active directory identifier for this principal. + * Get the principalId property: A sequence of textual characters. + * + * The active directory identifier for this principal. * * @return the principalId value. */ @@ -60,7 +70,9 @@ public String principalId() { } /** - * Set the principalId property: The active directory identifier for this principal. + * Set the principalId property: A sequence of textual characters. + * + * The active directory identifier for this principal. * * @param principalId the principalId value to set. * @return the UserAssignedIdentity object itself. diff --git a/typespec-tests/src/main/java/com/cadl/builtin/BuiltinAsyncClient.java b/typespec-tests/src/main/java/com/cadl/builtin/BuiltinAsyncClient.java index 943403d9f7..7c96493827 100644 --- a/typespec-tests/src/main/java/com/cadl/builtin/BuiltinAsyncClient.java +++ b/typespec-tests/src/main/java/com/cadl/builtin/BuiltinAsyncClient.java @@ -47,18 +47,16 @@ public final class BuiltinAsyncClient { * * * - * - * - * + * + * + * *
Query Parameters
NameTypeRequiredDescription
filterStringNoA sequence of textual characters.
query-optStringNoA sequence of textual characters.
query-opt-encodedStringNoRepresent a URL string as described by - * https://url.spec.whatwg.org/
filterStringNoThe filter parameter
query-optStringNoThe queryParamOptional parameter
query-opt-encodedStringNoThe queryParamOptionalEncoded parameter
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Header Parameters

* * * - * + * *
Header Parameters
NameTypeRequiredDescription
x-ms-dateOffsetDateTimeNoAn instant in coordinated universal time - * (UTC)"
x-ms-dateOffsetDateTimeNoThe dateTime parameter
* You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -99,8 +97,8 @@ public final class BuiltinAsyncClient { * } * } * - * @param queryParam A sequence of textual characters. - * @param queryParamEncoded Represent a URL string as described by https://url.spec.whatwg.org/. + * @param queryParam The queryParam parameter. + * @param queryParamEncoded The queryParamEncoded parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -172,12 +170,12 @@ public Mono> writeWithResponse(BinaryData body, RequestOptions re /** * The read operation. * - * @param queryParam A sequence of textual characters. - * @param queryParamEncoded Represent a URL string as described by https://url.spec.whatwg.org/. - * @param dateTime An instant in coordinated universal time (UTC)". - * @param filter A sequence of textual characters. - * @param queryParamOptional A sequence of textual characters. - * @param queryParamOptionalEncoded Represent a URL string as described by https://url.spec.whatwg.org/. + * @param queryParam The queryParam parameter. + * @param queryParamEncoded The queryParamEncoded parameter. + * @param dateTime The dateTime parameter. + * @param filter The filter parameter. + * @param queryParamOptional The queryParamOptional parameter. + * @param queryParamOptionalEncoded The queryParamOptionalEncoded parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -212,8 +210,8 @@ public Mono read(String queryParam, String queryParamEncoded, OffsetDat /** * The read operation. * - * @param queryParam A sequence of textual characters. - * @param queryParamEncoded Represent a URL string as described by https://url.spec.whatwg.org/. + * @param queryParam The queryParam parameter. + * @param queryParamEncoded The queryParamEncoded parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/cadl/builtin/BuiltinClient.java b/typespec-tests/src/main/java/com/cadl/builtin/BuiltinClient.java index 31b1c06782..f37666c11b 100644 --- a/typespec-tests/src/main/java/com/cadl/builtin/BuiltinClient.java +++ b/typespec-tests/src/main/java/com/cadl/builtin/BuiltinClient.java @@ -45,18 +45,16 @@ public final class BuiltinClient { * * * - * - * - * + * + * + * *
Query Parameters
NameTypeRequiredDescription
filterStringNoA sequence of textual characters.
query-optStringNoA sequence of textual characters.
query-opt-encodedStringNoRepresent a URL string as described by - * https://url.spec.whatwg.org/
filterStringNoThe filter parameter
query-optStringNoThe queryParamOptional parameter
query-opt-encodedStringNoThe queryParamOptionalEncoded parameter
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Header Parameters

* * * - * + * *
Header Parameters
NameTypeRequiredDescription
x-ms-dateOffsetDateTimeNoAn instant in coordinated universal time - * (UTC)"
x-ms-dateOffsetDateTimeNoThe dateTime parameter
* You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -97,8 +95,8 @@ public final class BuiltinClient { * } * } * - * @param queryParam A sequence of textual characters. - * @param queryParamEncoded Represent a URL string as described by https://url.spec.whatwg.org/. + * @param queryParam The queryParam parameter. + * @param queryParamEncoded The queryParamEncoded parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -170,12 +168,12 @@ public Response writeWithResponse(BinaryData body, RequestOptions requestO /** * The read operation. * - * @param queryParam A sequence of textual characters. - * @param queryParamEncoded Represent a URL string as described by https://url.spec.whatwg.org/. - * @param dateTime An instant in coordinated universal time (UTC)". - * @param filter A sequence of textual characters. - * @param queryParamOptional A sequence of textual characters. - * @param queryParamOptionalEncoded Represent a URL string as described by https://url.spec.whatwg.org/. + * @param queryParam The queryParam parameter. + * @param queryParamEncoded The queryParamEncoded parameter. + * @param dateTime The dateTime parameter. + * @param filter The filter parameter. + * @param queryParamOptional The queryParamOptional parameter. + * @param queryParamOptionalEncoded The queryParamOptionalEncoded parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -209,8 +207,8 @@ public Builtin read(String queryParam, String queryParamEncoded, OffsetDateTime /** * The read operation. * - * @param queryParam A sequence of textual characters. - * @param queryParamEncoded Represent a URL string as described by https://url.spec.whatwg.org/. + * @param queryParam The queryParam parameter. + * @param queryParamEncoded The queryParamEncoded parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/cadl/builtin/implementation/BuiltinOpsImpl.java b/typespec-tests/src/main/java/com/cadl/builtin/implementation/BuiltinOpsImpl.java index c88d37a3dc..f16cba11b6 100644 --- a/typespec-tests/src/main/java/com/cadl/builtin/implementation/BuiltinOpsImpl.java +++ b/typespec-tests/src/main/java/com/cadl/builtin/implementation/BuiltinOpsImpl.java @@ -105,18 +105,16 @@ Response writeSync(@HostParam("endpoint") String endpoint, @HeaderParam("a * * * - * - * - * + * + * + * *
Query Parameters
NameTypeRequiredDescription
filterStringNoA sequence of textual characters.
query-optStringNoA sequence of textual characters.
query-opt-encodedStringNoRepresent a URL string as described by - * https://url.spec.whatwg.org/
filterStringNoThe filter parameter
query-optStringNoThe queryParamOptional parameter
query-opt-encodedStringNoThe queryParamOptionalEncoded parameter
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Header Parameters

* * * - * + * *
Header Parameters
NameTypeRequiredDescription
x-ms-dateOffsetDateTimeNoAn instant in coordinated universal time - * (UTC)"
x-ms-dateOffsetDateTimeNoThe dateTime parameter
* You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -157,8 +155,8 @@ Response writeSync(@HostParam("endpoint") String endpoint, @HeaderParam("a * } * } * - * @param queryParam A sequence of textual characters. - * @param queryParamEncoded Represent a URL string as described by https://url.spec.whatwg.org/. + * @param queryParam The queryParam parameter. + * @param queryParamEncoded The queryParamEncoded parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -180,18 +178,16 @@ public Mono> readWithResponseAsync(String queryParam, Strin * * * - * - * - * + * + * + * *
Query Parameters
NameTypeRequiredDescription
filterStringNoA sequence of textual characters.
query-optStringNoA sequence of textual characters.
query-opt-encodedStringNoRepresent a URL string as described by - * https://url.spec.whatwg.org/
filterStringNoThe filter parameter
query-optStringNoThe queryParamOptional parameter
query-opt-encodedStringNoThe queryParamOptionalEncoded parameter
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Header Parameters

* * * - * + * *
Header Parameters
NameTypeRequiredDescription
x-ms-dateOffsetDateTimeNoAn instant in coordinated universal time - * (UTC)"
x-ms-dateOffsetDateTimeNoThe dateTime parameter
* You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -232,8 +228,8 @@ public Mono> readWithResponseAsync(String queryParam, Strin * } * } * - * @param queryParam A sequence of textual characters. - * @param queryParamEncoded Represent a URL string as described by https://url.spec.whatwg.org/. + * @param queryParam The queryParam parameter. + * @param queryParamEncoded The queryParamEncoded parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/cadl/builtin/models/Builtin.java b/typespec-tests/src/main/java/com/cadl/builtin/models/Builtin.java index 6015894866..2743a4694c 100644 --- a/typespec-tests/src/main/java/com/cadl/builtin/models/Builtin.java +++ b/typespec-tests/src/main/java/com/cadl/builtin/models/Builtin.java @@ -27,55 +27,56 @@ @Immutable public final class Builtin implements JsonSerializable { /* - * The boolean property. + * Boolean with `true` and `false` values. */ @Generated private final boolean booleanProperty; /* - * The string property. + * A sequence of textual characters. */ @Generated private final String string; /* - * The bytes property. + * Represent a byte array */ @Generated private final byte[] bytes; /* - * The int property. + * A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) */ @Generated private final int intProperty; /* - * The safeint property. + * An integer that can be serialized to JSON (`−9007199254740991 (−(2^53 − 1))` to `9007199254740991 (2^53 − 1)` ) */ @Generated private final long safeint; /* - * The decimal property. + * A decimal number with any length and precision. This represent any `decimal` value possible. + * It is commonly represented as `BigDecimal` in some languages. */ @Generated private final BigDecimal decimal; /* - * The long property. + * A 64-bit integer. (`-9,223,372,036,854,775,808` to `9,223,372,036,854,775,807`) */ @Generated private final long longProperty; /* - * The float property. + * A 32 bit floating point number. (`±5.0 × 10^−324` to `±1.7 × 10^308`) */ @Generated private final double floatProperty; /* - * The double property. + * A 32 bit floating point number. (`±1.5 x 10^−45` to `±3.4 x 10^38`) */ @Generated private final double doubleProperty; @@ -87,7 +88,7 @@ public final class Builtin implements JsonSerializable { private final Duration duration; /* - * The date property. + * A date on a calendar without a time zone, e.g. "April 10th" */ @Generated private final LocalDate date; @@ -111,7 +112,7 @@ public final class Builtin implements JsonSerializable { private final Map bytesDict; /* - * The url property. + * Represent a URL string as described by https://url.spec.whatwg.org/ */ @Generated private final String url; @@ -174,7 +175,7 @@ public Builtin(boolean booleanProperty, String string, byte[] bytes, int intProp } /** - * Get the booleanProperty property: The boolean property. + * Get the booleanProperty property: Boolean with `true` and `false` values. * * @return the booleanProperty value. */ @@ -184,7 +185,7 @@ public boolean isBooleanProperty() { } /** - * Get the string property: The string property. + * Get the string property: A sequence of textual characters. * * @return the string value. */ @@ -194,7 +195,7 @@ public String getString() { } /** - * Get the bytes property: The bytes property. + * Get the bytes property: Represent a byte array. * * @return the bytes value. */ @@ -204,7 +205,7 @@ public byte[] getBytes() { } /** - * Get the intProperty property: The int property. + * Get the intProperty property: A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`). * * @return the intProperty value. */ @@ -214,7 +215,8 @@ public int getIntProperty() { } /** - * Get the safeint property: The safeint property. + * Get the safeint property: An integer that can be serialized to JSON (`−9007199254740991 (−(2^53 − 1))` to + * `9007199254740991 (2^53 − 1)` ). * * @return the safeint value. */ @@ -224,7 +226,9 @@ public long getSafeint() { } /** - * Get the decimal property: The decimal property. + * Get the decimal property: A decimal number with any length and precision. This represent any `decimal` value + * possible. + * It is commonly represented as `BigDecimal` in some languages. * * @return the decimal value. */ @@ -234,7 +238,7 @@ public BigDecimal getDecimal() { } /** - * Get the longProperty property: The long property. + * Get the longProperty property: A 64-bit integer. (`-9,223,372,036,854,775,808` to `9,223,372,036,854,775,807`). * * @return the longProperty value. */ @@ -244,7 +248,7 @@ public long getLongProperty() { } /** - * Get the floatProperty property: The float property. + * Get the floatProperty property: A 32 bit floating point number. (`±5.0 × 10^−324` to `±1.7 × 10^308`). * * @return the floatProperty value. */ @@ -254,7 +258,7 @@ public double getFloatProperty() { } /** - * Get the doubleProperty property: The double property. + * Get the doubleProperty property: A 32 bit floating point number. (`±1.5 x 10^−45` to `±3.4 x 10^38`). * * @return the doubleProperty value. */ @@ -274,7 +278,7 @@ public Duration getDuration() { } /** - * Get the date property: The date property. + * Get the date property: A date on a calendar without a time zone, e.g. "April 10th". * * @return the date value. */ @@ -314,7 +318,7 @@ public Map getBytesDict() { } /** - * Get the url property: The url property. + * Get the url property: Represent a URL string as described by https://url.spec.whatwg.org/. * * @return the url value. */ diff --git a/typespec-tests/src/main/java/com/cadl/builtin/models/Encoded.java b/typespec-tests/src/main/java/com/cadl/builtin/models/Encoded.java index a05ccd710f..ee6bd381e1 100644 --- a/typespec-tests/src/main/java/com/cadl/builtin/models/Encoded.java +++ b/typespec-tests/src/main/java/com/cadl/builtin/models/Encoded.java @@ -57,13 +57,13 @@ public final class Encoded implements JsonSerializable { private Long unixTimestamp; /* - * The base64 property. + * Represent a byte array */ @Generated private byte[] base64; /* - * The base64url property. + * Represent a byte array */ @Generated private Base64Url base64url; @@ -214,7 +214,7 @@ public Encoded setUnixTimestamp(OffsetDateTime unixTimestamp) { } /** - * Get the base64 property: The base64 property. + * Get the base64 property: Represent a byte array. * * @return the base64 value. */ @@ -224,7 +224,7 @@ public byte[] getBase64() { } /** - * Set the base64 property: The base64 property. + * Set the base64 property: Represent a byte array. * * @param base64 the base64 value to set. * @return the Encoded object itself. @@ -236,7 +236,7 @@ public Encoded setBase64(byte[] base64) { } /** - * Get the base64url property: The base64url property. + * Get the base64url property: Represent a byte array. * * @return the base64url value. */ @@ -249,7 +249,7 @@ public byte[] getBase64url() { } /** - * Set the base64url property: The base64url property. + * Set the base64url property: Represent a byte array. * * @param base64url the base64url value to set. * @return the Encoded object itself. diff --git a/typespec-tests/src/main/java/com/cadl/errormodel/models/Diagnostic.java b/typespec-tests/src/main/java/com/cadl/errormodel/models/Diagnostic.java index 51a81b39ea..d775a85fac 100644 --- a/typespec-tests/src/main/java/com/cadl/errormodel/models/Diagnostic.java +++ b/typespec-tests/src/main/java/com/cadl/errormodel/models/Diagnostic.java @@ -19,7 +19,7 @@ @Immutable public final class Diagnostic implements JsonSerializable { /* - * The name property. + * A sequence of textual characters. */ @Generated private final String name; @@ -43,7 +43,7 @@ private Diagnostic(String name, ResponseError error) { } /** - * Get the name property: The name property. + * Get the name property: A sequence of textual characters. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/cadl/flatten/FlattenAsyncClient.java b/typespec-tests/src/main/java/com/cadl/flatten/FlattenAsyncClient.java deleted file mode 100644 index 5190e1134e..0000000000 --- a/typespec-tests/src/main/java/com/cadl/flatten/FlattenAsyncClient.java +++ /dev/null @@ -1,428 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. - -package com.cadl.flatten; - -import com.azure.core.annotation.Generated; -import com.azure.core.annotation.ReturnType; -import com.azure.core.annotation.ServiceClient; -import com.azure.core.annotation.ServiceMethod; -import com.azure.core.exception.ClientAuthenticationException; -import com.azure.core.exception.HttpResponseException; -import com.azure.core.exception.ResourceModifiedException; -import com.azure.core.exception.ResourceNotFoundException; -import com.azure.core.http.rest.RequestOptions; -import com.azure.core.http.rest.Response; -import com.azure.core.util.BinaryData; -import com.azure.core.util.FluxUtil; -import com.cadl.flatten.implementation.FlattenClientImpl; -import com.cadl.flatten.implementation.JsonMergePatchHelper; -import com.cadl.flatten.implementation.MultipartFormDataHelper; -import com.cadl.flatten.implementation.models.SendLongRequest; -import com.cadl.flatten.implementation.models.SendProjectedNameRequest; -import com.cadl.flatten.implementation.models.SendRequest; -import com.cadl.flatten.implementation.models.UploadFileRequest; -import com.cadl.flatten.implementation.models.UploadTodoRequest; -import com.cadl.flatten.models.FileDataFileDetails; -import com.cadl.flatten.models.SendLongOptions; -import com.cadl.flatten.models.TodoItem; -import com.cadl.flatten.models.UpdatePatchRequest; -import com.cadl.flatten.models.UploadTodoOptions; -import com.cadl.flatten.models.User; -import java.util.Objects; -import reactor.core.publisher.Mono; - -/** - * Initializes a new instance of the asynchronous FlattenClient type. - */ -@ServiceClient(builder = FlattenClientBuilder.class, isAsync = true) -public final class FlattenAsyncClient { - @Generated - private final FlattenClientImpl serviceClient; - - /** - * Initializes an instance of FlattenAsyncClient class. - * - * @param serviceClient the service client implementation. - */ - @Generated - FlattenAsyncClient(FlattenClientImpl serviceClient) { - this.serviceClient = serviceClient; - } - - /** - * The send operation. - *

Request Body Schema

- * - *
{@code
-     * {
-     *     user (Optional): {
-     *         user: String (Required)
-     *     }
-     *     input: String (Required)
-     *     constant: String (Required)
-     * }
-     * }
- * - * @param id A sequence of textual characters. - * @param request The request parameter. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return the {@link Response} on successful completion of {@link Mono}. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> sendWithResponse(String id, BinaryData request, RequestOptions requestOptions) { - return this.serviceClient.sendWithResponseAsync(id, request, requestOptions); - } - - /** - * The sendProjectedName operation. - *

Request Body Schema

- * - *
{@code
-     * {
-     *     file_id: String (Required)
-     * }
-     * }
- * - * @param id A sequence of textual characters. - * @param request The request parameter. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return the {@link Response} on successful completion of {@link Mono}. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> sendProjectedNameWithResponse(String id, BinaryData request, - RequestOptions requestOptions) { - return this.serviceClient.sendProjectedNameWithResponseAsync(id, request, requestOptions); - } - - /** - * The sendLong operation. - *

Query Parameters

- * - * - * - * - *
Query Parameters
NameTypeRequiredDescription
filterStringNoA sequence of textual characters.
- * You can add these to a request with {@link RequestOptions#addQueryParam} - *

Request Body Schema

- * - *
{@code
-     * {
-     *     user (Optional): {
-     *         user: String (Required)
-     *     }
-     *     input: String (Required)
-     *     dataInt: int (Required)
-     *     dataIntOptional: Integer (Optional)
-     *     dataLong: Long (Optional)
-     *     data_float: Double (Optional)
-     *     title: String (Required)
-     *     description: String (Optional)
-     *     status: String(NotStarted/InProgress/Completed) (Required)
-     *     _dummy: String (Optional)
-     *     constant: String (Required)
-     * }
-     * }
- * - * @param name A sequence of textual characters. - * @param request The request parameter. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return the {@link Response} on successful completion of {@link Mono}. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> sendLongWithResponse(String name, BinaryData request, RequestOptions requestOptions) { - return this.serviceClient.sendLongWithResponseAsync(name, request, requestOptions); - } - - /** - * The update operation. - *

Request Body Schema

- * - *
{@code
-     * {
-     *     patch (Optional, Required on create): {
-     *         title: String (Optional)
-     *         description: String (Optional)
-     *         status: String(NotStarted/InProgress/Completed) (Optional)
-     *     }
-     * }
-     * }
- * - *

Response Body Schema

- * - *
{@code
-     * {
-     *     id: long (Required)
-     *     title: String (Required)
-     *     description: String (Optional)
-     *     status: String(NotStarted/InProgress/Completed) (Required)
-     *     createdAt: OffsetDateTime (Required)
-     *     updatedAt: OffsetDateTime (Required)
-     *     completedAt: OffsetDateTime (Optional)
-     *     _dummy: String (Optional)
-     * }
-     * }
- * - * @param id An integer that can be serialized to JSON (`−9007199254740991 (−(2^53 − 1))` to `9007199254740991 (2^53 - * − 1)` ). - * @param request The request parameter. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return the response body along with {@link Response} on successful completion of {@link Mono}. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> updateWithResponse(long id, BinaryData request, RequestOptions requestOptions) { - return this.serviceClient.updateWithResponseAsync(id, request, requestOptions); - } - - /** - * The uploadFile operation. - * - * @param name A sequence of textual characters. - * @param request The request parameter. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return the {@link Response} on successful completion of {@link Mono}. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - Mono> uploadFileWithResponse(String name, BinaryData request, RequestOptions requestOptions) { - // Protocol API requires serialization of parts with content-disposition and data, as operation 'uploadFile' is 'multipart/form-data' - return this.serviceClient.uploadFileWithResponseAsync(name, request, requestOptions); - } - - /** - * The uploadTodo operation. - * - * @param request The request parameter. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return the {@link Response} on successful completion of {@link Mono}. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - Mono> uploadTodoWithResponse(BinaryData request, RequestOptions requestOptions) { - // Protocol API requires serialization of parts with content-disposition and data, as operation 'uploadTodo' is 'multipart/form-data' - return this.serviceClient.uploadTodoWithResponseAsync(request, requestOptions); - } - - /** - * The send operation. - * - * @param id A sequence of textual characters. - * @param input A sequence of textual characters. - * @param user The user parameter. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return A {@link Mono} that completes when a successful response is received. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono send(String id, String input, User user) { - // Generated convenience method for sendWithResponse - RequestOptions requestOptions = new RequestOptions(); - SendRequest requestObj = new SendRequest(input).setUser(user); - BinaryData request = BinaryData.fromObject(requestObj); - return sendWithResponse(id, request, requestOptions).flatMap(FluxUtil::toMono); - } - - /** - * The send operation. - * - * @param id A sequence of textual characters. - * @param input A sequence of textual characters. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return A {@link Mono} that completes when a successful response is received. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono send(String id, String input) { - // Generated convenience method for sendWithResponse - RequestOptions requestOptions = new RequestOptions(); - SendRequest requestObj = new SendRequest(input); - BinaryData request = BinaryData.fromObject(requestObj); - return sendWithResponse(id, request, requestOptions).flatMap(FluxUtil::toMono); - } - - /** - * The sendProjectedName operation. - * - * @param id A sequence of textual characters. - * @param fileIdentifier A sequence of textual characters. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return A {@link Mono} that completes when a successful response is received. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono sendProjectedName(String id, String fileIdentifier) { - // Generated convenience method for sendProjectedNameWithResponse - RequestOptions requestOptions = new RequestOptions(); - SendProjectedNameRequest requestObj = new SendProjectedNameRequest(fileIdentifier); - BinaryData request = BinaryData.fromObject(requestObj); - return sendProjectedNameWithResponse(id, request, requestOptions).flatMap(FluxUtil::toMono); - } - - /** - * The sendLong operation. - * - * @param options Options for sendLong API. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return A {@link Mono} that completes when a successful response is received. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono sendLong(SendLongOptions options) { - // Generated convenience method for sendLongWithResponse - RequestOptions requestOptions = new RequestOptions(); - String name = options.getName(); - String filter = options.getFilter(); - SendLongRequest requestObj - = new SendLongRequest(options.getInput(), options.getDataInt(), options.getTitle(), options.getStatus()) - .setUser(options.getUser()) - .setDataIntOptional(options.getDataIntOptional()) - .setDataLong(options.getDataLong()) - .setDataFloat(options.getDataFloat()) - .setDescription(options.getDescription()) - .setDummy(options.getDummy()); - BinaryData request = BinaryData.fromObject(requestObj); - if (filter != null) { - requestOptions.addQueryParam("filter", filter, false); - } - return sendLongWithResponse(name, request, requestOptions).flatMap(FluxUtil::toMono); - } - - /** - * The update operation. - * - * @param id An integer that can be serialized to JSON (`−9007199254740991 (−(2^53 − 1))` to `9007199254740991 (2^53 - * − 1)` ). - * @param request The request parameter. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response body on successful completion of {@link Mono}. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono update(long id, UpdatePatchRequest request) { - // Generated convenience method for updateWithResponse - RequestOptions requestOptions = new RequestOptions(); - JsonMergePatchHelper.getUpdatePatchRequestAccessor().prepareModelForJsonMergePatch(request, true); - BinaryData requestInBinaryData = BinaryData.fromBytes(BinaryData.fromObject(request).toBytes()); - JsonMergePatchHelper.getUpdatePatchRequestAccessor().prepareModelForJsonMergePatch(request, false); - return updateWithResponse(id, requestInBinaryData, requestOptions).flatMap(FluxUtil::toMono) - .map(protocolMethodData -> protocolMethodData.toObject(TodoItem.class)); - } - - /** - * The uploadFile operation. - * - * @param name A sequence of textual characters. - * @param fileData The file details for the "file_data" field. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return A {@link Mono} that completes when a successful response is received. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono uploadFile(String name, FileDataFileDetails fileData) { - // Generated convenience method for uploadFileWithResponse - RequestOptions requestOptions = new RequestOptions(); - UploadFileRequest requestObj = new UploadFileRequest(fileData); - BinaryData request = new MultipartFormDataHelper(requestOptions) - .serializeFileField("file_data", requestObj.getFileData().getContent(), - requestObj.getFileData().getContentType(), requestObj.getFileData().getFilename()) - .serializeTextField("constant", requestObj.getConstant()) - .end() - .getRequestBody(); - return uploadFileWithResponse(name, request, requestOptions).flatMap(FluxUtil::toMono); - } - - /** - * The uploadTodo operation. - * - * @param options Options for uploadTodo API. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return A {@link Mono} that completes when a successful response is received. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono uploadTodo(UploadTodoOptions options) { - // Generated convenience method for uploadTodoWithResponse - RequestOptions requestOptions = new RequestOptions(); - UploadTodoRequest requestObj - = new UploadTodoRequest(options.getTitle(), options.getStatus()).setDescription(options.getDescription()) - .setDummy(options.getDummy()) - .setProp1(options.getProp1()) - .setProp2(options.getProp2()) - .setProp3(options.getProp3()); - BinaryData request - = new MultipartFormDataHelper(requestOptions).serializeTextField("title", requestObj.getTitle()) - .serializeTextField("description", requestObj.getDescription()) - .serializeTextField("status", Objects.toString(requestObj.getStatus())) - .serializeTextField("_dummy", requestObj.getDummy()) - .serializeTextField("prop1", requestObj.getProp1()) - .serializeTextField("prop2", requestObj.getProp2()) - .serializeTextField("prop3", requestObj.getProp3()) - .end() - .getRequestBody(); - return uploadTodoWithResponse(request, requestOptions).flatMap(FluxUtil::toMono); - } -} diff --git a/typespec-tests/src/main/java/com/cadl/flatten/FlattenClient.java b/typespec-tests/src/main/java/com/cadl/flatten/FlattenClient.java deleted file mode 100644 index 3df26e3101..0000000000 --- a/typespec-tests/src/main/java/com/cadl/flatten/FlattenClient.java +++ /dev/null @@ -1,418 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. - -package com.cadl.flatten; - -import com.azure.core.annotation.Generated; -import com.azure.core.annotation.ReturnType; -import com.azure.core.annotation.ServiceClient; -import com.azure.core.annotation.ServiceMethod; -import com.azure.core.exception.ClientAuthenticationException; -import com.azure.core.exception.HttpResponseException; -import com.azure.core.exception.ResourceModifiedException; -import com.azure.core.exception.ResourceNotFoundException; -import com.azure.core.http.rest.RequestOptions; -import com.azure.core.http.rest.Response; -import com.azure.core.util.BinaryData; -import com.cadl.flatten.implementation.FlattenClientImpl; -import com.cadl.flatten.implementation.JsonMergePatchHelper; -import com.cadl.flatten.implementation.MultipartFormDataHelper; -import com.cadl.flatten.implementation.models.SendLongRequest; -import com.cadl.flatten.implementation.models.SendProjectedNameRequest; -import com.cadl.flatten.implementation.models.SendRequest; -import com.cadl.flatten.implementation.models.UploadFileRequest; -import com.cadl.flatten.implementation.models.UploadTodoRequest; -import com.cadl.flatten.models.FileDataFileDetails; -import com.cadl.flatten.models.SendLongOptions; -import com.cadl.flatten.models.TodoItem; -import com.cadl.flatten.models.UpdatePatchRequest; -import com.cadl.flatten.models.UploadTodoOptions; -import com.cadl.flatten.models.User; -import java.util.Objects; - -/** - * Initializes a new instance of the synchronous FlattenClient type. - */ -@ServiceClient(builder = FlattenClientBuilder.class) -public final class FlattenClient { - @Generated - private final FlattenClientImpl serviceClient; - - /** - * Initializes an instance of FlattenClient class. - * - * @param serviceClient the service client implementation. - */ - @Generated - FlattenClient(FlattenClientImpl serviceClient) { - this.serviceClient = serviceClient; - } - - /** - * The send operation. - *

Request Body Schema

- * - *
{@code
-     * {
-     *     user (Optional): {
-     *         user: String (Required)
-     *     }
-     *     input: String (Required)
-     *     constant: String (Required)
-     * }
-     * }
- * - * @param id A sequence of textual characters. - * @param request The request parameter. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return the {@link Response}. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public Response sendWithResponse(String id, BinaryData request, RequestOptions requestOptions) { - return this.serviceClient.sendWithResponse(id, request, requestOptions); - } - - /** - * The sendProjectedName operation. - *

Request Body Schema

- * - *
{@code
-     * {
-     *     file_id: String (Required)
-     * }
-     * }
- * - * @param id A sequence of textual characters. - * @param request The request parameter. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return the {@link Response}. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public Response sendProjectedNameWithResponse(String id, BinaryData request, RequestOptions requestOptions) { - return this.serviceClient.sendProjectedNameWithResponse(id, request, requestOptions); - } - - /** - * The sendLong operation. - *

Query Parameters

- * - * - * - * - *
Query Parameters
NameTypeRequiredDescription
filterStringNoA sequence of textual characters.
- * You can add these to a request with {@link RequestOptions#addQueryParam} - *

Request Body Schema

- * - *
{@code
-     * {
-     *     user (Optional): {
-     *         user: String (Required)
-     *     }
-     *     input: String (Required)
-     *     dataInt: int (Required)
-     *     dataIntOptional: Integer (Optional)
-     *     dataLong: Long (Optional)
-     *     data_float: Double (Optional)
-     *     title: String (Required)
-     *     description: String (Optional)
-     *     status: String(NotStarted/InProgress/Completed) (Required)
-     *     _dummy: String (Optional)
-     *     constant: String (Required)
-     * }
-     * }
- * - * @param name A sequence of textual characters. - * @param request The request parameter. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return the {@link Response}. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public Response sendLongWithResponse(String name, BinaryData request, RequestOptions requestOptions) { - return this.serviceClient.sendLongWithResponse(name, request, requestOptions); - } - - /** - * The update operation. - *

Request Body Schema

- * - *
{@code
-     * {
-     *     patch (Optional, Required on create): {
-     *         title: String (Optional)
-     *         description: String (Optional)
-     *         status: String(NotStarted/InProgress/Completed) (Optional)
-     *     }
-     * }
-     * }
- * - *

Response Body Schema

- * - *
{@code
-     * {
-     *     id: long (Required)
-     *     title: String (Required)
-     *     description: String (Optional)
-     *     status: String(NotStarted/InProgress/Completed) (Required)
-     *     createdAt: OffsetDateTime (Required)
-     *     updatedAt: OffsetDateTime (Required)
-     *     completedAt: OffsetDateTime (Optional)
-     *     _dummy: String (Optional)
-     * }
-     * }
- * - * @param id An integer that can be serialized to JSON (`−9007199254740991 (−(2^53 − 1))` to `9007199254740991 (2^53 - * − 1)` ). - * @param request The request parameter. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return the response body along with {@link Response}. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public Response updateWithResponse(long id, BinaryData request, RequestOptions requestOptions) { - return this.serviceClient.updateWithResponse(id, request, requestOptions); - } - - /** - * The uploadFile operation. - * - * @param name A sequence of textual characters. - * @param request The request parameter. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return the {@link Response}. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - Response uploadFileWithResponse(String name, BinaryData request, RequestOptions requestOptions) { - // Protocol API requires serialization of parts with content-disposition and data, as operation 'uploadFile' is 'multipart/form-data' - return this.serviceClient.uploadFileWithResponse(name, request, requestOptions); - } - - /** - * The uploadTodo operation. - * - * @param request The request parameter. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return the {@link Response}. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - Response uploadTodoWithResponse(BinaryData request, RequestOptions requestOptions) { - // Protocol API requires serialization of parts with content-disposition and data, as operation 'uploadTodo' is 'multipart/form-data' - return this.serviceClient.uploadTodoWithResponse(request, requestOptions); - } - - /** - * The send operation. - * - * @param id A sequence of textual characters. - * @param input A sequence of textual characters. - * @param user The user parameter. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public void send(String id, String input, User user) { - // Generated convenience method for sendWithResponse - RequestOptions requestOptions = new RequestOptions(); - SendRequest requestObj = new SendRequest(input).setUser(user); - BinaryData request = BinaryData.fromObject(requestObj); - sendWithResponse(id, request, requestOptions).getValue(); - } - - /** - * The send operation. - * - * @param id A sequence of textual characters. - * @param input A sequence of textual characters. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public void send(String id, String input) { - // Generated convenience method for sendWithResponse - RequestOptions requestOptions = new RequestOptions(); - SendRequest requestObj = new SendRequest(input); - BinaryData request = BinaryData.fromObject(requestObj); - sendWithResponse(id, request, requestOptions).getValue(); - } - - /** - * The sendProjectedName operation. - * - * @param id A sequence of textual characters. - * @param fileIdentifier A sequence of textual characters. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public void sendProjectedName(String id, String fileIdentifier) { - // Generated convenience method for sendProjectedNameWithResponse - RequestOptions requestOptions = new RequestOptions(); - SendProjectedNameRequest requestObj = new SendProjectedNameRequest(fileIdentifier); - BinaryData request = BinaryData.fromObject(requestObj); - sendProjectedNameWithResponse(id, request, requestOptions).getValue(); - } - - /** - * The sendLong operation. - * - * @param options Options for sendLong API. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public void sendLong(SendLongOptions options) { - // Generated convenience method for sendLongWithResponse - RequestOptions requestOptions = new RequestOptions(); - String name = options.getName(); - String filter = options.getFilter(); - SendLongRequest requestObj - = new SendLongRequest(options.getInput(), options.getDataInt(), options.getTitle(), options.getStatus()) - .setUser(options.getUser()) - .setDataIntOptional(options.getDataIntOptional()) - .setDataLong(options.getDataLong()) - .setDataFloat(options.getDataFloat()) - .setDescription(options.getDescription()) - .setDummy(options.getDummy()); - BinaryData request = BinaryData.fromObject(requestObj); - if (filter != null) { - requestOptions.addQueryParam("filter", filter, false); - } - sendLongWithResponse(name, request, requestOptions).getValue(); - } - - /** - * The update operation. - * - * @param id An integer that can be serialized to JSON (`−9007199254740991 (−(2^53 − 1))` to `9007199254740991 (2^53 - * − 1)` ). - * @param request The request parameter. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public TodoItem update(long id, UpdatePatchRequest request) { - // Generated convenience method for updateWithResponse - RequestOptions requestOptions = new RequestOptions(); - JsonMergePatchHelper.getUpdatePatchRequestAccessor().prepareModelForJsonMergePatch(request, true); - BinaryData requestInBinaryData = BinaryData.fromBytes(BinaryData.fromObject(request).toBytes()); - JsonMergePatchHelper.getUpdatePatchRequestAccessor().prepareModelForJsonMergePatch(request, false); - return updateWithResponse(id, requestInBinaryData, requestOptions).getValue().toObject(TodoItem.class); - } - - /** - * The uploadFile operation. - * - * @param name A sequence of textual characters. - * @param fileData The file details for the "file_data" field. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public void uploadFile(String name, FileDataFileDetails fileData) { - // Generated convenience method for uploadFileWithResponse - RequestOptions requestOptions = new RequestOptions(); - UploadFileRequest requestObj = new UploadFileRequest(fileData); - BinaryData request = new MultipartFormDataHelper(requestOptions) - .serializeFileField("file_data", requestObj.getFileData().getContent(), - requestObj.getFileData().getContentType(), requestObj.getFileData().getFilename()) - .serializeTextField("constant", requestObj.getConstant()) - .end() - .getRequestBody(); - uploadFileWithResponse(name, request, requestOptions).getValue(); - } - - /** - * The uploadTodo operation. - * - * @param options Options for uploadTodo API. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public void uploadTodo(UploadTodoOptions options) { - // Generated convenience method for uploadTodoWithResponse - RequestOptions requestOptions = new RequestOptions(); - UploadTodoRequest requestObj - = new UploadTodoRequest(options.getTitle(), options.getStatus()).setDescription(options.getDescription()) - .setDummy(options.getDummy()) - .setProp1(options.getProp1()) - .setProp2(options.getProp2()) - .setProp3(options.getProp3()); - BinaryData request - = new MultipartFormDataHelper(requestOptions).serializeTextField("title", requestObj.getTitle()) - .serializeTextField("description", requestObj.getDescription()) - .serializeTextField("status", Objects.toString(requestObj.getStatus())) - .serializeTextField("_dummy", requestObj.getDummy()) - .serializeTextField("prop1", requestObj.getProp1()) - .serializeTextField("prop2", requestObj.getProp2()) - .serializeTextField("prop3", requestObj.getProp3()) - .end() - .getRequestBody(); - uploadTodoWithResponse(request, requestOptions).getValue(); - } -} diff --git a/typespec-tests/src/main/java/com/cadl/flatten/FlattenClientBuilder.java b/typespec-tests/src/main/java/com/cadl/flatten/FlattenClientBuilder.java deleted file mode 100644 index db21f13b96..0000000000 --- a/typespec-tests/src/main/java/com/cadl/flatten/FlattenClientBuilder.java +++ /dev/null @@ -1,302 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. - -package com.cadl.flatten; - -import com.azure.core.annotation.Generated; -import com.azure.core.annotation.ServiceClientBuilder; -import com.azure.core.client.traits.ConfigurationTrait; -import com.azure.core.client.traits.EndpointTrait; -import com.azure.core.client.traits.HttpTrait; -import com.azure.core.http.HttpClient; -import com.azure.core.http.HttpHeaderName; -import com.azure.core.http.HttpHeaders; -import com.azure.core.http.HttpPipeline; -import com.azure.core.http.HttpPipelineBuilder; -import com.azure.core.http.HttpPipelinePosition; -import com.azure.core.http.policy.AddDatePolicy; -import com.azure.core.http.policy.AddHeadersFromContextPolicy; -import com.azure.core.http.policy.AddHeadersPolicy; -import com.azure.core.http.policy.HttpLoggingPolicy; -import com.azure.core.http.policy.HttpLogOptions; -import com.azure.core.http.policy.HttpPipelinePolicy; -import com.azure.core.http.policy.HttpPolicyProviders; -import com.azure.core.http.policy.RequestIdPolicy; -import com.azure.core.http.policy.RetryOptions; -import com.azure.core.http.policy.RetryPolicy; -import com.azure.core.http.policy.UserAgentPolicy; -import com.azure.core.util.ClientOptions; -import com.azure.core.util.Configuration; -import com.azure.core.util.CoreUtils; -import com.azure.core.util.builder.ClientBuilderUtil; -import com.azure.core.util.logging.ClientLogger; -import com.azure.core.util.serializer.JacksonAdapter; -import com.cadl.flatten.implementation.FlattenClientImpl; -import java.util.ArrayList; -import java.util.List; -import java.util.Map; -import java.util.Objects; - -/** - * A builder for creating a new instance of the FlattenClient type. - */ -@ServiceClientBuilder(serviceClients = { FlattenClient.class, FlattenAsyncClient.class }) -public final class FlattenClientBuilder implements HttpTrait, - ConfigurationTrait, EndpointTrait { - @Generated - private static final String SDK_NAME = "name"; - - @Generated - private static final String SDK_VERSION = "version"; - - @Generated - private static final Map PROPERTIES = CoreUtils.getProperties("cadl-flatten.properties"); - - @Generated - private final List pipelinePolicies; - - /** - * Create an instance of the FlattenClientBuilder. - */ - @Generated - public FlattenClientBuilder() { - this.pipelinePolicies = new ArrayList<>(); - } - - /* - * The HTTP pipeline to send requests through. - */ - @Generated - private HttpPipeline pipeline; - - /** - * {@inheritDoc}. - */ - @Generated - @Override - public FlattenClientBuilder pipeline(HttpPipeline pipeline) { - if (this.pipeline != null && pipeline == null) { - LOGGER.atInfo().log("HttpPipeline is being set to 'null' when it was previously configured."); - } - this.pipeline = pipeline; - return this; - } - - /* - * The HTTP client used to send the request. - */ - @Generated - private HttpClient httpClient; - - /** - * {@inheritDoc}. - */ - @Generated - @Override - public FlattenClientBuilder httpClient(HttpClient httpClient) { - this.httpClient = httpClient; - return this; - } - - /* - * The logging configuration for HTTP requests and responses. - */ - @Generated - private HttpLogOptions httpLogOptions; - - /** - * {@inheritDoc}. - */ - @Generated - @Override - public FlattenClientBuilder httpLogOptions(HttpLogOptions httpLogOptions) { - this.httpLogOptions = httpLogOptions; - return this; - } - - /* - * The client options such as application ID and custom headers to set on a request. - */ - @Generated - private ClientOptions clientOptions; - - /** - * {@inheritDoc}. - */ - @Generated - @Override - public FlattenClientBuilder clientOptions(ClientOptions clientOptions) { - this.clientOptions = clientOptions; - return this; - } - - /* - * The retry options to configure retry policy for failed requests. - */ - @Generated - private RetryOptions retryOptions; - - /** - * {@inheritDoc}. - */ - @Generated - @Override - public FlattenClientBuilder retryOptions(RetryOptions retryOptions) { - this.retryOptions = retryOptions; - return this; - } - - /** - * {@inheritDoc}. - */ - @Generated - @Override - public FlattenClientBuilder addPolicy(HttpPipelinePolicy customPolicy) { - Objects.requireNonNull(customPolicy, "'customPolicy' cannot be null."); - pipelinePolicies.add(customPolicy); - return this; - } - - /* - * The configuration store that is used during construction of the service client. - */ - @Generated - private Configuration configuration; - - /** - * {@inheritDoc}. - */ - @Generated - @Override - public FlattenClientBuilder configuration(Configuration configuration) { - this.configuration = configuration; - return this; - } - - /* - * The service endpoint - */ - @Generated - private String endpoint; - - /** - * {@inheritDoc}. - */ - @Generated - @Override - public FlattenClientBuilder endpoint(String endpoint) { - this.endpoint = endpoint; - return this; - } - - /* - * Service version - */ - @Generated - private FlattenServiceVersion serviceVersion; - - /** - * Sets Service version. - * - * @param serviceVersion the serviceVersion value. - * @return the FlattenClientBuilder. - */ - @Generated - public FlattenClientBuilder serviceVersion(FlattenServiceVersion serviceVersion) { - this.serviceVersion = serviceVersion; - return this; - } - - /* - * The retry policy that will attempt to retry failed requests, if applicable. - */ - @Generated - private RetryPolicy retryPolicy; - - /** - * Sets The retry policy that will attempt to retry failed requests, if applicable. - * - * @param retryPolicy the retryPolicy value. - * @return the FlattenClientBuilder. - */ - @Generated - public FlattenClientBuilder retryPolicy(RetryPolicy retryPolicy) { - this.retryPolicy = retryPolicy; - return this; - } - - /** - * Builds an instance of FlattenClientImpl with the provided parameters. - * - * @return an instance of FlattenClientImpl. - */ - @Generated - private FlattenClientImpl buildInnerClient() { - HttpPipeline localPipeline = (pipeline != null) ? pipeline : createHttpPipeline(); - FlattenServiceVersion localServiceVersion - = (serviceVersion != null) ? serviceVersion : FlattenServiceVersion.getLatest(); - FlattenClientImpl client = new FlattenClientImpl(localPipeline, JacksonAdapter.createDefaultSerializerAdapter(), - this.endpoint, localServiceVersion); - return client; - } - - @Generated - private HttpPipeline createHttpPipeline() { - Configuration buildConfiguration - = (configuration == null) ? Configuration.getGlobalConfiguration() : configuration; - HttpLogOptions localHttpLogOptions = this.httpLogOptions == null ? new HttpLogOptions() : this.httpLogOptions; - ClientOptions localClientOptions = this.clientOptions == null ? new ClientOptions() : this.clientOptions; - List policies = new ArrayList<>(); - String clientName = PROPERTIES.getOrDefault(SDK_NAME, "UnknownName"); - String clientVersion = PROPERTIES.getOrDefault(SDK_VERSION, "UnknownVersion"); - String applicationId = CoreUtils.getApplicationId(localClientOptions, localHttpLogOptions); - policies.add(new UserAgentPolicy(applicationId, clientName, clientVersion, buildConfiguration)); - policies.add(new RequestIdPolicy()); - policies.add(new AddHeadersFromContextPolicy()); - HttpHeaders headers = new HttpHeaders(); - localClientOptions.getHeaders() - .forEach(header -> headers.set(HttpHeaderName.fromString(header.getName()), header.getValue())); - if (headers.getSize() > 0) { - policies.add(new AddHeadersPolicy(headers)); - } - this.pipelinePolicies.stream() - .filter(p -> p.getPipelinePosition() == HttpPipelinePosition.PER_CALL) - .forEach(p -> policies.add(p)); - HttpPolicyProviders.addBeforeRetryPolicies(policies); - policies.add(ClientBuilderUtil.validateAndGetRetryPolicy(retryPolicy, retryOptions, new RetryPolicy())); - policies.add(new AddDatePolicy()); - this.pipelinePolicies.stream() - .filter(p -> p.getPipelinePosition() == HttpPipelinePosition.PER_RETRY) - .forEach(p -> policies.add(p)); - HttpPolicyProviders.addAfterRetryPolicies(policies); - policies.add(new HttpLoggingPolicy(localHttpLogOptions)); - HttpPipeline httpPipeline = new HttpPipelineBuilder().policies(policies.toArray(new HttpPipelinePolicy[0])) - .httpClient(httpClient) - .clientOptions(localClientOptions) - .build(); - return httpPipeline; - } - - /** - * Builds an instance of FlattenAsyncClient class. - * - * @return an instance of FlattenAsyncClient. - */ - @Generated - public FlattenAsyncClient buildAsyncClient() { - return new FlattenAsyncClient(buildInnerClient()); - } - - /** - * Builds an instance of FlattenClient class. - * - * @return an instance of FlattenClient. - */ - @Generated - public FlattenClient buildClient() { - return new FlattenClient(buildInnerClient()); - } - - private static final ClientLogger LOGGER = new ClientLogger(FlattenClientBuilder.class); -} diff --git a/typespec-tests/src/main/java/com/cadl/flatten/FlattenServiceVersion.java b/typespec-tests/src/main/java/com/cadl/flatten/FlattenServiceVersion.java deleted file mode 100644 index 3284679bb5..0000000000 --- a/typespec-tests/src/main/java/com/cadl/flatten/FlattenServiceVersion.java +++ /dev/null @@ -1,40 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. - -package com.cadl.flatten; - -import com.azure.core.util.ServiceVersion; - -/** - * Service version of FlattenClient. - */ -public enum FlattenServiceVersion implements ServiceVersion { - /** - * Enum value 2022-06-01-preview. - */ - V2022_06_01_PREVIEW("2022-06-01-preview"); - - private final String version; - - FlattenServiceVersion(String version) { - this.version = version; - } - - /** - * {@inheritDoc} - */ - @Override - public String getVersion() { - return this.version; - } - - /** - * Gets the latest service version supported by this client library. - * - * @return The latest {@link FlattenServiceVersion}. - */ - public static FlattenServiceVersion getLatest() { - return V2022_06_01_PREVIEW; - } -} diff --git a/typespec-tests/src/main/java/com/cadl/flatten/implementation/FlattenClientImpl.java b/typespec-tests/src/main/java/com/cadl/flatten/implementation/FlattenClientImpl.java deleted file mode 100644 index ce4a492a00..0000000000 --- a/typespec-tests/src/main/java/com/cadl/flatten/implementation/FlattenClientImpl.java +++ /dev/null @@ -1,649 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. - -package com.cadl.flatten.implementation; - -import com.azure.core.annotation.BodyParam; -import com.azure.core.annotation.ExpectedResponses; -import com.azure.core.annotation.HeaderParam; -import com.azure.core.annotation.Host; -import com.azure.core.annotation.HostParam; -import com.azure.core.annotation.Patch; -import com.azure.core.annotation.PathParam; -import com.azure.core.annotation.Post; -import com.azure.core.annotation.QueryParam; -import com.azure.core.annotation.ReturnType; -import com.azure.core.annotation.ServiceInterface; -import com.azure.core.annotation.ServiceMethod; -import com.azure.core.annotation.UnexpectedResponseExceptionType; -import com.azure.core.exception.ClientAuthenticationException; -import com.azure.core.exception.HttpResponseException; -import com.azure.core.exception.ResourceModifiedException; -import com.azure.core.exception.ResourceNotFoundException; -import com.azure.core.http.HttpPipeline; -import com.azure.core.http.HttpPipelineBuilder; -import com.azure.core.http.policy.RetryPolicy; -import com.azure.core.http.policy.UserAgentPolicy; -import com.azure.core.http.rest.RequestOptions; -import com.azure.core.http.rest.Response; -import com.azure.core.http.rest.RestProxy; -import com.azure.core.util.BinaryData; -import com.azure.core.util.Context; -import com.azure.core.util.FluxUtil; -import com.azure.core.util.serializer.JacksonAdapter; -import com.azure.core.util.serializer.SerializerAdapter; -import com.cadl.flatten.FlattenServiceVersion; -import reactor.core.publisher.Mono; - -/** - * Initializes a new instance of the FlattenClient type. - */ -public final class FlattenClientImpl { - /** - * The proxy service used to perform REST calls. - */ - private final FlattenClientService service; - - /** - */ - private final String endpoint; - - /** - * Gets. - * - * @return the endpoint value. - */ - public String getEndpoint() { - return this.endpoint; - } - - /** - * Service version. - */ - private final FlattenServiceVersion serviceVersion; - - /** - * Gets Service version. - * - * @return the serviceVersion value. - */ - public FlattenServiceVersion getServiceVersion() { - return this.serviceVersion; - } - - /** - * The HTTP pipeline to send requests through. - */ - private final HttpPipeline httpPipeline; - - /** - * Gets The HTTP pipeline to send requests through. - * - * @return the httpPipeline value. - */ - public HttpPipeline getHttpPipeline() { - return this.httpPipeline; - } - - /** - * The serializer to serialize an object into a string. - */ - private final SerializerAdapter serializerAdapter; - - /** - * Gets The serializer to serialize an object into a string. - * - * @return the serializerAdapter value. - */ - public SerializerAdapter getSerializerAdapter() { - return this.serializerAdapter; - } - - /** - * Initializes an instance of FlattenClient client. - * - * @param endpoint - * @param serviceVersion Service version. - */ - public FlattenClientImpl(String endpoint, FlattenServiceVersion serviceVersion) { - this(new HttpPipelineBuilder().policies(new UserAgentPolicy(), new RetryPolicy()).build(), - JacksonAdapter.createDefaultSerializerAdapter(), endpoint, serviceVersion); - } - - /** - * Initializes an instance of FlattenClient client. - * - * @param httpPipeline The HTTP pipeline to send requests through. - * @param endpoint - * @param serviceVersion Service version. - */ - public FlattenClientImpl(HttpPipeline httpPipeline, String endpoint, FlattenServiceVersion serviceVersion) { - this(httpPipeline, JacksonAdapter.createDefaultSerializerAdapter(), endpoint, serviceVersion); - } - - /** - * Initializes an instance of FlattenClient client. - * - * @param httpPipeline The HTTP pipeline to send requests through. - * @param serializerAdapter The serializer to serialize an object into a string. - * @param endpoint - * @param serviceVersion Service version. - */ - public FlattenClientImpl(HttpPipeline httpPipeline, SerializerAdapter serializerAdapter, String endpoint, - FlattenServiceVersion serviceVersion) { - this.httpPipeline = httpPipeline; - this.serializerAdapter = serializerAdapter; - this.endpoint = endpoint; - this.serviceVersion = serviceVersion; - this.service = RestProxy.create(FlattenClientService.class, this.httpPipeline, this.getSerializerAdapter()); - } - - /** - * The interface defining all the services for FlattenClient to be used by the proxy service to perform REST calls. - */ - @Host("{endpoint}/openai") - @ServiceInterface(name = "FlattenClient") - public interface FlattenClientService { - @Post("/flatten/send") - @ExpectedResponses({ 200 }) - @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) - @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) - @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) - @UnexpectedResponseExceptionType(HttpResponseException.class) - Mono> send(@HostParam("endpoint") String endpoint, @QueryParam("id") String id, - @QueryParam("api-version") String apiVersion, @HeaderParam("accept") String accept, - @BodyParam("application/json") BinaryData request, RequestOptions requestOptions, Context context); - - @Post("/flatten/send") - @ExpectedResponses({ 200 }) - @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) - @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) - @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) - @UnexpectedResponseExceptionType(HttpResponseException.class) - Response sendSync(@HostParam("endpoint") String endpoint, @QueryParam("id") String id, - @QueryParam("api-version") String apiVersion, @HeaderParam("accept") String accept, - @BodyParam("application/json") BinaryData request, RequestOptions requestOptions, Context context); - - @Post("/flatten/send-projected-name") - @ExpectedResponses({ 200 }) - @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) - @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) - @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) - @UnexpectedResponseExceptionType(HttpResponseException.class) - Mono> sendProjectedName(@HostParam("endpoint") String endpoint, @QueryParam("id") String id, - @HeaderParam("accept") String accept, @BodyParam("application/json") BinaryData request, - RequestOptions requestOptions, Context context); - - @Post("/flatten/send-projected-name") - @ExpectedResponses({ 200 }) - @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) - @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) - @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) - @UnexpectedResponseExceptionType(HttpResponseException.class) - Response sendProjectedNameSync(@HostParam("endpoint") String endpoint, @QueryParam("id") String id, - @HeaderParam("accept") String accept, @BodyParam("application/json") BinaryData request, - RequestOptions requestOptions, Context context); - - @Post("/flatten/send-long") - @ExpectedResponses({ 200 }) - @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) - @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) - @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) - @UnexpectedResponseExceptionType(HttpResponseException.class) - Mono> sendLong(@HostParam("endpoint") String endpoint, @QueryParam("name") String name, - @QueryParam("api-version") String apiVersion, @HeaderParam("accept") String accept, - @BodyParam("application/json") BinaryData request, RequestOptions requestOptions, Context context); - - @Post("/flatten/send-long") - @ExpectedResponses({ 200 }) - @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) - @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) - @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) - @UnexpectedResponseExceptionType(HttpResponseException.class) - Response sendLongSync(@HostParam("endpoint") String endpoint, @QueryParam("name") String name, - @QueryParam("api-version") String apiVersion, @HeaderParam("accept") String accept, - @BodyParam("application/json") BinaryData request, RequestOptions requestOptions, Context context); - - @Patch("/flatten/patch/{id}") - @ExpectedResponses({ 200 }) - @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) - @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) - @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) - @UnexpectedResponseExceptionType(HttpResponseException.class) - Mono> update(@HostParam("endpoint") String endpoint, - @HeaderParam("content-type") String contentType, @PathParam("id") long id, - @HeaderParam("accept") String accept, @BodyParam("application/merge-patch+json") BinaryData request, - RequestOptions requestOptions, Context context); - - @Patch("/flatten/patch/{id}") - @ExpectedResponses({ 200 }) - @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) - @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) - @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) - @UnexpectedResponseExceptionType(HttpResponseException.class) - Response updateSync(@HostParam("endpoint") String endpoint, - @HeaderParam("content-type") String contentType, @PathParam("id") long id, - @HeaderParam("accept") String accept, @BodyParam("application/merge-patch+json") BinaryData request, - RequestOptions requestOptions, Context context); - - // @Multipart not supported by RestProxy - @Post("/flatten/upload/{name}") - @ExpectedResponses({ 200 }) - @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) - @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) - @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) - @UnexpectedResponseExceptionType(HttpResponseException.class) - Mono> uploadFile(@HostParam("endpoint") String endpoint, @PathParam("name") String name, - @HeaderParam("content-type") String contentType, @HeaderParam("accept") String accept, - @BodyParam("multipart/form-data") BinaryData request, RequestOptions requestOptions, Context context); - - // @Multipart not supported by RestProxy - @Post("/flatten/upload/{name}") - @ExpectedResponses({ 200 }) - @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) - @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) - @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) - @UnexpectedResponseExceptionType(HttpResponseException.class) - Response uploadFileSync(@HostParam("endpoint") String endpoint, @PathParam("name") String name, - @HeaderParam("content-type") String contentType, @HeaderParam("accept") String accept, - @BodyParam("multipart/form-data") BinaryData request, RequestOptions requestOptions, Context context); - - // @Multipart not supported by RestProxy - @Post("/flatten/upload-todo") - @ExpectedResponses({ 200 }) - @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) - @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) - @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) - @UnexpectedResponseExceptionType(HttpResponseException.class) - Mono> uploadTodo(@HostParam("endpoint") String endpoint, - @HeaderParam("content-type") String contentType, @HeaderParam("accept") String accept, - @BodyParam("multipart/form-data") BinaryData request, RequestOptions requestOptions, Context context); - - // @Multipart not supported by RestProxy - @Post("/flatten/upload-todo") - @ExpectedResponses({ 200 }) - @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) - @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) - @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) - @UnexpectedResponseExceptionType(HttpResponseException.class) - Response uploadTodoSync(@HostParam("endpoint") String endpoint, - @HeaderParam("content-type") String contentType, @HeaderParam("accept") String accept, - @BodyParam("multipart/form-data") BinaryData request, RequestOptions requestOptions, Context context); - } - - /** - * The send operation. - *

Request Body Schema

- * - *
{@code
-     * {
-     *     user (Optional): {
-     *         user: String (Required)
-     *     }
-     *     input: String (Required)
-     *     constant: String (Required)
-     * }
-     * }
- * - * @param id A sequence of textual characters. - * @param request The request parameter. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return the {@link Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> sendWithResponseAsync(String id, BinaryData request, RequestOptions requestOptions) { - final String accept = "application/json"; - return FluxUtil.withContext(context -> service.send(this.getEndpoint(), id, - this.getServiceVersion().getVersion(), accept, request, requestOptions, context)); - } - - /** - * The send operation. - *

Request Body Schema

- * - *
{@code
-     * {
-     *     user (Optional): {
-     *         user: String (Required)
-     *     }
-     *     input: String (Required)
-     *     constant: String (Required)
-     * }
-     * }
- * - * @param id A sequence of textual characters. - * @param request The request parameter. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return the {@link Response}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Response sendWithResponse(String id, BinaryData request, RequestOptions requestOptions) { - final String accept = "application/json"; - return service.sendSync(this.getEndpoint(), id, this.getServiceVersion().getVersion(), accept, request, - requestOptions, Context.NONE); - } - - /** - * The sendProjectedName operation. - *

Request Body Schema

- * - *
{@code
-     * {
-     *     file_id: String (Required)
-     * }
-     * }
- * - * @param id A sequence of textual characters. - * @param request The request parameter. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return the {@link Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> sendProjectedNameWithResponseAsync(String id, BinaryData request, - RequestOptions requestOptions) { - final String accept = "application/json"; - return FluxUtil.withContext( - context -> service.sendProjectedName(this.getEndpoint(), id, accept, request, requestOptions, context)); - } - - /** - * The sendProjectedName operation. - *

Request Body Schema

- * - *
{@code
-     * {
-     *     file_id: String (Required)
-     * }
-     * }
- * - * @param id A sequence of textual characters. - * @param request The request parameter. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return the {@link Response}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Response sendProjectedNameWithResponse(String id, BinaryData request, RequestOptions requestOptions) { - final String accept = "application/json"; - return service.sendProjectedNameSync(this.getEndpoint(), id, accept, request, requestOptions, Context.NONE); - } - - /** - * The sendLong operation. - *

Query Parameters

- * - * - * - * - *
Query Parameters
NameTypeRequiredDescription
filterStringNoA sequence of textual characters.
- * You can add these to a request with {@link RequestOptions#addQueryParam} - *

Request Body Schema

- * - *
{@code
-     * {
-     *     user (Optional): {
-     *         user: String (Required)
-     *     }
-     *     input: String (Required)
-     *     dataInt: int (Required)
-     *     dataIntOptional: Integer (Optional)
-     *     dataLong: Long (Optional)
-     *     data_float: Double (Optional)
-     *     title: String (Required)
-     *     description: String (Optional)
-     *     status: String(NotStarted/InProgress/Completed) (Required)
-     *     _dummy: String (Optional)
-     *     constant: String (Required)
-     * }
-     * }
- * - * @param name A sequence of textual characters. - * @param request The request parameter. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return the {@link Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> sendLongWithResponseAsync(String name, BinaryData request, - RequestOptions requestOptions) { - final String accept = "application/json"; - return FluxUtil.withContext(context -> service.sendLong(this.getEndpoint(), name, - this.getServiceVersion().getVersion(), accept, request, requestOptions, context)); - } - - /** - * The sendLong operation. - *

Query Parameters

- * - * - * - * - *
Query Parameters
NameTypeRequiredDescription
filterStringNoA sequence of textual characters.
- * You can add these to a request with {@link RequestOptions#addQueryParam} - *

Request Body Schema

- * - *
{@code
-     * {
-     *     user (Optional): {
-     *         user: String (Required)
-     *     }
-     *     input: String (Required)
-     *     dataInt: int (Required)
-     *     dataIntOptional: Integer (Optional)
-     *     dataLong: Long (Optional)
-     *     data_float: Double (Optional)
-     *     title: String (Required)
-     *     description: String (Optional)
-     *     status: String(NotStarted/InProgress/Completed) (Required)
-     *     _dummy: String (Optional)
-     *     constant: String (Required)
-     * }
-     * }
- * - * @param name A sequence of textual characters. - * @param request The request parameter. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return the {@link Response}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Response sendLongWithResponse(String name, BinaryData request, RequestOptions requestOptions) { - final String accept = "application/json"; - return service.sendLongSync(this.getEndpoint(), name, this.getServiceVersion().getVersion(), accept, request, - requestOptions, Context.NONE); - } - - /** - * The update operation. - *

Request Body Schema

- * - *
{@code
-     * {
-     *     patch (Optional, Required on create): {
-     *         title: String (Optional)
-     *         description: String (Optional)
-     *         status: String(NotStarted/InProgress/Completed) (Optional)
-     *     }
-     * }
-     * }
- * - *

Response Body Schema

- * - *
{@code
-     * {
-     *     id: long (Required)
-     *     title: String (Required)
-     *     description: String (Optional)
-     *     status: String(NotStarted/InProgress/Completed) (Required)
-     *     createdAt: OffsetDateTime (Required)
-     *     updatedAt: OffsetDateTime (Required)
-     *     completedAt: OffsetDateTime (Optional)
-     *     _dummy: String (Optional)
-     * }
-     * }
- * - * @param id An integer that can be serialized to JSON (`−9007199254740991 (−(2^53 − 1))` to `9007199254740991 (2^53 - * − 1)` ). - * @param request The request parameter. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return the response body along with {@link Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> updateWithResponseAsync(long id, BinaryData request, - RequestOptions requestOptions) { - final String contentType = "application/merge-patch+json"; - final String accept = "application/json"; - return FluxUtil.withContext( - context -> service.update(this.getEndpoint(), contentType, id, accept, request, requestOptions, context)); - } - - /** - * The update operation. - *

Request Body Schema

- * - *
{@code
-     * {
-     *     patch (Optional, Required on create): {
-     *         title: String (Optional)
-     *         description: String (Optional)
-     *         status: String(NotStarted/InProgress/Completed) (Optional)
-     *     }
-     * }
-     * }
- * - *

Response Body Schema

- * - *
{@code
-     * {
-     *     id: long (Required)
-     *     title: String (Required)
-     *     description: String (Optional)
-     *     status: String(NotStarted/InProgress/Completed) (Required)
-     *     createdAt: OffsetDateTime (Required)
-     *     updatedAt: OffsetDateTime (Required)
-     *     completedAt: OffsetDateTime (Optional)
-     *     _dummy: String (Optional)
-     * }
-     * }
- * - * @param id An integer that can be serialized to JSON (`−9007199254740991 (−(2^53 − 1))` to `9007199254740991 (2^53 - * − 1)` ). - * @param request The request parameter. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return the response body along with {@link Response}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Response updateWithResponse(long id, BinaryData request, RequestOptions requestOptions) { - final String contentType = "application/merge-patch+json"; - final String accept = "application/json"; - return service.updateSync(this.getEndpoint(), contentType, id, accept, request, requestOptions, Context.NONE); - } - - /** - * The uploadFile operation. - * - * @param name A sequence of textual characters. - * @param request The request parameter. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return the {@link Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> uploadFileWithResponseAsync(String name, BinaryData request, - RequestOptions requestOptions) { - final String contentType = "multipart/form-data"; - final String accept = "application/json"; - return FluxUtil.withContext(context -> service.uploadFile(this.getEndpoint(), name, contentType, accept, - request, requestOptions, context)); - } - - /** - * The uploadFile operation. - * - * @param name A sequence of textual characters. - * @param request The request parameter. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return the {@link Response}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Response uploadFileWithResponse(String name, BinaryData request, RequestOptions requestOptions) { - final String contentType = "multipart/form-data"; - final String accept = "application/json"; - return service.uploadFileSync(this.getEndpoint(), name, contentType, accept, request, requestOptions, - Context.NONE); - } - - /** - * The uploadTodo operation. - * - * @param request The request parameter. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return the {@link Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> uploadTodoWithResponseAsync(BinaryData request, RequestOptions requestOptions) { - final String contentType = "multipart/form-data"; - final String accept = "application/json"; - return FluxUtil.withContext( - context -> service.uploadTodo(this.getEndpoint(), contentType, accept, request, requestOptions, context)); - } - - /** - * The uploadTodo operation. - * - * @param request The request parameter. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return the {@link Response}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Response uploadTodoWithResponse(BinaryData request, RequestOptions requestOptions) { - final String contentType = "multipart/form-data"; - final String accept = "application/json"; - return service.uploadTodoSync(this.getEndpoint(), contentType, accept, request, requestOptions, Context.NONE); - } -} diff --git a/typespec-tests/src/main/java/com/cadl/flatten/implementation/JsonMergePatchHelper.java b/typespec-tests/src/main/java/com/cadl/flatten/implementation/JsonMergePatchHelper.java deleted file mode 100644 index aabdf94b6b..0000000000 --- a/typespec-tests/src/main/java/com/cadl/flatten/implementation/JsonMergePatchHelper.java +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. - -package com.cadl.flatten.implementation; - -import com.cadl.flatten.models.TodoItemPatch; -import com.cadl.flatten.models.UpdatePatchRequest; - -/** - * This is the Helper class to enable json merge patch serialization for a model. - */ -public class JsonMergePatchHelper { - private static UpdatePatchRequestAccessor updatePatchRequestAccessor; - - private static TodoItemPatchAccessor todoItemPatchAccessor; - - public interface UpdatePatchRequestAccessor { - UpdatePatchRequest prepareModelForJsonMergePatch(UpdatePatchRequest updatePatchRequest, - boolean jsonMergePatchEnabled); - } - - public interface TodoItemPatchAccessor { - TodoItemPatch prepareModelForJsonMergePatch(TodoItemPatch todoItemPatch, boolean jsonMergePatchEnabled); - } - - public static void setUpdatePatchRequestAccessor(UpdatePatchRequestAccessor accessor) { - updatePatchRequestAccessor = accessor; - } - - public static UpdatePatchRequestAccessor getUpdatePatchRequestAccessor() { - return updatePatchRequestAccessor; - } - - public static void setTodoItemPatchAccessor(TodoItemPatchAccessor accessor) { - todoItemPatchAccessor = accessor; - } - - public static TodoItemPatchAccessor getTodoItemPatchAccessor() { - return todoItemPatchAccessor; - } -} diff --git a/typespec-tests/src/main/java/com/cadl/flatten/implementation/MultipartFormDataHelper.java b/typespec-tests/src/main/java/com/cadl/flatten/implementation/MultipartFormDataHelper.java deleted file mode 100644 index fae4b0725c..0000000000 --- a/typespec-tests/src/main/java/com/cadl/flatten/implementation/MultipartFormDataHelper.java +++ /dev/null @@ -1,210 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. - -package com.cadl.flatten.implementation; - -import com.azure.core.http.HttpHeaderName; -import com.azure.core.http.rest.RequestOptions; -import com.azure.core.util.BinaryData; -import com.azure.core.util.CoreUtils; - -import java.io.ByteArrayInputStream; -import java.io.InputStream; -import java.io.SequenceInputStream; -import java.nio.charset.Charset; -import java.nio.charset.StandardCharsets; -import java.util.List; -import java.util.UUID; - -// DO NOT modify this helper class - -public final class MultipartFormDataHelper { - /** - * Line separator for the multipart HTTP request. - */ - private static final String CRLF = "\r\n"; - - private static final String APPLICATION_OCTET_STREAM = "application/octet-stream"; - - /** - * Value to be used as part of the divider for the multipart requests. - */ - private final String boundary; - - /** - * The actual part separator in the request. This is obtained by prepending "--" to the "boundary". - */ - private final String partSeparator; - - /** - * The marker for the ending of a multipart request. This is obtained by post-pending "--" to the "partSeparator". - */ - private final String endMarker; - - /** - * Charset used for encoding the multipart HTTP request. - */ - private final Charset encoderCharset = StandardCharsets.UTF_8; - - private InputStream requestDataStream = new ByteArrayInputStream(new byte[0]); - private long requestLength = 0; - - private RequestOptions requestOptions; - private BinaryData requestBody; - - /** - * Default constructor used in the code. The boundary is a random value. - * - * @param requestOptions the RequestOptions to update - */ - public MultipartFormDataHelper(RequestOptions requestOptions) { - this(requestOptions, UUID.randomUUID().toString().substring(0, 16)); - } - - private MultipartFormDataHelper(RequestOptions requestOptions, String boundary) { - this.requestOptions = requestOptions; - this.boundary = boundary; - this.partSeparator = "--" + boundary; - this.endMarker = this.partSeparator + "--"; - } - - /** - * Gets the multipart HTTP request body. - * - * @return the BinaryData of the multipart HTTP request body - */ - public BinaryData getRequestBody() { - return requestBody; - } - - // text/plain - /** - * Formats a text/plain field for a multipart HTTP request. - * - * @param fieldName the field name - * @param value the value of the text/plain field - * @return the MultipartFormDataHelper instance - */ - public MultipartFormDataHelper serializeTextField(String fieldName, String value) { - if (value != null) { - String serialized = partSeparator + CRLF + "Content-Disposition: form-data; name=\"" + escapeName(fieldName) - + "\"" + CRLF + CRLF + value + CRLF; - byte[] data = serialized.getBytes(encoderCharset); - appendBytes(data); - } - return this; - } - - // application/json - /** - * Formats a application/json field for a multipart HTTP request. - * - * @param fieldName the field name - * @param jsonObject the object of the application/json field - * @return the MultipartFormDataHelper instance - */ - public MultipartFormDataHelper serializeJsonField(String fieldName, Object jsonObject) { - if (jsonObject != null) { - String serialized - = partSeparator + CRLF + "Content-Disposition: form-data; name=\"" + escapeName(fieldName) + "\"" + CRLF - + "Content-Type: application/json" + CRLF + CRLF + BinaryData.fromObject(jsonObject) + CRLF; - byte[] data = serialized.getBytes(encoderCharset); - appendBytes(data); - } - return this; - } - - /** - * Formats a file field for a multipart HTTP request. - * - * @param fieldName the field name - * @param file the BinaryData of the file - * @param contentType the content-type of the file - * @param filename the filename - * @return the MultipartFormDataHelper instance - */ - public MultipartFormDataHelper serializeFileField(String fieldName, BinaryData file, String contentType, - String filename) { - if (file != null) { - if (CoreUtils.isNullOrEmpty(contentType)) { - contentType = APPLICATION_OCTET_STREAM; - } - writeFileField(fieldName, file, contentType, filename); - } - return this; - } - - /** - * Formats a file field (potentially multiple files) for a multipart HTTP request. - * - * @param fieldName the field name - * @param files the List of BinaryData of the files - * @param contentTypes the List of content-type of the files - * @param filenames the List of filenames - * @return the MultipartFormDataHelper instance - */ - public MultipartFormDataHelper serializeFileFields(String fieldName, List files, - List contentTypes, List filenames) { - if (files != null) { - for (int i = 0; i < files.size(); ++i) { - BinaryData file = files.get(i); - String contentType = contentTypes.get(i); - if (CoreUtils.isNullOrEmpty(contentType)) { - contentType = APPLICATION_OCTET_STREAM; - } - String filename = filenames.get(i); - writeFileField(fieldName, file, contentType, filename); - } - } - return this; - } - - /** - * Ends the serialization of the multipart HTTP request. - * - * @return the MultipartFormDataHelper instance - */ - public MultipartFormDataHelper end() { - byte[] data = endMarker.getBytes(encoderCharset); - appendBytes(data); - - requestBody = BinaryData.fromStream(requestDataStream, requestLength); - - requestOptions.setHeader(HttpHeaderName.CONTENT_TYPE, "multipart/form-data; boundary=" + this.boundary) - .setHeader(HttpHeaderName.CONTENT_LENGTH, String.valueOf(requestLength)); - - return this; - } - - private void writeFileField(String fieldName, BinaryData file, String contentType, String filename) { - String contentDispositionFilename = ""; - if (!CoreUtils.isNullOrEmpty(filename)) { - contentDispositionFilename = "; filename=\"" + escapeName(filename) + "\""; - } - - // Multipart preamble - String fileFieldPreamble - = partSeparator + CRLF + "Content-Disposition: form-data; name=\"" + escapeName(fieldName) + "\"" - + contentDispositionFilename + CRLF + "Content-Type: " + contentType + CRLF + CRLF; - byte[] data = fileFieldPreamble.getBytes(encoderCharset); - appendBytes(data); - - // Writing the file into the request as a byte stream - requestLength += file.getLength(); - requestDataStream = new SequenceInputStream(requestDataStream, file.toStream()); - - // CRLF - data = CRLF.getBytes(encoderCharset); - appendBytes(data); - } - - private void appendBytes(byte[] bytes) { - requestLength += bytes.length; - requestDataStream = new SequenceInputStream(requestDataStream, new ByteArrayInputStream(bytes)); - } - - private static String escapeName(String name) { - return name.replace("\n", "%0A").replace("\r", "%0D").replace("\"", "%22"); - } -} diff --git a/typespec-tests/src/main/java/com/cadl/flatten/implementation/models/SendLongRequest.java b/typespec-tests/src/main/java/com/cadl/flatten/implementation/models/SendLongRequest.java deleted file mode 100644 index 9b55f3f82f..0000000000 --- a/typespec-tests/src/main/java/com/cadl/flatten/implementation/models/SendLongRequest.java +++ /dev/null @@ -1,368 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. - -package com.cadl.flatten.implementation.models; - -import com.azure.core.annotation.Fluent; -import com.azure.core.annotation.Generated; -import com.azure.json.JsonReader; -import com.azure.json.JsonSerializable; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import com.cadl.flatten.models.SendLongRequestStatus; -import com.cadl.flatten.models.User; -import java.io.IOException; - -/** - * The SendLongRequest model. - */ -@Fluent -public final class SendLongRequest implements JsonSerializable { - /* - * The user property. - */ - @Generated - private User user; - - /* - * The input property. - */ - @Generated - private final String input; - - /* - * The dataInt property. - */ - @Generated - private final int dataInt; - - /* - * The dataIntOptional property. - */ - @Generated - private Integer dataIntOptional; - - /* - * The dataLong property. - */ - @Generated - private Long dataLong; - - /* - * The data_float property. - */ - @Generated - private Double dataFloat; - - /* - * The item's title - */ - @Generated - private final String title; - - /* - * A longer description of the todo item in markdown format - */ - @Generated - private String description; - - /* - * The status of the todo item - */ - @Generated - private final SendLongRequestStatus status; - - /* - * The _dummy property. - */ - @Generated - private String dummy; - - /* - * The constant property. - */ - @Generated - private final String constant = "constant"; - - /** - * Creates an instance of SendLongRequest class. - * - * @param input the input value to set. - * @param dataInt the dataInt value to set. - * @param title the title value to set. - * @param status the status value to set. - */ - @Generated - public SendLongRequest(String input, int dataInt, String title, SendLongRequestStatus status) { - this.input = input; - this.dataInt = dataInt; - this.title = title; - this.status = status; - } - - /** - * Get the user property: The user property. - * - * @return the user value. - */ - @Generated - public User getUser() { - return this.user; - } - - /** - * Set the user property: The user property. - * - * @param user the user value to set. - * @return the SendLongRequest object itself. - */ - @Generated - public SendLongRequest setUser(User user) { - this.user = user; - return this; - } - - /** - * Get the input property: The input property. - * - * @return the input value. - */ - @Generated - public String getInput() { - return this.input; - } - - /** - * Get the dataInt property: The dataInt property. - * - * @return the dataInt value. - */ - @Generated - public int getDataInt() { - return this.dataInt; - } - - /** - * Get the dataIntOptional property: The dataIntOptional property. - * - * @return the dataIntOptional value. - */ - @Generated - public Integer getDataIntOptional() { - return this.dataIntOptional; - } - - /** - * Set the dataIntOptional property: The dataIntOptional property. - * - * @param dataIntOptional the dataIntOptional value to set. - * @return the SendLongRequest object itself. - */ - @Generated - public SendLongRequest setDataIntOptional(Integer dataIntOptional) { - this.dataIntOptional = dataIntOptional; - return this; - } - - /** - * Get the dataLong property: The dataLong property. - * - * @return the dataLong value. - */ - @Generated - public Long getDataLong() { - return this.dataLong; - } - - /** - * Set the dataLong property: The dataLong property. - * - * @param dataLong the dataLong value to set. - * @return the SendLongRequest object itself. - */ - @Generated - public SendLongRequest setDataLong(Long dataLong) { - this.dataLong = dataLong; - return this; - } - - /** - * Get the dataFloat property: The data_float property. - * - * @return the dataFloat value. - */ - @Generated - public Double getDataFloat() { - return this.dataFloat; - } - - /** - * Set the dataFloat property: The data_float property. - * - * @param dataFloat the dataFloat value to set. - * @return the SendLongRequest object itself. - */ - @Generated - public SendLongRequest setDataFloat(Double dataFloat) { - this.dataFloat = dataFloat; - return this; - } - - /** - * Get the title property: The item's title. - * - * @return the title value. - */ - @Generated - public String getTitle() { - return this.title; - } - - /** - * Get the description property: A longer description of the todo item in markdown format. - * - * @return the description value. - */ - @Generated - public String getDescription() { - return this.description; - } - - /** - * Set the description property: A longer description of the todo item in markdown format. - * - * @param description the description value to set. - * @return the SendLongRequest object itself. - */ - @Generated - public SendLongRequest setDescription(String description) { - this.description = description; - return this; - } - - /** - * Get the status property: The status of the todo item. - * - * @return the status value. - */ - @Generated - public SendLongRequestStatus getStatus() { - return this.status; - } - - /** - * Get the dummy property: The _dummy property. - * - * @return the dummy value. - */ - @Generated - public String getDummy() { - return this.dummy; - } - - /** - * Set the dummy property: The _dummy property. - * - * @param dummy the dummy value to set. - * @return the SendLongRequest object itself. - */ - @Generated - public SendLongRequest setDummy(String dummy) { - this.dummy = dummy; - return this; - } - - /** - * Get the constant property: The constant property. - * - * @return the constant value. - */ - @Generated - public String getConstant() { - return this.constant; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("input", this.input); - jsonWriter.writeIntField("dataInt", this.dataInt); - jsonWriter.writeStringField("title", this.title); - jsonWriter.writeStringField("status", this.status == null ? null : this.status.toString()); - jsonWriter.writeStringField("constant", this.constant); - jsonWriter.writeJsonField("user", this.user); - jsonWriter.writeNumberField("dataIntOptional", this.dataIntOptional); - jsonWriter.writeNumberField("dataLong", this.dataLong); - jsonWriter.writeNumberField("data_float", this.dataFloat); - jsonWriter.writeStringField("description", this.description); - jsonWriter.writeStringField("_dummy", this.dummy); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of SendLongRequest from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of SendLongRequest if the JsonReader was pointing to an instance of it, or null if it was - * pointing to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the SendLongRequest. - */ - @Generated - public static SendLongRequest fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - String input = null; - int dataInt = 0; - String title = null; - SendLongRequestStatus status = null; - User user = null; - Integer dataIntOptional = null; - Long dataLong = null; - Double dataFloat = null; - String description = null; - String dummy = null; - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - - if ("input".equals(fieldName)) { - input = reader.getString(); - } else if ("dataInt".equals(fieldName)) { - dataInt = reader.getInt(); - } else if ("title".equals(fieldName)) { - title = reader.getString(); - } else if ("status".equals(fieldName)) { - status = SendLongRequestStatus.fromString(reader.getString()); - } else if ("user".equals(fieldName)) { - user = User.fromJson(reader); - } else if ("dataIntOptional".equals(fieldName)) { - dataIntOptional = reader.getNullable(JsonReader::getInt); - } else if ("dataLong".equals(fieldName)) { - dataLong = reader.getNullable(JsonReader::getLong); - } else if ("data_float".equals(fieldName)) { - dataFloat = reader.getNullable(JsonReader::getDouble); - } else if ("description".equals(fieldName)) { - description = reader.getString(); - } else if ("_dummy".equals(fieldName)) { - dummy = reader.getString(); - } else { - reader.skipChildren(); - } - } - SendLongRequest deserializedSendLongRequest = new SendLongRequest(input, dataInt, title, status); - deserializedSendLongRequest.user = user; - deserializedSendLongRequest.dataIntOptional = dataIntOptional; - deserializedSendLongRequest.dataLong = dataLong; - deserializedSendLongRequest.dataFloat = dataFloat; - deserializedSendLongRequest.description = description; - deserializedSendLongRequest.dummy = dummy; - - return deserializedSendLongRequest; - }); - } -} diff --git a/typespec-tests/src/main/java/com/cadl/flatten/implementation/models/SendProjectedNameRequest.java b/typespec-tests/src/main/java/com/cadl/flatten/implementation/models/SendProjectedNameRequest.java deleted file mode 100644 index 5a00e401dc..0000000000 --- a/typespec-tests/src/main/java/com/cadl/flatten/implementation/models/SendProjectedNameRequest.java +++ /dev/null @@ -1,83 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. - -package com.cadl.flatten.implementation.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.annotation.Immutable; -import com.azure.json.JsonReader; -import com.azure.json.JsonSerializable; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; - -/** - * The SendProjectedNameRequest model. - */ -@Immutable -public final class SendProjectedNameRequest implements JsonSerializable { - /* - * The file_id property. - */ - @Generated - private final String fileIdentifier; - - /** - * Creates an instance of SendProjectedNameRequest class. - * - * @param fileIdentifier the fileIdentifier value to set. - */ - @Generated - public SendProjectedNameRequest(String fileIdentifier) { - this.fileIdentifier = fileIdentifier; - } - - /** - * Get the fileIdentifier property: The file_id property. - * - * @return the fileIdentifier value. - */ - @Generated - public String getFileIdentifier() { - return this.fileIdentifier; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("file_id", this.fileIdentifier); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of SendProjectedNameRequest from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of SendProjectedNameRequest if the JsonReader was pointing to an instance of it, or null if - * it was pointing to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the SendProjectedNameRequest. - */ - @Generated - public static SendProjectedNameRequest fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - String fileIdentifier = null; - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - - if ("file_id".equals(fieldName)) { - fileIdentifier = reader.getString(); - } else { - reader.skipChildren(); - } - } - return new SendProjectedNameRequest(fileIdentifier); - }); - } -} diff --git a/typespec-tests/src/main/java/com/cadl/flatten/implementation/models/SendRequest.java b/typespec-tests/src/main/java/com/cadl/flatten/implementation/models/SendRequest.java deleted file mode 100644 index bd4ffab24e..0000000000 --- a/typespec-tests/src/main/java/com/cadl/flatten/implementation/models/SendRequest.java +++ /dev/null @@ -1,136 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. - -package com.cadl.flatten.implementation.models; - -import com.azure.core.annotation.Fluent; -import com.azure.core.annotation.Generated; -import com.azure.json.JsonReader; -import com.azure.json.JsonSerializable; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import com.cadl.flatten.models.User; -import java.io.IOException; - -/** - * The SendRequest model. - */ -@Fluent -public final class SendRequest implements JsonSerializable { - /* - * The user property. - */ - @Generated - private User user; - - /* - * The input property. - */ - @Generated - private final String input; - - /* - * The constant property. - */ - @Generated - private final String constant = "constant"; - - /** - * Creates an instance of SendRequest class. - * - * @param input the input value to set. - */ - @Generated - public SendRequest(String input) { - this.input = input; - } - - /** - * Get the user property: The user property. - * - * @return the user value. - */ - @Generated - public User getUser() { - return this.user; - } - - /** - * Set the user property: The user property. - * - * @param user the user value to set. - * @return the SendRequest object itself. - */ - @Generated - public SendRequest setUser(User user) { - this.user = user; - return this; - } - - /** - * Get the input property: The input property. - * - * @return the input value. - */ - @Generated - public String getInput() { - return this.input; - } - - /** - * Get the constant property: The constant property. - * - * @return the constant value. - */ - @Generated - public String getConstant() { - return this.constant; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("input", this.input); - jsonWriter.writeStringField("constant", this.constant); - jsonWriter.writeJsonField("user", this.user); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of SendRequest from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of SendRequest if the JsonReader was pointing to an instance of it, or null if it was - * pointing to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the SendRequest. - */ - @Generated - public static SendRequest fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - String input = null; - User user = null; - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - - if ("input".equals(fieldName)) { - input = reader.getString(); - } else if ("user".equals(fieldName)) { - user = User.fromJson(reader); - } else { - reader.skipChildren(); - } - } - SendRequest deserializedSendRequest = new SendRequest(input); - deserializedSendRequest.user = user; - - return deserializedSendRequest; - }); - } -} diff --git a/typespec-tests/src/main/java/com/cadl/flatten/implementation/models/UploadFileRequest.java b/typespec-tests/src/main/java/com/cadl/flatten/implementation/models/UploadFileRequest.java deleted file mode 100644 index 2bbe44a1ad..0000000000 --- a/typespec-tests/src/main/java/com/cadl/flatten/implementation/models/UploadFileRequest.java +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. - -package com.cadl.flatten.implementation.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.annotation.Immutable; -import com.cadl.flatten.models.FileDataFileDetails; - -/** - * The UploadFileRequest model. - */ -@Immutable -public final class UploadFileRequest { - /* - * The file_data property. - */ - @Generated - private final FileDataFileDetails fileData; - - /* - * The constant property. - */ - @Generated - private final String constant = "constant"; - - /** - * Creates an instance of UploadFileRequest class. - * - * @param fileData the fileData value to set. - */ - @Generated - public UploadFileRequest(FileDataFileDetails fileData) { - this.fileData = fileData; - } - - /** - * Get the fileData property: The file_data property. - * - * @return the fileData value. - */ - @Generated - public FileDataFileDetails getFileData() { - return this.fileData; - } - - /** - * Get the constant property: The constant property. - * - * @return the constant value. - */ - @Generated - public String getConstant() { - return this.constant; - } -} diff --git a/typespec-tests/src/main/java/com/cadl/flatten/implementation/models/UploadTodoRequest.java b/typespec-tests/src/main/java/com/cadl/flatten/implementation/models/UploadTodoRequest.java deleted file mode 100644 index a1b964c195..0000000000 --- a/typespec-tests/src/main/java/com/cadl/flatten/implementation/models/UploadTodoRequest.java +++ /dev/null @@ -1,199 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. - -package com.cadl.flatten.implementation.models; - -import com.azure.core.annotation.Fluent; -import com.azure.core.annotation.Generated; -import com.cadl.flatten.models.SendLongRequestStatus; - -/** - * The UploadTodoRequest model. - */ -@Fluent -public final class UploadTodoRequest { - /* - * The item's title - */ - @Generated - private final String title; - - /* - * A longer description of the todo item in markdown format - */ - @Generated - private String description; - - /* - * The status of the todo item - */ - @Generated - private final SendLongRequestStatus status; - - /* - * The _dummy property. - */ - @Generated - private String dummy; - - /* - * The prop1 property. - */ - @Generated - private String prop1; - - /* - * The prop2 property. - */ - @Generated - private String prop2; - - /* - * The prop3 property. - */ - @Generated - private String prop3; - - /** - * Creates an instance of UploadTodoRequest class. - * - * @param title the title value to set. - * @param status the status value to set. - */ - @Generated - public UploadTodoRequest(String title, SendLongRequestStatus status) { - this.title = title; - this.status = status; - } - - /** - * Get the title property: The item's title. - * - * @return the title value. - */ - @Generated - public String getTitle() { - return this.title; - } - - /** - * Get the description property: A longer description of the todo item in markdown format. - * - * @return the description value. - */ - @Generated - public String getDescription() { - return this.description; - } - - /** - * Set the description property: A longer description of the todo item in markdown format. - * - * @param description the description value to set. - * @return the UploadTodoRequest object itself. - */ - @Generated - public UploadTodoRequest setDescription(String description) { - this.description = description; - return this; - } - - /** - * Get the status property: The status of the todo item. - * - * @return the status value. - */ - @Generated - public SendLongRequestStatus getStatus() { - return this.status; - } - - /** - * Get the dummy property: The _dummy property. - * - * @return the dummy value. - */ - @Generated - public String getDummy() { - return this.dummy; - } - - /** - * Set the dummy property: The _dummy property. - * - * @param dummy the dummy value to set. - * @return the UploadTodoRequest object itself. - */ - @Generated - public UploadTodoRequest setDummy(String dummy) { - this.dummy = dummy; - return this; - } - - /** - * Get the prop1 property: The prop1 property. - * - * @return the prop1 value. - */ - @Generated - public String getProp1() { - return this.prop1; - } - - /** - * Set the prop1 property: The prop1 property. - * - * @param prop1 the prop1 value to set. - * @return the UploadTodoRequest object itself. - */ - @Generated - public UploadTodoRequest setProp1(String prop1) { - this.prop1 = prop1; - return this; - } - - /** - * Get the prop2 property: The prop2 property. - * - * @return the prop2 value. - */ - @Generated - public String getProp2() { - return this.prop2; - } - - /** - * Set the prop2 property: The prop2 property. - * - * @param prop2 the prop2 value to set. - * @return the UploadTodoRequest object itself. - */ - @Generated - public UploadTodoRequest setProp2(String prop2) { - this.prop2 = prop2; - return this; - } - - /** - * Get the prop3 property: The prop3 property. - * - * @return the prop3 value. - */ - @Generated - public String getProp3() { - return this.prop3; - } - - /** - * Set the prop3 property: The prop3 property. - * - * @param prop3 the prop3 value to set. - * @return the UploadTodoRequest object itself. - */ - @Generated - public UploadTodoRequest setProp3(String prop3) { - this.prop3 = prop3; - return this; - } -} diff --git a/typespec-tests/src/main/java/com/cadl/flatten/implementation/models/package-info.java b/typespec-tests/src/main/java/com/cadl/flatten/implementation/models/package-info.java deleted file mode 100644 index 2d74c3a2f3..0000000000 --- a/typespec-tests/src/main/java/com/cadl/flatten/implementation/models/package-info.java +++ /dev/null @@ -1,10 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. - -/** - * - * Package containing the data models for Flatten. - * - */ -package com.cadl.flatten.implementation.models; diff --git a/typespec-tests/src/main/java/com/cadl/flatten/implementation/package-info.java b/typespec-tests/src/main/java/com/cadl/flatten/implementation/package-info.java deleted file mode 100644 index 5d96c0c91f..0000000000 --- a/typespec-tests/src/main/java/com/cadl/flatten/implementation/package-info.java +++ /dev/null @@ -1,10 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. - -/** - * - * Package containing the implementations for Flatten. - * - */ -package com.cadl.flatten.implementation; diff --git a/typespec-tests/src/main/java/com/cadl/flatten/models/FileDataFileDetails.java b/typespec-tests/src/main/java/com/cadl/flatten/models/FileDataFileDetails.java deleted file mode 100644 index ec250ada2a..0000000000 --- a/typespec-tests/src/main/java/com/cadl/flatten/models/FileDataFileDetails.java +++ /dev/null @@ -1,97 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. - -package com.cadl.flatten.models; - -import com.azure.core.annotation.Fluent; -import com.azure.core.annotation.Generated; -import com.azure.core.util.BinaryData; - -/** - * The file details for the "file_data" field. - */ -@Fluent -public final class FileDataFileDetails { - /* - * The content of the file. - */ - @Generated - private final BinaryData content; - - /* - * The filename of the file. - */ - @Generated - private String filename; - - /* - * The content-type of the file. - */ - @Generated - private String contentType = "application/octet-stream"; - - /** - * Creates an instance of FileDataFileDetails class. - * - * @param content the content value to set. - */ - @Generated - public FileDataFileDetails(BinaryData content) { - this.content = content; - } - - /** - * Get the content property: The content of the file. - * - * @return the content value. - */ - @Generated - public BinaryData getContent() { - return this.content; - } - - /** - * Get the filename property: The filename of the file. - * - * @return the filename value. - */ - @Generated - public String getFilename() { - return this.filename; - } - - /** - * Set the filename property: The filename of the file. - * - * @param filename the filename value to set. - * @return the FileDataFileDetails object itself. - */ - @Generated - public FileDataFileDetails setFilename(String filename) { - this.filename = filename; - return this; - } - - /** - * Get the contentType property: The content-type of the file. - * - * @return the contentType value. - */ - @Generated - public String getContentType() { - return this.contentType; - } - - /** - * Set the contentType property: The content-type of the file. - * - * @param contentType the contentType value to set. - * @return the FileDataFileDetails object itself. - */ - @Generated - public FileDataFileDetails setContentType(String contentType) { - this.contentType = contentType; - return this; - } -} diff --git a/typespec-tests/src/main/java/com/cadl/flatten/models/SendLongOptions.java b/typespec-tests/src/main/java/com/cadl/flatten/models/SendLongOptions.java deleted file mode 100644 index bcf385491b..0000000000 --- a/typespec-tests/src/main/java/com/cadl/flatten/models/SendLongOptions.java +++ /dev/null @@ -1,308 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. - -package com.cadl.flatten.models; - -import com.azure.core.annotation.Fluent; -import com.azure.core.annotation.Generated; - -/** - * Options for sendLong API. - */ -@Fluent -public final class SendLongOptions { - /* - * The name property. - */ - @Generated - private final String name; - - /* - * The filter property. - */ - @Generated - private String filter; - - /* - * The user property. - */ - @Generated - private User user; - - /* - * The input property. - */ - @Generated - private final String input; - - /* - * The dataInt property. - */ - @Generated - private final int dataInt; - - /* - * The dataIntOptional property. - */ - @Generated - private Integer dataIntOptional; - - /* - * The dataLong property. - */ - @Generated - private Long dataLong; - - /* - * The data_float property. - */ - @Generated - private Double dataFloat; - - /* - * The item's title - */ - @Generated - private final String title; - - /* - * A longer description of the todo item in markdown format - */ - @Generated - private String description; - - /* - * The status of the todo item - */ - @Generated - private final SendLongRequestStatus status; - - /* - * The _dummy property. - */ - @Generated - private String dummy; - - /** - * Creates an instance of SendLongOptions class. - * - * @param name the name value to set. - * @param input the input value to set. - * @param dataInt the dataInt value to set. - * @param title the title value to set. - * @param status the status value to set. - */ - @Generated - public SendLongOptions(String name, String input, int dataInt, String title, SendLongRequestStatus status) { - this.name = name; - this.input = input; - this.dataInt = dataInt; - this.title = title; - this.status = status; - } - - /** - * Get the name property: The name property. - * - * @return the name value. - */ - @Generated - public String getName() { - return this.name; - } - - /** - * Get the filter property: The filter property. - * - * @return the filter value. - */ - @Generated - public String getFilter() { - return this.filter; - } - - /** - * Set the filter property: The filter property. - * - * @param filter the filter value to set. - * @return the SendLongOptions object itself. - */ - @Generated - public SendLongOptions setFilter(String filter) { - this.filter = filter; - return this; - } - - /** - * Get the user property: The user property. - * - * @return the user value. - */ - @Generated - public User getUser() { - return this.user; - } - - /** - * Set the user property: The user property. - * - * @param user the user value to set. - * @return the SendLongOptions object itself. - */ - @Generated - public SendLongOptions setUser(User user) { - this.user = user; - return this; - } - - /** - * Get the input property: The input property. - * - * @return the input value. - */ - @Generated - public String getInput() { - return this.input; - } - - /** - * Get the dataInt property: The dataInt property. - * - * @return the dataInt value. - */ - @Generated - public int getDataInt() { - return this.dataInt; - } - - /** - * Get the dataIntOptional property: The dataIntOptional property. - * - * @return the dataIntOptional value. - */ - @Generated - public Integer getDataIntOptional() { - return this.dataIntOptional; - } - - /** - * Set the dataIntOptional property: The dataIntOptional property. - * - * @param dataIntOptional the dataIntOptional value to set. - * @return the SendLongOptions object itself. - */ - @Generated - public SendLongOptions setDataIntOptional(Integer dataIntOptional) { - this.dataIntOptional = dataIntOptional; - return this; - } - - /** - * Get the dataLong property: The dataLong property. - * - * @return the dataLong value. - */ - @Generated - public Long getDataLong() { - return this.dataLong; - } - - /** - * Set the dataLong property: The dataLong property. - * - * @param dataLong the dataLong value to set. - * @return the SendLongOptions object itself. - */ - @Generated - public SendLongOptions setDataLong(Long dataLong) { - this.dataLong = dataLong; - return this; - } - - /** - * Get the dataFloat property: The data_float property. - * - * @return the dataFloat value. - */ - @Generated - public Double getDataFloat() { - return this.dataFloat; - } - - /** - * Set the dataFloat property: The data_float property. - * - * @param dataFloat the dataFloat value to set. - * @return the SendLongOptions object itself. - */ - @Generated - public SendLongOptions setDataFloat(Double dataFloat) { - this.dataFloat = dataFloat; - return this; - } - - /** - * Get the title property: The item's title. - * - * @return the title value. - */ - @Generated - public String getTitle() { - return this.title; - } - - /** - * Get the description property: A longer description of the todo item in markdown format. - * - * @return the description value. - */ - @Generated - public String getDescription() { - return this.description; - } - - /** - * Set the description property: A longer description of the todo item in markdown format. - * - * @param description the description value to set. - * @return the SendLongOptions object itself. - */ - @Generated - public SendLongOptions setDescription(String description) { - this.description = description; - return this; - } - - /** - * Get the status property: The status of the todo item. - * - * @return the status value. - */ - @Generated - public SendLongRequestStatus getStatus() { - return this.status; - } - - /** - * Get the dummy property: The _dummy property. - * - * @return the dummy value. - */ - @Generated - public String getDummy() { - return this.dummy; - } - - /** - * Set the dummy property: The _dummy property. - * - * @param dummy the dummy value to set. - * @return the SendLongOptions object itself. - */ - @Generated - public SendLongOptions setDummy(String dummy) { - this.dummy = dummy; - return this; - } -} diff --git a/typespec-tests/src/main/java/com/cadl/flatten/models/SendLongRequestStatus.java b/typespec-tests/src/main/java/com/cadl/flatten/models/SendLongRequestStatus.java deleted file mode 100644 index 774868e924..0000000000 --- a/typespec-tests/src/main/java/com/cadl/flatten/models/SendLongRequestStatus.java +++ /dev/null @@ -1,61 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. - -package com.cadl.flatten.models; - -/** - * Defines values for SendLongRequestStatus. - */ -public enum SendLongRequestStatus { - /** - * Enum value NotStarted. - */ - NOT_STARTED("NotStarted"), - - /** - * Enum value InProgress. - */ - IN_PROGRESS("InProgress"), - - /** - * Enum value Completed. - */ - COMPLETED("Completed"); - - /** - * The actual serialized value for a SendLongRequestStatus instance. - */ - private final String value; - - SendLongRequestStatus(String value) { - this.value = value; - } - - /** - * Parses a serialized value to a SendLongRequestStatus instance. - * - * @param value the serialized value to parse. - * @return the parsed SendLongRequestStatus object, or null if unable to parse. - */ - public static SendLongRequestStatus fromString(String value) { - if (value == null) { - return null; - } - SendLongRequestStatus[] items = SendLongRequestStatus.values(); - for (SendLongRequestStatus item : items) { - if (item.toString().equalsIgnoreCase(value)) { - return item; - } - } - return null; - } - - /** - * {@inheritDoc} - */ - @Override - public String toString() { - return this.value; - } -} diff --git a/typespec-tests/src/main/java/com/cadl/flatten/models/TodoItem.java b/typespec-tests/src/main/java/com/cadl/flatten/models/TodoItem.java deleted file mode 100644 index 5b1ad37736..0000000000 --- a/typespec-tests/src/main/java/com/cadl/flatten/models/TodoItem.java +++ /dev/null @@ -1,230 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. - -package com.cadl.flatten.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.annotation.Immutable; -import com.azure.json.JsonReader; -import com.azure.json.JsonSerializable; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; -import java.time.OffsetDateTime; - -/** - * The TodoItem model. - */ -@Immutable -public final class TodoItem implements JsonSerializable { - /* - * The item's unique id - */ - @Generated - private long id; - - /* - * The item's title - */ - @Generated - private final String title; - - /* - * A longer description of the todo item in markdown format - */ - @Generated - private String description; - - /* - * The status of the todo item - */ - @Generated - private final SendLongRequestStatus status; - - /* - * When the todo item was created. - */ - @Generated - private OffsetDateTime createdAt; - - /* - * When the todo item was last updated - */ - @Generated - private OffsetDateTime updatedAt; - - /* - * When the todo item was makred as completed - */ - @Generated - private OffsetDateTime completedAt; - - /* - * The _dummy property. - */ - @Generated - private String dummy; - - /** - * Creates an instance of TodoItem class. - * - * @param title the title value to set. - * @param status the status value to set. - */ - @Generated - private TodoItem(String title, SendLongRequestStatus status) { - this.title = title; - this.status = status; - } - - /** - * Get the id property: The item's unique id. - * - * @return the id value. - */ - @Generated - public long getId() { - return this.id; - } - - /** - * Get the title property: The item's title. - * - * @return the title value. - */ - @Generated - public String getTitle() { - return this.title; - } - - /** - * Get the description property: A longer description of the todo item in markdown format. - * - * @return the description value. - */ - @Generated - public String getDescription() { - return this.description; - } - - /** - * Get the status property: The status of the todo item. - * - * @return the status value. - */ - @Generated - public SendLongRequestStatus getStatus() { - return this.status; - } - - /** - * Get the createdAt property: When the todo item was created. - * - * @return the createdAt value. - */ - @Generated - public OffsetDateTime getCreatedAt() { - return this.createdAt; - } - - /** - * Get the updatedAt property: When the todo item was last updated. - * - * @return the updatedAt value. - */ - @Generated - public OffsetDateTime getUpdatedAt() { - return this.updatedAt; - } - - /** - * Get the completedAt property: When the todo item was makred as completed. - * - * @return the completedAt value. - */ - @Generated - public OffsetDateTime getCompletedAt() { - return this.completedAt; - } - - /** - * Get the dummy property: The _dummy property. - * - * @return the dummy value. - */ - @Generated - public String getDummy() { - return this.dummy; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("title", this.title); - jsonWriter.writeStringField("status", this.status == null ? null : this.status.toString()); - jsonWriter.writeStringField("description", this.description); - jsonWriter.writeStringField("_dummy", this.dummy); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of TodoItem from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of TodoItem if the JsonReader was pointing to an instance of it, or null if it was pointing - * to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the TodoItem. - */ - @Generated - public static TodoItem fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - long id = 0L; - String title = null; - SendLongRequestStatus status = null; - OffsetDateTime createdAt = null; - OffsetDateTime updatedAt = null; - String description = null; - OffsetDateTime completedAt = null; - String dummy = null; - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - - if ("id".equals(fieldName)) { - id = reader.getLong(); - } else if ("title".equals(fieldName)) { - title = reader.getString(); - } else if ("status".equals(fieldName)) { - status = SendLongRequestStatus.fromString(reader.getString()); - } else if ("createdAt".equals(fieldName)) { - createdAt = reader.getNullable(nonNullReader -> OffsetDateTime.parse(nonNullReader.getString())); - } else if ("updatedAt".equals(fieldName)) { - updatedAt = reader.getNullable(nonNullReader -> OffsetDateTime.parse(nonNullReader.getString())); - } else if ("description".equals(fieldName)) { - description = reader.getString(); - } else if ("completedAt".equals(fieldName)) { - completedAt = reader.getNullable(nonNullReader -> OffsetDateTime.parse(nonNullReader.getString())); - } else if ("_dummy".equals(fieldName)) { - dummy = reader.getString(); - } else { - reader.skipChildren(); - } - } - TodoItem deserializedTodoItem = new TodoItem(title, status); - deserializedTodoItem.id = id; - deserializedTodoItem.createdAt = createdAt; - deserializedTodoItem.updatedAt = updatedAt; - deserializedTodoItem.description = description; - deserializedTodoItem.completedAt = completedAt; - deserializedTodoItem.dummy = dummy; - - return deserializedTodoItem; - }); - } -} diff --git a/typespec-tests/src/main/java/com/cadl/flatten/models/TodoItemPatch.java b/typespec-tests/src/main/java/com/cadl/flatten/models/TodoItemPatch.java deleted file mode 100644 index fab10e5afb..0000000000 --- a/typespec-tests/src/main/java/com/cadl/flatten/models/TodoItemPatch.java +++ /dev/null @@ -1,212 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. - -package com.cadl.flatten.models; - -import com.azure.core.annotation.Fluent; -import com.azure.core.annotation.Generated; -import com.azure.json.JsonReader; -import com.azure.json.JsonSerializable; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import com.cadl.flatten.implementation.JsonMergePatchHelper; -import java.io.IOException; -import java.util.HashSet; -import java.util.Set; - -/** - * The TodoItemPatch model. - */ -@Fluent -public final class TodoItemPatch implements JsonSerializable { - /* - * The item's title - */ - @Generated - private String title; - - /* - * A longer description of the todo item in markdown format - */ - @Generated - private String description; - - /* - * The status of the todo item - */ - @Generated - private TodoItemPatchStatus status; - - @Generated - private boolean jsonMergePatch; - - /** - * Stores updated model property, the value is property name, not serialized name. - */ - @Generated - private final Set updatedProperties = new HashSet<>(); - - @Generated - void serializeAsJsonMergePatch(boolean jsonMergePatch) { - this.jsonMergePatch = jsonMergePatch; - } - - static { - JsonMergePatchHelper.setTodoItemPatchAccessor((model, jsonMergePatchEnabled) -> { - model.serializeAsJsonMergePatch(jsonMergePatchEnabled); - return model; - }); - } - - /** - * Creates an instance of TodoItemPatch class. - */ - @Generated - public TodoItemPatch() { - } - - /** - * Get the title property: The item's title. - * - * @return the title value. - */ - @Generated - public String getTitle() { - return this.title; - } - - /** - * Set the title property: The item's title. - * - * @param title the title value to set. - * @return the TodoItemPatch object itself. - */ - @Generated - public TodoItemPatch setTitle(String title) { - this.title = title; - this.updatedProperties.add("title"); - return this; - } - - /** - * Get the description property: A longer description of the todo item in markdown format. - * - * @return the description value. - */ - @Generated - public String getDescription() { - return this.description; - } - - /** - * Set the description property: A longer description of the todo item in markdown format. - * - * @param description the description value to set. - * @return the TodoItemPatch object itself. - */ - @Generated - public TodoItemPatch setDescription(String description) { - this.description = description; - this.updatedProperties.add("description"); - return this; - } - - /** - * Get the status property: The status of the todo item. - * - * @return the status value. - */ - @Generated - public TodoItemPatchStatus getStatus() { - return this.status; - } - - /** - * Set the status property: The status of the todo item. - * - * @param status the status value to set. - * @return the TodoItemPatch object itself. - */ - @Generated - public TodoItemPatch setStatus(TodoItemPatchStatus status) { - this.status = status; - this.updatedProperties.add("status"); - return this; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - if (jsonMergePatch) { - return toJsonMergePatch(jsonWriter); - } else { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("title", this.title); - jsonWriter.writeStringField("description", this.description); - jsonWriter.writeStringField("status", this.status == null ? null : this.status.toString()); - return jsonWriter.writeEndObject(); - } - } - - @Generated - private JsonWriter toJsonMergePatch(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - if (updatedProperties.contains("title")) { - if (this.title == null) { - jsonWriter.writeNullField("title"); - } else { - jsonWriter.writeStringField("title", this.title); - } - } - if (updatedProperties.contains("description")) { - if (this.description == null) { - jsonWriter.writeNullField("description"); - } else { - jsonWriter.writeStringField("description", this.description); - } - } - if (updatedProperties.contains("status")) { - if (this.status == null) { - jsonWriter.writeNullField("status"); - } else { - jsonWriter.writeStringField("status", this.status == null ? null : this.status.toString()); - } - } - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of TodoItemPatch from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of TodoItemPatch if the JsonReader was pointing to an instance of it, or null if it was - * pointing to JSON null. - * @throws IOException If an error occurs while reading the TodoItemPatch. - */ - @Generated - public static TodoItemPatch fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - TodoItemPatch deserializedTodoItemPatch = new TodoItemPatch(); - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - - if ("title".equals(fieldName)) { - deserializedTodoItemPatch.title = reader.getString(); - } else if ("description".equals(fieldName)) { - deserializedTodoItemPatch.description = reader.getString(); - } else if ("status".equals(fieldName)) { - deserializedTodoItemPatch.status = TodoItemPatchStatus.fromString(reader.getString()); - } else { - reader.skipChildren(); - } - } - - return deserializedTodoItemPatch; - }); - } -} diff --git a/typespec-tests/src/main/java/com/cadl/flatten/models/TodoItemPatchStatus.java b/typespec-tests/src/main/java/com/cadl/flatten/models/TodoItemPatchStatus.java deleted file mode 100644 index 1ac351d629..0000000000 --- a/typespec-tests/src/main/java/com/cadl/flatten/models/TodoItemPatchStatus.java +++ /dev/null @@ -1,61 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. - -package com.cadl.flatten.models; - -/** - * Defines values for TodoItemPatchStatus. - */ -public enum TodoItemPatchStatus { - /** - * Enum value NotStarted. - */ - NOT_STARTED("NotStarted"), - - /** - * Enum value InProgress. - */ - IN_PROGRESS("InProgress"), - - /** - * Enum value Completed. - */ - COMPLETED("Completed"); - - /** - * The actual serialized value for a TodoItemPatchStatus instance. - */ - private final String value; - - TodoItemPatchStatus(String value) { - this.value = value; - } - - /** - * Parses a serialized value to a TodoItemPatchStatus instance. - * - * @param value the serialized value to parse. - * @return the parsed TodoItemPatchStatus object, or null if unable to parse. - */ - public static TodoItemPatchStatus fromString(String value) { - if (value == null) { - return null; - } - TodoItemPatchStatus[] items = TodoItemPatchStatus.values(); - for (TodoItemPatchStatus item : items) { - if (item.toString().equalsIgnoreCase(value)) { - return item; - } - } - return null; - } - - /** - * {@inheritDoc} - */ - @Override - public String toString() { - return this.value; - } -} diff --git a/typespec-tests/src/main/java/com/cadl/flatten/models/UpdatePatchRequest.java b/typespec-tests/src/main/java/com/cadl/flatten/models/UpdatePatchRequest.java deleted file mode 100644 index 8afa5ba5b9..0000000000 --- a/typespec-tests/src/main/java/com/cadl/flatten/models/UpdatePatchRequest.java +++ /dev/null @@ -1,137 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. - -package com.cadl.flatten.models; - -import com.azure.core.annotation.Fluent; -import com.azure.core.annotation.Generated; -import com.azure.json.JsonReader; -import com.azure.json.JsonSerializable; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import com.cadl.flatten.implementation.JsonMergePatchHelper; -import java.io.IOException; -import java.util.HashSet; -import java.util.Set; - -/** - * The UpdatePatchRequest model. - */ -@Fluent -public final class UpdatePatchRequest implements JsonSerializable { - /* - * The patch property. - */ - @Generated - private TodoItemPatch patch; - - @Generated - private boolean jsonMergePatch; - - /** - * Stores updated model property, the value is property name, not serialized name. - */ - @Generated - private final Set updatedProperties = new HashSet<>(); - - @Generated - void serializeAsJsonMergePatch(boolean jsonMergePatch) { - this.jsonMergePatch = jsonMergePatch; - } - - static { - JsonMergePatchHelper.setUpdatePatchRequestAccessor((model, jsonMergePatchEnabled) -> { - model.serializeAsJsonMergePatch(jsonMergePatchEnabled); - return model; - }); - } - - /** - * Creates an instance of UpdatePatchRequest class. - */ - @Generated - public UpdatePatchRequest() { - } - - /** - * Get the patch property: The patch property. - * - * @return the patch value. - */ - @Generated - public TodoItemPatch getPatch() { - return this.patch; - } - - /** - * Set the patch property: The patch property. - *

Required when create the resource.

- * - * @param patch the patch value to set. - * @return the UpdatePatchRequest object itself. - */ - @Generated - public UpdatePatchRequest setPatch(TodoItemPatch patch) { - this.patch = patch; - this.updatedProperties.add("patch"); - return this; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - if (jsonMergePatch) { - return toJsonMergePatch(jsonWriter); - } else { - jsonWriter.writeStartObject(); - jsonWriter.writeJsonField("patch", this.patch); - return jsonWriter.writeEndObject(); - } - } - - @Generated - private JsonWriter toJsonMergePatch(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - if (updatedProperties.contains("patch")) { - if (this.patch == null) { - jsonWriter.writeNullField("patch"); - } else { - JsonMergePatchHelper.getTodoItemPatchAccessor().prepareModelForJsonMergePatch(this.patch, true); - jsonWriter.writeJsonField("patch", this.patch); - JsonMergePatchHelper.getTodoItemPatchAccessor().prepareModelForJsonMergePatch(this.patch, false); - } - } - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of UpdatePatchRequest from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of UpdatePatchRequest if the JsonReader was pointing to an instance of it, or null if it was - * pointing to JSON null. - * @throws IOException If an error occurs while reading the UpdatePatchRequest. - */ - @Generated - public static UpdatePatchRequest fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - UpdatePatchRequest deserializedUpdatePatchRequest = new UpdatePatchRequest(); - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - - if ("patch".equals(fieldName)) { - deserializedUpdatePatchRequest.patch = TodoItemPatch.fromJson(reader); - } else { - reader.skipChildren(); - } - } - - return deserializedUpdatePatchRequest; - }); - } -} diff --git a/typespec-tests/src/main/java/com/cadl/flatten/models/UploadTodoOptions.java b/typespec-tests/src/main/java/com/cadl/flatten/models/UploadTodoOptions.java deleted file mode 100644 index f05e56c243..0000000000 --- a/typespec-tests/src/main/java/com/cadl/flatten/models/UploadTodoOptions.java +++ /dev/null @@ -1,198 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. - -package com.cadl.flatten.models; - -import com.azure.core.annotation.Fluent; -import com.azure.core.annotation.Generated; - -/** - * Options for uploadTodo API. - */ -@Fluent -public final class UploadTodoOptions { - /* - * The item's title - */ - @Generated - private final String title; - - /* - * A longer description of the todo item in markdown format - */ - @Generated - private String description; - - /* - * The status of the todo item - */ - @Generated - private final SendLongRequestStatus status; - - /* - * The _dummy property. - */ - @Generated - private String dummy; - - /* - * The prop1 property. - */ - @Generated - private String prop1; - - /* - * The prop2 property. - */ - @Generated - private String prop2; - - /* - * The prop3 property. - */ - @Generated - private String prop3; - - /** - * Creates an instance of UploadTodoOptions class. - * - * @param title the title value to set. - * @param status the status value to set. - */ - @Generated - public UploadTodoOptions(String title, SendLongRequestStatus status) { - this.title = title; - this.status = status; - } - - /** - * Get the title property: The item's title. - * - * @return the title value. - */ - @Generated - public String getTitle() { - return this.title; - } - - /** - * Get the description property: A longer description of the todo item in markdown format. - * - * @return the description value. - */ - @Generated - public String getDescription() { - return this.description; - } - - /** - * Set the description property: A longer description of the todo item in markdown format. - * - * @param description the description value to set. - * @return the UploadTodoOptions object itself. - */ - @Generated - public UploadTodoOptions setDescription(String description) { - this.description = description; - return this; - } - - /** - * Get the status property: The status of the todo item. - * - * @return the status value. - */ - @Generated - public SendLongRequestStatus getStatus() { - return this.status; - } - - /** - * Get the dummy property: The _dummy property. - * - * @return the dummy value. - */ - @Generated - public String getDummy() { - return this.dummy; - } - - /** - * Set the dummy property: The _dummy property. - * - * @param dummy the dummy value to set. - * @return the UploadTodoOptions object itself. - */ - @Generated - public UploadTodoOptions setDummy(String dummy) { - this.dummy = dummy; - return this; - } - - /** - * Get the prop1 property: The prop1 property. - * - * @return the prop1 value. - */ - @Generated - public String getProp1() { - return this.prop1; - } - - /** - * Set the prop1 property: The prop1 property. - * - * @param prop1 the prop1 value to set. - * @return the UploadTodoOptions object itself. - */ - @Generated - public UploadTodoOptions setProp1(String prop1) { - this.prop1 = prop1; - return this; - } - - /** - * Get the prop2 property: The prop2 property. - * - * @return the prop2 value. - */ - @Generated - public String getProp2() { - return this.prop2; - } - - /** - * Set the prop2 property: The prop2 property. - * - * @param prop2 the prop2 value to set. - * @return the UploadTodoOptions object itself. - */ - @Generated - public UploadTodoOptions setProp2(String prop2) { - this.prop2 = prop2; - return this; - } - - /** - * Get the prop3 property: The prop3 property. - * - * @return the prop3 value. - */ - @Generated - public String getProp3() { - return this.prop3; - } - - /** - * Set the prop3 property: The prop3 property. - * - * @param prop3 the prop3 value to set. - * @return the UploadTodoOptions object itself. - */ - @Generated - public UploadTodoOptions setProp3(String prop3) { - this.prop3 = prop3; - return this; - } -} diff --git a/typespec-tests/src/main/java/com/cadl/flatten/models/User.java b/typespec-tests/src/main/java/com/cadl/flatten/models/User.java deleted file mode 100644 index 17214a4dba..0000000000 --- a/typespec-tests/src/main/java/com/cadl/flatten/models/User.java +++ /dev/null @@ -1,83 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. - -package com.cadl.flatten.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.annotation.Immutable; -import com.azure.json.JsonReader; -import com.azure.json.JsonSerializable; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; - -/** - * The User model. - */ -@Immutable -public final class User implements JsonSerializable { - /* - * The user property. - */ - @Generated - private final String user; - - /** - * Creates an instance of User class. - * - * @param user the user value to set. - */ - @Generated - public User(String user) { - this.user = user; - } - - /** - * Get the user property: The user property. - * - * @return the user value. - */ - @Generated - public String getUser() { - return this.user; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("user", this.user); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of User from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of User if the JsonReader was pointing to an instance of it, or null if it was pointing to - * JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the User. - */ - @Generated - public static User fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - String user = null; - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - - if ("user".equals(fieldName)) { - user = reader.getString(); - } else { - reader.skipChildren(); - } - } - return new User(user); - }); - } -} diff --git a/typespec-tests/src/main/java/com/cadl/flatten/models/package-info.java b/typespec-tests/src/main/java/com/cadl/flatten/models/package-info.java deleted file mode 100644 index 88a199c1cc..0000000000 --- a/typespec-tests/src/main/java/com/cadl/flatten/models/package-info.java +++ /dev/null @@ -1,10 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. - -/** - * - * Package containing the data models for Flatten. - * - */ -package com.cadl.flatten.models; diff --git a/typespec-tests/src/main/java/com/cadl/flatten/package-info.java b/typespec-tests/src/main/java/com/cadl/flatten/package-info.java deleted file mode 100644 index f793215574..0000000000 --- a/typespec-tests/src/main/java/com/cadl/flatten/package-info.java +++ /dev/null @@ -1,10 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. - -/** - * - * Package containing the classes for Flatten. - * - */ -package com.cadl.flatten; diff --git a/typespec-tests/src/main/java/com/cadl/internal/implementation/models/ResponseInternalInner.java b/typespec-tests/src/main/java/com/cadl/internal/implementation/models/ResponseInternalInner.java index 8e6b5cf0ad..9800c6c2ce 100644 --- a/typespec-tests/src/main/java/com/cadl/internal/implementation/models/ResponseInternalInner.java +++ b/typespec-tests/src/main/java/com/cadl/internal/implementation/models/ResponseInternalInner.java @@ -18,7 +18,7 @@ @Immutable public final class ResponseInternalInner implements JsonSerializable { /* - * The name property. + * A sequence of textual characters. */ @Generated private final String name; @@ -34,7 +34,7 @@ private ResponseInternalInner(String name) { } /** - * Get the name property: The name property. + * Get the name property: A sequence of textual characters. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/cadl/internal/models/ApiResponse.java b/typespec-tests/src/main/java/com/cadl/internal/models/ApiResponse.java index 82819de716..db46c1bf92 100644 --- a/typespec-tests/src/main/java/com/cadl/internal/models/ApiResponse.java +++ b/typespec-tests/src/main/java/com/cadl/internal/models/ApiResponse.java @@ -18,7 +18,7 @@ @Immutable public final class ApiResponse implements JsonSerializable { /* - * The name property. + * A sequence of textual characters. */ @Generated private final String name; @@ -34,7 +34,7 @@ private ApiResponse(String name) { } /** - * Get the name property: The name property. + * Get the name property: A sequence of textual characters. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/cadl/internal/models/RequestInner.java b/typespec-tests/src/main/java/com/cadl/internal/models/RequestInner.java index 435589548e..9b023ea779 100644 --- a/typespec-tests/src/main/java/com/cadl/internal/models/RequestInner.java +++ b/typespec-tests/src/main/java/com/cadl/internal/models/RequestInner.java @@ -18,7 +18,7 @@ @Immutable public final class RequestInner implements JsonSerializable { /* - * The name property. + * A sequence of textual characters. */ @Generated private final String name; @@ -34,7 +34,7 @@ public RequestInner(String name) { } /** - * Get the name property: The name property. + * Get the name property: A sequence of textual characters. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/cadl/internal/models/StandAloneDataInner.java b/typespec-tests/src/main/java/com/cadl/internal/models/StandAloneDataInner.java index f5ff81611a..60472b8ce6 100644 --- a/typespec-tests/src/main/java/com/cadl/internal/models/StandAloneDataInner.java +++ b/typespec-tests/src/main/java/com/cadl/internal/models/StandAloneDataInner.java @@ -18,7 +18,7 @@ @Immutable public final class StandAloneDataInner implements JsonSerializable { /* - * The name property. + * A sequence of textual characters. */ @Generated private final String name; @@ -34,7 +34,7 @@ public StandAloneDataInner(String name) { } /** - * Get the name property: The name property. + * Get the name property: A sequence of textual characters. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/cadl/longrunning/LongRunningAsyncClient.java b/typespec-tests/src/main/java/com/cadl/longrunning/LongRunningAsyncClient.java index 5d6e7d43b7..b5383f4ea1 100644 --- a/typespec-tests/src/main/java/com/cadl/longrunning/LongRunningAsyncClient.java +++ b/typespec-tests/src/main/java/com/cadl/longrunning/LongRunningAsyncClient.java @@ -88,7 +88,7 @@ public PollerFlux beginLongRunning(RequestOptions reques * } * } * - * @param id A sequence of textual characters. + * @param id The id parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -180,7 +180,7 @@ public PollerFlux beginLongRunning() { /** * A remote procedure call (RPC) operation. * - * @param id A sequence of textual characters. + * @param id The id parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/cadl/longrunning/LongRunningClient.java b/typespec-tests/src/main/java/com/cadl/longrunning/LongRunningClient.java index 071e97138c..7a9fbeb720 100644 --- a/typespec-tests/src/main/java/com/cadl/longrunning/LongRunningClient.java +++ b/typespec-tests/src/main/java/com/cadl/longrunning/LongRunningClient.java @@ -86,7 +86,7 @@ public SyncPoller beginLongRunning(RequestOptions reques * } * } * - * @param id A sequence of textual characters. + * @param id The id parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -178,7 +178,7 @@ public SyncPoller beginLongRunning() { /** * A remote procedure call (RPC) operation. * - * @param id A sequence of textual characters. + * @param id The id parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/cadl/longrunning/implementation/LongRunningClientImpl.java b/typespec-tests/src/main/java/com/cadl/longrunning/implementation/LongRunningClientImpl.java index d393e69d4b..6ff9c94984 100644 --- a/typespec-tests/src/main/java/com/cadl/longrunning/implementation/LongRunningClientImpl.java +++ b/typespec-tests/src/main/java/com/cadl/longrunning/implementation/LongRunningClientImpl.java @@ -366,7 +366,7 @@ public SyncPoller beginLongRunningWithModel(RequestOptions r * } * } * - * @param id A sequence of textual characters. + * @param id The id parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -410,7 +410,7 @@ public Mono> getJobWithResponseAsync(String id, RequestOpti * } * } * - * @param id A sequence of textual characters. + * @param id The id parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/cadl/longrunning/models/JobData.java b/typespec-tests/src/main/java/com/cadl/longrunning/models/JobData.java index d0acbd8b73..30ca843b98 100644 --- a/typespec-tests/src/main/java/com/cadl/longrunning/models/JobData.java +++ b/typespec-tests/src/main/java/com/cadl/longrunning/models/JobData.java @@ -19,7 +19,7 @@ @Fluent public final class JobData implements JsonSerializable { /* - * The configuration property. + * A sequence of textual characters. */ @Generated private String configuration; @@ -41,7 +41,7 @@ public JobData(Map nullableFloatDict) { } /** - * Get the configuration property: The configuration property. + * Get the configuration property: A sequence of textual characters. * * @return the configuration value. */ @@ -51,7 +51,7 @@ public String getConfiguration() { } /** - * Set the configuration property: The configuration property. + * Set the configuration property: A sequence of textual characters. * * @param configuration the configuration value to set. * @return the JobData object itself. diff --git a/typespec-tests/src/main/java/com/cadl/longrunning/models/JobResult.java b/typespec-tests/src/main/java/com/cadl/longrunning/models/JobResult.java index 1294d08164..721198ba7b 100644 --- a/typespec-tests/src/main/java/com/cadl/longrunning/models/JobResult.java +++ b/typespec-tests/src/main/java/com/cadl/longrunning/models/JobResult.java @@ -20,7 +20,7 @@ @Immutable public final class JobResult implements JsonSerializable { /* - * The id property. + * Universally Unique Identifier */ @Generated private String id; @@ -69,7 +69,7 @@ private JobResult() { } /** - * Get the id property: The id property. + * Get the id property: Universally Unique Identifier. * * @return the id value. */ diff --git a/typespec-tests/src/main/java/com/cadl/longrunning/models/JobResultResult.java b/typespec-tests/src/main/java/com/cadl/longrunning/models/JobResultResult.java index 9980b01ec6..aa9e044fcf 100644 --- a/typespec-tests/src/main/java/com/cadl/longrunning/models/JobResultResult.java +++ b/typespec-tests/src/main/java/com/cadl/longrunning/models/JobResultResult.java @@ -18,7 +18,7 @@ @Immutable public final class JobResultResult implements JsonSerializable { /* - * The data property. + * A sequence of textual characters. */ @Generated private final String data; @@ -34,7 +34,7 @@ private JobResultResult(String data) { } /** - * Get the data property: The data property. + * Get the data property: A sequence of textual characters. * * @return the data value. */ diff --git a/typespec-tests/src/main/java/com/cadl/longrunning/models/PollResponse.java b/typespec-tests/src/main/java/com/cadl/longrunning/models/PollResponse.java index 9b92d12a5c..072575908d 100644 --- a/typespec-tests/src/main/java/com/cadl/longrunning/models/PollResponse.java +++ b/typespec-tests/src/main/java/com/cadl/longrunning/models/PollResponse.java @@ -18,7 +18,7 @@ @Immutable public final class PollResponse implements JsonSerializable { /* - * The operationId property. + * A sequence of textual characters. */ @Generated private final String operationId; @@ -42,7 +42,7 @@ private PollResponse(String operationId, OperationState status) { } /** - * Get the operationId property: The operationId property. + * Get the operationId property: A sequence of textual characters. * * @return the operationId value. */ diff --git a/typespec-tests/src/main/java/com/cadl/model/models/InputOutputData2.java b/typespec-tests/src/main/java/com/cadl/model/models/InputOutputData2.java index 7647768151..7ccfe78733 100644 --- a/typespec-tests/src/main/java/com/cadl/model/models/InputOutputData2.java +++ b/typespec-tests/src/main/java/com/cadl/model/models/InputOutputData2.java @@ -18,7 +18,7 @@ @Immutable public final class InputOutputData2 implements JsonSerializable { /* - * The data property. + * A sequence of textual characters. */ @Generated private final String data; @@ -34,7 +34,7 @@ public InputOutputData2(String data) { } /** - * Get the data property: The data property. + * Get the data property: A sequence of textual characters. * * @return the data value. */ diff --git a/typespec-tests/src/main/java/com/cadl/model/models/NestedModel2.java b/typespec-tests/src/main/java/com/cadl/model/models/NestedModel2.java index ebd547cb7f..a5c4bcdbbf 100644 --- a/typespec-tests/src/main/java/com/cadl/model/models/NestedModel2.java +++ b/typespec-tests/src/main/java/com/cadl/model/models/NestedModel2.java @@ -18,7 +18,7 @@ @Immutable public final class NestedModel2 implements JsonSerializable { /* - * The data property. + * A sequence of textual characters. */ @Generated private final String data; @@ -34,7 +34,7 @@ public NestedModel2(String data) { } /** - * Get the data property: The data property. + * Get the data property: A sequence of textual characters. * * @return the data value. */ diff --git a/typespec-tests/src/main/java/com/cadl/model/models/OutputData.java b/typespec-tests/src/main/java/com/cadl/model/models/OutputData.java index 63cb716d58..d37795dcd7 100644 --- a/typespec-tests/src/main/java/com/cadl/model/models/OutputData.java +++ b/typespec-tests/src/main/java/com/cadl/model/models/OutputData.java @@ -18,7 +18,7 @@ @Immutable public final class OutputData implements JsonSerializable { /* - * The data property. + * A sequence of textual characters. */ @Generated private final String data; @@ -34,7 +34,7 @@ private OutputData(String data) { } /** - * Get the data property: The data property. + * Get the data property: A sequence of textual characters. * * @return the data value. */ diff --git a/typespec-tests/src/main/java/com/cadl/model/models/OutputData3.java b/typespec-tests/src/main/java/com/cadl/model/models/OutputData3.java index b3a168e57d..50306418c8 100644 --- a/typespec-tests/src/main/java/com/cadl/model/models/OutputData3.java +++ b/typespec-tests/src/main/java/com/cadl/model/models/OutputData3.java @@ -18,7 +18,7 @@ @Immutable public final class OutputData3 implements JsonSerializable { /* - * The data property. + * A sequence of textual characters. */ @Generated private final String data; @@ -34,7 +34,7 @@ private OutputData3(String data) { } /** - * Get the data property: The data property. + * Get the data property: A sequence of textual characters. * * @return the data value. */ diff --git a/typespec-tests/src/main/java/com/cadl/model/models/Resource1.java b/typespec-tests/src/main/java/com/cadl/model/models/Resource1.java index 9b4719882b..158474e81b 100644 --- a/typespec-tests/src/main/java/com/cadl/model/models/Resource1.java +++ b/typespec-tests/src/main/java/com/cadl/model/models/Resource1.java @@ -18,7 +18,7 @@ @Immutable public final class Resource1 implements JsonSerializable { /* - * The name property. + * A sequence of textual characters. */ @Generated private final String name; @@ -46,7 +46,7 @@ public Resource1(String name) { } /** - * Get the name property: The name property. + * Get the name property: A sequence of textual characters. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/cadl/model/models/Resource2.java b/typespec-tests/src/main/java/com/cadl/model/models/Resource2.java index 3eea2e2033..49456e0d49 100644 --- a/typespec-tests/src/main/java/com/cadl/model/models/Resource2.java +++ b/typespec-tests/src/main/java/com/cadl/model/models/Resource2.java @@ -18,7 +18,7 @@ @Immutable public final class Resource2 implements JsonSerializable { /* - * The name property. + * A sequence of textual characters. */ @Generated private final String name; @@ -42,7 +42,7 @@ public Resource2(String name, InputOutputData2 data2) { } /** - * Get the name property: The name property. + * Get the name property: A sequence of textual characters. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/cadl/model/models/Resource3.java b/typespec-tests/src/main/java/com/cadl/model/models/Resource3.java index 1ce5cb5c6e..357a276ef3 100644 --- a/typespec-tests/src/main/java/com/cadl/model/models/Resource3.java +++ b/typespec-tests/src/main/java/com/cadl/model/models/Resource3.java @@ -18,7 +18,7 @@ @Immutable public final class Resource3 implements JsonSerializable { /* - * The name property. + * A sequence of textual characters. */ @Generated private final String name; @@ -42,7 +42,7 @@ private Resource3(String name, OutputData3 outputData3) { } /** - * Get the name property: The name property. + * Get the name property: A sequence of textual characters. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/cadl/multicontenttypes/models/Resource.java b/typespec-tests/src/main/java/com/cadl/multicontenttypes/models/Resource.java index c658bbc865..267a112db9 100644 --- a/typespec-tests/src/main/java/com/cadl/multicontenttypes/models/Resource.java +++ b/typespec-tests/src/main/java/com/cadl/multicontenttypes/models/Resource.java @@ -18,13 +18,13 @@ @Immutable public final class Resource implements JsonSerializable { /* - * The id property. + * A sequence of textual characters. */ @Generated private String id; /* - * The name property. + * A sequence of textual characters. */ @Generated private String name; @@ -37,7 +37,7 @@ public Resource() { } /** - * Get the id property: The id property. + * Get the id property: A sequence of textual characters. * * @return the id value. */ @@ -47,7 +47,7 @@ public String getId() { } /** - * Get the name property: The name property. + * Get the name property: A sequence of textual characters. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/cadl/multipart/MultipartAsyncClient.java b/typespec-tests/src/main/java/com/cadl/multipart/MultipartAsyncClient.java index 37410f1a25..19f633deef 100644 --- a/typespec-tests/src/main/java/com/cadl/multipart/MultipartAsyncClient.java +++ b/typespec-tests/src/main/java/com/cadl/multipart/MultipartAsyncClient.java @@ -48,11 +48,11 @@ public final class MultipartAsyncClient { * * * - * + * *
Query Parameters
NameTypeRequiredDescription
compressBooleanNoBoolean with `true` and `false` values.
compressBooleanNoThe compress parameter
* You can add these to a request with {@link RequestOptions#addQueryParam} * - * @param name A sequence of textual characters. + * @param name The name parameter. * @param data The data parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -71,9 +71,9 @@ Mono> uploadWithResponse(String name, BinaryData data, RequestOpt /** * The upload operation. * - * @param name A sequence of textual characters. + * @param name The name parameter. * @param data The data parameter. - * @param compress Boolean with `true` and `false` values. + * @param compress The compress parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -115,7 +115,7 @@ public Mono upload(String name, FormData data, Boolean compress) { /** * The upload operation. * - * @param name A sequence of textual characters. + * @param name The name parameter. * @param data The data parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. diff --git a/typespec-tests/src/main/java/com/cadl/multipart/MultipartClient.java b/typespec-tests/src/main/java/com/cadl/multipart/MultipartClient.java index a50e7dec9b..8f29655078 100644 --- a/typespec-tests/src/main/java/com/cadl/multipart/MultipartClient.java +++ b/typespec-tests/src/main/java/com/cadl/multipart/MultipartClient.java @@ -46,11 +46,11 @@ public final class MultipartClient { * * * - * + * *
Query Parameters
NameTypeRequiredDescription
compressBooleanNoBoolean with `true` and `false` values.
compressBooleanNoThe compress parameter
* You can add these to a request with {@link RequestOptions#addQueryParam} * - * @param name A sequence of textual characters. + * @param name The name parameter. * @param data The data parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -69,9 +69,9 @@ Response uploadWithResponse(String name, BinaryData data, RequestOptions r /** * The upload operation. * - * @param name A sequence of textual characters. + * @param name The name parameter. * @param data The data parameter. - * @param compress Boolean with `true` and `false` values. + * @param compress The compress parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -112,7 +112,7 @@ public void upload(String name, FormData data, Boolean compress) { /** * The upload operation. * - * @param name A sequence of textual characters. + * @param name The name parameter. * @param data The data parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. diff --git a/typespec-tests/src/main/java/com/cadl/multipart/implementation/MultipartClientImpl.java b/typespec-tests/src/main/java/com/cadl/multipart/implementation/MultipartClientImpl.java index 360a52a5f2..42832caca9 100644 --- a/typespec-tests/src/main/java/com/cadl/multipart/implementation/MultipartClientImpl.java +++ b/typespec-tests/src/main/java/com/cadl/multipart/implementation/MultipartClientImpl.java @@ -154,11 +154,11 @@ Response uploadSync(@HostParam("endpoint") String endpoint, @PathParam("na * * * - * + * *
Query Parameters
NameTypeRequiredDescription
compressBooleanNoBoolean with `true` and `false` values.
compressBooleanNoThe compress parameter
* You can add these to a request with {@link RequestOptions#addQueryParam} * - * @param name A sequence of textual characters. + * @param name The name parameter. * @param data The data parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -181,11 +181,11 @@ public Mono> uploadWithResponseAsync(String name, BinaryData data * * * - * + * *
Query Parameters
NameTypeRequiredDescription
compressBooleanNoBoolean with `true` and `false` values.
compressBooleanNoThe compress parameter
* You can add these to a request with {@link RequestOptions#addQueryParam} * - * @param name A sequence of textual characters. + * @param name The name parameter. * @param data The data parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. diff --git a/typespec-tests/src/main/java/com/cadl/multipart/models/FormData.java b/typespec-tests/src/main/java/com/cadl/multipart/models/FormData.java index 5e2df23775..2aeef17d7a 100644 --- a/typespec-tests/src/main/java/com/cadl/multipart/models/FormData.java +++ b/typespec-tests/src/main/java/com/cadl/multipart/models/FormData.java @@ -14,13 +14,13 @@ @Fluent public final class FormData { /* - * The name property. + * A sequence of textual characters. */ @Generated private final String name; /* - * The resolution property. + * A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) */ @Generated private final int resolution; @@ -68,7 +68,7 @@ public FormData(String name, int resolution, ImageType type, Size size, ImageFil } /** - * Get the name property: The name property. + * Get the name property: A sequence of textual characters. * * @return the name value. */ @@ -78,7 +78,7 @@ public String getName() { } /** - * Get the resolution property: The resolution property. + * Get the resolution property: A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`). * * @return the resolution value. */ diff --git a/typespec-tests/src/main/java/com/cadl/multipart/models/Size.java b/typespec-tests/src/main/java/com/cadl/multipart/models/Size.java index e5d7ae3ade..bb94bf4c3c 100644 --- a/typespec-tests/src/main/java/com/cadl/multipart/models/Size.java +++ b/typespec-tests/src/main/java/com/cadl/multipart/models/Size.java @@ -18,13 +18,13 @@ @Immutable public final class Size implements JsonSerializable { /* - * The width property. + * A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) */ @Generated private final int width; /* - * The height property. + * A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) */ @Generated private final int height; @@ -42,7 +42,7 @@ public Size(int width, int height) { } /** - * Get the width property: The width property. + * Get the width property: A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`). * * @return the width value. */ @@ -52,7 +52,7 @@ public int getWidth() { } /** - * Get the height property: The height property. + * Get the height property: A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`). * * @return the height value. */ diff --git a/typespec-tests/src/main/java/com/cadl/multipleapiversion/FirstAsyncClient.java b/typespec-tests/src/main/java/com/cadl/multipleapiversion/FirstAsyncClient.java index 3688875382..767e682e6e 100644 --- a/typespec-tests/src/main/java/com/cadl/multipleapiversion/FirstAsyncClient.java +++ b/typespec-tests/src/main/java/com/cadl/multipleapiversion/FirstAsyncClient.java @@ -50,7 +50,7 @@ public final class FirstAsyncClient { * } * } * - * @param name A sequence of textual characters. + * @param name The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -67,7 +67,7 @@ public Mono> getWithResponse(String name, RequestOptions re /** * Resource read operation template. * - * @param name A sequence of textual characters. + * @param name The name parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/cadl/multipleapiversion/FirstClient.java b/typespec-tests/src/main/java/com/cadl/multipleapiversion/FirstClient.java index 3432fbd872..d69ad98e7c 100644 --- a/typespec-tests/src/main/java/com/cadl/multipleapiversion/FirstClient.java +++ b/typespec-tests/src/main/java/com/cadl/multipleapiversion/FirstClient.java @@ -48,7 +48,7 @@ public final class FirstClient { * } * } * - * @param name A sequence of textual characters. + * @param name The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -65,7 +65,7 @@ public Response getWithResponse(String name, RequestOptions requestO /** * Resource read operation template. * - * @param name A sequence of textual characters. + * @param name The name parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/cadl/multipleapiversion/NoApiVersionAsyncClient.java b/typespec-tests/src/main/java/com/cadl/multipleapiversion/NoApiVersionAsyncClient.java index 8d95b1f364..bf22450027 100644 --- a/typespec-tests/src/main/java/com/cadl/multipleapiversion/NoApiVersionAsyncClient.java +++ b/typespec-tests/src/main/java/com/cadl/multipleapiversion/NoApiVersionAsyncClient.java @@ -42,7 +42,7 @@ public final class NoApiVersionAsyncClient { * * * - * + * *
Query Parameters
NameTypeRequiredDescription
param1StringNoA sequence of textual characters.
param1StringNoThe param1 parameter
* You can add these to a request with {@link RequestOptions#addQueryParam} * @@ -62,7 +62,7 @@ public Mono> actionWithResponse(RequestOptions requestOptions) { /** * The action operation. * - * @param param1 A sequence of textual characters. + * @param param1 The param1 parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/cadl/multipleapiversion/NoApiVersionClient.java b/typespec-tests/src/main/java/com/cadl/multipleapiversion/NoApiVersionClient.java index 6e17d90aa6..8ab00ba553 100644 --- a/typespec-tests/src/main/java/com/cadl/multipleapiversion/NoApiVersionClient.java +++ b/typespec-tests/src/main/java/com/cadl/multipleapiversion/NoApiVersionClient.java @@ -40,7 +40,7 @@ public final class NoApiVersionClient { * * * - * + * *
Query Parameters
NameTypeRequiredDescription
param1StringNoA sequence of textual characters.
param1StringNoThe param1 parameter
* You can add these to a request with {@link RequestOptions#addQueryParam} * @@ -60,7 +60,7 @@ public Response actionWithResponse(RequestOptions requestOptions) { /** * The action operation. * - * @param param1 A sequence of textual characters. + * @param param1 The param1 parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/cadl/multipleapiversion/SecondAsyncClient.java b/typespec-tests/src/main/java/com/cadl/multipleapiversion/SecondAsyncClient.java index bd3b80c898..14083b48ae 100644 --- a/typespec-tests/src/main/java/com/cadl/multipleapiversion/SecondAsyncClient.java +++ b/typespec-tests/src/main/java/com/cadl/multipleapiversion/SecondAsyncClient.java @@ -50,7 +50,7 @@ public final class SecondAsyncClient { * } * } * - * @param name A sequence of textual characters. + * @param name The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -67,7 +67,7 @@ public Mono> getWithResponse(String name, RequestOptions re /** * Resource read operation template. * - * @param name A sequence of textual characters. + * @param name The name parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/cadl/multipleapiversion/SecondClient.java b/typespec-tests/src/main/java/com/cadl/multipleapiversion/SecondClient.java index 28f5c47773..2a71ef3318 100644 --- a/typespec-tests/src/main/java/com/cadl/multipleapiversion/SecondClient.java +++ b/typespec-tests/src/main/java/com/cadl/multipleapiversion/SecondClient.java @@ -48,7 +48,7 @@ public final class SecondClient { * } * } * - * @param name A sequence of textual characters. + * @param name The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -65,7 +65,7 @@ public Response getWithResponse(String name, RequestOptions requestO /** * Resource read operation template. * - * @param name A sequence of textual characters. + * @param name The name parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/cadl/multipleapiversion/implementation/FirstClientImpl.java b/typespec-tests/src/main/java/com/cadl/multipleapiversion/implementation/FirstClientImpl.java index e50c1c97f6..bf980a08cd 100644 --- a/typespec-tests/src/main/java/com/cadl/multipleapiversion/implementation/FirstClientImpl.java +++ b/typespec-tests/src/main/java/com/cadl/multipleapiversion/implementation/FirstClientImpl.java @@ -177,7 +177,7 @@ Response getSync(@HostParam("endpoint") String endpoint, * } * } * - * @param name A sequence of textual characters. + * @param name The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -204,7 +204,7 @@ public Mono> getWithResponseAsync(String name, RequestOptio * } * } * - * @param name A sequence of textual characters. + * @param name The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/cadl/multipleapiversion/implementation/NoApiVersionClientImpl.java b/typespec-tests/src/main/java/com/cadl/multipleapiversion/implementation/NoApiVersionClientImpl.java index b4e206df60..12ebd54b91 100644 --- a/typespec-tests/src/main/java/com/cadl/multipleapiversion/implementation/NoApiVersionClientImpl.java +++ b/typespec-tests/src/main/java/com/cadl/multipleapiversion/implementation/NoApiVersionClientImpl.java @@ -169,7 +169,7 @@ Response actionSync(@HostParam("endpoint") String endpoint, @HeaderParam(" * * * - * + * *
Query Parameters
NameTypeRequiredDescription
param1StringNoA sequence of textual characters.
param1StringNoThe param1 parameter
* You can add these to a request with {@link RequestOptions#addQueryParam} * @@ -192,7 +192,7 @@ public Mono> actionWithResponseAsync(RequestOptions requestOption * * * - * + * *
Query Parameters
NameTypeRequiredDescription
param1StringNoA sequence of textual characters.
param1StringNoThe param1 parameter
* You can add these to a request with {@link RequestOptions#addQueryParam} * diff --git a/typespec-tests/src/main/java/com/cadl/multipleapiversion/implementation/SecondClientImpl.java b/typespec-tests/src/main/java/com/cadl/multipleapiversion/implementation/SecondClientImpl.java index d8e053341f..71cbdd9fb9 100644 --- a/typespec-tests/src/main/java/com/cadl/multipleapiversion/implementation/SecondClientImpl.java +++ b/typespec-tests/src/main/java/com/cadl/multipleapiversion/implementation/SecondClientImpl.java @@ -177,7 +177,7 @@ Response getSync(@HostParam("endpoint") String endpoint, * } * } * - * @param name A sequence of textual characters. + * @param name The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -204,7 +204,7 @@ public Mono> getWithResponseAsync(String name, RequestOptio * } * } * - * @param name A sequence of textual characters. + * @param name The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/cadl/multipleapiversion/models/Resource.java b/typespec-tests/src/main/java/com/cadl/multipleapiversion/models/Resource.java index ac1472cd6b..08af23dbcc 100644 --- a/typespec-tests/src/main/java/com/cadl/multipleapiversion/models/Resource.java +++ b/typespec-tests/src/main/java/com/cadl/multipleapiversion/models/Resource.java @@ -18,19 +18,19 @@ @Immutable public final class Resource implements JsonSerializable { /* - * The id property. + * A sequence of textual characters. */ @Generated private String id; /* - * The name property. + * A sequence of textual characters. */ @Generated private String name; /* - * The type property. + * A sequence of textual characters. */ @Generated private final String type; @@ -46,7 +46,7 @@ private Resource(String type) { } /** - * Get the id property: The id property. + * Get the id property: A sequence of textual characters. * * @return the id value. */ @@ -56,7 +56,7 @@ public String getId() { } /** - * Get the name property: The name property. + * Get the name property: A sequence of textual characters. * * @return the name value. */ @@ -66,7 +66,7 @@ public String getName() { } /** - * Get the type property: The type property. + * Get the type property: A sequence of textual characters. * * @return the type value. */ diff --git a/typespec-tests/src/main/java/com/cadl/multipleapiversion/models/Resource2.java b/typespec-tests/src/main/java/com/cadl/multipleapiversion/models/Resource2.java index 7bc2ab87df..9af027ce33 100644 --- a/typespec-tests/src/main/java/com/cadl/multipleapiversion/models/Resource2.java +++ b/typespec-tests/src/main/java/com/cadl/multipleapiversion/models/Resource2.java @@ -18,19 +18,19 @@ @Immutable public final class Resource2 implements JsonSerializable { /* - * The id property. + * A sequence of textual characters. */ @Generated private String id; /* - * The name property. + * A sequence of textual characters. */ @Generated private String name; /* - * The type property. + * A sequence of textual characters. */ @Generated private final String type; @@ -46,7 +46,7 @@ private Resource2(String type) { } /** - * Get the id property: The id property. + * Get the id property: A sequence of textual characters. * * @return the id value. */ @@ -56,7 +56,7 @@ public String getId() { } /** - * Get the name property: The name property. + * Get the name property: A sequence of textual characters. * * @return the name value. */ @@ -66,7 +66,7 @@ public String getName() { } /** - * Get the type property: The type property. + * Get the type property: A sequence of textual characters. * * @return the type value. */ diff --git a/typespec-tests/src/main/java/com/cadl/naming/models/BytesData.java b/typespec-tests/src/main/java/com/cadl/naming/models/BytesData.java index c67dcc97b4..ab8b1943dd 100644 --- a/typespec-tests/src/main/java/com/cadl/naming/models/BytesData.java +++ b/typespec-tests/src/main/java/com/cadl/naming/models/BytesData.java @@ -18,12 +18,14 @@ @Immutable public final class BytesData extends Data { /* - * The @data.kind property. + * A sequence of textual characters. */ @Generated private String type = "bytes"; /* + * Represent a byte array + * * Data as {@code byte[]} */ @Generated @@ -40,7 +42,7 @@ private BytesData(byte[] dataAsBytes) { } /** - * Get the type property: The @data.kind property. + * Get the type property: A sequence of textual characters. * * @return the type value. */ @@ -51,7 +53,9 @@ public String getType() { } /** - * Get the dataAsBytes property: Data as {@code byte[]}. + * Get the dataAsBytes property: Represent a byte array + * + * Data as {@code byte[]}. * * @return the dataAsBytes value. */ diff --git a/typespec-tests/src/main/java/com/cadl/naming/models/Data.java b/typespec-tests/src/main/java/com/cadl/naming/models/Data.java index c28af47bbf..66b2584f48 100644 --- a/typespec-tests/src/main/java/com/cadl/naming/models/Data.java +++ b/typespec-tests/src/main/java/com/cadl/naming/models/Data.java @@ -19,7 +19,7 @@ @Immutable public class Data implements JsonSerializable { /* - * The @data.kind property. + * A sequence of textual characters. */ @Generated private String type; @@ -33,7 +33,7 @@ protected Data() { } /** - * Get the type property: The @data.kind property. + * Get the type property: A sequence of textual characters. * * @return the type value. */ diff --git a/typespec-tests/src/main/java/com/cadl/naming/models/GetAnonymousResponse.java b/typespec-tests/src/main/java/com/cadl/naming/models/GetAnonymousResponse.java index a976740fb1..ec33a70c91 100644 --- a/typespec-tests/src/main/java/com/cadl/naming/models/GetAnonymousResponse.java +++ b/typespec-tests/src/main/java/com/cadl/naming/models/GetAnonymousResponse.java @@ -18,7 +18,7 @@ @Immutable public final class GetAnonymousResponse implements JsonSerializable { /* - * The name property. + * A sequence of textual characters. */ @Generated private final String name; @@ -34,7 +34,7 @@ private GetAnonymousResponse(String name) { } /** - * Get the name property: The name property. + * Get the name property: A sequence of textual characters. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/cadl/optional/OptionalAsyncClient.java b/typespec-tests/src/main/java/com/cadl/optional/OptionalAsyncClient.java index 2897d2b5e8..4222b964b2 100644 --- a/typespec-tests/src/main/java/com/cadl/optional/OptionalAsyncClient.java +++ b/typespec-tests/src/main/java/com/cadl/optional/OptionalAsyncClient.java @@ -47,7 +47,7 @@ public final class OptionalAsyncClient { * Query Parameters * NameTypeRequiredDescription * booleanNullableBooleanNoThe booleanNullable parameter - * stringStringNoA sequence of textual characters. + * stringStringNoThe string parameter * stringNullableStringNoThe stringNullable parameter * * You can add these to a request with {@link RequestOptions#addQueryParam} @@ -55,7 +55,7 @@ public final class OptionalAsyncClient { * * * - * + * *
Header Parameters
NameTypeRequiredDescription
request-header-optionalStringNoA sequence of textual characters.
request-header-optionalStringNoThe requestHeaderOptional parameter
* You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

@@ -122,10 +122,10 @@ public final class OptionalAsyncClient { * } * } * - * @param requestHeaderRequired A sequence of textual characters. - * @param booleanRequired Boolean with `true` and `false` values. + * @param requestHeaderRequired The requestHeaderRequired parameter. + * @param booleanRequired The booleanRequired parameter. * @param booleanRequiredNullable The booleanRequiredNullable parameter. - * @param stringRequired A sequence of textual characters. + * @param stringRequired The stringRequired parameter. * @param stringRequiredNullable The stringRequiredNullable parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -146,14 +146,14 @@ public Mono> putWithResponse(String requestHeaderRequired, /** * The put operation. * - * @param requestHeaderRequired A sequence of textual characters. - * @param booleanRequired Boolean with `true` and `false` values. + * @param requestHeaderRequired The requestHeaderRequired parameter. + * @param booleanRequired The booleanRequired parameter. * @param booleanRequiredNullable The booleanRequiredNullable parameter. - * @param stringRequired A sequence of textual characters. + * @param stringRequired The stringRequired parameter. * @param stringRequiredNullable The stringRequiredNullable parameter. - * @param requestHeaderOptional A sequence of textual characters. + * @param requestHeaderOptional The requestHeaderOptional parameter. * @param booleanNullable The booleanNullable parameter. - * @param string A sequence of textual characters. + * @param string The string parameter. * @param stringNullable The stringNullable parameter. * @param optional The optional parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -195,10 +195,10 @@ public Mono put(String requestHeaderRequired, boolean boo /** * The put operation. * - * @param requestHeaderRequired A sequence of textual characters. - * @param booleanRequired Boolean with `true` and `false` values. + * @param requestHeaderRequired The requestHeaderRequired parameter. + * @param booleanRequired The booleanRequired parameter. * @param booleanRequiredNullable The booleanRequiredNullable parameter. - * @param stringRequired A sequence of textual characters. + * @param stringRequired The stringRequired parameter. * @param stringRequiredNullable The stringRequiredNullable parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. diff --git a/typespec-tests/src/main/java/com/cadl/optional/OptionalClient.java b/typespec-tests/src/main/java/com/cadl/optional/OptionalClient.java index 738940094b..899ca37b27 100644 --- a/typespec-tests/src/main/java/com/cadl/optional/OptionalClient.java +++ b/typespec-tests/src/main/java/com/cadl/optional/OptionalClient.java @@ -45,7 +45,7 @@ public final class OptionalClient { * Query Parameters * NameTypeRequiredDescription * booleanNullableBooleanNoThe booleanNullable parameter - * stringStringNoA sequence of textual characters. + * stringStringNoThe string parameter * stringNullableStringNoThe stringNullable parameter * * You can add these to a request with {@link RequestOptions#addQueryParam} @@ -53,7 +53,7 @@ public final class OptionalClient { * * * - * + * *
Header Parameters
NameTypeRequiredDescription
request-header-optionalStringNoA sequence of textual characters.
request-header-optionalStringNoThe requestHeaderOptional parameter
* You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

@@ -120,10 +120,10 @@ public final class OptionalClient { * } * } * - * @param requestHeaderRequired A sequence of textual characters. - * @param booleanRequired Boolean with `true` and `false` values. + * @param requestHeaderRequired The requestHeaderRequired parameter. + * @param booleanRequired The booleanRequired parameter. * @param booleanRequiredNullable The booleanRequiredNullable parameter. - * @param stringRequired A sequence of textual characters. + * @param stringRequired The stringRequired parameter. * @param stringRequiredNullable The stringRequiredNullable parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -144,14 +144,14 @@ public Response putWithResponse(String requestHeaderRequired, boolea /** * The put operation. * - * @param requestHeaderRequired A sequence of textual characters. - * @param booleanRequired Boolean with `true` and `false` values. + * @param requestHeaderRequired The requestHeaderRequired parameter. + * @param booleanRequired The booleanRequired parameter. * @param booleanRequiredNullable The booleanRequiredNullable parameter. - * @param stringRequired A sequence of textual characters. + * @param stringRequired The stringRequired parameter. * @param stringRequiredNullable The stringRequiredNullable parameter. - * @param requestHeaderOptional A sequence of textual characters. + * @param requestHeaderOptional The requestHeaderOptional parameter. * @param booleanNullable The booleanNullable parameter. - * @param string A sequence of textual characters. + * @param string The string parameter. * @param stringNullable The stringNullable parameter. * @param optional The optional parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -192,10 +192,10 @@ public AllPropertiesOptional put(String requestHeaderRequired, boolean booleanRe /** * The put operation. * - * @param requestHeaderRequired A sequence of textual characters. - * @param booleanRequired Boolean with `true` and `false` values. + * @param requestHeaderRequired The requestHeaderRequired parameter. + * @param booleanRequired The booleanRequired parameter. * @param booleanRequiredNullable The booleanRequiredNullable parameter. - * @param stringRequired A sequence of textual characters. + * @param stringRequired The stringRequired parameter. * @param stringRequiredNullable The stringRequiredNullable parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. diff --git a/typespec-tests/src/main/java/com/cadl/optional/implementation/OptionalOpsImpl.java b/typespec-tests/src/main/java/com/cadl/optional/implementation/OptionalOpsImpl.java index 7dc0f41ccd..e9880065ef 100644 --- a/typespec-tests/src/main/java/com/cadl/optional/implementation/OptionalOpsImpl.java +++ b/typespec-tests/src/main/java/com/cadl/optional/implementation/OptionalOpsImpl.java @@ -95,7 +95,7 @@ Response putSync(@HostParam("endpoint") String endpoint, * Query Parameters * NameTypeRequiredDescription * booleanNullableBooleanNoThe booleanNullable parameter - * stringStringNoA sequence of textual characters. + * stringStringNoThe string parameter * stringNullableStringNoThe stringNullable parameter * * You can add these to a request with {@link RequestOptions#addQueryParam} @@ -103,7 +103,7 @@ Response putSync(@HostParam("endpoint") String endpoint, * * * - * + * *
Header Parameters
NameTypeRequiredDescription
request-header-optionalStringNoA sequence of textual characters.
request-header-optionalStringNoThe requestHeaderOptional parameter
* You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

@@ -170,10 +170,10 @@ Response putSync(@HostParam("endpoint") String endpoint, * } * } * - * @param requestHeaderRequired A sequence of textual characters. - * @param booleanRequired Boolean with `true` and `false` values. + * @param requestHeaderRequired The requestHeaderRequired parameter. + * @param booleanRequired The booleanRequired parameter. * @param booleanRequiredNullable The booleanRequiredNullable parameter. - * @param stringRequired A sequence of textual characters. + * @param stringRequired The stringRequired parameter. * @param stringRequiredNullable The stringRequiredNullable parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -205,7 +205,7 @@ public Mono> putWithResponseAsync(String requestHeaderRequi * Query Parameters * NameTypeRequiredDescription * booleanNullableBooleanNoThe booleanNullable parameter - * stringStringNoA sequence of textual characters. + * stringStringNoThe string parameter * stringNullableStringNoThe stringNullable parameter * * You can add these to a request with {@link RequestOptions#addQueryParam} @@ -213,7 +213,7 @@ public Mono> putWithResponseAsync(String requestHeaderRequi * * * - * + * *
Header Parameters
NameTypeRequiredDescription
request-header-optionalStringNoA sequence of textual characters.
request-header-optionalStringNoThe requestHeaderOptional parameter
* You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

@@ -280,10 +280,10 @@ public Mono> putWithResponseAsync(String requestHeaderRequi * } * } * - * @param requestHeaderRequired A sequence of textual characters. - * @param booleanRequired Boolean with `true` and `false` values. + * @param requestHeaderRequired The requestHeaderRequired parameter. + * @param booleanRequired The booleanRequired parameter. * @param booleanRequiredNullable The booleanRequiredNullable parameter. - * @param stringRequired A sequence of textual characters. + * @param stringRequired The stringRequired parameter. * @param stringRequiredNullable The stringRequiredNullable parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. diff --git a/typespec-tests/src/main/java/com/cadl/optional/models/AllPropertiesOptional.java b/typespec-tests/src/main/java/com/cadl/optional/models/AllPropertiesOptional.java index 66366bc78f..46197045a2 100644 --- a/typespec-tests/src/main/java/com/cadl/optional/models/AllPropertiesOptional.java +++ b/typespec-tests/src/main/java/com/cadl/optional/models/AllPropertiesOptional.java @@ -26,79 +26,79 @@ @Immutable public final class AllPropertiesOptional implements JsonSerializable { /* - * The boolean property. + * Boolean with `true` and `false` values. */ @Generated private Boolean booleanProperty; /* - * The booleanNullable property. + * Boolean with `true` and `false` values. */ @Generated private Boolean booleanNullable; /* - * The booleanRequired property. + * Boolean with `true` and `false` values. */ @Generated private Boolean booleanRequired; /* - * The booleanRequiredNullable property. + * Boolean with `true` and `false` values. */ @Generated private Boolean booleanRequiredNullable; /* - * The string property. + * A sequence of textual characters. */ @Generated private String string; /* - * The stringNullable property. + * A sequence of textual characters. */ @Generated private String stringNullable; /* - * The stringRequired property. + * A sequence of textual characters. */ @Generated private String stringRequired; /* - * The stringRequiredNullable property. + * A sequence of textual characters. */ @Generated private String stringRequiredNullable; /* - * The bytes property. + * Represent a byte array */ @Generated private byte[] bytes; /* - * The int property. + * A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) */ @Generated private Integer intProperty; /* - * The long property. + * A 64-bit integer. (`-9,223,372,036,854,775,808` to `9,223,372,036,854,775,807`) */ @Generated private Long longProperty; /* - * The float property. + * A 32 bit floating point number. (`±5.0 × 10^−324` to `±1.7 × 10^308`) */ @Generated private Double floatProperty; /* - * The double property. + * A 32 bit floating point number. (`±1.5 x 10^−45` to `±3.4 x 10^38`) */ @Generated private Double doubleProperty; @@ -153,7 +153,7 @@ private AllPropertiesOptional() { } /** - * Get the booleanProperty property: The boolean property. + * Get the booleanProperty property: Boolean with `true` and `false` values. * * @return the booleanProperty value. */ @@ -163,7 +163,7 @@ public Boolean isBooleanProperty() { } /** - * Get the booleanNullable property: The booleanNullable property. + * Get the booleanNullable property: Boolean with `true` and `false` values. * * @return the booleanNullable value. */ @@ -173,7 +173,7 @@ public Boolean isBooleanNullable() { } /** - * Get the booleanRequired property: The booleanRequired property. + * Get the booleanRequired property: Boolean with `true` and `false` values. * * @return the booleanRequired value. */ @@ -183,7 +183,7 @@ public Boolean isBooleanRequired() { } /** - * Get the booleanRequiredNullable property: The booleanRequiredNullable property. + * Get the booleanRequiredNullable property: Boolean with `true` and `false` values. * * @return the booleanRequiredNullable value. */ @@ -193,7 +193,7 @@ public Boolean isBooleanRequiredNullable() { } /** - * Get the string property: The string property. + * Get the string property: A sequence of textual characters. * * @return the string value. */ @@ -203,7 +203,7 @@ public String getString() { } /** - * Get the stringNullable property: The stringNullable property. + * Get the stringNullable property: A sequence of textual characters. * * @return the stringNullable value. */ @@ -213,7 +213,7 @@ public String getStringNullable() { } /** - * Get the stringRequired property: The stringRequired property. + * Get the stringRequired property: A sequence of textual characters. * * @return the stringRequired value. */ @@ -223,7 +223,7 @@ public String getStringRequired() { } /** - * Get the stringRequiredNullable property: The stringRequiredNullable property. + * Get the stringRequiredNullable property: A sequence of textual characters. * * @return the stringRequiredNullable value. */ @@ -233,7 +233,7 @@ public String getStringRequiredNullable() { } /** - * Get the bytes property: The bytes property. + * Get the bytes property: Represent a byte array. * * @return the bytes value. */ @@ -243,7 +243,7 @@ public byte[] getBytes() { } /** - * Get the intProperty property: The int property. + * Get the intProperty property: A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`). * * @return the intProperty value. */ @@ -253,7 +253,7 @@ public Integer getIntProperty() { } /** - * Get the longProperty property: The long property. + * Get the longProperty property: A 64-bit integer. (`-9,223,372,036,854,775,808` to `9,223,372,036,854,775,807`). * * @return the longProperty value. */ @@ -263,7 +263,7 @@ public Long getLongProperty() { } /** - * Get the floatProperty property: The float property. + * Get the floatProperty property: A 32 bit floating point number. (`±5.0 × 10^−324` to `±1.7 × 10^308`). * * @return the floatProperty value. */ @@ -273,7 +273,7 @@ public Double getFloatProperty() { } /** - * Get the doubleProperty property: The double property. + * Get the doubleProperty property: A 32 bit floating point number. (`±1.5 x 10^−45` to `±3.4 x 10^38`). * * @return the doubleProperty value. */ diff --git a/typespec-tests/src/main/java/com/cadl/optional/models/ImmutableModel.java b/typespec-tests/src/main/java/com/cadl/optional/models/ImmutableModel.java index 6494cc8957..abc45eaebd 100644 --- a/typespec-tests/src/main/java/com/cadl/optional/models/ImmutableModel.java +++ b/typespec-tests/src/main/java/com/cadl/optional/models/ImmutableModel.java @@ -18,13 +18,13 @@ @Immutable public final class ImmutableModel implements JsonSerializable { /* - * The stringReadWriteRequired property. + * A sequence of textual characters. */ @Generated private final String stringReadWriteRequired; /* - * The stringReadOnlyOptional property. + * A sequence of textual characters. */ @Generated private String stringReadOnlyOptional; @@ -40,7 +40,7 @@ private ImmutableModel(String stringReadWriteRequired) { } /** - * Get the stringReadWriteRequired property: The stringReadWriteRequired property. + * Get the stringReadWriteRequired property: A sequence of textual characters. * * @return the stringReadWriteRequired value. */ @@ -50,7 +50,7 @@ public String getStringReadWriteRequired() { } /** - * Get the stringReadOnlyOptional property: The stringReadOnlyOptional property. + * Get the stringReadOnlyOptional property: A sequence of textual characters. * * @return the stringReadOnlyOptional value. */ diff --git a/typespec-tests/src/main/java/com/cadl/optional/models/Optional.java b/typespec-tests/src/main/java/com/cadl/optional/models/Optional.java index 8efd0c185e..d05eccbbce 100644 --- a/typespec-tests/src/main/java/com/cadl/optional/models/Optional.java +++ b/typespec-tests/src/main/java/com/cadl/optional/models/Optional.java @@ -26,79 +26,79 @@ @Fluent public final class Optional implements JsonSerializable { /* - * The boolean property. + * Boolean with `true` and `false` values. */ @Generated private Boolean booleanProperty; /* - * The booleanNullable property. + * Boolean with `true` and `false` values. */ @Generated private Boolean booleanNullable; /* - * The booleanRequired property. + * Boolean with `true` and `false` values. */ @Generated private final boolean booleanRequired; /* - * The booleanRequiredNullable property. + * Boolean with `true` and `false` values. */ @Generated private final Boolean booleanRequiredNullable; /* - * The string property. + * A sequence of textual characters. */ @Generated private String string; /* - * The stringNullable property. + * A sequence of textual characters. */ @Generated private String stringNullable; /* - * The stringRequired property. + * A sequence of textual characters. */ @Generated private final String stringRequired; /* - * The stringRequiredNullable property. + * A sequence of textual characters. */ @Generated private final String stringRequiredNullable; /* - * The bytes property. + * Represent a byte array */ @Generated private byte[] bytes; /* - * The int property. + * A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) */ @Generated private Integer intProperty; /* - * The long property. + * A 64-bit integer. (`-9,223,372,036,854,775,808` to `9,223,372,036,854,775,807`) */ @Generated private Long longProperty; /* - * The float property. + * A 32 bit floating point number. (`±5.0 × 10^−324` to `±1.7 × 10^308`) */ @Generated private Double floatProperty; /* - * The double property. + * A 32 bit floating point number. (`±1.5 x 10^−45` to `±3.4 x 10^38`) */ @Generated private Double doubleProperty; @@ -163,7 +163,7 @@ public Optional(boolean booleanRequired, Boolean booleanRequiredNullable, String } /** - * Get the booleanProperty property: The boolean property. + * Get the booleanProperty property: Boolean with `true` and `false` values. * * @return the booleanProperty value. */ @@ -173,7 +173,7 @@ public Boolean isBooleanProperty() { } /** - * Set the booleanProperty property: The boolean property. + * Set the booleanProperty property: Boolean with `true` and `false` values. * * @param booleanProperty the booleanProperty value to set. * @return the Optional object itself. @@ -185,7 +185,7 @@ public Optional setBooleanProperty(Boolean booleanProperty) { } /** - * Get the booleanNullable property: The booleanNullable property. + * Get the booleanNullable property: Boolean with `true` and `false` values. * * @return the booleanNullable value. */ @@ -195,7 +195,7 @@ public Boolean isBooleanNullable() { } /** - * Set the booleanNullable property: The booleanNullable property. + * Set the booleanNullable property: Boolean with `true` and `false` values. * * @param booleanNullable the booleanNullable value to set. * @return the Optional object itself. @@ -207,7 +207,7 @@ public Optional setBooleanNullable(Boolean booleanNullable) { } /** - * Get the booleanRequired property: The booleanRequired property. + * Get the booleanRequired property: Boolean with `true` and `false` values. * * @return the booleanRequired value. */ @@ -217,7 +217,7 @@ public boolean isBooleanRequired() { } /** - * Get the booleanRequiredNullable property: The booleanRequiredNullable property. + * Get the booleanRequiredNullable property: Boolean with `true` and `false` values. * * @return the booleanRequiredNullable value. */ @@ -227,7 +227,7 @@ public Boolean isBooleanRequiredNullable() { } /** - * Get the string property: The string property. + * Get the string property: A sequence of textual characters. * * @return the string value. */ @@ -237,7 +237,7 @@ public String getString() { } /** - * Set the string property: The string property. + * Set the string property: A sequence of textual characters. * * @param string the string value to set. * @return the Optional object itself. @@ -249,7 +249,7 @@ public Optional setString(String string) { } /** - * Get the stringNullable property: The stringNullable property. + * Get the stringNullable property: A sequence of textual characters. * * @return the stringNullable value. */ @@ -259,7 +259,7 @@ public String getStringNullable() { } /** - * Set the stringNullable property: The stringNullable property. + * Set the stringNullable property: A sequence of textual characters. * * @param stringNullable the stringNullable value to set. * @return the Optional object itself. @@ -271,7 +271,7 @@ public Optional setStringNullable(String stringNullable) { } /** - * Get the stringRequired property: The stringRequired property. + * Get the stringRequired property: A sequence of textual characters. * * @return the stringRequired value. */ @@ -281,7 +281,7 @@ public String getStringRequired() { } /** - * Get the stringRequiredNullable property: The stringRequiredNullable property. + * Get the stringRequiredNullable property: A sequence of textual characters. * * @return the stringRequiredNullable value. */ @@ -291,7 +291,7 @@ public String getStringRequiredNullable() { } /** - * Get the bytes property: The bytes property. + * Get the bytes property: Represent a byte array. * * @return the bytes value. */ @@ -301,7 +301,7 @@ public byte[] getBytes() { } /** - * Set the bytes property: The bytes property. + * Set the bytes property: Represent a byte array. * * @param bytes the bytes value to set. * @return the Optional object itself. @@ -313,7 +313,7 @@ public Optional setBytes(byte[] bytes) { } /** - * Get the intProperty property: The int property. + * Get the intProperty property: A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`). * * @return the intProperty value. */ @@ -323,7 +323,7 @@ public Integer getIntProperty() { } /** - * Set the intProperty property: The int property. + * Set the intProperty property: A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`). * * @param intProperty the intProperty value to set. * @return the Optional object itself. @@ -335,7 +335,7 @@ public Optional setIntProperty(Integer intProperty) { } /** - * Get the longProperty property: The long property. + * Get the longProperty property: A 64-bit integer. (`-9,223,372,036,854,775,808` to `9,223,372,036,854,775,807`). * * @return the longProperty value. */ @@ -345,7 +345,7 @@ public Long getLongProperty() { } /** - * Set the longProperty property: The long property. + * Set the longProperty property: A 64-bit integer. (`-9,223,372,036,854,775,808` to `9,223,372,036,854,775,807`). * * @param longProperty the longProperty value to set. * @return the Optional object itself. @@ -357,7 +357,7 @@ public Optional setLongProperty(Long longProperty) { } /** - * Get the floatProperty property: The float property. + * Get the floatProperty property: A 32 bit floating point number. (`±5.0 × 10^−324` to `±1.7 × 10^308`). * * @return the floatProperty value. */ @@ -367,7 +367,7 @@ public Double getFloatProperty() { } /** - * Set the floatProperty property: The float property. + * Set the floatProperty property: A 32 bit floating point number. (`±5.0 × 10^−324` to `±1.7 × 10^308`). * * @param floatProperty the floatProperty value to set. * @return the Optional object itself. @@ -379,7 +379,7 @@ public Optional setFloatProperty(Double floatProperty) { } /** - * Get the doubleProperty property: The double property. + * Get the doubleProperty property: A 32 bit floating point number. (`±1.5 x 10^−45` to `±3.4 x 10^38`). * * @return the doubleProperty value. */ @@ -389,7 +389,7 @@ public Double getDoubleProperty() { } /** - * Set the doubleProperty property: The double property. + * Set the doubleProperty property: A 32 bit floating point number. (`±1.5 x 10^−45` to `±3.4 x 10^38`). * * @param doubleProperty the doubleProperty value to set. * @return the Optional object itself. diff --git a/typespec-tests/src/main/java/com/cadl/partialupdate/models/PartialUpdateModel.java b/typespec-tests/src/main/java/com/cadl/partialupdate/models/PartialUpdateModel.java index f48074e1c7..a611f094ba 100644 --- a/typespec-tests/src/main/java/com/cadl/partialupdate/models/PartialUpdateModel.java +++ b/typespec-tests/src/main/java/com/cadl/partialupdate/models/PartialUpdateModel.java @@ -19,24 +19,26 @@ public final class PartialUpdateModel implements JsonSerializable { /* - * The boolean property. + * Boolean with `true` and `false` values. */ @Generated private final boolean booleanProperty; /* - * The string property. + * A sequence of textual characters. */ @Generated private final String string; /* - * The bytes property. + * Represent a byte array */ @Generated private final byte[] bytes; /* + * A sequence of textual characters. + * * The aggregation function to be applied on the client metric. Allowed functions * - ‘percentage’ - for error metric , ‘avg’, ‘p50’, ‘p90’, ‘p95’, ‘p99’, ‘min’, * ‘max’ - for response_time_ms and latency metric, ‘avg’ - for requests_per_sec, @@ -65,7 +67,7 @@ private PartialUpdateModel(boolean booleanProperty, String string, byte[] bytes) } /** - * Get the booleanProperty property: The boolean property. + * Get the booleanProperty property: Boolean with `true` and `false` values. * * @return the booleanProperty value. */ @@ -75,7 +77,7 @@ public boolean isBooleanProperty() { } /** - * Get the string property: The string property. + * Get the string property: A sequence of textual characters. * * @return the string value. */ @@ -85,7 +87,7 @@ public String getString() { } /** - * Get the bytes property: The bytes property. + * Get the bytes property: Represent a byte array. * * @return the bytes value. */ @@ -95,7 +97,9 @@ public byte[] getBytes() { } /** - * Get the aggregate property: The aggregation function to be applied on the client metric. Allowed functions + * Get the aggregate property: A sequence of textual characters. + * + * The aggregation function to be applied on the client metric. Allowed functions * - ‘percentage’ - for error metric , ‘avg’, ‘p50’, ‘p90’, ‘p95’, ‘p99’, ‘min’, * ‘max’ - for response_time_ms and latency metric, ‘avg’ - for requests_per_sec, * ‘count’ - for requests. diff --git a/typespec-tests/src/main/java/com/cadl/patch/models/Fish.java b/typespec-tests/src/main/java/com/cadl/patch/models/Fish.java index db0480e59d..c372f4d51e 100644 --- a/typespec-tests/src/main/java/com/cadl/patch/models/Fish.java +++ b/typespec-tests/src/main/java/com/cadl/patch/models/Fish.java @@ -27,25 +27,25 @@ public class Fish implements JsonSerializable { private String kind; /* - * The id property. + * A sequence of textual characters. */ @Generated private String id; /* - * The name property. + * A sequence of textual characters. */ @Generated private String name; /* - * The age property. + * A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) */ @Generated private int age; /* - * The color property. + * A sequence of textual characters. */ @Generated private String color; @@ -91,7 +91,7 @@ public String getKind() { } /** - * Get the id property: The id property. + * Get the id property: A sequence of textual characters. * * @return the id value. */ @@ -101,7 +101,7 @@ public String getId() { } /** - * Set the id property: The id property. + * Set the id property: A sequence of textual characters. * * @param id the id value to set. * @return the Fish object itself. @@ -114,7 +114,7 @@ Fish setId(String id) { } /** - * Get the name property: The name property. + * Get the name property: A sequence of textual characters. * * @return the name value. */ @@ -124,7 +124,7 @@ public String getName() { } /** - * Set the name property: The name property. + * Set the name property: A sequence of textual characters. * * @param name the name value to set. * @return the Fish object itself. @@ -137,7 +137,7 @@ Fish setName(String name) { } /** - * Get the age property: The age property. + * Get the age property: A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`). * * @return the age value. */ @@ -147,7 +147,7 @@ public int getAge() { } /** - * Set the age property: The age property. + * Set the age property: A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`). *

Required when create the resource.

* * @param age the age value to set. @@ -161,7 +161,7 @@ public Fish setAge(int age) { } /** - * Get the color property: The color property. + * Get the color property: A sequence of textual characters. * * @return the color value. */ @@ -171,7 +171,7 @@ public String getColor() { } /** - * Set the color property: The color property. + * Set the color property: A sequence of textual characters. * * @param color the color value to set. * @return the Fish object itself. diff --git a/typespec-tests/src/main/java/com/cadl/patch/models/InnerModel.java b/typespec-tests/src/main/java/com/cadl/patch/models/InnerModel.java index c48a55b913..d0491199f8 100644 --- a/typespec-tests/src/main/java/com/cadl/patch/models/InnerModel.java +++ b/typespec-tests/src/main/java/com/cadl/patch/models/InnerModel.java @@ -21,13 +21,13 @@ @Fluent public final class InnerModel implements JsonSerializable { /* - * The name property. + * A sequence of textual characters. */ @Generated private String name; /* - * The description property. + * A sequence of textual characters. */ @Generated private String description; @@ -61,7 +61,7 @@ public InnerModel() { } /** - * Get the name property: The name property. + * Get the name property: A sequence of textual characters. * * @return the name value. */ @@ -71,7 +71,7 @@ public String getName() { } /** - * Set the name property: The name property. + * Set the name property: A sequence of textual characters. *

Required when create the resource.

* * @param name the name value to set. @@ -85,7 +85,7 @@ public InnerModel setName(String name) { } /** - * Get the description property: The description property. + * Get the description property: A sequence of textual characters. * * @return the description value. */ @@ -95,7 +95,7 @@ public String getDescription() { } /** - * Set the description property: The description property. + * Set the description property: A sequence of textual characters. * * @param description the description value to set. * @return the InnerModel object itself. diff --git a/typespec-tests/src/main/java/com/cadl/patch/models/Resource.java b/typespec-tests/src/main/java/com/cadl/patch/models/Resource.java index 800d6f09fd..6b3c5cb3f9 100644 --- a/typespec-tests/src/main/java/com/cadl/patch/models/Resource.java +++ b/typespec-tests/src/main/java/com/cadl/patch/models/Resource.java @@ -23,19 +23,19 @@ @Fluent public final class Resource implements JsonSerializable { /* - * The id property. + * A sequence of textual characters. */ @Generated private String id; /* - * The name property. + * A sequence of textual characters. */ @Generated private String name; /* - * The description property. + * A sequence of textual characters. */ @Generated private String description; @@ -47,13 +47,13 @@ public final class Resource implements JsonSerializable { private Map map; /* - * The longValue property. + * A 64-bit integer. (`-9,223,372,036,854,775,808` to `9,223,372,036,854,775,807`) */ @Generated private Long longValue; /* - * The intValue property. + * A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) */ @Generated private Integer intValue; @@ -111,7 +111,7 @@ public Resource() { } /** - * Get the id property: The id property. + * Get the id property: A sequence of textual characters. * * @return the id value. */ @@ -121,7 +121,7 @@ public String getId() { } /** - * Get the name property: The name property. + * Get the name property: A sequence of textual characters. * * @return the name value. */ @@ -131,7 +131,7 @@ public String getName() { } /** - * Get the description property: The description property. + * Get the description property: A sequence of textual characters. * * @return the description value. */ @@ -141,7 +141,7 @@ public String getDescription() { } /** - * Set the description property: The description property. + * Set the description property: A sequence of textual characters. * * @param description the description value to set. * @return the Resource object itself. @@ -178,7 +178,7 @@ public Resource setMap(Map map) { } /** - * Get the longValue property: The longValue property. + * Get the longValue property: A 64-bit integer. (`-9,223,372,036,854,775,808` to `9,223,372,036,854,775,807`). * * @return the longValue value. */ @@ -188,7 +188,7 @@ public Long getLongValue() { } /** - * Set the longValue property: The longValue property. + * Set the longValue property: A 64-bit integer. (`-9,223,372,036,854,775,808` to `9,223,372,036,854,775,807`). * * @param longValue the longValue value to set. * @return the Resource object itself. @@ -201,7 +201,7 @@ public Resource setLongValue(Long longValue) { } /** - * Get the intValue property: The intValue property. + * Get the intValue property: A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`). * * @return the intValue value. */ @@ -211,7 +211,7 @@ public Integer getIntValue() { } /** - * Set the intValue property: The intValue property. + * Set the intValue property: A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`). * * @param intValue the intValue value to set. * @return the Resource object itself. diff --git a/typespec-tests/src/main/java/com/cadl/protocolandconvenient/ProtocolAndConvenientAsyncClient.java b/typespec-tests/src/main/java/com/cadl/protocolandconvenient/ProtocolAndConvenientAsyncClient.java index ede5333c50..3822cd98a1 100644 --- a/typespec-tests/src/main/java/com/cadl/protocolandconvenient/ProtocolAndConvenientAsyncClient.java +++ b/typespec-tests/src/main/java/com/cadl/protocolandconvenient/ProtocolAndConvenientAsyncClient.java @@ -210,7 +210,7 @@ Mono> errorSettingWithResponse(BinaryData body, RequestOpti * } * } * - * @param name A sequence of textual characters. + * @param name The name parameter. * @param resource The resource instance. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -232,8 +232,7 @@ PollerFlux beginCreateOrReplace(String name, BinaryData * * * - * + * *
Query Parameters
NameTypeRequiredDescription
maxresultsLongNoAn integer that can be serialized to JSON (`−9007199254740991 - * (−(2^53 − 1))` to `9007199254740991 (2^53 − 1)` )
maxresultsLongNoThe maxPageSize parameter
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

@@ -305,7 +304,7 @@ public Mono bothConvenientAndProtocol(ResourceE body) { /** * Long running operation. * - * @param name A sequence of textual characters. + * @param name The name parameter. * @param resource The resource instance. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. diff --git a/typespec-tests/src/main/java/com/cadl/protocolandconvenient/ProtocolAndConvenientClient.java b/typespec-tests/src/main/java/com/cadl/protocolandconvenient/ProtocolAndConvenientClient.java index df82066bb1..af12d28f8b 100644 --- a/typespec-tests/src/main/java/com/cadl/protocolandconvenient/ProtocolAndConvenientClient.java +++ b/typespec-tests/src/main/java/com/cadl/protocolandconvenient/ProtocolAndConvenientClient.java @@ -203,7 +203,7 @@ Response errorSettingWithResponse(BinaryData body, RequestOptions re * } * } * - * @param name A sequence of textual characters. + * @param name The name parameter. * @param resource The resource instance. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -225,8 +225,7 @@ SyncPoller beginCreateOrReplace(String name, BinaryData * * * - * + * *
Query Parameters
NameTypeRequiredDescription
maxresultsLongNoAn integer that can be serialized to JSON (`−9007199254740991 - * (−(2^53 − 1))` to `9007199254740991 (2^53 − 1)` )
maxresultsLongNoThe maxPageSize parameter
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

@@ -297,7 +296,7 @@ public ResourceF bothConvenientAndProtocol(ResourceE body) { /** * Long running operation. * - * @param name A sequence of textual characters. + * @param name The name parameter. * @param resource The resource instance. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. diff --git a/typespec-tests/src/main/java/com/cadl/protocolandconvenient/implementation/ProtocolAndConvenienceOpsImpl.java b/typespec-tests/src/main/java/com/cadl/protocolandconvenient/implementation/ProtocolAndConvenienceOpsImpl.java index efb4a0fc1b..a9e61ad02c 100644 --- a/typespec-tests/src/main/java/com/cadl/protocolandconvenient/implementation/ProtocolAndConvenienceOpsImpl.java +++ b/typespec-tests/src/main/java/com/cadl/protocolandconvenient/implementation/ProtocolAndConvenienceOpsImpl.java @@ -532,7 +532,7 @@ public Response errorSettingWithResponse(BinaryData body, RequestOpt * } * } * - * @param name A sequence of textual characters. + * @param name The name parameter. * @param resource The resource instance. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -571,7 +571,7 @@ private Mono> createOrReplaceWithResponseAsync(String name, * } * } * - * @param name A sequence of textual characters. + * @param name The name parameter. * @param resource The resource instance. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -610,7 +610,7 @@ private Response createOrReplaceWithResponse(String name, BinaryData * } * } * - * @param name A sequence of textual characters. + * @param name The name parameter. * @param resource The resource instance. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -656,7 +656,7 @@ public PollerFlux beginCreateOrReplaceAsync(String name, * } * } * - * @param name A sequence of textual characters. + * @param name The name parameter. * @param resource The resource instance. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -702,7 +702,7 @@ public SyncPoller beginCreateOrReplace(String name, Bina * } * } * - * @param name A sequence of textual characters. + * @param name The name parameter. * @param resource The resource instance. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -748,7 +748,7 @@ public PollerFlux beginCreateOrReplaceWithModel * } * } * - * @param name A sequence of textual characters. + * @param name The name parameter. * @param resource The resource instance. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -778,8 +778,7 @@ public SyncPoller beginCreateOrReplaceWithModel * * * - * + * *
Query Parameters
NameTypeRequiredDescription
maxresultsLongNoAn integer that can be serialized to JSON (`−9007199254740991 - * (−(2^53 − 1))` to `9007199254740991 (2^53 − 1)` )
maxresultsLongNoThe maxPageSize parameter
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

@@ -816,8 +815,7 @@ private Mono> listSinglePageAsync(RequestOptions reque * * * - * + * *
Query Parameters
NameTypeRequiredDescription
maxresultsLongNoAn integer that can be serialized to JSON (`−9007199254740991 - * (−(2^53 − 1))` to `9007199254740991 (2^53 − 1)` )
maxresultsLongNoThe maxPageSize parameter
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

@@ -872,8 +870,7 @@ public PagedFlux listAsync(RequestOptions requestOptions) { * * * - * + * *
Query Parameters
NameTypeRequiredDescription
maxresultsLongNoAn integer that can be serialized to JSON (`−9007199254740991 - * (−(2^53 − 1))` to `9007199254740991 (2^53 − 1)` )
maxresultsLongNoThe maxPageSize parameter
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

@@ -908,8 +905,7 @@ private PagedResponse listSinglePage(RequestOptions requestOptions) * * * - * + * *
Query Parameters
NameTypeRequiredDescription
maxresultsLongNoAn integer that can be serialized to JSON (`−9007199254740991 - * (−(2^53 − 1))` to `9007199254740991 (2^53 − 1)` )
maxresultsLongNoThe maxPageSize parameter
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

diff --git a/typespec-tests/src/main/java/com/cadl/protocolandconvenient/models/ResourceA.java b/typespec-tests/src/main/java/com/cadl/protocolandconvenient/models/ResourceA.java index 458cc5470d..26fcb70dd2 100644 --- a/typespec-tests/src/main/java/com/cadl/protocolandconvenient/models/ResourceA.java +++ b/typespec-tests/src/main/java/com/cadl/protocolandconvenient/models/ResourceA.java @@ -18,13 +18,13 @@ @Immutable public final class ResourceA implements JsonSerializable { /* - * The id property. + * A sequence of textual characters. */ @Generated private String id; /* - * The name property. + * A sequence of textual characters. */ @Generated private final String name; @@ -40,7 +40,7 @@ public ResourceA(String name) { } /** - * Get the id property: The id property. + * Get the id property: A sequence of textual characters. * * @return the id value. */ @@ -50,7 +50,7 @@ public String getId() { } /** - * Get the name property: The name property. + * Get the name property: A sequence of textual characters. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/cadl/protocolandconvenient/models/ResourceB.java b/typespec-tests/src/main/java/com/cadl/protocolandconvenient/models/ResourceB.java index 3b110fb40f..e631704925 100644 --- a/typespec-tests/src/main/java/com/cadl/protocolandconvenient/models/ResourceB.java +++ b/typespec-tests/src/main/java/com/cadl/protocolandconvenient/models/ResourceB.java @@ -18,13 +18,13 @@ @Immutable public final class ResourceB implements JsonSerializable { /* - * The id property. + * A sequence of textual characters. */ @Generated private String id; /* - * The name property. + * A sequence of textual characters. */ @Generated private final String name; @@ -40,7 +40,7 @@ private ResourceB(String name) { } /** - * Get the id property: The id property. + * Get the id property: A sequence of textual characters. * * @return the id value. */ @@ -50,7 +50,7 @@ public String getId() { } /** - * Get the name property: The name property. + * Get the name property: A sequence of textual characters. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/cadl/protocolandconvenient/models/ResourceE.java b/typespec-tests/src/main/java/com/cadl/protocolandconvenient/models/ResourceE.java index 6072f07cb2..3f9d8d1b09 100644 --- a/typespec-tests/src/main/java/com/cadl/protocolandconvenient/models/ResourceE.java +++ b/typespec-tests/src/main/java/com/cadl/protocolandconvenient/models/ResourceE.java @@ -18,13 +18,13 @@ @Immutable public final class ResourceE implements JsonSerializable { /* - * The id property. + * A sequence of textual characters. */ @Generated private String id; /* - * The name property. + * A sequence of textual characters. */ @Generated private final String name; @@ -40,7 +40,7 @@ public ResourceE(String name) { } /** - * Get the id property: The id property. + * Get the id property: A sequence of textual characters. * * @return the id value. */ @@ -50,7 +50,7 @@ public String getId() { } /** - * Get the name property: The name property. + * Get the name property: A sequence of textual characters. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/cadl/protocolandconvenient/models/ResourceF.java b/typespec-tests/src/main/java/com/cadl/protocolandconvenient/models/ResourceF.java index b64e97d54f..dfc80d8832 100644 --- a/typespec-tests/src/main/java/com/cadl/protocolandconvenient/models/ResourceF.java +++ b/typespec-tests/src/main/java/com/cadl/protocolandconvenient/models/ResourceF.java @@ -18,13 +18,13 @@ @Immutable public final class ResourceF implements JsonSerializable { /* - * The id property. + * A sequence of textual characters. */ @Generated private String id; /* - * The name property. + * A sequence of textual characters. */ @Generated private final String name; @@ -40,7 +40,7 @@ private ResourceF(String name) { } /** - * Get the id property: The id property. + * Get the id property: A sequence of textual characters. * * @return the id value. */ @@ -50,7 +50,7 @@ public String getId() { } /** - * Get the name property: The name property. + * Get the name property: A sequence of textual characters. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/cadl/protocolandconvenient/models/ResourceI.java b/typespec-tests/src/main/java/com/cadl/protocolandconvenient/models/ResourceI.java index 27a2880709..9f94c59833 100644 --- a/typespec-tests/src/main/java/com/cadl/protocolandconvenient/models/ResourceI.java +++ b/typespec-tests/src/main/java/com/cadl/protocolandconvenient/models/ResourceI.java @@ -18,19 +18,19 @@ @Immutable public final class ResourceI implements JsonSerializable { /* - * The id property. + * A sequence of textual characters. */ @Generated private String id; /* - * The name property. + * A sequence of textual characters. */ @Generated private String name; /* - * The type property. + * A sequence of textual characters. */ @Generated private final String type; @@ -46,7 +46,7 @@ public ResourceI(String type) { } /** - * Get the id property: The id property. + * Get the id property: A sequence of textual characters. * * @return the id value. */ @@ -56,7 +56,7 @@ public String getId() { } /** - * Get the name property: The name property. + * Get the name property: A sequence of textual characters. * * @return the name value. */ @@ -66,7 +66,7 @@ public String getName() { } /** - * Get the type property: The type property. + * Get the type property: A sequence of textual characters. * * @return the type value. */ diff --git a/typespec-tests/src/main/java/com/cadl/protocolandconvenient/models/ResourceJ.java b/typespec-tests/src/main/java/com/cadl/protocolandconvenient/models/ResourceJ.java index a7acda88f5..329d37bafa 100644 --- a/typespec-tests/src/main/java/com/cadl/protocolandconvenient/models/ResourceJ.java +++ b/typespec-tests/src/main/java/com/cadl/protocolandconvenient/models/ResourceJ.java @@ -18,19 +18,19 @@ @Immutable public final class ResourceJ implements JsonSerializable { /* - * The id property. + * A sequence of textual characters. */ @Generated private String id; /* - * The name property. + * A sequence of textual characters. */ @Generated private String name; /* - * The type property. + * A sequence of textual characters. */ @Generated private final String type; @@ -46,7 +46,7 @@ private ResourceJ(String type) { } /** - * Get the id property: The id property. + * Get the id property: A sequence of textual characters. * * @return the id value. */ @@ -56,7 +56,7 @@ public String getId() { } /** - * Get the name property: The name property. + * Get the name property: A sequence of textual characters. * * @return the name value. */ @@ -66,7 +66,7 @@ public String getName() { } /** - * Get the type property: The type property. + * Get the type property: A sequence of textual characters. * * @return the type value. */ diff --git a/typespec-tests/src/main/java/com/cadl/response/models/OperationDetails1.java b/typespec-tests/src/main/java/com/cadl/response/models/OperationDetails1.java index ecffe912a1..59a22e5ad3 100644 --- a/typespec-tests/src/main/java/com/cadl/response/models/OperationDetails1.java +++ b/typespec-tests/src/main/java/com/cadl/response/models/OperationDetails1.java @@ -19,6 +19,8 @@ @Immutable public final class OperationDetails1 implements JsonSerializable { /* + * Universally Unique Identifier + * * Operation ID */ @Generated @@ -55,7 +57,9 @@ private OperationDetails1(String operationId, OperationState status) { } /** - * Get the operationId property: Operation ID. + * Get the operationId property: Universally Unique Identifier + * + * Operation ID. * * @return the operationId value. */ diff --git a/typespec-tests/src/main/java/com/cadl/response/models/OperationDetails2.java b/typespec-tests/src/main/java/com/cadl/response/models/OperationDetails2.java index 268f74a73b..c04590092c 100644 --- a/typespec-tests/src/main/java/com/cadl/response/models/OperationDetails2.java +++ b/typespec-tests/src/main/java/com/cadl/response/models/OperationDetails2.java @@ -19,6 +19,8 @@ @Immutable public final class OperationDetails2 implements JsonSerializable { /* + * Universally Unique Identifier + * * Operation ID */ @Generated @@ -55,7 +57,9 @@ private OperationDetails2(String id, OperationState status) { } /** - * Get the id property: Operation ID. + * Get the id property: Universally Unique Identifier + * + * Operation ID. * * @return the id value. */ diff --git a/typespec-tests/src/main/java/com/cadl/response/models/Resource.java b/typespec-tests/src/main/java/com/cadl/response/models/Resource.java index ca71710eb8..41eaf16165 100644 --- a/typespec-tests/src/main/java/com/cadl/response/models/Resource.java +++ b/typespec-tests/src/main/java/com/cadl/response/models/Resource.java @@ -18,25 +18,25 @@ @Fluent public final class Resource implements JsonSerializable { /* - * The id property. + * A sequence of textual characters. */ @Generated private String id; /* - * The name property. + * A sequence of textual characters. */ @Generated private String name; /* - * The description property. + * A sequence of textual characters. */ @Generated private String description; /* - * The type property. + * A sequence of textual characters. */ @Generated private final String type; @@ -52,7 +52,7 @@ public Resource(String type) { } /** - * Get the id property: The id property. + * Get the id property: A sequence of textual characters. * * @return the id value. */ @@ -62,7 +62,7 @@ public String getId() { } /** - * Get the name property: The name property. + * Get the name property: A sequence of textual characters. * * @return the name value. */ @@ -72,7 +72,7 @@ public String getName() { } /** - * Get the description property: The description property. + * Get the description property: A sequence of textual characters. * * @return the description value. */ @@ -82,7 +82,7 @@ public String getDescription() { } /** - * Set the description property: The description property. + * Set the description property: A sequence of textual characters. * * @param description the description value to set. * @return the Resource object itself. @@ -94,7 +94,7 @@ public Resource setDescription(String description) { } /** - * Get the type property: The type property. + * Get the type property: A sequence of textual characters. * * @return the type value. */ diff --git a/typespec-tests/src/main/java/com/cadl/server/ContosoAsyncClient.java b/typespec-tests/src/main/java/com/cadl/server/ContosoAsyncClient.java index fba993b0d3..b228cdc643 100644 --- a/typespec-tests/src/main/java/com/cadl/server/ContosoAsyncClient.java +++ b/typespec-tests/src/main/java/com/cadl/server/ContosoAsyncClient.java @@ -39,7 +39,7 @@ public final class ContosoAsyncClient { /** * The get operation. * - * @param group Represent a URL string as described by https://url.spec.whatwg.org/. + * @param group The group parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -56,7 +56,7 @@ public Mono> getWithResponse(String group, RequestOptions request /** * The get operation. * - * @param group Represent a URL string as described by https://url.spec.whatwg.org/. + * @param group The group parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/cadl/server/ContosoClient.java b/typespec-tests/src/main/java/com/cadl/server/ContosoClient.java index 6e754fb8a5..cf8d274aa8 100644 --- a/typespec-tests/src/main/java/com/cadl/server/ContosoClient.java +++ b/typespec-tests/src/main/java/com/cadl/server/ContosoClient.java @@ -37,7 +37,7 @@ public final class ContosoClient { /** * The get operation. * - * @param group Represent a URL string as described by https://url.spec.whatwg.org/. + * @param group The group parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -54,7 +54,7 @@ public Response getWithResponse(String group, RequestOptions requestOption /** * The get operation. * - * @param group Represent a URL string as described by https://url.spec.whatwg.org/. + * @param group The group parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/cadl/server/HttpbinAsyncClient.java b/typespec-tests/src/main/java/com/cadl/server/HttpbinAsyncClient.java index 421f32a5ee..41a954aa39 100644 --- a/typespec-tests/src/main/java/com/cadl/server/HttpbinAsyncClient.java +++ b/typespec-tests/src/main/java/com/cadl/server/HttpbinAsyncClient.java @@ -39,7 +39,7 @@ public final class HttpbinAsyncClient { /** * The status operation. * - * @param code A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`). + * @param code The code parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -56,7 +56,7 @@ public Mono> statusWithResponse(int code, RequestOptions requestO /** * The status operation. * - * @param code A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`). + * @param code The code parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/cadl/server/HttpbinClient.java b/typespec-tests/src/main/java/com/cadl/server/HttpbinClient.java index 229dab35e6..27908f7947 100644 --- a/typespec-tests/src/main/java/com/cadl/server/HttpbinClient.java +++ b/typespec-tests/src/main/java/com/cadl/server/HttpbinClient.java @@ -37,7 +37,7 @@ public final class HttpbinClient { /** * The status operation. * - * @param code A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`). + * @param code The code parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -54,7 +54,7 @@ public Response statusWithResponse(int code, RequestOptions requestOptions /** * The status operation. * - * @param code A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`). + * @param code The code parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/cadl/server/implementation/ContosoClientImpl.java b/typespec-tests/src/main/java/com/cadl/server/implementation/ContosoClientImpl.java index 24060b976d..ef7a6aa8f1 100644 --- a/typespec-tests/src/main/java/com/cadl/server/implementation/ContosoClientImpl.java +++ b/typespec-tests/src/main/java/com/cadl/server/implementation/ContosoClientImpl.java @@ -166,7 +166,7 @@ Response getSync(@HostParam("Endpoint") String endpoint, @HostParam("ApiVe /** * The get operation. * - * @param group Represent a URL string as described by https://url.spec.whatwg.org/. + * @param group The group parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -184,7 +184,7 @@ public Mono> getWithResponseAsync(String group, RequestOptions re /** * The get operation. * - * @param group Represent a URL string as described by https://url.spec.whatwg.org/. + * @param group The group parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/cadl/server/implementation/HttpbinClientImpl.java b/typespec-tests/src/main/java/com/cadl/server/implementation/HttpbinClientImpl.java index 483b591b10..c7d90a1864 100644 --- a/typespec-tests/src/main/java/com/cadl/server/implementation/HttpbinClientImpl.java +++ b/typespec-tests/src/main/java/com/cadl/server/implementation/HttpbinClientImpl.java @@ -165,7 +165,7 @@ Response statusSync(@HostParam("domain") String domain, @HostParam("tld") /** * The status operation. * - * @param code A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`). + * @param code The code parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -183,7 +183,7 @@ public Mono> statusWithResponseAsync(int code, RequestOptions req /** * The status operation. * - * @param code A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`). + * @param code The code parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/cadl/specialchars/SpecialCharsAsyncClient.java b/typespec-tests/src/main/java/com/cadl/specialchars/SpecialCharsAsyncClient.java index c7614d56fe..2237bbc4a5 100644 --- a/typespec-tests/src/main/java/com/cadl/specialchars/SpecialCharsAsyncClient.java +++ b/typespec-tests/src/main/java/com/cadl/specialchars/SpecialCharsAsyncClient.java @@ -78,7 +78,7 @@ public Mono> readWithResponse(BinaryData request, RequestOp /** * The read operation. * - * @param id A sequence of textual characters. + * @param id The id parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/cadl/specialchars/SpecialCharsClient.java b/typespec-tests/src/main/java/com/cadl/specialchars/SpecialCharsClient.java index 5347ff90e5..be6cadb7dd 100644 --- a/typespec-tests/src/main/java/com/cadl/specialchars/SpecialCharsClient.java +++ b/typespec-tests/src/main/java/com/cadl/specialchars/SpecialCharsClient.java @@ -76,7 +76,7 @@ public Response readWithResponse(BinaryData request, RequestOptions /** * The read operation. * - * @param id A sequence of textual characters. + * @param id The id parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/cadl/specialchars/implementation/models/ReadRequest.java b/typespec-tests/src/main/java/com/cadl/specialchars/implementation/models/ReadRequest.java index dd33077211..a3588bd3d3 100644 --- a/typespec-tests/src/main/java/com/cadl/specialchars/implementation/models/ReadRequest.java +++ b/typespec-tests/src/main/java/com/cadl/specialchars/implementation/models/ReadRequest.java @@ -18,7 +18,7 @@ @Immutable public final class ReadRequest implements JsonSerializable { /* - * The id property. + * A sequence of textual characters. */ @Generated private final String id; @@ -34,7 +34,7 @@ public ReadRequest(String id) { } /** - * Get the id property: The id property. + * Get the id property: A sequence of textual characters. * * @return the id value. */ diff --git a/typespec-tests/src/main/java/com/cadl/specialchars/models/Resource.java b/typespec-tests/src/main/java/com/cadl/specialchars/models/Resource.java index 08f453b063..4f5706c71a 100644 --- a/typespec-tests/src/main/java/com/cadl/specialchars/models/Resource.java +++ b/typespec-tests/src/main/java/com/cadl/specialchars/models/Resource.java @@ -18,12 +18,16 @@ @Immutable public final class Resource implements JsonSerializable { /* + * A sequence of textual characters. + * * id */ @Generated private final String id; /* + * A sequence of textual characters. + * * The aggregation function to be applied on the client metric. Allowed functions * - ‘percentage’ - for error metric , ‘avg’, ‘p50’, ‘p90’, ‘p95’, ‘p99’, ‘min’, * ‘max’ - for response_time_ms and latency metric, ‘avg’ - for requests_per_sec, @@ -33,18 +37,24 @@ public final class Resource implements JsonSerializable { private String aggregate; /* + * A sequence of textual characters. + * * The comparison operator. Supported types ‘>’, ‘<’ */ @Generated private String condition; /* + * A sequence of textual characters. + * * Request name for which the Pass fail criteria has to be applied */ @Generated private String requestName; /* + * A 32 bit floating point number. (`±5.0 × 10^−324` to `±1.7 × 10^308`) + * * The value to compare with the client metric. Allowed values - ‘error : [0.0 , * 100.0] unit- % ’, response_time_ms and latency : any integer value unit- ms. */ @@ -62,7 +72,9 @@ private Resource(String id) { } /** - * Get the id property: id. + * Get the id property: A sequence of textual characters. + * + * id. * * @return the id value. */ @@ -72,7 +84,9 @@ public String getId() { } /** - * Get the aggregate property: The aggregation function to be applied on the client metric. Allowed functions + * Get the aggregate property: A sequence of textual characters. + * + * The aggregation function to be applied on the client metric. Allowed functions * - ‘percentage’ - for error metric , ‘avg’, ‘p50’, ‘p90’, ‘p95’, ‘p99’, ‘min’, * ‘max’ - for response_time_ms and latency metric, ‘avg’ - for requests_per_sec, * ‘count’ - for requests. @@ -85,7 +99,9 @@ public String getAggregate() { } /** - * Get the condition property: The comparison operator. Supported types ‘>’, ‘<’. + * Get the condition property: A sequence of textual characters. + * + * The comparison operator. Supported types ‘>’, ‘<’. * * @return the condition value. */ @@ -95,7 +111,9 @@ public String getCondition() { } /** - * Get the requestName property: Request name for which the Pass fail criteria has to be applied. + * Get the requestName property: A sequence of textual characters. + * + * Request name for which the Pass fail criteria has to be applied. * * @return the requestName value. */ @@ -105,7 +123,9 @@ public String getRequestName() { } /** - * Get the value property: The value to compare with the client metric. Allowed values - ‘error : [0.0 , + * Get the value property: A 32 bit floating point number. (`±5.0 × 10^−324` to `±1.7 × 10^308`) + * + * The value to compare with the client metric. Allowed values - ‘error : [0.0 , * 100.0] unit- % ’, response_time_ms and latency : any integer value unit- ms. * * @return the value value. diff --git a/typespec-tests/src/main/java/com/cadl/specialheaders/EtagHeadersAsyncClient.java b/typespec-tests/src/main/java/com/cadl/specialheaders/EtagHeadersAsyncClient.java index 65c2041d8a..7225fc9abf 100644 --- a/typespec-tests/src/main/java/com/cadl/specialheaders/EtagHeadersAsyncClient.java +++ b/typespec-tests/src/main/java/com/cadl/specialheaders/EtagHeadersAsyncClient.java @@ -87,7 +87,7 @@ public final class EtagHeadersAsyncClient { * } * } * - * @param name A sequence of textual characters. + * @param name The name parameter. * @param resource The resource instance. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -137,7 +137,7 @@ public Mono> putWithRequestHeadersWithResponse(String name, * } * } * - * @param name A sequence of textual characters. + * @param name The name parameter. * @param resource The resource instance. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -182,7 +182,7 @@ public PagedFlux listWithEtag(RequestOptions requestOptions) { /** * Create or replace operation template. * - * @param name A sequence of textual characters. + * @param name The name parameter. * @param resource The resource instance. * @param requestConditions Specifies HTTP options for conditional requests based on modification time. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -224,7 +224,7 @@ public Mono putWithRequestHeaders(String name, Resource resource, Requ /** * Create or replace operation template. * - * @param name A sequence of textual characters. + * @param name The name parameter. * @param resource The resource instance. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -247,7 +247,7 @@ public Mono putWithRequestHeaders(String name, Resource resource) { /** * Create or update operation template. * - * @param name A sequence of textual characters. + * @param name The name parameter. * @param resource The resource instance. * @param matchConditions Specifies HTTP options for conditional requests. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -281,7 +281,7 @@ public Mono patchWithMatchHeaders(String name, Resource resource, Matc /** * Create or update operation template. * - * @param name A sequence of textual characters. + * @param name The name parameter. * @param resource The resource instance. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. diff --git a/typespec-tests/src/main/java/com/cadl/specialheaders/EtagHeadersClient.java b/typespec-tests/src/main/java/com/cadl/specialheaders/EtagHeadersClient.java index be0373dd45..63037044ee 100644 --- a/typespec-tests/src/main/java/com/cadl/specialheaders/EtagHeadersClient.java +++ b/typespec-tests/src/main/java/com/cadl/specialheaders/EtagHeadersClient.java @@ -81,7 +81,7 @@ public final class EtagHeadersClient { * } * } * - * @param name A sequence of textual characters. + * @param name The name parameter. * @param resource The resource instance. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -131,7 +131,7 @@ public Response putWithRequestHeadersWithResponse(String name, Binar * } * } * - * @param name A sequence of textual characters. + * @param name The name parameter. * @param resource The resource instance. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -176,7 +176,7 @@ public PagedIterable listWithEtag(RequestOptions requestOptions) { /** * Create or replace operation template. * - * @param name A sequence of textual characters. + * @param name The name parameter. * @param resource The resource instance. * @param requestConditions Specifies HTTP options for conditional requests based on modification time. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -217,7 +217,7 @@ public Resource putWithRequestHeaders(String name, Resource resource, RequestCon /** * Create or replace operation template. * - * @param name A sequence of textual characters. + * @param name The name parameter. * @param resource The resource instance. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -239,7 +239,7 @@ public Resource putWithRequestHeaders(String name, Resource resource) { /** * Create or update operation template. * - * @param name A sequence of textual characters. + * @param name The name parameter. * @param resource The resource instance. * @param matchConditions Specifies HTTP options for conditional requests. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -273,7 +273,7 @@ public Resource patchWithMatchHeaders(String name, Resource resource, MatchCondi /** * Create or update operation template. * - * @param name A sequence of textual characters. + * @param name The name parameter. * @param resource The resource instance. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. diff --git a/typespec-tests/src/main/java/com/cadl/specialheaders/EtagHeadersOptionalBodyAsyncClient.java b/typespec-tests/src/main/java/com/cadl/specialheaders/EtagHeadersOptionalBodyAsyncClient.java index 9aced3d6fb..ab66a8d62b 100644 --- a/typespec-tests/src/main/java/com/cadl/specialheaders/EtagHeadersOptionalBodyAsyncClient.java +++ b/typespec-tests/src/main/java/com/cadl/specialheaders/EtagHeadersOptionalBodyAsyncClient.java @@ -48,7 +48,7 @@ public final class EtagHeadersOptionalBodyAsyncClient { * * * - * + * *
Query Parameters
NameTypeRequiredDescription
filterStringNoA sequence of textual characters.
filterStringNoThe filter parameter
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Header Parameters

@@ -63,8 +63,7 @@ public final class EtagHeadersOptionalBodyAsyncClient { * entity was not modified after this time. * If-Modified-SinceOffsetDateTimeNoThe request should only proceed if the entity * was modified after this time. - * timestampOffsetDateTimeNoAn instant in coordinated universal time - * (UTC)" + * timestampOffsetDateTimeNoThe timestamp parameter * * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

@@ -89,7 +88,7 @@ public final class EtagHeadersOptionalBodyAsyncClient { * } * } * - * @param format A sequence of textual characters. + * @param format The format parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -106,9 +105,9 @@ public Mono> putWithOptionalBodyWithResponse(String format, /** * etag headers among other optional query/header/body parameters. * - * @param format A sequence of textual characters. - * @param filter A sequence of textual characters. - * @param timestamp An instant in coordinated universal time (UTC)". + * @param format The format parameter. + * @param filter The filter parameter. + * @param timestamp The timestamp parameter. * @param body The body parameter. * @param requestConditions Specifies HTTP options for conditional requests based on modification time. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -159,7 +158,7 @@ public Mono putWithOptionalBody(String format, String filter, OffsetDa /** * etag headers among other optional query/header/body parameters. * - * @param format A sequence of textual characters. + * @param format The format parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/cadl/specialheaders/EtagHeadersOptionalBodyClient.java b/typespec-tests/src/main/java/com/cadl/specialheaders/EtagHeadersOptionalBodyClient.java index ed11199b91..c811a07301 100644 --- a/typespec-tests/src/main/java/com/cadl/specialheaders/EtagHeadersOptionalBodyClient.java +++ b/typespec-tests/src/main/java/com/cadl/specialheaders/EtagHeadersOptionalBodyClient.java @@ -46,7 +46,7 @@ public final class EtagHeadersOptionalBodyClient { * * * - * + * *
Query Parameters
NameTypeRequiredDescription
filterStringNoA sequence of textual characters.
filterStringNoThe filter parameter
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Header Parameters

@@ -61,8 +61,7 @@ public final class EtagHeadersOptionalBodyClient { * entity was not modified after this time. * If-Modified-SinceOffsetDateTimeNoThe request should only proceed if the entity * was modified after this time. - * timestampOffsetDateTimeNoAn instant in coordinated universal time - * (UTC)" + * timestampOffsetDateTimeNoThe timestamp parameter * * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

@@ -87,7 +86,7 @@ public final class EtagHeadersOptionalBodyClient { * } * } * - * @param format A sequence of textual characters. + * @param format The format parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -104,9 +103,9 @@ public Response putWithOptionalBodyWithResponse(String format, Reque /** * etag headers among other optional query/header/body parameters. * - * @param format A sequence of textual characters. - * @param filter A sequence of textual characters. - * @param timestamp An instant in coordinated universal time (UTC)". + * @param format The format parameter. + * @param filter The filter parameter. + * @param timestamp The timestamp parameter. * @param body The body parameter. * @param requestConditions Specifies HTTP options for conditional requests based on modification time. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -156,7 +155,7 @@ public Resource putWithOptionalBody(String format, String filter, OffsetDateTime /** * etag headers among other optional query/header/body parameters. * - * @param format A sequence of textual characters. + * @param format The format parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/cadl/specialheaders/RepeatabilityHeadersAsyncClient.java b/typespec-tests/src/main/java/com/cadl/specialheaders/RepeatabilityHeadersAsyncClient.java index 24778f5ccc..359861f1f9 100644 --- a/typespec-tests/src/main/java/com/cadl/specialheaders/RepeatabilityHeadersAsyncClient.java +++ b/typespec-tests/src/main/java/com/cadl/specialheaders/RepeatabilityHeadersAsyncClient.java @@ -54,7 +54,7 @@ public final class RepeatabilityHeadersAsyncClient { * } * } * - * @param name A sequence of textual characters. + * @param name The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -101,7 +101,7 @@ public Mono> getWithResponse(String name, RequestOptions re * } * } * - * @param name A sequence of textual characters. + * @param name The name parameter. * @param resource The resource instance. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -138,7 +138,7 @@ public Mono> putWithResponse(String name, BinaryData resour * } * } * - * @param name A sequence of textual characters. + * @param name The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -185,7 +185,7 @@ public Mono> postWithResponse(String name, RequestOptions r * } * } * - * @param name A sequence of textual characters. + * @param name The name parameter. * @param resource The resource instance. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -204,7 +204,7 @@ public PollerFlux beginCreateLro(String name, BinaryData /** * Resource read operation template. * - * @param name A sequence of textual characters. + * @param name The name parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -225,7 +225,7 @@ public Mono get(String name) { /** * Send a put request with header Repeatability-Request-ID and Repeatability-First-Sent. * - * @param name A sequence of textual characters. + * @param name The name parameter. * @param resource The resource instance. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -247,7 +247,7 @@ public Mono put(String name, Resource resource) { /** * Send a post request with header Repeatability-Request-ID and Repeatability-First-Sent. * - * @param name A sequence of textual characters. + * @param name The name parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -268,7 +268,7 @@ public Mono post(String name) { /** * Send a LRO request with header Repeatability-Request-ID and Repeatability-First-Sent. * - * @param name A sequence of textual characters. + * @param name The name parameter. * @param resource The resource instance. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. diff --git a/typespec-tests/src/main/java/com/cadl/specialheaders/RepeatabilityHeadersClient.java b/typespec-tests/src/main/java/com/cadl/specialheaders/RepeatabilityHeadersClient.java index e1d8eee16a..b2b6128f8c 100644 --- a/typespec-tests/src/main/java/com/cadl/specialheaders/RepeatabilityHeadersClient.java +++ b/typespec-tests/src/main/java/com/cadl/specialheaders/RepeatabilityHeadersClient.java @@ -52,7 +52,7 @@ public final class RepeatabilityHeadersClient { * } * } * - * @param name A sequence of textual characters. + * @param name The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -99,7 +99,7 @@ public Response getWithResponse(String name, RequestOptions requestO * } * } * - * @param name A sequence of textual characters. + * @param name The name parameter. * @param resource The resource instance. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -136,7 +136,7 @@ public Response putWithResponse(String name, BinaryData resource, Re * } * } * - * @param name A sequence of textual characters. + * @param name The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -183,7 +183,7 @@ public Response postWithResponse(String name, RequestOptions request * } * } * - * @param name A sequence of textual characters. + * @param name The name parameter. * @param resource The resource instance. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -202,7 +202,7 @@ public SyncPoller beginCreateLro(String name, BinaryData /** * Resource read operation template. * - * @param name A sequence of textual characters. + * @param name The name parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -222,7 +222,7 @@ public Resource get(String name) { /** * Send a put request with header Repeatability-Request-ID and Repeatability-First-Sent. * - * @param name A sequence of textual characters. + * @param name The name parameter. * @param resource The resource instance. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -244,7 +244,7 @@ public Resource put(String name, Resource resource) { /** * Send a post request with header Repeatability-Request-ID and Repeatability-First-Sent. * - * @param name A sequence of textual characters. + * @param name The name parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -264,7 +264,7 @@ public Resource post(String name) { /** * Send a LRO request with header Repeatability-Request-ID and Repeatability-First-Sent. * - * @param name A sequence of textual characters. + * @param name The name parameter. * @param resource The resource instance. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. diff --git a/typespec-tests/src/main/java/com/cadl/specialheaders/SkipSpecialHeadersAsyncClient.java b/typespec-tests/src/main/java/com/cadl/specialheaders/SkipSpecialHeadersAsyncClient.java index e23ac72e00..aac583b74c 100644 --- a/typespec-tests/src/main/java/com/cadl/specialheaders/SkipSpecialHeadersAsyncClient.java +++ b/typespec-tests/src/main/java/com/cadl/specialheaders/SkipSpecialHeadersAsyncClient.java @@ -39,8 +39,8 @@ public final class SkipSpecialHeadersAsyncClient { /** * skip special headers. * - * @param name A sequence of textual characters. - * @param foo A sequence of textual characters. + * @param name The name parameter. + * @param foo The foo parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -58,8 +58,8 @@ public Mono> deleteWithSpecialHeadersWithResponse(String name, St /** * skip special headers. * - * @param name A sequence of textual characters. - * @param foo A sequence of textual characters. + * @param name The name parameter. + * @param foo The foo parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/cadl/specialheaders/SkipSpecialHeadersClient.java b/typespec-tests/src/main/java/com/cadl/specialheaders/SkipSpecialHeadersClient.java index 766fd2fd1a..40043ed829 100644 --- a/typespec-tests/src/main/java/com/cadl/specialheaders/SkipSpecialHeadersClient.java +++ b/typespec-tests/src/main/java/com/cadl/specialheaders/SkipSpecialHeadersClient.java @@ -37,8 +37,8 @@ public final class SkipSpecialHeadersClient { /** * skip special headers. * - * @param name A sequence of textual characters. - * @param foo A sequence of textual characters. + * @param name The name parameter. + * @param foo The foo parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -55,8 +55,8 @@ public Response deleteWithSpecialHeadersWithResponse(String name, String f /** * skip special headers. * - * @param name A sequence of textual characters. - * @param foo A sequence of textual characters. + * @param name The name parameter. + * @param foo The foo parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/cadl/specialheaders/implementation/EtagHeadersImpl.java b/typespec-tests/src/main/java/com/cadl/specialheaders/implementation/EtagHeadersImpl.java index 63130e7ab2..57967b3d50 100644 --- a/typespec-tests/src/main/java/com/cadl/specialheaders/implementation/EtagHeadersImpl.java +++ b/typespec-tests/src/main/java/com/cadl/specialheaders/implementation/EtagHeadersImpl.java @@ -204,7 +204,7 @@ Response listWithEtagNextSync(@PathParam(value = "nextLink", encoded * } * } * - * @param name A sequence of textual characters. + * @param name The name parameter. * @param resource The resource instance. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -259,7 +259,7 @@ public Mono> putWithRequestHeadersWithResponseAsync(String * } * } * - * @param name A sequence of textual characters. + * @param name The name parameter. * @param resource The resource instance. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -310,7 +310,7 @@ public Response putWithRequestHeadersWithResponse(String name, Binar * } * } * - * @param name A sequence of textual characters. + * @param name The name parameter. * @param resource The resource instance. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -363,7 +363,7 @@ public Mono> patchWithMatchHeadersWithResponseAsync(String * } * } * - * @param name A sequence of textual characters. + * @param name The name parameter. * @param resource The resource instance. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. diff --git a/typespec-tests/src/main/java/com/cadl/specialheaders/implementation/EtagHeadersOptionalBodiesImpl.java b/typespec-tests/src/main/java/com/cadl/specialheaders/implementation/EtagHeadersOptionalBodiesImpl.java index c3ef01430c..b1420900f1 100644 --- a/typespec-tests/src/main/java/com/cadl/specialheaders/implementation/EtagHeadersOptionalBodiesImpl.java +++ b/typespec-tests/src/main/java/com/cadl/specialheaders/implementation/EtagHeadersOptionalBodiesImpl.java @@ -96,7 +96,7 @@ Response putWithOptionalBodySync(@HostParam("endpoint") String endpo * * * - * + * *
Query Parameters
NameTypeRequiredDescription
filterStringNoA sequence of textual characters.
filterStringNoThe filter parameter
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Header Parameters

@@ -111,8 +111,7 @@ Response putWithOptionalBodySync(@HostParam("endpoint") String endpo * entity was not modified after this time. * If-Modified-SinceOffsetDateTimeNoThe request should only proceed if the entity * was modified after this time. - * timestampOffsetDateTimeNoAn instant in coordinated universal time - * (UTC)" + * timestampOffsetDateTimeNoThe timestamp parameter * * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

@@ -137,7 +136,7 @@ Response putWithOptionalBodySync(@HostParam("endpoint") String endpo * } * } * - * @param format A sequence of textual characters. + * @param format The format parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -165,7 +164,7 @@ public Mono> putWithOptionalBodyWithResponseAsync(String fo * * * - * + * *
Query Parameters
NameTypeRequiredDescription
filterStringNoA sequence of textual characters.
filterStringNoThe filter parameter
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Header Parameters

@@ -180,8 +179,7 @@ public Mono> putWithOptionalBodyWithResponseAsync(String fo * entity was not modified after this time. * If-Modified-SinceOffsetDateTimeNoThe request should only proceed if the entity * was modified after this time. - * timestampOffsetDateTimeNoAn instant in coordinated universal time - * (UTC)" + * timestampOffsetDateTimeNoThe timestamp parameter * * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

@@ -206,7 +204,7 @@ public Mono> putWithOptionalBodyWithResponseAsync(String fo * } * } * - * @param format A sequence of textual characters. + * @param format The format parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/cadl/specialheaders/implementation/RepeatabilityHeadersImpl.java b/typespec-tests/src/main/java/com/cadl/specialheaders/implementation/RepeatabilityHeadersImpl.java index d205e21b2f..b8486a15e9 100644 --- a/typespec-tests/src/main/java/com/cadl/specialheaders/implementation/RepeatabilityHeadersImpl.java +++ b/typespec-tests/src/main/java/com/cadl/specialheaders/implementation/RepeatabilityHeadersImpl.java @@ -184,7 +184,7 @@ Response createLroSync(@HostParam("endpoint") String endpoint, * } * } * - * @param name A sequence of textual characters. + * @param name The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -212,7 +212,7 @@ public Mono> getWithResponseAsync(String name, RequestOptio * } * } * - * @param name A sequence of textual characters. + * @param name The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -260,7 +260,7 @@ public Response getWithResponse(String name, RequestOptions requestO * } * } * - * @param name A sequence of textual characters. + * @param name The name parameter. * @param resource The resource instance. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -325,7 +325,7 @@ public Mono> putWithResponseAsync(String name, BinaryData r * } * } * - * @param name A sequence of textual characters. + * @param name The name parameter. * @param resource The resource instance. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -378,7 +378,7 @@ public Response putWithResponse(String name, BinaryData resource, Re * } * } * - * @param name A sequence of textual characters. + * @param name The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -430,7 +430,7 @@ public Mono> postWithResponseAsync(String name, RequestOpti * } * } * - * @param name A sequence of textual characters. + * @param name The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -493,7 +493,7 @@ public Response postWithResponse(String name, RequestOptions request * } * } * - * @param name A sequence of textual characters. + * @param name The name parameter. * @param resource The resource instance. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -560,7 +560,7 @@ private Mono> createLroWithResponseAsync(String name, Binar * } * } * - * @param name A sequence of textual characters. + * @param name The name parameter. * @param resource The resource instance. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -626,7 +626,7 @@ private Response createLroWithResponse(String name, BinaryData resou * } * } * - * @param name A sequence of textual characters. + * @param name The name parameter. * @param resource The resource instance. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -683,7 +683,7 @@ public PollerFlux beginCreateLroAsync(String name, Binar * } * } * - * @param name A sequence of textual characters. + * @param name The name parameter. * @param resource The resource instance. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -740,7 +740,7 @@ public SyncPoller beginCreateLro(String name, BinaryData * } * } * - * @param name A sequence of textual characters. + * @param name The name parameter. * @param resource The resource instance. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -797,7 +797,7 @@ public PollerFlux beginCreateLroWithModelAsync(S * } * } * - * @param name A sequence of textual characters. + * @param name The name parameter. * @param resource The resource instance. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. diff --git a/typespec-tests/src/main/java/com/cadl/specialheaders/implementation/SkipSpecialHeadersImpl.java b/typespec-tests/src/main/java/com/cadl/specialheaders/implementation/SkipSpecialHeadersImpl.java index cea6bf7e46..fe882ab8ec 100644 --- a/typespec-tests/src/main/java/com/cadl/specialheaders/implementation/SkipSpecialHeadersImpl.java +++ b/typespec-tests/src/main/java/com/cadl/specialheaders/implementation/SkipSpecialHeadersImpl.java @@ -94,8 +94,8 @@ Response deleteWithSpecialHeadersSync(@HostParam("endpoint") String endpoi /** * skip special headers. * - * @param name A sequence of textual characters. - * @param foo A sequence of textual characters. + * @param name The name parameter. + * @param foo The foo parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -114,8 +114,8 @@ public Mono> deleteWithSpecialHeadersWithResponseAsync(String nam /** * skip special headers. * - * @param name A sequence of textual characters. - * @param foo A sequence of textual characters. + * @param name The name parameter. + * @param foo The foo parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/cadl/specialheaders/models/Resource.java b/typespec-tests/src/main/java/com/cadl/specialheaders/models/Resource.java index 1176172de2..6801547b39 100644 --- a/typespec-tests/src/main/java/com/cadl/specialheaders/models/Resource.java +++ b/typespec-tests/src/main/java/com/cadl/specialheaders/models/Resource.java @@ -21,25 +21,25 @@ @Fluent public final class Resource implements JsonSerializable { /* - * The id property. + * A sequence of textual characters. */ @Generated private String id; /* - * The name property. + * A sequence of textual characters. */ @Generated private String name; /* - * The description property. + * A sequence of textual characters. */ @Generated private String description; /* - * The type property. + * A sequence of textual characters. */ @Generated private String type; @@ -73,7 +73,7 @@ public Resource() { } /** - * Get the id property: The id property. + * Get the id property: A sequence of textual characters. * * @return the id value. */ @@ -83,7 +83,7 @@ public String getId() { } /** - * Get the name property: The name property. + * Get the name property: A sequence of textual characters. * * @return the name value. */ @@ -93,7 +93,7 @@ public String getName() { } /** - * Get the description property: The description property. + * Get the description property: A sequence of textual characters. * * @return the description value. */ @@ -103,7 +103,7 @@ public String getDescription() { } /** - * Set the description property: The description property. + * Set the description property: A sequence of textual characters. * * @param description the description value to set. * @return the Resource object itself. @@ -116,7 +116,7 @@ public Resource setDescription(String description) { } /** - * Get the type property: The type property. + * Get the type property: A sequence of textual characters. * * @return the type value. */ @@ -126,7 +126,7 @@ public String getType() { } /** - * Set the type property: The type property. + * Set the type property: A sequence of textual characters. *

Required when create the resource.

* * @param type the type value to set. diff --git a/typespec-tests/src/main/java/com/cadl/union/UnionAsyncClient.java b/typespec-tests/src/main/java/com/cadl/union/UnionAsyncClient.java index 2284c0a6e3..d940c46a99 100644 --- a/typespec-tests/src/main/java/com/cadl/union/UnionAsyncClient.java +++ b/typespec-tests/src/main/java/com/cadl/union/UnionAsyncClient.java @@ -57,7 +57,7 @@ public final class UnionAsyncClient { * } * } * - * @param id A sequence of textual characters. + * @param id The id parameter. * @param request The request parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -78,7 +78,7 @@ public Mono> sendWithResponse(String id, BinaryData request, Requ * * * - * + * *
Query Parameters
NameTypeRequiredDescription
filterStringNoA sequence of textual characters.
filterStringNoThe filter parameter
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Request Body Schema

@@ -96,7 +96,7 @@ public Mono> sendWithResponse(String id, BinaryData request, Requ * } * } * - * @param id A sequence of textual characters. + * @param id The id parameter. * @param request The request parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -169,7 +169,7 @@ public PollerFlux beginGenerate(RequestOptions requestOp /** * The send operation. * - * @param id A sequence of textual characters. + * @param id The id parameter. * @param input The input parameter. * @param user The user parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -193,7 +193,7 @@ public Mono send(String id, BinaryData input, User user) { /** * The send operation. * - * @param id A sequence of textual characters. + * @param id The id parameter. * @param input The input parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. diff --git a/typespec-tests/src/main/java/com/cadl/union/UnionClient.java b/typespec-tests/src/main/java/com/cadl/union/UnionClient.java index e75374919a..4879a6a3ef 100644 --- a/typespec-tests/src/main/java/com/cadl/union/UnionClient.java +++ b/typespec-tests/src/main/java/com/cadl/union/UnionClient.java @@ -55,7 +55,7 @@ public final class UnionClient { * } * } * - * @param id A sequence of textual characters. + * @param id The id parameter. * @param request The request parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -76,7 +76,7 @@ public Response sendWithResponse(String id, BinaryData request, RequestOpt * * * - * + * *
Query Parameters
NameTypeRequiredDescription
filterStringNoA sequence of textual characters.
filterStringNoThe filter parameter
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Request Body Schema

@@ -94,7 +94,7 @@ public Response sendWithResponse(String id, BinaryData request, RequestOpt * } * } * - * @param id A sequence of textual characters. + * @param id The id parameter. * @param request The request parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -167,7 +167,7 @@ public SyncPoller beginGenerate(RequestOptions requestOp /** * The send operation. * - * @param id A sequence of textual characters. + * @param id The id parameter. * @param input The input parameter. * @param user The user parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -190,7 +190,7 @@ public void send(String id, BinaryData input, User user) { /** * The send operation. * - * @param id A sequence of textual characters. + * @param id The id parameter. * @param input The input parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. diff --git a/typespec-tests/src/main/java/com/cadl/union/implementation/UnionFlattenOpsImpl.java b/typespec-tests/src/main/java/com/cadl/union/implementation/UnionFlattenOpsImpl.java index b4e3dd69b7..d45e304ded 100644 --- a/typespec-tests/src/main/java/com/cadl/union/implementation/UnionFlattenOpsImpl.java +++ b/typespec-tests/src/main/java/com/cadl/union/implementation/UnionFlattenOpsImpl.java @@ -169,7 +169,7 @@ Response generateSync(@HostParam("endpoint") String endpoint, * } * } * - * @param id A sequence of textual characters. + * @param id The id parameter. * @param request The request parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -198,7 +198,7 @@ public Mono> sendWithResponseAsync(String id, BinaryData request, * } * } * - * @param id A sequence of textual characters. + * @param id The id parameter. * @param request The request parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -220,7 +220,7 @@ public Response sendWithResponse(String id, BinaryData request, RequestOpt * * * - * + * *
Query Parameters
NameTypeRequiredDescription
filterStringNoA sequence of textual characters.
filterStringNoThe filter parameter
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Request Body Schema

@@ -238,7 +238,7 @@ public Response sendWithResponse(String id, BinaryData request, RequestOpt * } * } * - * @param id A sequence of textual characters. + * @param id The id parameter. * @param request The request parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -261,7 +261,7 @@ public Mono> sendLongWithResponseAsync(String id, BinaryData requ * * * - * + * *
Query Parameters
NameTypeRequiredDescription
filterStringNoA sequence of textual characters.
filterStringNoThe filter parameter
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Request Body Schema

@@ -279,7 +279,7 @@ public Mono> sendLongWithResponseAsync(String id, BinaryData requ * } * } * - * @param id A sequence of textual characters. + * @param id The id parameter. * @param request The request parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. diff --git a/typespec-tests/src/main/java/com/cadl/union/implementation/models/SendLongRequest.java b/typespec-tests/src/main/java/com/cadl/union/implementation/models/SendLongRequest.java index c5c4ee9c02..19724e5858 100644 --- a/typespec-tests/src/main/java/com/cadl/union/implementation/models/SendLongRequest.java +++ b/typespec-tests/src/main/java/com/cadl/union/implementation/models/SendLongRequest.java @@ -26,13 +26,13 @@ public final class SendLongRequest implements JsonSerializable private User user; /* - * The input property. + * A sequence of textual characters. */ @Generated private final String input; /* - * The dataInt property. + * A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) */ @Generated private final int dataInt; @@ -44,13 +44,13 @@ public final class SendLongRequest implements JsonSerializable private BinaryData dataUnion; /* - * The dataLong property. + * A 64-bit integer. (`-9,223,372,036,854,775,808` to `9,223,372,036,854,775,807`) */ @Generated private Long dataLong; /* - * The data_float property. + * A 32 bit floating point number. (`±1.5 x 10^−45` to `±3.4 x 10^38`) */ @Generated private Double dataFloat; @@ -90,7 +90,7 @@ public SendLongRequest setUser(User user) { } /** - * Get the input property: The input property. + * Get the input property: A sequence of textual characters. * * @return the input value. */ @@ -100,7 +100,7 @@ public String getInput() { } /** - * Get the dataInt property: The dataInt property. + * Get the dataInt property: A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`). * * @return the dataInt value. */ @@ -132,7 +132,7 @@ public SendLongRequest setDataUnion(BinaryData dataUnion) { } /** - * Get the dataLong property: The dataLong property. + * Get the dataLong property: A 64-bit integer. (`-9,223,372,036,854,775,808` to `9,223,372,036,854,775,807`). * * @return the dataLong value. */ @@ -142,7 +142,7 @@ public Long getDataLong() { } /** - * Set the dataLong property: The dataLong property. + * Set the dataLong property: A 64-bit integer. (`-9,223,372,036,854,775,808` to `9,223,372,036,854,775,807`). * * @param dataLong the dataLong value to set. * @return the SendLongRequest object itself. @@ -154,7 +154,7 @@ public SendLongRequest setDataLong(Long dataLong) { } /** - * Get the dataFloat property: The data_float property. + * Get the dataFloat property: A 32 bit floating point number. (`±1.5 x 10^−45` to `±3.4 x 10^38`). * * @return the dataFloat value. */ @@ -164,7 +164,7 @@ public Double getDataFloat() { } /** - * Set the dataFloat property: The data_float property. + * Set the dataFloat property: A 32 bit floating point number. (`±1.5 x 10^−45` to `±3.4 x 10^38`). * * @param dataFloat the dataFloat value to set. * @return the SendLongRequest object itself. diff --git a/typespec-tests/src/main/java/com/cadl/union/implementation/models/SubResult.java b/typespec-tests/src/main/java/com/cadl/union/implementation/models/SubResult.java index aa2f21de33..17d0ec71b3 100644 --- a/typespec-tests/src/main/java/com/cadl/union/implementation/models/SubResult.java +++ b/typespec-tests/src/main/java/com/cadl/union/implementation/models/SubResult.java @@ -19,7 +19,7 @@ @Fluent public final class SubResult extends Result { /* - * The text property. + * A sequence of textual characters. */ @Generated private String text; @@ -42,7 +42,7 @@ public SubResult(String name, BinaryData data) { } /** - * Get the text property: The text property. + * Get the text property: A sequence of textual characters. * * @return the text value. */ @@ -52,7 +52,7 @@ public String getText() { } /** - * Set the text property: The text property. + * Set the text property: A sequence of textual characters. * * @param text the text value to set. * @return the SubResult object itself. diff --git a/typespec-tests/src/main/java/com/cadl/union/models/Result.java b/typespec-tests/src/main/java/com/cadl/union/models/Result.java index 0918b64826..f66edbf047 100644 --- a/typespec-tests/src/main/java/com/cadl/union/models/Result.java +++ b/typespec-tests/src/main/java/com/cadl/union/models/Result.java @@ -19,7 +19,7 @@ @Fluent public class Result implements JsonSerializable { /* - * The name property. + * A sequence of textual characters. */ @Generated private final String name; @@ -49,7 +49,7 @@ public Result(String name, BinaryData data) { } /** - * Get the name property: The name property. + * Get the name property: A sequence of textual characters. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/cadl/union/models/SendLongOptions.java b/typespec-tests/src/main/java/com/cadl/union/models/SendLongOptions.java index 7d14286ea4..d2515c600e 100644 --- a/typespec-tests/src/main/java/com/cadl/union/models/SendLongOptions.java +++ b/typespec-tests/src/main/java/com/cadl/union/models/SendLongOptions.java @@ -14,13 +14,13 @@ @Fluent public final class SendLongOptions { /* - * The id property. + * A sequence of textual characters. */ @Generated private final String id; /* - * The filter property. + * A sequence of textual characters. */ @Generated private String filter; @@ -32,13 +32,13 @@ public final class SendLongOptions { private User user; /* - * The input property. + * A sequence of textual characters. */ @Generated private final String input; /* - * The dataInt property. + * A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) */ @Generated private final int dataInt; @@ -50,13 +50,13 @@ public final class SendLongOptions { private BinaryData dataUnion; /* - * The dataLong property. + * A 64-bit integer. (`-9,223,372,036,854,775,808` to `9,223,372,036,854,775,807`) */ @Generated private Long dataLong; /* - * The data_float property. + * A 32 bit floating point number. (`±1.5 x 10^−45` to `±3.4 x 10^38`) */ @Generated private Double dataFloat; @@ -76,7 +76,7 @@ public SendLongOptions(String id, String input, int dataInt) { } /** - * Get the id property: The id property. + * Get the id property: A sequence of textual characters. * * @return the id value. */ @@ -86,7 +86,7 @@ public String getId() { } /** - * Get the filter property: The filter property. + * Get the filter property: A sequence of textual characters. * * @return the filter value. */ @@ -96,7 +96,7 @@ public String getFilter() { } /** - * Set the filter property: The filter property. + * Set the filter property: A sequence of textual characters. * * @param filter the filter value to set. * @return the SendLongOptions object itself. @@ -130,7 +130,7 @@ public SendLongOptions setUser(User user) { } /** - * Get the input property: The input property. + * Get the input property: A sequence of textual characters. * * @return the input value. */ @@ -140,7 +140,7 @@ public String getInput() { } /** - * Get the dataInt property: The dataInt property. + * Get the dataInt property: A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`). * * @return the dataInt value. */ @@ -172,7 +172,7 @@ public SendLongOptions setDataUnion(BinaryData dataUnion) { } /** - * Get the dataLong property: The dataLong property. + * Get the dataLong property: A 64-bit integer. (`-9,223,372,036,854,775,808` to `9,223,372,036,854,775,807`). * * @return the dataLong value. */ @@ -182,7 +182,7 @@ public Long getDataLong() { } /** - * Set the dataLong property: The dataLong property. + * Set the dataLong property: A 64-bit integer. (`-9,223,372,036,854,775,808` to `9,223,372,036,854,775,807`). * * @param dataLong the dataLong value to set. * @return the SendLongOptions object itself. @@ -194,7 +194,7 @@ public SendLongOptions setDataLong(Long dataLong) { } /** - * Get the dataFloat property: The data_float property. + * Get the dataFloat property: A 32 bit floating point number. (`±1.5 x 10^−45` to `±3.4 x 10^38`). * * @return the dataFloat value. */ @@ -204,7 +204,7 @@ public Double getDataFloat() { } /** - * Set the dataFloat property: The data_float property. + * Set the dataFloat property: A 32 bit floating point number. (`±1.5 x 10^−45` to `±3.4 x 10^38`). * * @param dataFloat the dataFloat value to set. * @return the SendLongOptions object itself. diff --git a/typespec-tests/src/main/java/com/cadl/union/models/User.java b/typespec-tests/src/main/java/com/cadl/union/models/User.java index 120f2fa9e3..41be82974e 100644 --- a/typespec-tests/src/main/java/com/cadl/union/models/User.java +++ b/typespec-tests/src/main/java/com/cadl/union/models/User.java @@ -18,7 +18,7 @@ @Immutable public final class User implements JsonSerializable { /* - * The user property. + * A sequence of textual characters. */ @Generated private final String user; @@ -34,7 +34,7 @@ public User(String user) { } /** - * Get the user property: The user property. + * Get the user property: A sequence of textual characters. * * @return the user value. */ diff --git a/typespec-tests/src/main/java/com/cadl/versioning/VersioningAsyncClient.java b/typespec-tests/src/main/java/com/cadl/versioning/VersioningAsyncClient.java index 4d092c804b..0b975328bf 100644 --- a/typespec-tests/src/main/java/com/cadl/versioning/VersioningAsyncClient.java +++ b/typespec-tests/src/main/java/com/cadl/versioning/VersioningAsyncClient.java @@ -50,7 +50,7 @@ public final class VersioningAsyncClient { * * * - * + * *
Query Parameters
NameTypeRequiredDescription
projectFileVersionStringNoA sequence of textual characters.
projectFileVersionStringNoThe projectFileVersion parameter
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

@@ -70,7 +70,7 @@ public final class VersioningAsyncClient { * } * } * - * @param name A sequence of textual characters. + * @param name The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -92,7 +92,7 @@ public PollerFlux beginExport(String name, RequestOption * NameTypeRequiredDescription * selectList<String>NoSelect the specified fields to be included in the * response. Call {@link RequestOptions#addQueryParam} to add string to array. - * expandStringNoA sequence of textual characters. + * expandStringNoThe expand parameter * * You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

@@ -140,7 +140,7 @@ public PagedFlux list(RequestOptions requestOptions) { * } * } * - * @param name A sequence of textual characters. + * @param name The name parameter. * @param resource The resource instance. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -159,8 +159,8 @@ public PollerFlux beginCreateLongRunning(String name, Bi /** * Long-running resource action operation template. * - * @param name A sequence of textual characters. - * @param projectFileVersion A sequence of textual characters. + * @param name The name parameter. + * @param projectFileVersion The projectFileVersion parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -183,7 +183,7 @@ public PollerFlux beginExport(String nam /** * Long-running resource action operation template. * - * @param name A sequence of textual characters. + * @param name The name parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -204,7 +204,7 @@ public PollerFlux beginExport(String nam * Resource list operation template. * * @param select Select the specified fields to be included in the response. - * @param expand A sequence of textual characters. + * @param expand The expand parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -276,7 +276,7 @@ public PagedFlux list() { /** * Long-running resource create or replace operation template. * - * @param name A sequence of textual characters. + * @param name The name parameter. * @param resource The resource instance. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. diff --git a/typespec-tests/src/main/java/com/cadl/versioning/VersioningClient.java b/typespec-tests/src/main/java/com/cadl/versioning/VersioningClient.java index 8882f90a6b..b54431b58a 100644 --- a/typespec-tests/src/main/java/com/cadl/versioning/VersioningClient.java +++ b/typespec-tests/src/main/java/com/cadl/versioning/VersioningClient.java @@ -46,7 +46,7 @@ public final class VersioningClient { * * * - * + * *
Query Parameters
NameTypeRequiredDescription
projectFileVersionStringNoA sequence of textual characters.
projectFileVersionStringNoThe projectFileVersion parameter
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

@@ -66,7 +66,7 @@ public final class VersioningClient { * } * } * - * @param name A sequence of textual characters. + * @param name The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -88,7 +88,7 @@ public SyncPoller beginExport(String name, RequestOption * NameTypeRequiredDescription * selectList<String>NoSelect the specified fields to be included in the * response. Call {@link RequestOptions#addQueryParam} to add string to array. - * expandStringNoA sequence of textual characters. + * expandStringNoThe expand parameter * * You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

@@ -136,7 +136,7 @@ public PagedIterable list(RequestOptions requestOptions) { * } * } * - * @param name A sequence of textual characters. + * @param name The name parameter. * @param resource The resource instance. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -155,8 +155,8 @@ public SyncPoller beginCreateLongRunning(String name, Bi /** * Long-running resource action operation template. * - * @param name A sequence of textual characters. - * @param projectFileVersion A sequence of textual characters. + * @param name The name parameter. + * @param projectFileVersion The projectFileVersion parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -179,7 +179,7 @@ public SyncPoller beginExport(String nam /** * Long-running resource action operation template. * - * @param name A sequence of textual characters. + * @param name The name parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -200,7 +200,7 @@ public SyncPoller beginExport(String nam * Resource list operation template. * * @param select Select the specified fields to be included in the response. - * @param expand A sequence of textual characters. + * @param expand The expand parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -248,7 +248,7 @@ public PagedIterable list() { /** * Long-running resource create or replace operation template. * - * @param name A sequence of textual characters. + * @param name The name parameter. * @param resource The resource instance. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. diff --git a/typespec-tests/src/main/java/com/cadl/versioning/implementation/VersioningOpsImpl.java b/typespec-tests/src/main/java/com/cadl/versioning/implementation/VersioningOpsImpl.java index 1a520f9acf..2df1c46cda 100644 --- a/typespec-tests/src/main/java/com/cadl/versioning/implementation/VersioningOpsImpl.java +++ b/typespec-tests/src/main/java/com/cadl/versioning/implementation/VersioningOpsImpl.java @@ -176,7 +176,7 @@ Response listNextSync(@PathParam(value = "nextLink", encoded = true) * * * - * + * *
Query Parameters
NameTypeRequiredDescription
projectFileVersionStringNoA sequence of textual characters.
projectFileVersionStringNoThe projectFileVersion parameter
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

@@ -196,7 +196,7 @@ Response listNextSync(@PathParam(value = "nextLink", encoded = true) * } * } * - * @param name A sequence of textual characters. + * @param name The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -218,7 +218,7 @@ private Mono> exportWithResponseAsync(String name, RequestO * * * - * + * *
Query Parameters
NameTypeRequiredDescription
projectFileVersionStringNoA sequence of textual characters.
projectFileVersionStringNoThe projectFileVersion parameter
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

@@ -238,7 +238,7 @@ private Mono> exportWithResponseAsync(String name, RequestO * } * } * - * @param name A sequence of textual characters. + * @param name The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -259,7 +259,7 @@ private Response exportWithResponse(String name, RequestOptions requ * * * - * + * *
Query Parameters
NameTypeRequiredDescription
projectFileVersionStringNoA sequence of textual characters.
projectFileVersionStringNoThe projectFileVersion parameter
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

@@ -279,7 +279,7 @@ private Response exportWithResponse(String name, RequestOptions requ * } * } * - * @param name A sequence of textual characters. + * @param name The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -306,7 +306,7 @@ public PollerFlux beginExportAsync(String name, RequestO * * * - * + * *
Query Parameters
NameTypeRequiredDescription
projectFileVersionStringNoA sequence of textual characters.
projectFileVersionStringNoThe projectFileVersion parameter
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

@@ -326,7 +326,7 @@ public PollerFlux beginExportAsync(String name, RequestO * } * } * - * @param name A sequence of textual characters. + * @param name The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -353,7 +353,7 @@ public SyncPoller beginExport(String name, RequestOption * * * - * + * *
Query Parameters
NameTypeRequiredDescription
projectFileVersionStringNoA sequence of textual characters.
projectFileVersionStringNoThe projectFileVersion parameter
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

@@ -373,7 +373,7 @@ public SyncPoller beginExport(String name, RequestOption * } * } * - * @param name A sequence of textual characters. + * @param name The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -402,7 +402,7 @@ public PollerFlux beginExportWithModelAs * * * - * + * *
Query Parameters
NameTypeRequiredDescription
projectFileVersionStringNoA sequence of textual characters.
projectFileVersionStringNoThe projectFileVersion parameter
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

@@ -422,7 +422,7 @@ public PollerFlux beginExportWithModelAs * } * } * - * @param name A sequence of textual characters. + * @param name The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -453,7 +453,7 @@ public SyncPoller beginExportWithModel(S * NameTypeRequiredDescription * selectList<String>NoSelect the specified fields to be included in the * response. Call {@link RequestOptions#addQueryParam} to add string to array. - * expandStringNoA sequence of textual characters. + * expandStringNoThe expand parameter * * You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

@@ -492,7 +492,7 @@ private Mono> listSinglePageAsync(RequestOptions reque * NameTypeRequiredDescription * selectList<String>NoSelect the specified fields to be included in the * response. Call {@link RequestOptions#addQueryParam} to add string to array. - * expandStringNoA sequence of textual characters. + * expandStringNoThe expand parameter * * You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

@@ -529,7 +529,7 @@ public PagedFlux listAsync(RequestOptions requestOptions) { * NameTypeRequiredDescription * selectList<String>NoSelect the specified fields to be included in the * response. Call {@link RequestOptions#addQueryParam} to add string to array. - * expandStringNoA sequence of textual characters. + * expandStringNoThe expand parameter * * You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

@@ -566,7 +566,7 @@ private PagedResponse listSinglePage(RequestOptions requestOptions) * NameTypeRequiredDescription * selectList<String>NoSelect the specified fields to be included in the * response. Call {@link RequestOptions#addQueryParam} to add string to array. - * expandStringNoA sequence of textual characters. + * expandStringNoThe expand parameter * * You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

@@ -617,7 +617,7 @@ public PagedIterable list(RequestOptions requestOptions) { * } * } * - * @param name A sequence of textual characters. + * @param name The name parameter. * @param resource The resource instance. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -656,7 +656,7 @@ private Mono> createLongRunningWithResponseAsync(String nam * } * } * - * @param name A sequence of textual characters. + * @param name The name parameter. * @param resource The resource instance. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -695,7 +695,7 @@ private Response createLongRunningWithResponse(String name, BinaryDa * } * } * - * @param name A sequence of textual characters. + * @param name The name parameter. * @param resource The resource instance. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -741,7 +741,7 @@ public PollerFlux beginCreateLongRunningAsync(String nam * } * } * - * @param name A sequence of textual characters. + * @param name The name parameter. * @param resource The resource instance. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -787,7 +787,7 @@ public SyncPoller beginCreateLongRunning(String name, Bi * } * } * - * @param name A sequence of textual characters. + * @param name The name parameter. * @param resource The resource instance. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -833,7 +833,7 @@ public PollerFlux beginCreateLongRunningWithMode * } * } * - * @param name A sequence of textual characters. + * @param name The name parameter. * @param resource The resource instance. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. diff --git a/typespec-tests/src/main/java/com/cadl/versioning/models/ExportedResource.java b/typespec-tests/src/main/java/com/cadl/versioning/models/ExportedResource.java index a99b5ec773..87d02a8ddd 100644 --- a/typespec-tests/src/main/java/com/cadl/versioning/models/ExportedResource.java +++ b/typespec-tests/src/main/java/com/cadl/versioning/models/ExportedResource.java @@ -18,13 +18,13 @@ @Immutable public final class ExportedResource implements JsonSerializable { /* - * The id property. + * A sequence of textual characters. */ @Generated private final String id; /* - * The resourceUri property. + * A sequence of textual characters. */ @Generated private final String resourceUri; @@ -42,7 +42,7 @@ private ExportedResource(String id, String resourceUri) { } /** - * Get the id property: The id property. + * Get the id property: A sequence of textual characters. * * @return the id value. */ @@ -52,7 +52,7 @@ public String getId() { } /** - * Get the resourceUri property: The resourceUri property. + * Get the resourceUri property: A sequence of textual characters. * * @return the resourceUri value. */ diff --git a/typespec-tests/src/main/java/com/cadl/versioning/models/Resource.java b/typespec-tests/src/main/java/com/cadl/versioning/models/Resource.java index 13a201baef..4c98020296 100644 --- a/typespec-tests/src/main/java/com/cadl/versioning/models/Resource.java +++ b/typespec-tests/src/main/java/com/cadl/versioning/models/Resource.java @@ -18,19 +18,19 @@ @Immutable public final class Resource implements JsonSerializable { /* - * The id property. + * A sequence of textual characters. */ @Generated private String id; /* - * The name property. + * A sequence of textual characters. */ @Generated private String name; /* - * The type property. + * A sequence of textual characters. */ @Generated private final String type; @@ -46,7 +46,7 @@ public Resource(String type) { } /** - * Get the id property: The id property. + * Get the id property: A sequence of textual characters. * * @return the id value. */ @@ -56,7 +56,7 @@ public String getId() { } /** - * Get the name property: The name property. + * Get the name property: A sequence of textual characters. * * @return the name value. */ @@ -66,7 +66,7 @@ public String getName() { } /** - * Get the type property: The type property. + * Get the type property: A sequence of textual characters. * * @return the type value. */ diff --git a/typespec-tests/src/main/java/com/cadl/visibility/models/Dog.java b/typespec-tests/src/main/java/com/cadl/visibility/models/Dog.java index 4cee0b6e10..5827ccd906 100644 --- a/typespec-tests/src/main/java/com/cadl/visibility/models/Dog.java +++ b/typespec-tests/src/main/java/com/cadl/visibility/models/Dog.java @@ -18,19 +18,19 @@ @Immutable public final class Dog implements JsonSerializable { /* - * The id property. + * A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) */ @Generated private int id; /* - * The secretName property. + * A sequence of textual characters. */ @Generated private final String secretName; /* - * The name property. + * A sequence of textual characters. */ @Generated private final String name; @@ -48,7 +48,7 @@ private Dog(String secretName, String name) { } /** - * Get the id property: The id property. + * Get the id property: A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`). * * @return the id value. */ @@ -58,7 +58,7 @@ public int getId() { } /** - * Get the secretName property: The secretName property. + * Get the secretName property: A sequence of textual characters. * * @return the secretName value. */ @@ -68,7 +68,7 @@ public String getSecretName() { } /** - * Get the name property: The name property. + * Get the name property: A sequence of textual characters. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/cadl/visibility/models/ReadDog.java b/typespec-tests/src/main/java/com/cadl/visibility/models/ReadDog.java index caf20c385a..335fd8d470 100644 --- a/typespec-tests/src/main/java/com/cadl/visibility/models/ReadDog.java +++ b/typespec-tests/src/main/java/com/cadl/visibility/models/ReadDog.java @@ -18,13 +18,13 @@ @Immutable public final class ReadDog implements JsonSerializable { /* - * The id property. + * A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) */ @Generated private final int id; /* - * The name property. + * A sequence of textual characters. */ @Generated private final String name; @@ -42,7 +42,7 @@ public ReadDog(int id, String name) { } /** - * Get the id property: The id property. + * Get the id property: A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`). * * @return the id value. */ @@ -52,7 +52,7 @@ public int getId() { } /** - * Get the name property: The name property. + * Get the name property: A sequence of textual characters. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/cadl/visibility/models/RoundTripModel.java b/typespec-tests/src/main/java/com/cadl/visibility/models/RoundTripModel.java index 15b2835b0c..921ad34918 100644 --- a/typespec-tests/src/main/java/com/cadl/visibility/models/RoundTripModel.java +++ b/typespec-tests/src/main/java/com/cadl/visibility/models/RoundTripModel.java @@ -18,13 +18,13 @@ @Immutable public final class RoundTripModel implements JsonSerializable { /* - * The name property. + * A sequence of textual characters. */ @Generated private final String name; /* - * The secretName property. + * A sequence of textual characters. */ @Generated private final String secretName; @@ -42,7 +42,7 @@ public RoundTripModel(String name, String secretName) { } /** - * Get the name property: The name property. + * Get the name property: A sequence of textual characters. * * @return the name value. */ @@ -52,7 +52,7 @@ public String getName() { } /** - * Get the secretName property: The secretName property. + * Get the secretName property: A sequence of textual characters. * * @return the secretName value. */ diff --git a/typespec-tests/src/main/java/com/cadl/visibility/models/WriteDog.java b/typespec-tests/src/main/java/com/cadl/visibility/models/WriteDog.java index 7e5e80652a..ef9fc2717b 100644 --- a/typespec-tests/src/main/java/com/cadl/visibility/models/WriteDog.java +++ b/typespec-tests/src/main/java/com/cadl/visibility/models/WriteDog.java @@ -18,7 +18,7 @@ @Immutable public final class WriteDog implements JsonSerializable { /* - * The name property. + * A sequence of textual characters. */ @Generated private final String name; @@ -34,7 +34,7 @@ public WriteDog(String name) { } /** - * Get the name property: The name property. + * Get the name property: A sequence of textual characters. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/cadl/wiretype/models/SubClassBothMismatch.java b/typespec-tests/src/main/java/com/cadl/wiretype/models/SubClassBothMismatch.java index 6979c40eb3..86c24f2273 100644 --- a/typespec-tests/src/main/java/com/cadl/wiretype/models/SubClassBothMismatch.java +++ b/typespec-tests/src/main/java/com/cadl/wiretype/models/SubClassBothMismatch.java @@ -21,7 +21,7 @@ @Immutable public final class SubClassBothMismatch extends SuperClassMismatch { /* - * The base64url property. + * Represent a byte array */ @Generated private final Base64Url base64url; @@ -43,7 +43,7 @@ public SubClassBothMismatch(OffsetDateTime dateTimeRfc7231, byte[] base64url) { } /** - * Get the base64url property: The base64url property. + * Get the base64url property: Represent a byte array. * * @return the base64url value. */ diff --git a/typespec-tests/src/main/java/com/client/naming/NamingAsyncClient.java b/typespec-tests/src/main/java/com/client/naming/NamingAsyncClient.java index a78a2ea5c5..5d50c24175 100644 --- a/typespec-tests/src/main/java/com/client/naming/NamingAsyncClient.java +++ b/typespec-tests/src/main/java/com/client/naming/NamingAsyncClient.java @@ -59,7 +59,7 @@ public Mono> clientNameWithResponse(RequestOptions requestOptions /** * The parameter operation. * - * @param clientName A sequence of textual characters. + * @param clientName The clientName parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -151,7 +151,7 @@ public Mono> compatibleWithEncodedNameWithResponse(BinaryData cli /** * The request operation. * - * @param clientName A sequence of textual characters. + * @param clientName The clientName parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -202,7 +202,7 @@ public Mono clientName() { /** * The parameter operation. * - * @param clientName A sequence of textual characters. + * @param clientName The clientName parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -284,7 +284,7 @@ public Mono compatibleWithEncodedName(ClientNameAndJsonEncodedNameModel cl /** * The request operation. * - * @param clientName A sequence of textual characters. + * @param clientName The clientName parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/client/naming/NamingClient.java b/typespec-tests/src/main/java/com/client/naming/NamingClient.java index 9b9ca52c05..25f5ff2233 100644 --- a/typespec-tests/src/main/java/com/client/naming/NamingClient.java +++ b/typespec-tests/src/main/java/com/client/naming/NamingClient.java @@ -57,7 +57,7 @@ public Response clientNameWithResponse(RequestOptions requestOptions) { /** * The parameter operation. * - * @param clientName A sequence of textual characters. + * @param clientName The clientName parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -148,7 +148,7 @@ public Response compatibleWithEncodedNameWithResponse(BinaryData clientNam /** * The request operation. * - * @param clientName A sequence of textual characters. + * @param clientName The clientName parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -198,7 +198,7 @@ public void clientName() { /** * The parameter operation. * - * @param clientName A sequence of textual characters. + * @param clientName The clientName parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -275,7 +275,7 @@ public void compatibleWithEncodedName(ClientNameAndJsonEncodedNameModel clientNa /** * The request operation. * - * @param clientName A sequence of textual characters. + * @param clientName The clientName parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/client/naming/implementation/NamingClientImpl.java b/typespec-tests/src/main/java/com/client/naming/implementation/NamingClientImpl.java index 184ee56969..9ed5aa375d 100644 --- a/typespec-tests/src/main/java/com/client/naming/implementation/NamingClientImpl.java +++ b/typespec-tests/src/main/java/com/client/naming/implementation/NamingClientImpl.java @@ -301,7 +301,7 @@ public Response clientNameWithResponse(RequestOptions requestOptions) { /** * The parameter operation. * - * @param clientName A sequence of textual characters. + * @param clientName The clientName parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -318,7 +318,7 @@ public Mono> parameterWithResponseAsync(String clientName, Reques /** * The parameter operation. * - * @param clientName A sequence of textual characters. + * @param clientName The clientName parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -485,7 +485,7 @@ public Response compatibleWithEncodedNameWithResponse(BinaryData clientNam /** * The request operation. * - * @param clientName A sequence of textual characters. + * @param clientName The clientName parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -502,7 +502,7 @@ public Mono> requestWithResponseAsync(String clientName, RequestO /** * The request operation. * - * @param clientName A sequence of textual characters. + * @param clientName The clientName parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/client/naming/models/ClientModel.java b/typespec-tests/src/main/java/com/client/naming/models/ClientModel.java index daf4056ec6..3b6a3e5214 100644 --- a/typespec-tests/src/main/java/com/client/naming/models/ClientModel.java +++ b/typespec-tests/src/main/java/com/client/naming/models/ClientModel.java @@ -18,6 +18,8 @@ @Immutable public final class ClientModel implements JsonSerializable { /* + * Boolean with `true` and `false` values. + * * Pass in true */ @Generated @@ -34,7 +36,9 @@ public ClientModel(boolean defaultName) { } /** - * Get the defaultName property: Pass in true. + * Get the defaultName property: Boolean with `true` and `false` values. + * + * Pass in true. * * @return the defaultName value. */ diff --git a/typespec-tests/src/main/java/com/client/naming/models/ClientNameAndJsonEncodedNameModel.java b/typespec-tests/src/main/java/com/client/naming/models/ClientNameAndJsonEncodedNameModel.java index 1a67dec7e1..5cf396d4dc 100644 --- a/typespec-tests/src/main/java/com/client/naming/models/ClientNameAndJsonEncodedNameModel.java +++ b/typespec-tests/src/main/java/com/client/naming/models/ClientNameAndJsonEncodedNameModel.java @@ -18,6 +18,8 @@ @Immutable public final class ClientNameAndJsonEncodedNameModel implements JsonSerializable { /* + * Boolean with `true` and `false` values. + * * Pass in true */ @Generated @@ -34,7 +36,9 @@ public ClientNameAndJsonEncodedNameModel(boolean clientName) { } /** - * Get the clientName property: Pass in true. + * Get the clientName property: Boolean with `true` and `false` values. + * + * Pass in true. * * @return the clientName value. */ diff --git a/typespec-tests/src/main/java/com/client/naming/models/ClientNameModel.java b/typespec-tests/src/main/java/com/client/naming/models/ClientNameModel.java index 474a310f6f..772074645a 100644 --- a/typespec-tests/src/main/java/com/client/naming/models/ClientNameModel.java +++ b/typespec-tests/src/main/java/com/client/naming/models/ClientNameModel.java @@ -18,6 +18,8 @@ @Immutable public final class ClientNameModel implements JsonSerializable { /* + * Boolean with `true` and `false` values. + * * Pass in true */ @Generated @@ -34,7 +36,9 @@ public ClientNameModel(boolean clientName) { } /** - * Get the clientName property: Pass in true. + * Get the clientName property: Boolean with `true` and `false` values. + * + * Pass in true. * * @return the clientName value. */ diff --git a/typespec-tests/src/main/java/com/client/naming/models/JavaModel.java b/typespec-tests/src/main/java/com/client/naming/models/JavaModel.java index ab0de3bd9e..87b004458b 100644 --- a/typespec-tests/src/main/java/com/client/naming/models/JavaModel.java +++ b/typespec-tests/src/main/java/com/client/naming/models/JavaModel.java @@ -18,6 +18,8 @@ @Immutable public final class JavaModel implements JsonSerializable { /* + * Boolean with `true` and `false` values. + * * Pass in true */ @Generated @@ -34,7 +36,9 @@ public JavaModel(boolean defaultName) { } /** - * Get the defaultName property: Pass in true. + * Get the defaultName property: Boolean with `true` and `false` values. + * + * Pass in true. * * @return the defaultName value. */ diff --git a/typespec-tests/src/main/java/com/client/naming/models/LanguageClientNameModel.java b/typespec-tests/src/main/java/com/client/naming/models/LanguageClientNameModel.java index a993d18b5d..bac41fd2bd 100644 --- a/typespec-tests/src/main/java/com/client/naming/models/LanguageClientNameModel.java +++ b/typespec-tests/src/main/java/com/client/naming/models/LanguageClientNameModel.java @@ -18,6 +18,8 @@ @Immutable public final class LanguageClientNameModel implements JsonSerializable { /* + * Boolean with `true` and `false` values. + * * Pass in true */ @Generated @@ -34,7 +36,9 @@ public LanguageClientNameModel(boolean javaName) { } /** - * Get the javaName property: Pass in true. + * Get the javaName property: Boolean with `true` and `false` values. + * + * Pass in true. * * @return the javaName value. */ diff --git a/typespec-tests/src/main/java/com/encode/bytes/HeaderAsyncClient.java b/typespec-tests/src/main/java/com/encode/bytes/HeaderAsyncClient.java index e962b2d99c..1c6f4aa3d2 100644 --- a/typespec-tests/src/main/java/com/encode/bytes/HeaderAsyncClient.java +++ b/typespec-tests/src/main/java/com/encode/bytes/HeaderAsyncClient.java @@ -40,7 +40,7 @@ public final class HeaderAsyncClient { /** * The defaultMethod operation. * - * @param value Represent a byte array. + * @param value The value parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -57,7 +57,7 @@ public Mono> defaultMethodWithResponse(byte[] value, RequestOptio /** * The base64 operation. * - * @param value Represent a byte array. + * @param value The value parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -74,7 +74,7 @@ public Mono> base64WithResponse(byte[] value, RequestOptions requ /** * The base64url operation. * - * @param value Represent a byte array. + * @param value The value parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -108,7 +108,7 @@ public Mono> base64urlArrayWithResponse(List value, Reque /** * The defaultMethod operation. * - * @param value Represent a byte array. + * @param value The value parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -128,7 +128,7 @@ public Mono defaultMethod(byte[] value) { /** * The base64 operation. * - * @param value Represent a byte array. + * @param value The value parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -148,7 +148,7 @@ public Mono base64(byte[] value) { /** * The base64url operation. * - * @param value Represent a byte array. + * @param value The value parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/encode/bytes/HeaderClient.java b/typespec-tests/src/main/java/com/encode/bytes/HeaderClient.java index 0cb59d3fca..ebcfef71e0 100644 --- a/typespec-tests/src/main/java/com/encode/bytes/HeaderClient.java +++ b/typespec-tests/src/main/java/com/encode/bytes/HeaderClient.java @@ -38,7 +38,7 @@ public final class HeaderClient { /** * The defaultMethod operation. * - * @param value Represent a byte array. + * @param value The value parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -55,7 +55,7 @@ public Response defaultMethodWithResponse(byte[] value, RequestOptions req /** * The base64 operation. * - * @param value Represent a byte array. + * @param value The value parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -72,7 +72,7 @@ public Response base64WithResponse(byte[] value, RequestOptions requestOpt /** * The base64url operation. * - * @param value Represent a byte array. + * @param value The value parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -106,7 +106,7 @@ public Response base64urlArrayWithResponse(List value, RequestOpti /** * The defaultMethod operation. * - * @param value Represent a byte array. + * @param value The value parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -125,7 +125,7 @@ public void defaultMethod(byte[] value) { /** * The base64 operation. * - * @param value Represent a byte array. + * @param value The value parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -144,7 +144,7 @@ public void base64(byte[] value) { /** * The base64url operation. * - * @param value Represent a byte array. + * @param value The value parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/encode/bytes/QueryAsyncClient.java b/typespec-tests/src/main/java/com/encode/bytes/QueryAsyncClient.java index 3492088bec..f1d8148e14 100644 --- a/typespec-tests/src/main/java/com/encode/bytes/QueryAsyncClient.java +++ b/typespec-tests/src/main/java/com/encode/bytes/QueryAsyncClient.java @@ -40,7 +40,7 @@ public final class QueryAsyncClient { /** * The defaultMethod operation. * - * @param value Represent a byte array. + * @param value The value parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -57,7 +57,7 @@ public Mono> defaultMethodWithResponse(byte[] value, RequestOptio /** * The base64 operation. * - * @param value Represent a byte array. + * @param value The value parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -74,7 +74,7 @@ public Mono> base64WithResponse(byte[] value, RequestOptions requ /** * The base64url operation. * - * @param value Represent a byte array. + * @param value The value parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -108,7 +108,7 @@ public Mono> base64urlArrayWithResponse(List value, Reque /** * The defaultMethod operation. * - * @param value Represent a byte array. + * @param value The value parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -128,7 +128,7 @@ public Mono defaultMethod(byte[] value) { /** * The base64 operation. * - * @param value Represent a byte array. + * @param value The value parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -148,7 +148,7 @@ public Mono base64(byte[] value) { /** * The base64url operation. * - * @param value Represent a byte array. + * @param value The value parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/encode/bytes/QueryClient.java b/typespec-tests/src/main/java/com/encode/bytes/QueryClient.java index 8e75959e78..3f6c8ea6df 100644 --- a/typespec-tests/src/main/java/com/encode/bytes/QueryClient.java +++ b/typespec-tests/src/main/java/com/encode/bytes/QueryClient.java @@ -38,7 +38,7 @@ public final class QueryClient { /** * The defaultMethod operation. * - * @param value Represent a byte array. + * @param value The value parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -55,7 +55,7 @@ public Response defaultMethodWithResponse(byte[] value, RequestOptions req /** * The base64 operation. * - * @param value Represent a byte array. + * @param value The value parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -72,7 +72,7 @@ public Response base64WithResponse(byte[] value, RequestOptions requestOpt /** * The base64url operation. * - * @param value Represent a byte array. + * @param value The value parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -106,7 +106,7 @@ public Response base64urlArrayWithResponse(List value, RequestOpti /** * The defaultMethod operation. * - * @param value Represent a byte array. + * @param value The value parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -125,7 +125,7 @@ public void defaultMethod(byte[] value) { /** * The base64 operation. * - * @param value Represent a byte array. + * @param value The value parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -144,7 +144,7 @@ public void base64(byte[] value) { /** * The base64url operation. * - * @param value Represent a byte array. + * @param value The value parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/encode/bytes/RequestBodyAsyncClient.java b/typespec-tests/src/main/java/com/encode/bytes/RequestBodyAsyncClient.java index b10c1def1f..e63cb80cb2 100644 --- a/typespec-tests/src/main/java/com/encode/bytes/RequestBodyAsyncClient.java +++ b/typespec-tests/src/main/java/com/encode/bytes/RequestBodyAsyncClient.java @@ -46,7 +46,7 @@ public final class RequestBodyAsyncClient { * byte[] * } * - * @param value Represent a byte array. + * @param value The value parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -112,7 +112,7 @@ public Mono> customContentTypeWithResponse(BinaryData value, Requ * byte[] * } * - * @param value Represent a byte array. + * @param value The value parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -134,7 +134,7 @@ public Mono> base64WithResponse(BinaryData value, RequestOptions * Base64Url * } * - * @param value Represent a byte array. + * @param value The value parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -151,7 +151,7 @@ public Mono> base64urlWithResponse(BinaryData value, RequestOptio /** * The defaultMethod operation. * - * @param value Represent a byte array. + * @param value The value parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -211,7 +211,7 @@ public Mono customContentType(BinaryData value) { /** * The base64 operation. * - * @param value Represent a byte array. + * @param value The value parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -231,7 +231,7 @@ public Mono base64(byte[] value) { /** * The base64url operation. * - * @param value Represent a byte array. + * @param value The value parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/encode/bytes/RequestBodyClient.java b/typespec-tests/src/main/java/com/encode/bytes/RequestBodyClient.java index 03567d9c46..bf394ef87a 100644 --- a/typespec-tests/src/main/java/com/encode/bytes/RequestBodyClient.java +++ b/typespec-tests/src/main/java/com/encode/bytes/RequestBodyClient.java @@ -44,7 +44,7 @@ public final class RequestBodyClient { * byte[] * } * - * @param value Represent a byte array. + * @param value The value parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -110,7 +110,7 @@ public Response customContentTypeWithResponse(BinaryData value, RequestOpt * byte[] * } * - * @param value Represent a byte array. + * @param value The value parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -132,7 +132,7 @@ public Response base64WithResponse(BinaryData value, RequestOptions reques * Base64Url * } * - * @param value Represent a byte array. + * @param value The value parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -149,7 +149,7 @@ public Response base64urlWithResponse(BinaryData value, RequestOptions req /** * The defaultMethod operation. * - * @param value Represent a byte array. + * @param value The value parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -206,7 +206,7 @@ public void customContentType(BinaryData value) { /** * The base64 operation. * - * @param value Represent a byte array. + * @param value The value parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -225,7 +225,7 @@ public void base64(byte[] value) { /** * The base64url operation. * - * @param value Represent a byte array. + * @param value The value parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/encode/bytes/ResponseBodyAsyncClient.java b/typespec-tests/src/main/java/com/encode/bytes/ResponseBodyAsyncClient.java index 36cee0dd91..ab7775c600 100644 --- a/typespec-tests/src/main/java/com/encode/bytes/ResponseBodyAsyncClient.java +++ b/typespec-tests/src/main/java/com/encode/bytes/ResponseBodyAsyncClient.java @@ -135,7 +135,7 @@ public Mono> base64WithResponse(RequestOptions requestOptio * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return represent a byte array along with {@link Response} on successful completion of {@link Mono}. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) @@ -225,7 +225,7 @@ public Mono base64() { * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return represent a byte array on successful completion of {@link Mono}. + * @return the response body on successful completion of {@link Mono}. */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) diff --git a/typespec-tests/src/main/java/com/encode/bytes/ResponseBodyClient.java b/typespec-tests/src/main/java/com/encode/bytes/ResponseBodyClient.java index 73437d9ad3..a6660515b5 100644 --- a/typespec-tests/src/main/java/com/encode/bytes/ResponseBodyClient.java +++ b/typespec-tests/src/main/java/com/encode/bytes/ResponseBodyClient.java @@ -133,7 +133,7 @@ public Response base64WithResponse(RequestOptions requestOptions) { * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return represent a byte array along with {@link Response}. + * @return the response body along with {@link Response}. */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) @@ -221,7 +221,7 @@ public byte[] base64() { * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return represent a byte array. + * @return the response. */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) diff --git a/typespec-tests/src/main/java/com/encode/bytes/implementation/HeadersImpl.java b/typespec-tests/src/main/java/com/encode/bytes/implementation/HeadersImpl.java index d62a0cdcf0..ade2fdb28e 100644 --- a/typespec-tests/src/main/java/com/encode/bytes/implementation/HeadersImpl.java +++ b/typespec-tests/src/main/java/com/encode/bytes/implementation/HeadersImpl.java @@ -136,7 +136,7 @@ Response base64urlArraySync(@HeaderParam("value") String value, @HeaderPar /** * The defaultMethod operation. * - * @param value Represent a byte array. + * @param value The value parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -154,7 +154,7 @@ public Mono> defaultMethodWithResponseAsync(byte[] value, Request /** * The defaultMethod operation. * - * @param value Represent a byte array. + * @param value The value parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -172,7 +172,7 @@ public Response defaultMethodWithResponse(byte[] value, RequestOptions req /** * The base64 operation. * - * @param value Represent a byte array. + * @param value The value parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -190,7 +190,7 @@ public Mono> base64WithResponseAsync(byte[] value, RequestOptions /** * The base64 operation. * - * @param value Represent a byte array. + * @param value The value parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -208,7 +208,7 @@ public Response base64WithResponse(byte[] value, RequestOptions requestOpt /** * The base64url operation. * - * @param value Represent a byte array. + * @param value The value parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -226,7 +226,7 @@ public Mono> base64urlWithResponseAsync(byte[] value, RequestOpti /** * The base64url operation. * - * @param value Represent a byte array. + * @param value The value parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/encode/bytes/implementation/QueriesImpl.java b/typespec-tests/src/main/java/com/encode/bytes/implementation/QueriesImpl.java index 3fc7c943da..a902ff21d0 100644 --- a/typespec-tests/src/main/java/com/encode/bytes/implementation/QueriesImpl.java +++ b/typespec-tests/src/main/java/com/encode/bytes/implementation/QueriesImpl.java @@ -137,7 +137,7 @@ Response base64urlArraySync(@QueryParam("value") String value, @HeaderPara /** * The defaultMethod operation. * - * @param value Represent a byte array. + * @param value The value parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -155,7 +155,7 @@ public Mono> defaultMethodWithResponseAsync(byte[] value, Request /** * The defaultMethod operation. * - * @param value Represent a byte array. + * @param value The value parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -173,7 +173,7 @@ public Response defaultMethodWithResponse(byte[] value, RequestOptions req /** * The base64 operation. * - * @param value Represent a byte array. + * @param value The value parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -191,7 +191,7 @@ public Mono> base64WithResponseAsync(byte[] value, RequestOptions /** * The base64 operation. * - * @param value Represent a byte array. + * @param value The value parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -209,7 +209,7 @@ public Response base64WithResponse(byte[] value, RequestOptions requestOpt /** * The base64url operation. * - * @param value Represent a byte array. + * @param value The value parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -227,7 +227,7 @@ public Mono> base64urlWithResponseAsync(byte[] value, RequestOpti /** * The base64url operation. * - * @param value Represent a byte array. + * @param value The value parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/encode/bytes/implementation/RequestBodiesImpl.java b/typespec-tests/src/main/java/com/encode/bytes/implementation/RequestBodiesImpl.java index 0214c7bf4a..343d584f91 100644 --- a/typespec-tests/src/main/java/com/encode/bytes/implementation/RequestBodiesImpl.java +++ b/typespec-tests/src/main/java/com/encode/bytes/implementation/RequestBodiesImpl.java @@ -160,7 +160,7 @@ Response base64urlSync(@HeaderParam("accept") String accept, * byte[] * } * - * @param value Represent a byte array. + * @param value The value parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -182,7 +182,7 @@ public Mono> defaultMethodWithResponseAsync(BinaryData value, Req * byte[] * } * - * @param value Represent a byte array. + * @param value The value parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -298,7 +298,7 @@ public Response customContentTypeWithResponse(BinaryData value, RequestOpt * byte[] * } * - * @param value Represent a byte array. + * @param value The value parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -320,7 +320,7 @@ public Mono> base64WithResponseAsync(BinaryData value, RequestOpt * byte[] * } * - * @param value Represent a byte array. + * @param value The value parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -342,7 +342,7 @@ public Response base64WithResponse(BinaryData value, RequestOptions reques * Base64Url * } * - * @param value Represent a byte array. + * @param value The value parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -364,7 +364,7 @@ public Mono> base64urlWithResponseAsync(BinaryData value, Request * Base64Url * } * - * @param value Represent a byte array. + * @param value The value parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/encode/bytes/implementation/ResponseBodiesImpl.java b/typespec-tests/src/main/java/com/encode/bytes/implementation/ResponseBodiesImpl.java index 2ae924e5f7..771602d9f8 100644 --- a/typespec-tests/src/main/java/com/encode/bytes/implementation/ResponseBodiesImpl.java +++ b/typespec-tests/src/main/java/com/encode/bytes/implementation/ResponseBodiesImpl.java @@ -328,7 +328,7 @@ public Response base64WithResponse(RequestOptions requestOptions) { * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return represent a byte array along with {@link Response} on successful completion of {@link Mono}. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono> base64urlWithResponseAsync(RequestOptions requestOptions) { @@ -349,7 +349,7 @@ public Mono> base64urlWithResponseAsync(RequestOptions requ * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return represent a byte array along with {@link Response}. + * @return the response body along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Response base64urlWithResponse(RequestOptions requestOptions) { diff --git a/typespec-tests/src/main/java/com/encode/bytes/models/Base64BytesProperty.java b/typespec-tests/src/main/java/com/encode/bytes/models/Base64BytesProperty.java index 9be79abd29..dd8001bb46 100644 --- a/typespec-tests/src/main/java/com/encode/bytes/models/Base64BytesProperty.java +++ b/typespec-tests/src/main/java/com/encode/bytes/models/Base64BytesProperty.java @@ -19,7 +19,7 @@ @Immutable public final class Base64BytesProperty implements JsonSerializable { /* - * The value property. + * Represent a byte array */ @Generated private final byte[] value; @@ -35,7 +35,7 @@ public Base64BytesProperty(byte[] value) { } /** - * Get the value property: The value property. + * Get the value property: Represent a byte array. * * @return the value value. */ diff --git a/typespec-tests/src/main/java/com/encode/bytes/models/Base64urlBytesProperty.java b/typespec-tests/src/main/java/com/encode/bytes/models/Base64urlBytesProperty.java index 38789ff8e5..d7e08fb11c 100644 --- a/typespec-tests/src/main/java/com/encode/bytes/models/Base64urlBytesProperty.java +++ b/typespec-tests/src/main/java/com/encode/bytes/models/Base64urlBytesProperty.java @@ -20,7 +20,7 @@ @Immutable public final class Base64urlBytesProperty implements JsonSerializable { /* - * The value property. + * Represent a byte array */ @Generated private final Base64Url value; @@ -40,7 +40,7 @@ public Base64urlBytesProperty(byte[] value) { } /** - * Get the value property: The value property. + * Get the value property: Represent a byte array. * * @return the value value. */ diff --git a/typespec-tests/src/main/java/com/encode/bytes/models/DefaultBytesProperty.java b/typespec-tests/src/main/java/com/encode/bytes/models/DefaultBytesProperty.java index e008d43c66..62afecf494 100644 --- a/typespec-tests/src/main/java/com/encode/bytes/models/DefaultBytesProperty.java +++ b/typespec-tests/src/main/java/com/encode/bytes/models/DefaultBytesProperty.java @@ -19,7 +19,7 @@ @Immutable public final class DefaultBytesProperty implements JsonSerializable { /* - * The value property. + * Represent a byte array */ @Generated private final byte[] value; @@ -35,7 +35,7 @@ public DefaultBytesProperty(byte[] value) { } /** - * Get the value property: The value property. + * Get the value property: Represent a byte array. * * @return the value value. */ diff --git a/typespec-tests/src/main/java/com/encode/datetime/HeaderAsyncClient.java b/typespec-tests/src/main/java/com/encode/datetime/HeaderAsyncClient.java index d3576e6177..fa0276753a 100644 --- a/typespec-tests/src/main/java/com/encode/datetime/HeaderAsyncClient.java +++ b/typespec-tests/src/main/java/com/encode/datetime/HeaderAsyncClient.java @@ -41,7 +41,7 @@ public final class HeaderAsyncClient { /** * The defaultMethod operation. * - * @param value An instant in coordinated universal time (UTC)". + * @param value The value parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -58,7 +58,7 @@ public Mono> defaultMethodWithResponse(OffsetDateTime value, Requ /** * The rfc3339 operation. * - * @param value An instant in coordinated universal time (UTC)". + * @param value The value parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -75,7 +75,7 @@ public Mono> rfc3339WithResponse(OffsetDateTime value, RequestOpt /** * The rfc7231 operation. * - * @param value An instant in coordinated universal time (UTC)". + * @param value The value parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -92,7 +92,7 @@ public Mono> rfc7231WithResponse(OffsetDateTime value, RequestOpt /** * The unixTimestamp operation. * - * @param value An instant in coordinated universal time (UTC)". + * @param value The value parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -127,7 +127,7 @@ public Mono> unixTimestampArrayWithResponse(List /** * The defaultMethod operation. * - * @param value An instant in coordinated universal time (UTC)". + * @param value The value parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -147,7 +147,7 @@ public Mono defaultMethod(OffsetDateTime value) { /** * The rfc3339 operation. * - * @param value An instant in coordinated universal time (UTC)". + * @param value The value parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -167,7 +167,7 @@ public Mono rfc3339(OffsetDateTime value) { /** * The rfc7231 operation. * - * @param value An instant in coordinated universal time (UTC)". + * @param value The value parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -187,7 +187,7 @@ public Mono rfc7231(OffsetDateTime value) { /** * The unixTimestamp operation. * - * @param value An instant in coordinated universal time (UTC)". + * @param value The value parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/encode/datetime/HeaderClient.java b/typespec-tests/src/main/java/com/encode/datetime/HeaderClient.java index ce66499d3f..9a36603ff8 100644 --- a/typespec-tests/src/main/java/com/encode/datetime/HeaderClient.java +++ b/typespec-tests/src/main/java/com/encode/datetime/HeaderClient.java @@ -39,7 +39,7 @@ public final class HeaderClient { /** * The defaultMethod operation. * - * @param value An instant in coordinated universal time (UTC)". + * @param value The value parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -56,7 +56,7 @@ public Response defaultMethodWithResponse(OffsetDateTime value, RequestOpt /** * The rfc3339 operation. * - * @param value An instant in coordinated universal time (UTC)". + * @param value The value parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -73,7 +73,7 @@ public Response rfc3339WithResponse(OffsetDateTime value, RequestOptions r /** * The rfc7231 operation. * - * @param value An instant in coordinated universal time (UTC)". + * @param value The value parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -90,7 +90,7 @@ public Response rfc7231WithResponse(OffsetDateTime value, RequestOptions r /** * The unixTimestamp operation. * - * @param value An instant in coordinated universal time (UTC)". + * @param value The value parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -124,7 +124,7 @@ public Response unixTimestampArrayWithResponse(List value, /** * The defaultMethod operation. * - * @param value An instant in coordinated universal time (UTC)". + * @param value The value parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -143,7 +143,7 @@ public void defaultMethod(OffsetDateTime value) { /** * The rfc3339 operation. * - * @param value An instant in coordinated universal time (UTC)". + * @param value The value parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -162,7 +162,7 @@ public void rfc3339(OffsetDateTime value) { /** * The rfc7231 operation. * - * @param value An instant in coordinated universal time (UTC)". + * @param value The value parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -181,7 +181,7 @@ public void rfc7231(OffsetDateTime value) { /** * The unixTimestamp operation. * - * @param value An instant in coordinated universal time (UTC)". + * @param value The value parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/encode/datetime/QueryAsyncClient.java b/typespec-tests/src/main/java/com/encode/datetime/QueryAsyncClient.java index 5d4a18b3b0..6eda4acc05 100644 --- a/typespec-tests/src/main/java/com/encode/datetime/QueryAsyncClient.java +++ b/typespec-tests/src/main/java/com/encode/datetime/QueryAsyncClient.java @@ -41,7 +41,7 @@ public final class QueryAsyncClient { /** * The defaultMethod operation. * - * @param value An instant in coordinated universal time (UTC)". + * @param value The value parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -58,7 +58,7 @@ public Mono> defaultMethodWithResponse(OffsetDateTime value, Requ /** * The rfc3339 operation. * - * @param value An instant in coordinated universal time (UTC)". + * @param value The value parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -75,7 +75,7 @@ public Mono> rfc3339WithResponse(OffsetDateTime value, RequestOpt /** * The rfc7231 operation. * - * @param value An instant in coordinated universal time (UTC)". + * @param value The value parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -92,7 +92,7 @@ public Mono> rfc7231WithResponse(OffsetDateTime value, RequestOpt /** * The unixTimestamp operation. * - * @param value An instant in coordinated universal time (UTC)". + * @param value The value parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -127,7 +127,7 @@ public Mono> unixTimestampArrayWithResponse(List /** * The defaultMethod operation. * - * @param value An instant in coordinated universal time (UTC)". + * @param value The value parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -147,7 +147,7 @@ public Mono defaultMethod(OffsetDateTime value) { /** * The rfc3339 operation. * - * @param value An instant in coordinated universal time (UTC)". + * @param value The value parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -167,7 +167,7 @@ public Mono rfc3339(OffsetDateTime value) { /** * The rfc7231 operation. * - * @param value An instant in coordinated universal time (UTC)". + * @param value The value parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -187,7 +187,7 @@ public Mono rfc7231(OffsetDateTime value) { /** * The unixTimestamp operation. * - * @param value An instant in coordinated universal time (UTC)". + * @param value The value parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/encode/datetime/QueryClient.java b/typespec-tests/src/main/java/com/encode/datetime/QueryClient.java index a13dc01f44..595c60c5a0 100644 --- a/typespec-tests/src/main/java/com/encode/datetime/QueryClient.java +++ b/typespec-tests/src/main/java/com/encode/datetime/QueryClient.java @@ -39,7 +39,7 @@ public final class QueryClient { /** * The defaultMethod operation. * - * @param value An instant in coordinated universal time (UTC)". + * @param value The value parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -56,7 +56,7 @@ public Response defaultMethodWithResponse(OffsetDateTime value, RequestOpt /** * The rfc3339 operation. * - * @param value An instant in coordinated universal time (UTC)". + * @param value The value parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -73,7 +73,7 @@ public Response rfc3339WithResponse(OffsetDateTime value, RequestOptions r /** * The rfc7231 operation. * - * @param value An instant in coordinated universal time (UTC)". + * @param value The value parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -90,7 +90,7 @@ public Response rfc7231WithResponse(OffsetDateTime value, RequestOptions r /** * The unixTimestamp operation. * - * @param value An instant in coordinated universal time (UTC)". + * @param value The value parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -124,7 +124,7 @@ public Response unixTimestampArrayWithResponse(List value, /** * The defaultMethod operation. * - * @param value An instant in coordinated universal time (UTC)". + * @param value The value parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -143,7 +143,7 @@ public void defaultMethod(OffsetDateTime value) { /** * The rfc3339 operation. * - * @param value An instant in coordinated universal time (UTC)". + * @param value The value parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -162,7 +162,7 @@ public void rfc3339(OffsetDateTime value) { /** * The rfc7231 operation. * - * @param value An instant in coordinated universal time (UTC)". + * @param value The value parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -181,7 +181,7 @@ public void rfc7231(OffsetDateTime value) { /** * The unixTimestamp operation. * - * @param value An instant in coordinated universal time (UTC)". + * @param value The value parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/encode/datetime/implementation/HeadersImpl.java b/typespec-tests/src/main/java/com/encode/datetime/implementation/HeadersImpl.java index 1700df8b71..1df2acf9e8 100644 --- a/typespec-tests/src/main/java/com/encode/datetime/implementation/HeadersImpl.java +++ b/typespec-tests/src/main/java/com/encode/datetime/implementation/HeadersImpl.java @@ -154,7 +154,7 @@ Response unixTimestampArraySync(@HeaderParam("value") String value, @Heade /** * The defaultMethod operation. * - * @param value An instant in coordinated universal time (UTC)". + * @param value The value parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -172,7 +172,7 @@ public Mono> defaultMethodWithResponseAsync(OffsetDateTime value, /** * The defaultMethod operation. * - * @param value An instant in coordinated universal time (UTC)". + * @param value The value parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -190,7 +190,7 @@ public Response defaultMethodWithResponse(OffsetDateTime value, RequestOpt /** * The rfc3339 operation. * - * @param value An instant in coordinated universal time (UTC)". + * @param value The value parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -207,7 +207,7 @@ public Mono> rfc3339WithResponseAsync(OffsetDateTime value, Reque /** * The rfc3339 operation. * - * @param value An instant in coordinated universal time (UTC)". + * @param value The value parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -224,7 +224,7 @@ public Response rfc3339WithResponse(OffsetDateTime value, RequestOptions r /** * The rfc7231 operation. * - * @param value An instant in coordinated universal time (UTC)". + * @param value The value parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -242,7 +242,7 @@ public Mono> rfc7231WithResponseAsync(OffsetDateTime value, Reque /** * The rfc7231 operation. * - * @param value An instant in coordinated universal time (UTC)". + * @param value The value parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -260,7 +260,7 @@ public Response rfc7231WithResponse(OffsetDateTime value, RequestOptions r /** * The unixTimestamp operation. * - * @param value An instant in coordinated universal time (UTC)". + * @param value The value parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -278,7 +278,7 @@ public Mono> unixTimestampWithResponseAsync(OffsetDateTime value, /** * The unixTimestamp operation. * - * @param value An instant in coordinated universal time (UTC)". + * @param value The value parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/encode/datetime/implementation/QueriesImpl.java b/typespec-tests/src/main/java/com/encode/datetime/implementation/QueriesImpl.java index aa5d1850df..9aa4c27e97 100644 --- a/typespec-tests/src/main/java/com/encode/datetime/implementation/QueriesImpl.java +++ b/typespec-tests/src/main/java/com/encode/datetime/implementation/QueriesImpl.java @@ -155,7 +155,7 @@ Response unixTimestampArraySync(@QueryParam("value") String value, @Header /** * The defaultMethod operation. * - * @param value An instant in coordinated universal time (UTC)". + * @param value The value parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -172,7 +172,7 @@ public Mono> defaultMethodWithResponseAsync(OffsetDateTime value, /** * The defaultMethod operation. * - * @param value An instant in coordinated universal time (UTC)". + * @param value The value parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -189,7 +189,7 @@ public Response defaultMethodWithResponse(OffsetDateTime value, RequestOpt /** * The rfc3339 operation. * - * @param value An instant in coordinated universal time (UTC)". + * @param value The value parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -206,7 +206,7 @@ public Mono> rfc3339WithResponseAsync(OffsetDateTime value, Reque /** * The rfc3339 operation. * - * @param value An instant in coordinated universal time (UTC)". + * @param value The value parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -223,7 +223,7 @@ public Response rfc3339WithResponse(OffsetDateTime value, RequestOptions r /** * The rfc7231 operation. * - * @param value An instant in coordinated universal time (UTC)". + * @param value The value parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -241,7 +241,7 @@ public Mono> rfc7231WithResponseAsync(OffsetDateTime value, Reque /** * The rfc7231 operation. * - * @param value An instant in coordinated universal time (UTC)". + * @param value The value parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -259,7 +259,7 @@ public Response rfc7231WithResponse(OffsetDateTime value, RequestOptions r /** * The unixTimestamp operation. * - * @param value An instant in coordinated universal time (UTC)". + * @param value The value parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -277,7 +277,7 @@ public Mono> unixTimestampWithResponseAsync(OffsetDateTime value, /** * The unixTimestamp operation. * - * @param value An instant in coordinated universal time (UTC)". + * @param value The value parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/encode/duration/HeaderAsyncClient.java b/typespec-tests/src/main/java/com/encode/duration/HeaderAsyncClient.java index bc98aea032..ce31f00818 100644 --- a/typespec-tests/src/main/java/com/encode/duration/HeaderAsyncClient.java +++ b/typespec-tests/src/main/java/com/encode/duration/HeaderAsyncClient.java @@ -41,7 +41,7 @@ public final class HeaderAsyncClient { /** * The defaultMethod operation. * - * @param duration A duration/time period. e.g 5s, 10h. + * @param duration The duration parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -58,7 +58,7 @@ public Mono> defaultMethodWithResponse(Duration duration, Request /** * The iso8601 operation. * - * @param duration A duration/time period. e.g 5s, 10h. + * @param duration The duration parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -92,7 +92,7 @@ public Mono> iso8601ArrayWithResponse(List duration, Re /** * The int32Seconds operation. * - * @param duration A duration/time period. e.g 5s, 10h. + * @param duration The duration parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -109,7 +109,7 @@ public Mono> int32SecondsWithResponse(Duration duration, RequestO /** * The floatSeconds operation. * - * @param duration A duration/time period. e.g 5s, 10h. + * @param duration The duration parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -126,7 +126,7 @@ public Mono> floatSecondsWithResponse(Duration duration, RequestO /** * The float64Seconds operation. * - * @param duration A duration/time period. e.g 5s, 10h. + * @param duration The duration parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -143,7 +143,7 @@ public Mono> float64SecondsWithResponse(Duration duration, Reques /** * The defaultMethod operation. * - * @param duration A duration/time period. e.g 5s, 10h. + * @param duration The duration parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -163,7 +163,7 @@ public Mono defaultMethod(Duration duration) { /** * The iso8601 operation. * - * @param duration A duration/time period. e.g 5s, 10h. + * @param duration The duration parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -203,7 +203,7 @@ public Mono iso8601Array(List duration) { /** * The int32Seconds operation. * - * @param duration A duration/time period. e.g 5s, 10h. + * @param duration The duration parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -223,7 +223,7 @@ public Mono int32Seconds(Duration duration) { /** * The floatSeconds operation. * - * @param duration A duration/time period. e.g 5s, 10h. + * @param duration The duration parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -243,7 +243,7 @@ public Mono floatSeconds(Duration duration) { /** * The float64Seconds operation. * - * @param duration A duration/time period. e.g 5s, 10h. + * @param duration The duration parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/encode/duration/HeaderClient.java b/typespec-tests/src/main/java/com/encode/duration/HeaderClient.java index 6cdfd04dcf..d290e9ed1b 100644 --- a/typespec-tests/src/main/java/com/encode/duration/HeaderClient.java +++ b/typespec-tests/src/main/java/com/encode/duration/HeaderClient.java @@ -39,7 +39,7 @@ public final class HeaderClient { /** * The defaultMethod operation. * - * @param duration A duration/time period. e.g 5s, 10h. + * @param duration The duration parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -56,7 +56,7 @@ public Response defaultMethodWithResponse(Duration duration, RequestOption /** * The iso8601 operation. * - * @param duration A duration/time period. e.g 5s, 10h. + * @param duration The duration parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -90,7 +90,7 @@ public Response iso8601ArrayWithResponse(List duration, RequestO /** * The int32Seconds operation. * - * @param duration A duration/time period. e.g 5s, 10h. + * @param duration The duration parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -107,7 +107,7 @@ public Response int32SecondsWithResponse(Duration duration, RequestOptions /** * The floatSeconds operation. * - * @param duration A duration/time period. e.g 5s, 10h. + * @param duration The duration parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -124,7 +124,7 @@ public Response floatSecondsWithResponse(Duration duration, RequestOptions /** * The float64Seconds operation. * - * @param duration A duration/time period. e.g 5s, 10h. + * @param duration The duration parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -141,7 +141,7 @@ public Response float64SecondsWithResponse(Duration duration, RequestOptio /** * The defaultMethod operation. * - * @param duration A duration/time period. e.g 5s, 10h. + * @param duration The duration parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -160,7 +160,7 @@ public void defaultMethod(Duration duration) { /** * The iso8601 operation. * - * @param duration A duration/time period. e.g 5s, 10h. + * @param duration The duration parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -198,7 +198,7 @@ public void iso8601Array(List duration) { /** * The int32Seconds operation. * - * @param duration A duration/time period. e.g 5s, 10h. + * @param duration The duration parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -217,7 +217,7 @@ public void int32Seconds(Duration duration) { /** * The floatSeconds operation. * - * @param duration A duration/time period. e.g 5s, 10h. + * @param duration The duration parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -236,7 +236,7 @@ public void floatSeconds(Duration duration) { /** * The float64Seconds operation. * - * @param duration A duration/time period. e.g 5s, 10h. + * @param duration The duration parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/encode/duration/QueryAsyncClient.java b/typespec-tests/src/main/java/com/encode/duration/QueryAsyncClient.java index 7bea118f0e..4d562ee36e 100644 --- a/typespec-tests/src/main/java/com/encode/duration/QueryAsyncClient.java +++ b/typespec-tests/src/main/java/com/encode/duration/QueryAsyncClient.java @@ -41,7 +41,7 @@ public final class QueryAsyncClient { /** * The defaultMethod operation. * - * @param input A duration/time period. e.g 5s, 10h. + * @param input The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -58,7 +58,7 @@ public Mono> defaultMethodWithResponse(Duration input, RequestOpt /** * The iso8601 operation. * - * @param input A duration/time period. e.g 5s, 10h. + * @param input The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -75,7 +75,7 @@ public Mono> iso8601WithResponse(Duration input, RequestOptions r /** * The int32Seconds operation. * - * @param input A duration/time period. e.g 5s, 10h. + * @param input The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -92,7 +92,7 @@ public Mono> int32SecondsWithResponse(Duration input, RequestOpti /** * The floatSeconds operation. * - * @param input A duration/time period. e.g 5s, 10h. + * @param input The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -109,7 +109,7 @@ public Mono> floatSecondsWithResponse(Duration input, RequestOpti /** * The float64Seconds operation. * - * @param input A duration/time period. e.g 5s, 10h. + * @param input The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -143,7 +143,7 @@ public Mono> int32SecondsArrayWithResponse(List input, /** * The defaultMethod operation. * - * @param input A duration/time period. e.g 5s, 10h. + * @param input The input parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -163,7 +163,7 @@ public Mono defaultMethod(Duration input) { /** * The iso8601 operation. * - * @param input A duration/time period. e.g 5s, 10h. + * @param input The input parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -183,7 +183,7 @@ public Mono iso8601(Duration input) { /** * The int32Seconds operation. * - * @param input A duration/time period. e.g 5s, 10h. + * @param input The input parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -203,7 +203,7 @@ public Mono int32Seconds(Duration input) { /** * The floatSeconds operation. * - * @param input A duration/time period. e.g 5s, 10h. + * @param input The input parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -223,7 +223,7 @@ public Mono floatSeconds(Duration input) { /** * The float64Seconds operation. * - * @param input A duration/time period. e.g 5s, 10h. + * @param input The input parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/encode/duration/QueryClient.java b/typespec-tests/src/main/java/com/encode/duration/QueryClient.java index b608ae72ca..b8675c0a50 100644 --- a/typespec-tests/src/main/java/com/encode/duration/QueryClient.java +++ b/typespec-tests/src/main/java/com/encode/duration/QueryClient.java @@ -39,7 +39,7 @@ public final class QueryClient { /** * The defaultMethod operation. * - * @param input A duration/time period. e.g 5s, 10h. + * @param input The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -56,7 +56,7 @@ public Response defaultMethodWithResponse(Duration input, RequestOptions r /** * The iso8601 operation. * - * @param input A duration/time period. e.g 5s, 10h. + * @param input The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -73,7 +73,7 @@ public Response iso8601WithResponse(Duration input, RequestOptions request /** * The int32Seconds operation. * - * @param input A duration/time period. e.g 5s, 10h. + * @param input The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -90,7 +90,7 @@ public Response int32SecondsWithResponse(Duration input, RequestOptions re /** * The floatSeconds operation. * - * @param input A duration/time period. e.g 5s, 10h. + * @param input The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -107,7 +107,7 @@ public Response floatSecondsWithResponse(Duration input, RequestOptions re /** * The float64Seconds operation. * - * @param input A duration/time period. e.g 5s, 10h. + * @param input The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -141,7 +141,7 @@ public Response int32SecondsArrayWithResponse(List input, Reques /** * The defaultMethod operation. * - * @param input A duration/time period. e.g 5s, 10h. + * @param input The input parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -160,7 +160,7 @@ public void defaultMethod(Duration input) { /** * The iso8601 operation. * - * @param input A duration/time period. e.g 5s, 10h. + * @param input The input parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -179,7 +179,7 @@ public void iso8601(Duration input) { /** * The int32Seconds operation. * - * @param input A duration/time period. e.g 5s, 10h. + * @param input The input parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -198,7 +198,7 @@ public void int32Seconds(Duration input) { /** * The floatSeconds operation. * - * @param input A duration/time period. e.g 5s, 10h. + * @param input The input parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -217,7 +217,7 @@ public void floatSeconds(Duration input) { /** * The float64Seconds operation. * - * @param input A duration/time period. e.g 5s, 10h. + * @param input The input parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/encode/duration/implementation/HeadersImpl.java b/typespec-tests/src/main/java/com/encode/duration/implementation/HeadersImpl.java index d25b26b8c6..602448ae71 100644 --- a/typespec-tests/src/main/java/com/encode/duration/implementation/HeadersImpl.java +++ b/typespec-tests/src/main/java/com/encode/duration/implementation/HeadersImpl.java @@ -170,7 +170,7 @@ Response float64SecondsSync(@HeaderParam("duration") double duration, /** * The defaultMethod operation. * - * @param duration A duration/time period. e.g 5s, 10h. + * @param duration The duration parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -187,7 +187,7 @@ public Mono> defaultMethodWithResponseAsync(Duration duration, Re /** * The defaultMethod operation. * - * @param duration A duration/time period. e.g 5s, 10h. + * @param duration The duration parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -204,7 +204,7 @@ public Response defaultMethodWithResponse(Duration duration, RequestOption /** * The iso8601 operation. * - * @param duration A duration/time period. e.g 5s, 10h. + * @param duration The duration parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -221,7 +221,7 @@ public Mono> iso8601WithResponseAsync(Duration duration, RequestO /** * The iso8601 operation. * - * @param duration A duration/time period. e.g 5s, 10h. + * @param duration The duration parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -277,7 +277,7 @@ public Response iso8601ArrayWithResponse(List duration, RequestO /** * The int32Seconds operation. * - * @param duration A duration/time period. e.g 5s, 10h. + * @param duration The duration parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -296,7 +296,7 @@ public Mono> int32SecondsWithResponseAsync(Duration duration, Req /** * The int32Seconds operation. * - * @param duration A duration/time period. e.g 5s, 10h. + * @param duration The duration parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -314,7 +314,7 @@ public Response int32SecondsWithResponse(Duration duration, RequestOptions /** * The floatSeconds operation. * - * @param duration A duration/time period. e.g 5s, 10h. + * @param duration The duration parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -333,7 +333,7 @@ public Mono> floatSecondsWithResponseAsync(Duration duration, Req /** * The floatSeconds operation. * - * @param duration A duration/time period. e.g 5s, 10h. + * @param duration The duration parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -351,7 +351,7 @@ public Response floatSecondsWithResponse(Duration duration, RequestOptions /** * The float64Seconds operation. * - * @param duration A duration/time period. e.g 5s, 10h. + * @param duration The duration parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -370,7 +370,7 @@ public Mono> float64SecondsWithResponseAsync(Duration duration, R /** * The float64Seconds operation. * - * @param duration A duration/time period. e.g 5s, 10h. + * @param duration The duration parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/encode/duration/implementation/QueriesImpl.java b/typespec-tests/src/main/java/com/encode/duration/implementation/QueriesImpl.java index 1b63bc6e42..ad2e6d2387 100644 --- a/typespec-tests/src/main/java/com/encode/duration/implementation/QueriesImpl.java +++ b/typespec-tests/src/main/java/com/encode/duration/implementation/QueriesImpl.java @@ -172,7 +172,7 @@ Response int32SecondsArraySync(@QueryParam("input") String input, @HeaderP /** * The defaultMethod operation. * - * @param input A duration/time period. e.g 5s, 10h. + * @param input The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -189,7 +189,7 @@ public Mono> defaultMethodWithResponseAsync(Duration input, Reque /** * The defaultMethod operation. * - * @param input A duration/time period. e.g 5s, 10h. + * @param input The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -206,7 +206,7 @@ public Response defaultMethodWithResponse(Duration input, RequestOptions r /** * The iso8601 operation. * - * @param input A duration/time period. e.g 5s, 10h. + * @param input The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -223,7 +223,7 @@ public Mono> iso8601WithResponseAsync(Duration input, RequestOpti /** * The iso8601 operation. * - * @param input A duration/time period. e.g 5s, 10h. + * @param input The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -240,7 +240,7 @@ public Response iso8601WithResponse(Duration input, RequestOptions request /** * The int32Seconds operation. * - * @param input A duration/time period. e.g 5s, 10h. + * @param input The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -258,7 +258,7 @@ public Mono> int32SecondsWithResponseAsync(Duration input, Reques /** * The int32Seconds operation. * - * @param input A duration/time period. e.g 5s, 10h. + * @param input The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -276,7 +276,7 @@ public Response int32SecondsWithResponse(Duration input, RequestOptions re /** * The floatSeconds operation. * - * @param input A duration/time period. e.g 5s, 10h. + * @param input The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -294,7 +294,7 @@ public Mono> floatSecondsWithResponseAsync(Duration input, Reques /** * The floatSeconds operation. * - * @param input A duration/time period. e.g 5s, 10h. + * @param input The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -312,7 +312,7 @@ public Response floatSecondsWithResponse(Duration input, RequestOptions re /** * The float64Seconds operation. * - * @param input A duration/time period. e.g 5s, 10h. + * @param input The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -330,7 +330,7 @@ public Mono> float64SecondsWithResponseAsync(Duration input, Requ /** * The float64Seconds operation. * - * @param input A duration/time period. e.g 5s, 10h. + * @param input The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/parameters/basic/ImplicitBodyAsyncClient.java b/typespec-tests/src/main/java/com/parameters/basic/ImplicitBodyAsyncClient.java index ac24c2bd35..a18a3c43ab 100644 --- a/typespec-tests/src/main/java/com/parameters/basic/ImplicitBodyAsyncClient.java +++ b/typespec-tests/src/main/java/com/parameters/basic/ImplicitBodyAsyncClient.java @@ -65,7 +65,7 @@ public Mono> simpleWithResponse(BinaryData request, RequestOption /** * The simple operation. * - * @param name A sequence of textual characters. + * @param name The name parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/parameters/basic/ImplicitBodyClient.java b/typespec-tests/src/main/java/com/parameters/basic/ImplicitBodyClient.java index e728e77af2..026a9fd3da 100644 --- a/typespec-tests/src/main/java/com/parameters/basic/ImplicitBodyClient.java +++ b/typespec-tests/src/main/java/com/parameters/basic/ImplicitBodyClient.java @@ -63,7 +63,7 @@ public Response simpleWithResponse(BinaryData request, RequestOptions requ /** * The simple operation. * - * @param name A sequence of textual characters. + * @param name The name parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/parameters/basic/implementation/models/SimpleRequest.java b/typespec-tests/src/main/java/com/parameters/basic/implementation/models/SimpleRequest.java index 842595b4d5..9f15c173eb 100644 --- a/typespec-tests/src/main/java/com/parameters/basic/implementation/models/SimpleRequest.java +++ b/typespec-tests/src/main/java/com/parameters/basic/implementation/models/SimpleRequest.java @@ -18,7 +18,7 @@ @Immutable public final class SimpleRequest implements JsonSerializable { /* - * The name property. + * A sequence of textual characters. */ @Generated private final String name; @@ -34,7 +34,7 @@ public SimpleRequest(String name) { } /** - * Get the name property: The name property. + * Get the name property: A sequence of textual characters. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/parameters/basic/models/User.java b/typespec-tests/src/main/java/com/parameters/basic/models/User.java index 47c8d308f3..91f6e46710 100644 --- a/typespec-tests/src/main/java/com/parameters/basic/models/User.java +++ b/typespec-tests/src/main/java/com/parameters/basic/models/User.java @@ -18,7 +18,7 @@ @Immutable public final class User implements JsonSerializable { /* - * The name property. + * A sequence of textual characters. */ @Generated private final String name; @@ -34,7 +34,7 @@ public User(String name) { } /** - * Get the name property: The name property. + * Get the name property: A sequence of textual characters. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/parameters/bodyoptionality/models/BodyModel.java b/typespec-tests/src/main/java/com/parameters/bodyoptionality/models/BodyModel.java index a189b4c10a..6a0873e2af 100644 --- a/typespec-tests/src/main/java/com/parameters/bodyoptionality/models/BodyModel.java +++ b/typespec-tests/src/main/java/com/parameters/bodyoptionality/models/BodyModel.java @@ -18,7 +18,7 @@ @Immutable public final class BodyModel implements JsonSerializable { /* - * The name property. + * A sequence of textual characters. */ @Generated private final String name; @@ -34,7 +34,7 @@ public BodyModel(String name) { } /** - * Get the name property: The name property. + * Get the name property: A sequence of textual characters. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/parameters/spread/AliasAsyncClient.java b/typespec-tests/src/main/java/com/parameters/spread/AliasAsyncClient.java index 024cbbe295..cda79335d6 100644 --- a/typespec-tests/src/main/java/com/parameters/spread/AliasAsyncClient.java +++ b/typespec-tests/src/main/java/com/parameters/spread/AliasAsyncClient.java @@ -75,8 +75,8 @@ public Mono> spreadAsRequestBodyWithResponse(BinaryData request, * } * } * - * @param id A sequence of textual characters. - * @param xMsTestHeader A sequence of textual characters. + * @param id The id parameter. + * @param xMsTestHeader The xMsTestHeader parameter. * @param request The request parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -107,8 +107,8 @@ public Mono> spreadAsRequestParameterWithResponse(String id, Stri * } * } * - * @param id A sequence of textual characters. - * @param xMsTestHeader A sequence of textual characters. + * @param id The id parameter. + * @param xMsTestHeader The xMsTestHeader parameter. * @param request The request parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -128,7 +128,7 @@ public Mono> spreadWithMultipleParametersWithResponse(String id, /** * The spreadAsRequestBody operation. * - * @param name A sequence of textual characters. + * @param name The name parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -150,9 +150,9 @@ public Mono spreadAsRequestBody(String name) { /** * The spreadAsRequestParameter operation. * - * @param id A sequence of textual characters. - * @param xMsTestHeader A sequence of textual characters. - * @param name A sequence of textual characters. + * @param id The id parameter. + * @param xMsTestHeader The xMsTestHeader parameter. + * @param name The name parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/parameters/spread/AliasClient.java b/typespec-tests/src/main/java/com/parameters/spread/AliasClient.java index dd679621af..79e59192e5 100644 --- a/typespec-tests/src/main/java/com/parameters/spread/AliasClient.java +++ b/typespec-tests/src/main/java/com/parameters/spread/AliasClient.java @@ -73,8 +73,8 @@ public Response spreadAsRequestBodyWithResponse(BinaryData request, Reques * } * } * - * @param id A sequence of textual characters. - * @param xMsTestHeader A sequence of textual characters. + * @param id The id parameter. + * @param xMsTestHeader The xMsTestHeader parameter. * @param request The request parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -105,8 +105,8 @@ public Response spreadAsRequestParameterWithResponse(String id, String xMs * } * } * - * @param id A sequence of textual characters. - * @param xMsTestHeader A sequence of textual characters. + * @param id The id parameter. + * @param xMsTestHeader The xMsTestHeader parameter. * @param request The request parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -125,7 +125,7 @@ public Response spreadWithMultipleParametersWithResponse(String id, String /** * The spreadAsRequestBody operation. * - * @param name A sequence of textual characters. + * @param name The name parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -146,9 +146,9 @@ public void spreadAsRequestBody(String name) { /** * The spreadAsRequestParameter operation. * - * @param id A sequence of textual characters. - * @param xMsTestHeader A sequence of textual characters. - * @param name A sequence of textual characters. + * @param id The id parameter. + * @param xMsTestHeader The xMsTestHeader parameter. + * @param name The name parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/parameters/spread/ModelAsyncClient.java b/typespec-tests/src/main/java/com/parameters/spread/ModelAsyncClient.java index 4b56bed476..0e560c91d0 100644 --- a/typespec-tests/src/main/java/com/parameters/spread/ModelAsyncClient.java +++ b/typespec-tests/src/main/java/com/parameters/spread/ModelAsyncClient.java @@ -92,8 +92,8 @@ public Mono> spreadCompositeRequestOnlyWithBodyWithResponse(Binar /** * The spreadCompositeRequestWithoutBody operation. * - * @param name A sequence of textual characters. - * @param testHeader A sequence of textual characters. + * @param name The name parameter. + * @param testHeader The testHeader parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -118,8 +118,8 @@ public Mono> spreadCompositeRequestWithoutBodyWithResponse(String * } * } * - * @param name A sequence of textual characters. - * @param testHeader A sequence of textual characters. + * @param name The name parameter. + * @param testHeader The testHeader parameter. * @param body This is a simple model. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -145,8 +145,8 @@ public Mono> spreadCompositeRequestWithResponse(String name, Stri * } * } * - * @param name A sequence of textual characters. - * @param testHeader A sequence of textual characters. + * @param name The name parameter. + * @param testHeader The testHeader parameter. * @param compositeRequestMix This is a model with non-body http request decorator. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -208,8 +208,8 @@ public Mono spreadCompositeRequestOnlyWithBody(BodyParameter body) { /** * The spreadCompositeRequestWithoutBody operation. * - * @param name A sequence of textual characters. - * @param testHeader A sequence of textual characters. + * @param name The name parameter. + * @param testHeader The testHeader parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -230,8 +230,8 @@ public Mono spreadCompositeRequestWithoutBody(String name, String testHead /** * The spreadCompositeRequest operation. * - * @param name A sequence of textual characters. - * @param testHeader A sequence of textual characters. + * @param name The name parameter. + * @param testHeader The testHeader parameter. * @param body This is a simple model. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -253,8 +253,8 @@ public Mono spreadCompositeRequest(String name, String testHeader, BodyPar /** * The spreadCompositeRequestMix operation. * - * @param name A sequence of textual characters. - * @param testHeader A sequence of textual characters. + * @param name The name parameter. + * @param testHeader The testHeader parameter. * @param compositeRequestMix This is a model with non-body http request decorator. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. diff --git a/typespec-tests/src/main/java/com/parameters/spread/ModelClient.java b/typespec-tests/src/main/java/com/parameters/spread/ModelClient.java index 1689d10f4d..1e31ec6477 100644 --- a/typespec-tests/src/main/java/com/parameters/spread/ModelClient.java +++ b/typespec-tests/src/main/java/com/parameters/spread/ModelClient.java @@ -89,8 +89,8 @@ public Response spreadCompositeRequestOnlyWithBodyWithResponse(BinaryData /** * The spreadCompositeRequestWithoutBody operation. * - * @param name A sequence of textual characters. - * @param testHeader A sequence of textual characters. + * @param name The name parameter. + * @param testHeader The testHeader parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -115,8 +115,8 @@ public Response spreadCompositeRequestWithoutBodyWithResponse(String name, * } * } * - * @param name A sequence of textual characters. - * @param testHeader A sequence of textual characters. + * @param name The name parameter. + * @param testHeader The testHeader parameter. * @param body This is a simple model. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -142,8 +142,8 @@ public Response spreadCompositeRequestWithResponse(String name, String tes * } * } * - * @param name A sequence of textual characters. - * @param testHeader A sequence of textual characters. + * @param name The name parameter. + * @param testHeader The testHeader parameter. * @param compositeRequestMix This is a model with non-body http request decorator. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -201,8 +201,8 @@ public void spreadCompositeRequestOnlyWithBody(BodyParameter body) { /** * The spreadCompositeRequestWithoutBody operation. * - * @param name A sequence of textual characters. - * @param testHeader A sequence of textual characters. + * @param name The name parameter. + * @param testHeader The testHeader parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -221,8 +221,8 @@ public void spreadCompositeRequestWithoutBody(String name, String testHeader) { /** * The spreadCompositeRequest operation. * - * @param name A sequence of textual characters. - * @param testHeader A sequence of textual characters. + * @param name The name parameter. + * @param testHeader The testHeader parameter. * @param body This is a simple model. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -242,8 +242,8 @@ public void spreadCompositeRequest(String name, String testHeader, BodyParameter /** * The spreadCompositeRequestMix operation. * - * @param name A sequence of textual characters. - * @param testHeader A sequence of textual characters. + * @param name The name parameter. + * @param testHeader The testHeader parameter. * @param compositeRequestMix This is a model with non-body http request decorator. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. diff --git a/typespec-tests/src/main/java/com/parameters/spread/implementation/AliasImpl.java b/typespec-tests/src/main/java/com/parameters/spread/implementation/AliasImpl.java index 1a361b8ecb..f42b4bc4e2 100644 --- a/typespec-tests/src/main/java/com/parameters/spread/implementation/AliasImpl.java +++ b/typespec-tests/src/main/java/com/parameters/spread/implementation/AliasImpl.java @@ -175,8 +175,8 @@ public Response spreadAsRequestBodyWithResponse(BinaryData request, Reques * } * } * - * @param id A sequence of textual characters. - * @param xMsTestHeader A sequence of textual characters. + * @param id The id parameter. + * @param xMsTestHeader The xMsTestHeader parameter. * @param request The request parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -203,8 +203,8 @@ public Mono> spreadAsRequestParameterWithResponseAsync(String id, * } * } * - * @param id A sequence of textual characters. - * @param xMsTestHeader A sequence of textual characters. + * @param id The id parameter. + * @param xMsTestHeader The xMsTestHeader parameter. * @param request The request parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -235,8 +235,8 @@ public Response spreadAsRequestParameterWithResponse(String id, String xMs * } * } * - * @param id A sequence of textual characters. - * @param xMsTestHeader A sequence of textual characters. + * @param id The id parameter. + * @param xMsTestHeader The xMsTestHeader parameter. * @param request The request parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -268,8 +268,8 @@ public Mono> spreadWithMultipleParametersWithResponseAsync(String * } * } * - * @param id A sequence of textual characters. - * @param xMsTestHeader A sequence of textual characters. + * @param id The id parameter. + * @param xMsTestHeader The xMsTestHeader parameter. * @param request The request parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. diff --git a/typespec-tests/src/main/java/com/parameters/spread/implementation/ModelsImpl.java b/typespec-tests/src/main/java/com/parameters/spread/implementation/ModelsImpl.java index fa2cb3b8bd..b02a3d3cdb 100644 --- a/typespec-tests/src/main/java/com/parameters/spread/implementation/ModelsImpl.java +++ b/typespec-tests/src/main/java/com/parameters/spread/implementation/ModelsImpl.java @@ -260,8 +260,8 @@ public Response spreadCompositeRequestOnlyWithBodyWithResponse(BinaryData /** * The spreadCompositeRequestWithoutBody operation. * - * @param name A sequence of textual characters. - * @param testHeader A sequence of textual characters. + * @param name The name parameter. + * @param testHeader The testHeader parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -280,8 +280,8 @@ public Mono> spreadCompositeRequestWithoutBodyWithResponseAsync(S /** * The spreadCompositeRequestWithoutBody operation. * - * @param name A sequence of textual characters. - * @param testHeader A sequence of textual characters. + * @param name The name parameter. + * @param testHeader The testHeader parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -306,8 +306,8 @@ public Response spreadCompositeRequestWithoutBodyWithResponse(String name, * } * } * - * @param name A sequence of textual characters. - * @param testHeader A sequence of textual characters. + * @param name The name parameter. + * @param testHeader The testHeader parameter. * @param body This is a simple model. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -334,8 +334,8 @@ public Mono> spreadCompositeRequestWithResponseAsync(String name, * } * } * - * @param name A sequence of textual characters. - * @param testHeader A sequence of textual characters. + * @param name The name parameter. + * @param testHeader The testHeader parameter. * @param body This is a simple model. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -361,8 +361,8 @@ public Response spreadCompositeRequestWithResponse(String name, String tes * } * } * - * @param name A sequence of textual characters. - * @param testHeader A sequence of textual characters. + * @param name The name parameter. + * @param testHeader The testHeader parameter. * @param compositeRequestMix This is a model with non-body http request decorator. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -389,8 +389,8 @@ public Mono> spreadCompositeRequestMixWithResponseAsync(String na * } * } * - * @param name A sequence of textual characters. - * @param testHeader A sequence of textual characters. + * @param name The name parameter. + * @param testHeader The testHeader parameter. * @param compositeRequestMix This is a model with non-body http request decorator. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. diff --git a/typespec-tests/src/main/java/com/parameters/spread/implementation/models/SpreadAsRequestBodyRequest.java b/typespec-tests/src/main/java/com/parameters/spread/implementation/models/SpreadAsRequestBodyRequest.java index 78983e9b01..9aff3b60d9 100644 --- a/typespec-tests/src/main/java/com/parameters/spread/implementation/models/SpreadAsRequestBodyRequest.java +++ b/typespec-tests/src/main/java/com/parameters/spread/implementation/models/SpreadAsRequestBodyRequest.java @@ -18,7 +18,7 @@ @Immutable public final class SpreadAsRequestBodyRequest implements JsonSerializable { /* - * The name property. + * A sequence of textual characters. */ @Generated private final String name; @@ -34,7 +34,7 @@ public SpreadAsRequestBodyRequest(String name) { } /** - * Get the name property: The name property. + * Get the name property: A sequence of textual characters. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/parameters/spread/implementation/models/SpreadAsRequestParameterRequest.java b/typespec-tests/src/main/java/com/parameters/spread/implementation/models/SpreadAsRequestParameterRequest.java index f5fc735edb..ab4aea5d8e 100644 --- a/typespec-tests/src/main/java/com/parameters/spread/implementation/models/SpreadAsRequestParameterRequest.java +++ b/typespec-tests/src/main/java/com/parameters/spread/implementation/models/SpreadAsRequestParameterRequest.java @@ -18,7 +18,7 @@ @Immutable public final class SpreadAsRequestParameterRequest implements JsonSerializable { /* - * The name property. + * A sequence of textual characters. */ @Generated private final String name; @@ -34,7 +34,7 @@ public SpreadAsRequestParameterRequest(String name) { } /** - * Get the name property: The name property. + * Get the name property: A sequence of textual characters. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/parameters/spread/implementation/models/SpreadWithMultipleParametersRequest.java b/typespec-tests/src/main/java/com/parameters/spread/implementation/models/SpreadWithMultipleParametersRequest.java index cda36d801c..2c1555d1e7 100644 --- a/typespec-tests/src/main/java/com/parameters/spread/implementation/models/SpreadWithMultipleParametersRequest.java +++ b/typespec-tests/src/main/java/com/parameters/spread/implementation/models/SpreadWithMultipleParametersRequest.java @@ -19,37 +19,37 @@ public final class SpreadWithMultipleParametersRequest implements JsonSerializable { /* - * The prop1 property. + * A sequence of textual characters. */ @Generated private final String prop1; /* - * The prop2 property. + * A sequence of textual characters. */ @Generated private final String prop2; /* - * The prop3 property. + * A sequence of textual characters. */ @Generated private final String prop3; /* - * The prop4 property. + * A sequence of textual characters. */ @Generated private final String prop4; /* - * The prop5 property. + * A sequence of textual characters. */ @Generated private final String prop5; /* - * The prop6 property. + * A sequence of textual characters. */ @Generated private final String prop6; @@ -76,7 +76,7 @@ public SpreadWithMultipleParametersRequest(String prop1, String prop2, String pr } /** - * Get the prop1 property: The prop1 property. + * Get the prop1 property: A sequence of textual characters. * * @return the prop1 value. */ @@ -86,7 +86,7 @@ public String getProp1() { } /** - * Get the prop2 property: The prop2 property. + * Get the prop2 property: A sequence of textual characters. * * @return the prop2 value. */ @@ -96,7 +96,7 @@ public String getProp2() { } /** - * Get the prop3 property: The prop3 property. + * Get the prop3 property: A sequence of textual characters. * * @return the prop3 value. */ @@ -106,7 +106,7 @@ public String getProp3() { } /** - * Get the prop4 property: The prop4 property. + * Get the prop4 property: A sequence of textual characters. * * @return the prop4 value. */ @@ -116,7 +116,7 @@ public String getProp4() { } /** - * Get the prop5 property: The prop5 property. + * Get the prop5 property: A sequence of textual characters. * * @return the prop5 value. */ @@ -126,7 +126,7 @@ public String getProp5() { } /** - * Get the prop6 property: The prop6 property. + * Get the prop6 property: A sequence of textual characters. * * @return the prop6 value. */ diff --git a/typespec-tests/src/main/java/com/parameters/spread/models/BodyParameter.java b/typespec-tests/src/main/java/com/parameters/spread/models/BodyParameter.java index aeed38d750..592c27afc0 100644 --- a/typespec-tests/src/main/java/com/parameters/spread/models/BodyParameter.java +++ b/typespec-tests/src/main/java/com/parameters/spread/models/BodyParameter.java @@ -18,7 +18,7 @@ @Immutable public final class BodyParameter implements JsonSerializable { /* - * The name property. + * A sequence of textual characters. */ @Generated private final String name; @@ -34,7 +34,7 @@ public BodyParameter(String name) { } /** - * Get the name property: The name property. + * Get the name property: A sequence of textual characters. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/parameters/spread/models/CompositeRequestMix.java b/typespec-tests/src/main/java/com/parameters/spread/models/CompositeRequestMix.java index 8c2cce8c38..d345e732db 100644 --- a/typespec-tests/src/main/java/com/parameters/spread/models/CompositeRequestMix.java +++ b/typespec-tests/src/main/java/com/parameters/spread/models/CompositeRequestMix.java @@ -18,7 +18,7 @@ @Immutable public final class CompositeRequestMix implements JsonSerializable { /* - * The prop property. + * A sequence of textual characters. */ @Generated private final String prop; @@ -34,7 +34,7 @@ public CompositeRequestMix(String prop) { } /** - * Get the prop property: The prop property. + * Get the prop property: A sequence of textual characters. * * @return the prop value. */ diff --git a/typespec-tests/src/main/java/com/parameters/spread/models/SpreadWithMultipleParametersOptions.java b/typespec-tests/src/main/java/com/parameters/spread/models/SpreadWithMultipleParametersOptions.java index 3973184af7..3c036c167a 100644 --- a/typespec-tests/src/main/java/com/parameters/spread/models/SpreadWithMultipleParametersOptions.java +++ b/typespec-tests/src/main/java/com/parameters/spread/models/SpreadWithMultipleParametersOptions.java @@ -13,49 +13,49 @@ @Immutable public final class SpreadWithMultipleParametersOptions { /* - * The id property. + * A sequence of textual characters. */ @Generated private final String id; /* - * The x-ms-test-header property. + * A sequence of textual characters. */ @Generated private final String xMsTestHeader; /* - * The prop1 property. + * A sequence of textual characters. */ @Generated private final String prop1; /* - * The prop2 property. + * A sequence of textual characters. */ @Generated private final String prop2; /* - * The prop3 property. + * A sequence of textual characters. */ @Generated private final String prop3; /* - * The prop4 property. + * A sequence of textual characters. */ @Generated private final String prop4; /* - * The prop5 property. + * A sequence of textual characters. */ @Generated private final String prop5; /* - * The prop6 property. + * A sequence of textual characters. */ @Generated private final String prop6; @@ -86,7 +86,7 @@ public SpreadWithMultipleParametersOptions(String id, String xMsTestHeader, Stri } /** - * Get the id property: The id property. + * Get the id property: A sequence of textual characters. * * @return the id value. */ @@ -96,7 +96,7 @@ public String getId() { } /** - * Get the xMsTestHeader property: The x-ms-test-header property. + * Get the xMsTestHeader property: A sequence of textual characters. * * @return the xMsTestHeader value. */ @@ -106,7 +106,7 @@ public String getXMsTestHeader() { } /** - * Get the prop1 property: The prop1 property. + * Get the prop1 property: A sequence of textual characters. * * @return the prop1 value. */ @@ -116,7 +116,7 @@ public String getProp1() { } /** - * Get the prop2 property: The prop2 property. + * Get the prop2 property: A sequence of textual characters. * * @return the prop2 value. */ @@ -126,7 +126,7 @@ public String getProp2() { } /** - * Get the prop3 property: The prop3 property. + * Get the prop3 property: A sequence of textual characters. * * @return the prop3 value. */ @@ -136,7 +136,7 @@ public String getProp3() { } /** - * Get the prop4 property: The prop4 property. + * Get the prop4 property: A sequence of textual characters. * * @return the prop4 value. */ @@ -146,7 +146,7 @@ public String getProp4() { } /** - * Get the prop5 property: The prop5 property. + * Get the prop5 property: A sequence of textual characters. * * @return the prop5 value. */ @@ -156,7 +156,7 @@ public String getProp5() { } /** - * Get the prop6 property: The prop6 property. + * Get the prop6 property: A sequence of textual characters. * * @return the prop6 value. */ diff --git a/typespec-tests/src/main/java/com/payload/contentnegotiation/models/PngImageAsJson.java b/typespec-tests/src/main/java/com/payload/contentnegotiation/models/PngImageAsJson.java index 71c1853358..10167785d5 100644 --- a/typespec-tests/src/main/java/com/payload/contentnegotiation/models/PngImageAsJson.java +++ b/typespec-tests/src/main/java/com/payload/contentnegotiation/models/PngImageAsJson.java @@ -19,7 +19,7 @@ @Immutable public final class PngImageAsJson implements JsonSerializable { /* - * The content property. + * Represent a byte array */ @Generated private final byte[] content; @@ -35,7 +35,7 @@ private PngImageAsJson(byte[] content) { } /** - * Get the content property: The content property. + * Get the content property: Represent a byte array. * * @return the content value. */ diff --git a/typespec-tests/src/main/java/com/payload/jsonmergepatch/models/InnerModel.java b/typespec-tests/src/main/java/com/payload/jsonmergepatch/models/InnerModel.java index 3bd12a4ae1..1b5d9e61c2 100644 --- a/typespec-tests/src/main/java/com/payload/jsonmergepatch/models/InnerModel.java +++ b/typespec-tests/src/main/java/com/payload/jsonmergepatch/models/InnerModel.java @@ -21,13 +21,13 @@ @Fluent public final class InnerModel implements JsonSerializable { /* - * The name property. + * A sequence of textual characters. */ @Generated private String name; /* - * The description property. + * A sequence of textual characters. */ @Generated private String description; @@ -61,7 +61,7 @@ public InnerModel() { } /** - * Get the name property: The name property. + * Get the name property: A sequence of textual characters. * * @return the name value. */ @@ -71,7 +71,7 @@ public String getName() { } /** - * Set the name property: The name property. + * Set the name property: A sequence of textual characters. * * @param name the name value to set. * @return the InnerModel object itself. @@ -84,7 +84,7 @@ public InnerModel setName(String name) { } /** - * Get the description property: The description property. + * Get the description property: A sequence of textual characters. * * @return the description value. */ @@ -94,7 +94,7 @@ public String getDescription() { } /** - * Set the description property: The description property. + * Set the description property: A sequence of textual characters. * * @param description the description value to set. * @return the InnerModel object itself. diff --git a/typespec-tests/src/main/java/com/payload/jsonmergepatch/models/Resource.java b/typespec-tests/src/main/java/com/payload/jsonmergepatch/models/Resource.java index 38f1a13ffa..e00d44d396 100644 --- a/typespec-tests/src/main/java/com/payload/jsonmergepatch/models/Resource.java +++ b/typespec-tests/src/main/java/com/payload/jsonmergepatch/models/Resource.java @@ -20,13 +20,13 @@ @Fluent public final class Resource implements JsonSerializable { /* - * The name property. + * A sequence of textual characters. */ @Generated private final String name; /* - * The description property. + * A sequence of textual characters. */ @Generated private String description; @@ -44,13 +44,13 @@ public final class Resource implements JsonSerializable { private List array; /* - * The intValue property. + * A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) */ @Generated private Integer intValue; /* - * The floatValue property. + * A 32 bit floating point number. (`±5.0 × 10^−324` to `±1.7 × 10^308`) */ @Generated private Double floatValue; @@ -78,7 +78,7 @@ public Resource(String name) { } /** - * Get the name property: The name property. + * Get the name property: A sequence of textual characters. * * @return the name value. */ @@ -88,7 +88,7 @@ public String getName() { } /** - * Get the description property: The description property. + * Get the description property: A sequence of textual characters. * * @return the description value. */ @@ -98,7 +98,7 @@ public String getDescription() { } /** - * Set the description property: The description property. + * Set the description property: A sequence of textual characters. * * @param description the description value to set. * @return the Resource object itself. @@ -154,7 +154,7 @@ public Resource setArray(List array) { } /** - * Get the intValue property: The intValue property. + * Get the intValue property: A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`). * * @return the intValue value. */ @@ -164,7 +164,7 @@ public Integer getIntValue() { } /** - * Set the intValue property: The intValue property. + * Set the intValue property: A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`). * * @param intValue the intValue value to set. * @return the Resource object itself. @@ -176,7 +176,7 @@ public Resource setIntValue(Integer intValue) { } /** - * Get the floatValue property: The floatValue property. + * Get the floatValue property: A 32 bit floating point number. (`±5.0 × 10^−324` to `±1.7 × 10^308`). * * @return the floatValue value. */ @@ -186,7 +186,7 @@ public Double getFloatValue() { } /** - * Set the floatValue property: The floatValue property. + * Set the floatValue property: A 32 bit floating point number. (`±5.0 × 10^−324` to `±1.7 × 10^308`). * * @param floatValue the floatValue value to set. * @return the Resource object itself. diff --git a/typespec-tests/src/main/java/com/payload/jsonmergepatch/models/ResourcePatch.java b/typespec-tests/src/main/java/com/payload/jsonmergepatch/models/ResourcePatch.java index 059cb485cf..fcb313fda8 100644 --- a/typespec-tests/src/main/java/com/payload/jsonmergepatch/models/ResourcePatch.java +++ b/typespec-tests/src/main/java/com/payload/jsonmergepatch/models/ResourcePatch.java @@ -23,7 +23,7 @@ @Fluent public final class ResourcePatch implements JsonSerializable { /* - * The description property. + * A sequence of textual characters. */ @Generated private String description; @@ -41,13 +41,13 @@ public final class ResourcePatch implements JsonSerializable { private List array; /* - * The intValue property. + * A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) */ @Generated private Integer intValue; /* - * The floatValue property. + * A 32 bit floating point number. (`±5.0 × 10^−324` to `±1.7 × 10^308`) */ @Generated private Double floatValue; @@ -93,7 +93,7 @@ public ResourcePatch() { } /** - * Get the description property: The description property. + * Get the description property: A sequence of textual characters. * * @return the description value. */ @@ -103,7 +103,7 @@ public String getDescription() { } /** - * Set the description property: The description property. + * Set the description property: A sequence of textual characters. * * @param description the description value to set. * @return the ResourcePatch object itself. @@ -162,7 +162,7 @@ public ResourcePatch setArray(List array) { } /** - * Get the intValue property: The intValue property. + * Get the intValue property: A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`). * * @return the intValue value. */ @@ -172,7 +172,7 @@ public Integer getIntValue() { } /** - * Set the intValue property: The intValue property. + * Set the intValue property: A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`). * * @param intValue the intValue value to set. * @return the ResourcePatch object itself. @@ -185,7 +185,7 @@ public ResourcePatch setIntValue(Integer intValue) { } /** - * Get the floatValue property: The floatValue property. + * Get the floatValue property: A 32 bit floating point number. (`±5.0 × 10^−324` to `±1.7 × 10^308`). * * @return the floatValue value. */ @@ -195,7 +195,7 @@ public Double getFloatValue() { } /** - * Set the floatValue property: The floatValue property. + * Set the floatValue property: A 32 bit floating point number. (`±5.0 × 10^−324` to `±1.7 × 10^308`). * * @param floatValue the floatValue value to set. * @return the ResourcePatch object itself. diff --git a/typespec-tests/src/main/java/com/payload/mediatype/MediaTypeAsyncClient.java b/typespec-tests/src/main/java/com/payload/mediatype/MediaTypeAsyncClient.java index 630feed5c4..5efbab2649 100644 --- a/typespec-tests/src/main/java/com/payload/mediatype/MediaTypeAsyncClient.java +++ b/typespec-tests/src/main/java/com/payload/mediatype/MediaTypeAsyncClient.java @@ -45,7 +45,7 @@ public final class MediaTypeAsyncClient { * String * } * - * @param text A sequence of textual characters. + * @param text The text parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -88,7 +88,7 @@ public Mono> getAsTextWithResponse(RequestOptions requestOp * String * } * - * @param text A sequence of textual characters. + * @param text The text parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -126,7 +126,7 @@ public Mono> getAsJsonWithResponse(RequestOptions requestOp /** * The sendAsText operation. * - * @param text A sequence of textual characters. + * @param text The text parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -165,7 +165,7 @@ public Mono getAsText() { /** * The sendAsJson operation. * - * @param text A sequence of textual characters. + * @param text The text parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/payload/mediatype/MediaTypeClient.java b/typespec-tests/src/main/java/com/payload/mediatype/MediaTypeClient.java index 01bf8234fc..c228fb2862 100644 --- a/typespec-tests/src/main/java/com/payload/mediatype/MediaTypeClient.java +++ b/typespec-tests/src/main/java/com/payload/mediatype/MediaTypeClient.java @@ -43,7 +43,7 @@ public final class MediaTypeClient { * String * } * - * @param text A sequence of textual characters. + * @param text The text parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -86,7 +86,7 @@ public Response getAsTextWithResponse(RequestOptions requestOptions) * String * } * - * @param text A sequence of textual characters. + * @param text The text parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -124,7 +124,7 @@ public Response getAsJsonWithResponse(RequestOptions requestOptions) /** * The sendAsText operation. * - * @param text A sequence of textual characters. + * @param text The text parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -161,7 +161,7 @@ public String getAsText() { /** * The sendAsJson operation. * - * @param text A sequence of textual characters. + * @param text The text parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/payload/mediatype/implementation/StringBodiesImpl.java b/typespec-tests/src/main/java/com/payload/mediatype/implementation/StringBodiesImpl.java index 6174c3efd9..6514b25f96 100644 --- a/typespec-tests/src/main/java/com/payload/mediatype/implementation/StringBodiesImpl.java +++ b/typespec-tests/src/main/java/com/payload/mediatype/implementation/StringBodiesImpl.java @@ -143,7 +143,7 @@ Response getAsJsonSync(@HeaderParam("accept") String accept, Request * String * } * - * @param text A sequence of textual characters. + * @param text The text parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -166,7 +166,7 @@ public Mono> sendAsTextWithResponseAsync(BinaryData text, Request * String * } * - * @param text A sequence of textual characters. + * @param text The text parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -231,7 +231,7 @@ public Response getAsTextWithResponse(RequestOptions requestOptions) * String * } * - * @param text A sequence of textual characters. + * @param text The text parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -254,7 +254,7 @@ public Mono> sendAsJsonWithResponseAsync(BinaryData text, Request * String * } * - * @param text A sequence of textual characters. + * @param text The text parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/payload/multipart/models/Address.java b/typespec-tests/src/main/java/com/payload/multipart/models/Address.java index 000d1cc4cb..ef6cb778de 100644 --- a/typespec-tests/src/main/java/com/payload/multipart/models/Address.java +++ b/typespec-tests/src/main/java/com/payload/multipart/models/Address.java @@ -18,7 +18,7 @@ @Immutable public final class Address implements JsonSerializable
{ /* - * The city property. + * A sequence of textual characters. */ @Generated private final String city; @@ -34,7 +34,7 @@ public Address(String city) { } /** - * Get the city property: The city property. + * Get the city property: A sequence of textual characters. * * @return the city value. */ diff --git a/typespec-tests/src/main/java/com/payload/multipart/models/BinaryArrayPartsRequest.java b/typespec-tests/src/main/java/com/payload/multipart/models/BinaryArrayPartsRequest.java index e7d2b13e3d..d59648c5f0 100644 --- a/typespec-tests/src/main/java/com/payload/multipart/models/BinaryArrayPartsRequest.java +++ b/typespec-tests/src/main/java/com/payload/multipart/models/BinaryArrayPartsRequest.java @@ -14,7 +14,7 @@ @Immutable public final class BinaryArrayPartsRequest { /* - * The id property. + * A sequence of textual characters. */ @Generated private final String id; @@ -38,7 +38,7 @@ public BinaryArrayPartsRequest(String id, List pictures) { } /** - * Get the id property: The id property. + * Get the id property: A sequence of textual characters. * * @return the id value. */ diff --git a/typespec-tests/src/main/java/com/payload/multipart/models/ComplexPartsRequest.java b/typespec-tests/src/main/java/com/payload/multipart/models/ComplexPartsRequest.java index 59e2ed120c..904ae4d86a 100644 --- a/typespec-tests/src/main/java/com/payload/multipart/models/ComplexPartsRequest.java +++ b/typespec-tests/src/main/java/com/payload/multipart/models/ComplexPartsRequest.java @@ -14,7 +14,7 @@ @Immutable public final class ComplexPartsRequest { /* - * The id property. + * A sequence of textual characters. */ @Generated private final String id; @@ -63,7 +63,7 @@ public ComplexPartsRequest(String id, Address address, ProfileImageFileDetails p } /** - * Get the id property: The id property. + * Get the id property: A sequence of textual characters. * * @return the id value. */ diff --git a/typespec-tests/src/main/java/com/payload/multipart/models/MultiPartRequest.java b/typespec-tests/src/main/java/com/payload/multipart/models/MultiPartRequest.java index 8a3f9877ff..b64b6ac193 100644 --- a/typespec-tests/src/main/java/com/payload/multipart/models/MultiPartRequest.java +++ b/typespec-tests/src/main/java/com/payload/multipart/models/MultiPartRequest.java @@ -13,7 +13,7 @@ @Immutable public final class MultiPartRequest { /* - * The id property. + * A sequence of textual characters. */ @Generated private final String id; @@ -37,7 +37,7 @@ public MultiPartRequest(String id, ProfileImageFileDetails profileImage) { } /** - * Get the id property: The id property. + * Get the id property: A sequence of textual characters. * * @return the id value. */ diff --git a/typespec-tests/src/main/java/com/payload/pageable/models/User.java b/typespec-tests/src/main/java/com/payload/pageable/models/User.java index ab7f1b0b84..4262494723 100644 --- a/typespec-tests/src/main/java/com/payload/pageable/models/User.java +++ b/typespec-tests/src/main/java/com/payload/pageable/models/User.java @@ -18,6 +18,8 @@ @Immutable public final class User implements JsonSerializable { /* + * A sequence of textual characters. + * * User name */ @Generated @@ -34,7 +36,9 @@ private User(String name) { } /** - * Get the name property: User name. + * Get the name property: A sequence of textual characters. + * + * User name. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/serialization/encodedname/json/models/JsonEncodedNameModel.java b/typespec-tests/src/main/java/com/serialization/encodedname/json/models/JsonEncodedNameModel.java index 3a7293ea14..da8919d6cb 100644 --- a/typespec-tests/src/main/java/com/serialization/encodedname/json/models/JsonEncodedNameModel.java +++ b/typespec-tests/src/main/java/com/serialization/encodedname/json/models/JsonEncodedNameModel.java @@ -18,6 +18,8 @@ @Immutable public final class JsonEncodedNameModel implements JsonSerializable { /* + * Boolean with `true` and `false` values. + * * Pass in true */ @Generated @@ -34,7 +36,9 @@ public JsonEncodedNameModel(boolean defaultName) { } /** - * Get the defaultName property: Pass in true. + * Get the defaultName property: Boolean with `true` and `false` values. + * + * Pass in true. * * @return the defaultName value. */ diff --git a/typespec-tests/src/main/java/com/server/path/multiple/MultipleAsyncClient.java b/typespec-tests/src/main/java/com/server/path/multiple/MultipleAsyncClient.java index 04b311cd86..f11d8697d6 100644 --- a/typespec-tests/src/main/java/com/server/path/multiple/MultipleAsyncClient.java +++ b/typespec-tests/src/main/java/com/server/path/multiple/MultipleAsyncClient.java @@ -55,7 +55,7 @@ public Mono> noOperationParamsWithResponse(RequestOptions request /** * The withOperationPathParam operation. * - * @param keyword A sequence of textual characters. + * @param keyword The keyword parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -90,7 +90,7 @@ public Mono noOperationParams() { /** * The withOperationPathParam operation. * - * @param keyword A sequence of textual characters. + * @param keyword The keyword parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/server/path/multiple/MultipleClient.java b/typespec-tests/src/main/java/com/server/path/multiple/MultipleClient.java index 9589294dd1..ca2694f10f 100644 --- a/typespec-tests/src/main/java/com/server/path/multiple/MultipleClient.java +++ b/typespec-tests/src/main/java/com/server/path/multiple/MultipleClient.java @@ -53,7 +53,7 @@ public Response noOperationParamsWithResponse(RequestOptions requestOption /** * The withOperationPathParam operation. * - * @param keyword A sequence of textual characters. + * @param keyword The keyword parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -87,7 +87,7 @@ public void noOperationParams() { /** * The withOperationPathParam operation. * - * @param keyword A sequence of textual characters. + * @param keyword The keyword parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/server/path/multiple/implementation/MultipleClientImpl.java b/typespec-tests/src/main/java/com/server/path/multiple/implementation/MultipleClientImpl.java index 412cb2d901..93144cb321 100644 --- a/typespec-tests/src/main/java/com/server/path/multiple/implementation/MultipleClientImpl.java +++ b/typespec-tests/src/main/java/com/server/path/multiple/implementation/MultipleClientImpl.java @@ -220,7 +220,7 @@ public Response noOperationParamsWithResponse(RequestOptions requestOption /** * The withOperationPathParam operation. * - * @param keyword A sequence of textual characters. + * @param keyword The keyword parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -238,7 +238,7 @@ public Mono> withOperationPathParamWithResponseAsync(String keywo /** * The withOperationPathParam operation. * - * @param keyword A sequence of textual characters. + * @param keyword The keyword parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/server/versions/notversioned/NotVersionedAsyncClient.java b/typespec-tests/src/main/java/com/server/versions/notversioned/NotVersionedAsyncClient.java index 9ea0d1aea3..9b8a616fab 100644 --- a/typespec-tests/src/main/java/com/server/versions/notversioned/NotVersionedAsyncClient.java +++ b/typespec-tests/src/main/java/com/server/versions/notversioned/NotVersionedAsyncClient.java @@ -55,7 +55,7 @@ public Mono> withoutApiVersionWithResponse(RequestOptions request /** * The withQueryApiVersion operation. * - * @param apiVersion A sequence of textual characters. + * @param apiVersion The apiVersion parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -72,7 +72,7 @@ public Mono> withQueryApiVersionWithResponse(String apiVersion, R /** * The withPathApiVersion operation. * - * @param apiVersion A sequence of textual characters. + * @param apiVersion The apiVersion parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -107,7 +107,7 @@ public Mono withoutApiVersion() { /** * The withQueryApiVersion operation. * - * @param apiVersion A sequence of textual characters. + * @param apiVersion The apiVersion parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -127,7 +127,7 @@ public Mono withQueryApiVersion(String apiVersion) { /** * The withPathApiVersion operation. * - * @param apiVersion A sequence of textual characters. + * @param apiVersion The apiVersion parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/server/versions/notversioned/NotVersionedClient.java b/typespec-tests/src/main/java/com/server/versions/notversioned/NotVersionedClient.java index f55fe3059c..291982cfa0 100644 --- a/typespec-tests/src/main/java/com/server/versions/notversioned/NotVersionedClient.java +++ b/typespec-tests/src/main/java/com/server/versions/notversioned/NotVersionedClient.java @@ -53,7 +53,7 @@ public Response withoutApiVersionWithResponse(RequestOptions requestOption /** * The withQueryApiVersion operation. * - * @param apiVersion A sequence of textual characters. + * @param apiVersion The apiVersion parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -70,7 +70,7 @@ public Response withQueryApiVersionWithResponse(String apiVersion, Request /** * The withPathApiVersion operation. * - * @param apiVersion A sequence of textual characters. + * @param apiVersion The apiVersion parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -104,7 +104,7 @@ public void withoutApiVersion() { /** * The withQueryApiVersion operation. * - * @param apiVersion A sequence of textual characters. + * @param apiVersion The apiVersion parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -123,7 +123,7 @@ public void withQueryApiVersion(String apiVersion) { /** * The withPathApiVersion operation. * - * @param apiVersion A sequence of textual characters. + * @param apiVersion The apiVersion parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/server/versions/notversioned/implementation/NotVersionedClientImpl.java b/typespec-tests/src/main/java/com/server/versions/notversioned/implementation/NotVersionedClientImpl.java index 91b6fb3571..25d41d2449 100644 --- a/typespec-tests/src/main/java/com/server/versions/notversioned/implementation/NotVersionedClientImpl.java +++ b/typespec-tests/src/main/java/com/server/versions/notversioned/implementation/NotVersionedClientImpl.java @@ -220,7 +220,7 @@ public Response withoutApiVersionWithResponse(RequestOptions requestOption /** * The withQueryApiVersion operation. * - * @param apiVersion A sequence of textual characters. + * @param apiVersion The apiVersion parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -238,7 +238,7 @@ public Mono> withQueryApiVersionWithResponseAsync(String apiVersi /** * The withQueryApiVersion operation. * - * @param apiVersion A sequence of textual characters. + * @param apiVersion The apiVersion parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -255,7 +255,7 @@ public Response withQueryApiVersionWithResponse(String apiVersion, Request /** * The withPathApiVersion operation. * - * @param apiVersion A sequence of textual characters. + * @param apiVersion The apiVersion parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -273,7 +273,7 @@ public Mono> withPathApiVersionWithResponseAsync(String apiVersio /** * The withPathApiVersion operation. * - * @param apiVersion A sequence of textual characters. + * @param apiVersion The apiVersion parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/specialwords/ParametersAsyncClient.java b/typespec-tests/src/main/java/com/specialwords/ParametersAsyncClient.java index 60fb2f9186..458637eb97 100644 --- a/typespec-tests/src/main/java/com/specialwords/ParametersAsyncClient.java +++ b/typespec-tests/src/main/java/com/specialwords/ParametersAsyncClient.java @@ -39,7 +39,7 @@ public final class ParametersAsyncClient { /** * The withAnd operation. * - * @param and A sequence of textual characters. + * @param and The and parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -56,7 +56,7 @@ public Mono> withAndWithResponse(String and, RequestOptions reque /** * The withAs operation. * - * @param as A sequence of textual characters. + * @param as The as parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -73,7 +73,7 @@ public Mono> withAsWithResponse(String as, RequestOptions request /** * The withAssert operation. * - * @param assertParameter A sequence of textual characters. + * @param assertParameter The assertParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -90,7 +90,7 @@ public Mono> withAssertWithResponse(String assertParameter, Reque /** * The withAsync operation. * - * @param async A sequence of textual characters. + * @param async The async parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -107,7 +107,7 @@ public Mono> withAsyncWithResponse(String async, RequestOptions r /** * The withAwait operation. * - * @param await A sequence of textual characters. + * @param await The await parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -124,7 +124,7 @@ public Mono> withAwaitWithResponse(String await, RequestOptions r /** * The withBreak operation. * - * @param breakParameter A sequence of textual characters. + * @param breakParameter The breakParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -141,7 +141,7 @@ public Mono> withBreakWithResponse(String breakParameter, Request /** * The withClass operation. * - * @param classParameter A sequence of textual characters. + * @param classParameter The classParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -158,7 +158,7 @@ public Mono> withClassWithResponse(String classParameter, Request /** * The withConstructor operation. * - * @param constructor A sequence of textual characters. + * @param constructor The constructor parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -175,7 +175,7 @@ public Mono> withConstructorWithResponse(String constructor, Requ /** * The withContinue operation. * - * @param continueParameter A sequence of textual characters. + * @param continueParameter The continueParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -192,7 +192,7 @@ public Mono> withContinueWithResponse(String continueParameter, R /** * The withDef operation. * - * @param def A sequence of textual characters. + * @param def The def parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -209,7 +209,7 @@ public Mono> withDefWithResponse(String def, RequestOptions reque /** * The withDel operation. * - * @param del A sequence of textual characters. + * @param del The del parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -226,7 +226,7 @@ public Mono> withDelWithResponse(String del, RequestOptions reque /** * The withElif operation. * - * @param elif A sequence of textual characters. + * @param elif The elif parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -243,7 +243,7 @@ public Mono> withElifWithResponse(String elif, RequestOptions req /** * The withElse operation. * - * @param elseParameter A sequence of textual characters. + * @param elseParameter The elseParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -260,7 +260,7 @@ public Mono> withElseWithResponse(String elseParameter, RequestOp /** * The withExcept operation. * - * @param except A sequence of textual characters. + * @param except The except parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -277,7 +277,7 @@ public Mono> withExceptWithResponse(String except, RequestOptions /** * The withExec operation. * - * @param exec A sequence of textual characters. + * @param exec The exec parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -294,7 +294,7 @@ public Mono> withExecWithResponse(String exec, RequestOptions req /** * The withFinally operation. * - * @param finallyParameter A sequence of textual characters. + * @param finallyParameter The finallyParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -311,7 +311,7 @@ public Mono> withFinallyWithResponse(String finallyParameter, Req /** * The withFor operation. * - * @param forParameter A sequence of textual characters. + * @param forParameter The forParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -328,7 +328,7 @@ public Mono> withForWithResponse(String forParameter, RequestOpti /** * The withFrom operation. * - * @param from A sequence of textual characters. + * @param from The from parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -345,7 +345,7 @@ public Mono> withFromWithResponse(String from, RequestOptions req /** * The withGlobal operation. * - * @param global A sequence of textual characters. + * @param global The global parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -362,7 +362,7 @@ public Mono> withGlobalWithResponse(String global, RequestOptions /** * The withIf operation. * - * @param ifParameter A sequence of textual characters. + * @param ifParameter The ifParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -379,7 +379,7 @@ public Mono> withIfWithResponse(String ifParameter, RequestOption /** * The withImport operation. * - * @param importParameter A sequence of textual characters. + * @param importParameter The importParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -396,7 +396,7 @@ public Mono> withImportWithResponse(String importParameter, Reque /** * The withIn operation. * - * @param in A sequence of textual characters. + * @param in The in parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -413,7 +413,7 @@ public Mono> withInWithResponse(String in, RequestOptions request /** * The withIs operation. * - * @param is A sequence of textual characters. + * @param is The is parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -430,7 +430,7 @@ public Mono> withIsWithResponse(String is, RequestOptions request /** * The withLambda operation. * - * @param lambda A sequence of textual characters. + * @param lambda The lambda parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -447,7 +447,7 @@ public Mono> withLambdaWithResponse(String lambda, RequestOptions /** * The withNot operation. * - * @param not A sequence of textual characters. + * @param not The not parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -464,7 +464,7 @@ public Mono> withNotWithResponse(String not, RequestOptions reque /** * The withOr operation. * - * @param or A sequence of textual characters. + * @param or The or parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -481,7 +481,7 @@ public Mono> withOrWithResponse(String or, RequestOptions request /** * The withPass operation. * - * @param pass A sequence of textual characters. + * @param pass The pass parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -498,7 +498,7 @@ public Mono> withPassWithResponse(String pass, RequestOptions req /** * The withRaise operation. * - * @param raise A sequence of textual characters. + * @param raise The raise parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -515,7 +515,7 @@ public Mono> withRaiseWithResponse(String raise, RequestOptions r /** * The withReturn operation. * - * @param returnParameter A sequence of textual characters. + * @param returnParameter The returnParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -532,7 +532,7 @@ public Mono> withReturnWithResponse(String returnParameter, Reque /** * The withTry operation. * - * @param tryParameter A sequence of textual characters. + * @param tryParameter The tryParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -549,7 +549,7 @@ public Mono> withTryWithResponse(String tryParameter, RequestOpti /** * The withWhile operation. * - * @param whileParameter A sequence of textual characters. + * @param whileParameter The whileParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -566,7 +566,7 @@ public Mono> withWhileWithResponse(String whileParameter, Request /** * The withWith operation. * - * @param with A sequence of textual characters. + * @param with The with parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -583,7 +583,7 @@ public Mono> withWithWithResponse(String with, RequestOptions req /** * The withYield operation. * - * @param yield A sequence of textual characters. + * @param yield The yield parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -600,7 +600,7 @@ public Mono> withYieldWithResponse(String yield, RequestOptions r /** * The withCancellationToken operation. * - * @param cancellationToken A sequence of textual characters. + * @param cancellationToken The cancellationToken parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -618,7 +618,7 @@ public Mono> withCancellationTokenWithResponse(String cancellatio /** * The withAnd operation. * - * @param and A sequence of textual characters. + * @param and The and parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -638,7 +638,7 @@ public Mono withAnd(String and) { /** * The withAs operation. * - * @param as A sequence of textual characters. + * @param as The as parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -658,7 +658,7 @@ public Mono withAs(String as) { /** * The withAssert operation. * - * @param assertParameter A sequence of textual characters. + * @param assertParameter The assertParameter parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -678,7 +678,7 @@ public Mono withAssert(String assertParameter) { /** * The withAsync operation. * - * @param async A sequence of textual characters. + * @param async The async parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -698,7 +698,7 @@ public Mono withAsync(String async) { /** * The withAwait operation. * - * @param await A sequence of textual characters. + * @param await The await parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -718,7 +718,7 @@ public Mono withAwait(String await) { /** * The withBreak operation. * - * @param breakParameter A sequence of textual characters. + * @param breakParameter The breakParameter parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -738,7 +738,7 @@ public Mono withBreak(String breakParameter) { /** * The withClass operation. * - * @param classParameter A sequence of textual characters. + * @param classParameter The classParameter parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -758,7 +758,7 @@ public Mono withClass(String classParameter) { /** * The withConstructor operation. * - * @param constructor A sequence of textual characters. + * @param constructor The constructor parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -778,7 +778,7 @@ public Mono withConstructor(String constructor) { /** * The withContinue operation. * - * @param continueParameter A sequence of textual characters. + * @param continueParameter The continueParameter parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -798,7 +798,7 @@ public Mono withContinue(String continueParameter) { /** * The withDef operation. * - * @param def A sequence of textual characters. + * @param def The def parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -818,7 +818,7 @@ public Mono withDef(String def) { /** * The withDel operation. * - * @param del A sequence of textual characters. + * @param del The del parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -838,7 +838,7 @@ public Mono withDel(String del) { /** * The withElif operation. * - * @param elif A sequence of textual characters. + * @param elif The elif parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -858,7 +858,7 @@ public Mono withElif(String elif) { /** * The withElse operation. * - * @param elseParameter A sequence of textual characters. + * @param elseParameter The elseParameter parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -878,7 +878,7 @@ public Mono withElse(String elseParameter) { /** * The withExcept operation. * - * @param except A sequence of textual characters. + * @param except The except parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -898,7 +898,7 @@ public Mono withExcept(String except) { /** * The withExec operation. * - * @param exec A sequence of textual characters. + * @param exec The exec parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -918,7 +918,7 @@ public Mono withExec(String exec) { /** * The withFinally operation. * - * @param finallyParameter A sequence of textual characters. + * @param finallyParameter The finallyParameter parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -938,7 +938,7 @@ public Mono withFinally(String finallyParameter) { /** * The withFor operation. * - * @param forParameter A sequence of textual characters. + * @param forParameter The forParameter parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -958,7 +958,7 @@ public Mono withFor(String forParameter) { /** * The withFrom operation. * - * @param from A sequence of textual characters. + * @param from The from parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -978,7 +978,7 @@ public Mono withFrom(String from) { /** * The withGlobal operation. * - * @param global A sequence of textual characters. + * @param global The global parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -998,7 +998,7 @@ public Mono withGlobal(String global) { /** * The withIf operation. * - * @param ifParameter A sequence of textual characters. + * @param ifParameter The ifParameter parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1018,7 +1018,7 @@ public Mono withIf(String ifParameter) { /** * The withImport operation. * - * @param importParameter A sequence of textual characters. + * @param importParameter The importParameter parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1038,7 +1038,7 @@ public Mono withImport(String importParameter) { /** * The withIn operation. * - * @param in A sequence of textual characters. + * @param in The in parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1058,7 +1058,7 @@ public Mono withIn(String in) { /** * The withIs operation. * - * @param is A sequence of textual characters. + * @param is The is parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1078,7 +1078,7 @@ public Mono withIs(String is) { /** * The withLambda operation. * - * @param lambda A sequence of textual characters. + * @param lambda The lambda parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1098,7 +1098,7 @@ public Mono withLambda(String lambda) { /** * The withNot operation. * - * @param not A sequence of textual characters. + * @param not The not parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1118,7 +1118,7 @@ public Mono withNot(String not) { /** * The withOr operation. * - * @param or A sequence of textual characters. + * @param or The or parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1138,7 +1138,7 @@ public Mono withOr(String or) { /** * The withPass operation. * - * @param pass A sequence of textual characters. + * @param pass The pass parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1158,7 +1158,7 @@ public Mono withPass(String pass) { /** * The withRaise operation. * - * @param raise A sequence of textual characters. + * @param raise The raise parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1178,7 +1178,7 @@ public Mono withRaise(String raise) { /** * The withReturn operation. * - * @param returnParameter A sequence of textual characters. + * @param returnParameter The returnParameter parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1198,7 +1198,7 @@ public Mono withReturn(String returnParameter) { /** * The withTry operation. * - * @param tryParameter A sequence of textual characters. + * @param tryParameter The tryParameter parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1218,7 +1218,7 @@ public Mono withTry(String tryParameter) { /** * The withWhile operation. * - * @param whileParameter A sequence of textual characters. + * @param whileParameter The whileParameter parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1238,7 +1238,7 @@ public Mono withWhile(String whileParameter) { /** * The withWith operation. * - * @param with A sequence of textual characters. + * @param with The with parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1258,7 +1258,7 @@ public Mono withWith(String with) { /** * The withYield operation. * - * @param yield A sequence of textual characters. + * @param yield The yield parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1278,7 +1278,7 @@ public Mono withYield(String yield) { /** * The withCancellationToken operation. * - * @param cancellationToken A sequence of textual characters. + * @param cancellationToken The cancellationToken parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/specialwords/ParametersClient.java b/typespec-tests/src/main/java/com/specialwords/ParametersClient.java index 2614040dba..c71cd7a558 100644 --- a/typespec-tests/src/main/java/com/specialwords/ParametersClient.java +++ b/typespec-tests/src/main/java/com/specialwords/ParametersClient.java @@ -37,7 +37,7 @@ public final class ParametersClient { /** * The withAnd operation. * - * @param and A sequence of textual characters. + * @param and The and parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -54,7 +54,7 @@ public Response withAndWithResponse(String and, RequestOptions requestOpti /** * The withAs operation. * - * @param as A sequence of textual characters. + * @param as The as parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -71,7 +71,7 @@ public Response withAsWithResponse(String as, RequestOptions requestOption /** * The withAssert operation. * - * @param assertParameter A sequence of textual characters. + * @param assertParameter The assertParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -88,7 +88,7 @@ public Response withAssertWithResponse(String assertParameter, RequestOpti /** * The withAsync operation. * - * @param async A sequence of textual characters. + * @param async The async parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -105,7 +105,7 @@ public Response withAsyncWithResponse(String async, RequestOptions request /** * The withAwait operation. * - * @param await A sequence of textual characters. + * @param await The await parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -122,7 +122,7 @@ public Response withAwaitWithResponse(String await, RequestOptions request /** * The withBreak operation. * - * @param breakParameter A sequence of textual characters. + * @param breakParameter The breakParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -139,7 +139,7 @@ public Response withBreakWithResponse(String breakParameter, RequestOption /** * The withClass operation. * - * @param classParameter A sequence of textual characters. + * @param classParameter The classParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -156,7 +156,7 @@ public Response withClassWithResponse(String classParameter, RequestOption /** * The withConstructor operation. * - * @param constructor A sequence of textual characters. + * @param constructor The constructor parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -173,7 +173,7 @@ public Response withConstructorWithResponse(String constructor, RequestOpt /** * The withContinue operation. * - * @param continueParameter A sequence of textual characters. + * @param continueParameter The continueParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -190,7 +190,7 @@ public Response withContinueWithResponse(String continueParameter, Request /** * The withDef operation. * - * @param def A sequence of textual characters. + * @param def The def parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -207,7 +207,7 @@ public Response withDefWithResponse(String def, RequestOptions requestOpti /** * The withDel operation. * - * @param del A sequence of textual characters. + * @param del The del parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -224,7 +224,7 @@ public Response withDelWithResponse(String del, RequestOptions requestOpti /** * The withElif operation. * - * @param elif A sequence of textual characters. + * @param elif The elif parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -241,7 +241,7 @@ public Response withElifWithResponse(String elif, RequestOptions requestOp /** * The withElse operation. * - * @param elseParameter A sequence of textual characters. + * @param elseParameter The elseParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -258,7 +258,7 @@ public Response withElseWithResponse(String elseParameter, RequestOptions /** * The withExcept operation. * - * @param except A sequence of textual characters. + * @param except The except parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -275,7 +275,7 @@ public Response withExceptWithResponse(String except, RequestOptions reque /** * The withExec operation. * - * @param exec A sequence of textual characters. + * @param exec The exec parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -292,7 +292,7 @@ public Response withExecWithResponse(String exec, RequestOptions requestOp /** * The withFinally operation. * - * @param finallyParameter A sequence of textual characters. + * @param finallyParameter The finallyParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -309,7 +309,7 @@ public Response withFinallyWithResponse(String finallyParameter, RequestOp /** * The withFor operation. * - * @param forParameter A sequence of textual characters. + * @param forParameter The forParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -326,7 +326,7 @@ public Response withForWithResponse(String forParameter, RequestOptions re /** * The withFrom operation. * - * @param from A sequence of textual characters. + * @param from The from parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -343,7 +343,7 @@ public Response withFromWithResponse(String from, RequestOptions requestOp /** * The withGlobal operation. * - * @param global A sequence of textual characters. + * @param global The global parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -360,7 +360,7 @@ public Response withGlobalWithResponse(String global, RequestOptions reque /** * The withIf operation. * - * @param ifParameter A sequence of textual characters. + * @param ifParameter The ifParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -377,7 +377,7 @@ public Response withIfWithResponse(String ifParameter, RequestOptions requ /** * The withImport operation. * - * @param importParameter A sequence of textual characters. + * @param importParameter The importParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -394,7 +394,7 @@ public Response withImportWithResponse(String importParameter, RequestOpti /** * The withIn operation. * - * @param in A sequence of textual characters. + * @param in The in parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -411,7 +411,7 @@ public Response withInWithResponse(String in, RequestOptions requestOption /** * The withIs operation. * - * @param is A sequence of textual characters. + * @param is The is parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -428,7 +428,7 @@ public Response withIsWithResponse(String is, RequestOptions requestOption /** * The withLambda operation. * - * @param lambda A sequence of textual characters. + * @param lambda The lambda parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -445,7 +445,7 @@ public Response withLambdaWithResponse(String lambda, RequestOptions reque /** * The withNot operation. * - * @param not A sequence of textual characters. + * @param not The not parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -462,7 +462,7 @@ public Response withNotWithResponse(String not, RequestOptions requestOpti /** * The withOr operation. * - * @param or A sequence of textual characters. + * @param or The or parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -479,7 +479,7 @@ public Response withOrWithResponse(String or, RequestOptions requestOption /** * The withPass operation. * - * @param pass A sequence of textual characters. + * @param pass The pass parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -496,7 +496,7 @@ public Response withPassWithResponse(String pass, RequestOptions requestOp /** * The withRaise operation. * - * @param raise A sequence of textual characters. + * @param raise The raise parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -513,7 +513,7 @@ public Response withRaiseWithResponse(String raise, RequestOptions request /** * The withReturn operation. * - * @param returnParameter A sequence of textual characters. + * @param returnParameter The returnParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -530,7 +530,7 @@ public Response withReturnWithResponse(String returnParameter, RequestOpti /** * The withTry operation. * - * @param tryParameter A sequence of textual characters. + * @param tryParameter The tryParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -547,7 +547,7 @@ public Response withTryWithResponse(String tryParameter, RequestOptions re /** * The withWhile operation. * - * @param whileParameter A sequence of textual characters. + * @param whileParameter The whileParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -564,7 +564,7 @@ public Response withWhileWithResponse(String whileParameter, RequestOption /** * The withWith operation. * - * @param with A sequence of textual characters. + * @param with The with parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -581,7 +581,7 @@ public Response withWithWithResponse(String with, RequestOptions requestOp /** * The withYield operation. * - * @param yield A sequence of textual characters. + * @param yield The yield parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -598,7 +598,7 @@ public Response withYieldWithResponse(String yield, RequestOptions request /** * The withCancellationToken operation. * - * @param cancellationToken A sequence of textual characters. + * @param cancellationToken The cancellationToken parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -615,7 +615,7 @@ public Response withCancellationTokenWithResponse(String cancellationToken /** * The withAnd operation. * - * @param and A sequence of textual characters. + * @param and The and parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -634,7 +634,7 @@ public void withAnd(String and) { /** * The withAs operation. * - * @param as A sequence of textual characters. + * @param as The as parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -653,7 +653,7 @@ public void withAs(String as) { /** * The withAssert operation. * - * @param assertParameter A sequence of textual characters. + * @param assertParameter The assertParameter parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -672,7 +672,7 @@ public void withAssert(String assertParameter) { /** * The withAsync operation. * - * @param async A sequence of textual characters. + * @param async The async parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -691,7 +691,7 @@ public void withAsync(String async) { /** * The withAwait operation. * - * @param await A sequence of textual characters. + * @param await The await parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -710,7 +710,7 @@ public void withAwait(String await) { /** * The withBreak operation. * - * @param breakParameter A sequence of textual characters. + * @param breakParameter The breakParameter parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -729,7 +729,7 @@ public void withBreak(String breakParameter) { /** * The withClass operation. * - * @param classParameter A sequence of textual characters. + * @param classParameter The classParameter parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -748,7 +748,7 @@ public void withClass(String classParameter) { /** * The withConstructor operation. * - * @param constructor A sequence of textual characters. + * @param constructor The constructor parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -767,7 +767,7 @@ public void withConstructor(String constructor) { /** * The withContinue operation. * - * @param continueParameter A sequence of textual characters. + * @param continueParameter The continueParameter parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -786,7 +786,7 @@ public void withContinue(String continueParameter) { /** * The withDef operation. * - * @param def A sequence of textual characters. + * @param def The def parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -805,7 +805,7 @@ public void withDef(String def) { /** * The withDel operation. * - * @param del A sequence of textual characters. + * @param del The del parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -824,7 +824,7 @@ public void withDel(String del) { /** * The withElif operation. * - * @param elif A sequence of textual characters. + * @param elif The elif parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -843,7 +843,7 @@ public void withElif(String elif) { /** * The withElse operation. * - * @param elseParameter A sequence of textual characters. + * @param elseParameter The elseParameter parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -862,7 +862,7 @@ public void withElse(String elseParameter) { /** * The withExcept operation. * - * @param except A sequence of textual characters. + * @param except The except parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -881,7 +881,7 @@ public void withExcept(String except) { /** * The withExec operation. * - * @param exec A sequence of textual characters. + * @param exec The exec parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -900,7 +900,7 @@ public void withExec(String exec) { /** * The withFinally operation. * - * @param finallyParameter A sequence of textual characters. + * @param finallyParameter The finallyParameter parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -919,7 +919,7 @@ public void withFinally(String finallyParameter) { /** * The withFor operation. * - * @param forParameter A sequence of textual characters. + * @param forParameter The forParameter parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -938,7 +938,7 @@ public void withFor(String forParameter) { /** * The withFrom operation. * - * @param from A sequence of textual characters. + * @param from The from parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -957,7 +957,7 @@ public void withFrom(String from) { /** * The withGlobal operation. * - * @param global A sequence of textual characters. + * @param global The global parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -976,7 +976,7 @@ public void withGlobal(String global) { /** * The withIf operation. * - * @param ifParameter A sequence of textual characters. + * @param ifParameter The ifParameter parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -995,7 +995,7 @@ public void withIf(String ifParameter) { /** * The withImport operation. * - * @param importParameter A sequence of textual characters. + * @param importParameter The importParameter parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1014,7 +1014,7 @@ public void withImport(String importParameter) { /** * The withIn operation. * - * @param in A sequence of textual characters. + * @param in The in parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1033,7 +1033,7 @@ public void withIn(String in) { /** * The withIs operation. * - * @param is A sequence of textual characters. + * @param is The is parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1052,7 +1052,7 @@ public void withIs(String is) { /** * The withLambda operation. * - * @param lambda A sequence of textual characters. + * @param lambda The lambda parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1071,7 +1071,7 @@ public void withLambda(String lambda) { /** * The withNot operation. * - * @param not A sequence of textual characters. + * @param not The not parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1090,7 +1090,7 @@ public void withNot(String not) { /** * The withOr operation. * - * @param or A sequence of textual characters. + * @param or The or parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1109,7 +1109,7 @@ public void withOr(String or) { /** * The withPass operation. * - * @param pass A sequence of textual characters. + * @param pass The pass parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1128,7 +1128,7 @@ public void withPass(String pass) { /** * The withRaise operation. * - * @param raise A sequence of textual characters. + * @param raise The raise parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1147,7 +1147,7 @@ public void withRaise(String raise) { /** * The withReturn operation. * - * @param returnParameter A sequence of textual characters. + * @param returnParameter The returnParameter parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1166,7 +1166,7 @@ public void withReturn(String returnParameter) { /** * The withTry operation. * - * @param tryParameter A sequence of textual characters. + * @param tryParameter The tryParameter parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1185,7 +1185,7 @@ public void withTry(String tryParameter) { /** * The withWhile operation. * - * @param whileParameter A sequence of textual characters. + * @param whileParameter The whileParameter parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1204,7 +1204,7 @@ public void withWhile(String whileParameter) { /** * The withWith operation. * - * @param with A sequence of textual characters. + * @param with The with parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1223,7 +1223,7 @@ public void withWith(String with) { /** * The withYield operation. * - * @param yield A sequence of textual characters. + * @param yield The yield parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1242,7 +1242,7 @@ public void withYield(String yield) { /** * The withCancellationToken operation. * - * @param cancellationToken A sequence of textual characters. + * @param cancellationToken The cancellationToken parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/specialwords/implementation/ParametersImpl.java b/typespec-tests/src/main/java/com/specialwords/implementation/ParametersImpl.java index 813a8f8c94..40e40e0a6a 100644 --- a/typespec-tests/src/main/java/com/specialwords/implementation/ParametersImpl.java +++ b/typespec-tests/src/main/java/com/specialwords/implementation/ParametersImpl.java @@ -672,7 +672,7 @@ Response withCancellationTokenSync(@QueryParam("cancellationToken") String /** * The withAnd operation. * - * @param and A sequence of textual characters. + * @param and The and parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -689,7 +689,7 @@ public Mono> withAndWithResponseAsync(String and, RequestOptions /** * The withAnd operation. * - * @param and A sequence of textual characters. + * @param and The and parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -706,7 +706,7 @@ public Response withAndWithResponse(String and, RequestOptions requestOpti /** * The withAs operation. * - * @param as A sequence of textual characters. + * @param as The as parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -723,7 +723,7 @@ public Mono> withAsWithResponseAsync(String as, RequestOptions re /** * The withAs operation. * - * @param as A sequence of textual characters. + * @param as The as parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -740,7 +740,7 @@ public Response withAsWithResponse(String as, RequestOptions requestOption /** * The withAssert operation. * - * @param assertParameter A sequence of textual characters. + * @param assertParameter The assertParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -757,7 +757,7 @@ public Mono> withAssertWithResponseAsync(String assertParameter, /** * The withAssert operation. * - * @param assertParameter A sequence of textual characters. + * @param assertParameter The assertParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -774,7 +774,7 @@ public Response withAssertWithResponse(String assertParameter, RequestOpti /** * The withAsync operation. * - * @param async A sequence of textual characters. + * @param async The async parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -791,7 +791,7 @@ public Mono> withAsyncWithResponseAsync(String async, RequestOpti /** * The withAsync operation. * - * @param async A sequence of textual characters. + * @param async The async parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -808,7 +808,7 @@ public Response withAsyncWithResponse(String async, RequestOptions request /** * The withAwait operation. * - * @param await A sequence of textual characters. + * @param await The await parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -825,7 +825,7 @@ public Mono> withAwaitWithResponseAsync(String await, RequestOpti /** * The withAwait operation. * - * @param await A sequence of textual characters. + * @param await The await parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -842,7 +842,7 @@ public Response withAwaitWithResponse(String await, RequestOptions request /** * The withBreak operation. * - * @param breakParameter A sequence of textual characters. + * @param breakParameter The breakParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -859,7 +859,7 @@ public Mono> withBreakWithResponseAsync(String breakParameter, Re /** * The withBreak operation. * - * @param breakParameter A sequence of textual characters. + * @param breakParameter The breakParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -876,7 +876,7 @@ public Response withBreakWithResponse(String breakParameter, RequestOption /** * The withClass operation. * - * @param classParameter A sequence of textual characters. + * @param classParameter The classParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -893,7 +893,7 @@ public Mono> withClassWithResponseAsync(String classParameter, Re /** * The withClass operation. * - * @param classParameter A sequence of textual characters. + * @param classParameter The classParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -910,7 +910,7 @@ public Response withClassWithResponse(String classParameter, RequestOption /** * The withConstructor operation. * - * @param constructor A sequence of textual characters. + * @param constructor The constructor parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -927,7 +927,7 @@ public Mono> withConstructorWithResponseAsync(String constructor, /** * The withConstructor operation. * - * @param constructor A sequence of textual characters. + * @param constructor The constructor parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -944,7 +944,7 @@ public Response withConstructorWithResponse(String constructor, RequestOpt /** * The withContinue operation. * - * @param continueParameter A sequence of textual characters. + * @param continueParameter The continueParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -962,7 +962,7 @@ public Mono> withContinueWithResponseAsync(String continueParamet /** * The withContinue operation. * - * @param continueParameter A sequence of textual characters. + * @param continueParameter The continueParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -979,7 +979,7 @@ public Response withContinueWithResponse(String continueParameter, Request /** * The withDef operation. * - * @param def A sequence of textual characters. + * @param def The def parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -996,7 +996,7 @@ public Mono> withDefWithResponseAsync(String def, RequestOptions /** * The withDef operation. * - * @param def A sequence of textual characters. + * @param def The def parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1013,7 +1013,7 @@ public Response withDefWithResponse(String def, RequestOptions requestOpti /** * The withDel operation. * - * @param del A sequence of textual characters. + * @param del The del parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1030,7 +1030,7 @@ public Mono> withDelWithResponseAsync(String del, RequestOptions /** * The withDel operation. * - * @param del A sequence of textual characters. + * @param del The del parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1047,7 +1047,7 @@ public Response withDelWithResponse(String del, RequestOptions requestOpti /** * The withElif operation. * - * @param elif A sequence of textual characters. + * @param elif The elif parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1064,7 +1064,7 @@ public Mono> withElifWithResponseAsync(String elif, RequestOption /** * The withElif operation. * - * @param elif A sequence of textual characters. + * @param elif The elif parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1081,7 +1081,7 @@ public Response withElifWithResponse(String elif, RequestOptions requestOp /** * The withElse operation. * - * @param elseParameter A sequence of textual characters. + * @param elseParameter The elseParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1098,7 +1098,7 @@ public Mono> withElseWithResponseAsync(String elseParameter, Requ /** * The withElse operation. * - * @param elseParameter A sequence of textual characters. + * @param elseParameter The elseParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1115,7 +1115,7 @@ public Response withElseWithResponse(String elseParameter, RequestOptions /** * The withExcept operation. * - * @param except A sequence of textual characters. + * @param except The except parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1132,7 +1132,7 @@ public Mono> withExceptWithResponseAsync(String except, RequestOp /** * The withExcept operation. * - * @param except A sequence of textual characters. + * @param except The except parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1149,7 +1149,7 @@ public Response withExceptWithResponse(String except, RequestOptions reque /** * The withExec operation. * - * @param exec A sequence of textual characters. + * @param exec The exec parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1166,7 +1166,7 @@ public Mono> withExecWithResponseAsync(String exec, RequestOption /** * The withExec operation. * - * @param exec A sequence of textual characters. + * @param exec The exec parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1183,7 +1183,7 @@ public Response withExecWithResponse(String exec, RequestOptions requestOp /** * The withFinally operation. * - * @param finallyParameter A sequence of textual characters. + * @param finallyParameter The finallyParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1200,7 +1200,7 @@ public Mono> withFinallyWithResponseAsync(String finallyParameter /** * The withFinally operation. * - * @param finallyParameter A sequence of textual characters. + * @param finallyParameter The finallyParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1217,7 +1217,7 @@ public Response withFinallyWithResponse(String finallyParameter, RequestOp /** * The withFor operation. * - * @param forParameter A sequence of textual characters. + * @param forParameter The forParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1234,7 +1234,7 @@ public Mono> withForWithResponseAsync(String forParameter, Reques /** * The withFor operation. * - * @param forParameter A sequence of textual characters. + * @param forParameter The forParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1251,7 +1251,7 @@ public Response withForWithResponse(String forParameter, RequestOptions re /** * The withFrom operation. * - * @param from A sequence of textual characters. + * @param from The from parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1268,7 +1268,7 @@ public Mono> withFromWithResponseAsync(String from, RequestOption /** * The withFrom operation. * - * @param from A sequence of textual characters. + * @param from The from parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1285,7 +1285,7 @@ public Response withFromWithResponse(String from, RequestOptions requestOp /** * The withGlobal operation. * - * @param global A sequence of textual characters. + * @param global The global parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1302,7 +1302,7 @@ public Mono> withGlobalWithResponseAsync(String global, RequestOp /** * The withGlobal operation. * - * @param global A sequence of textual characters. + * @param global The global parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1319,7 +1319,7 @@ public Response withGlobalWithResponse(String global, RequestOptions reque /** * The withIf operation. * - * @param ifParameter A sequence of textual characters. + * @param ifParameter The ifParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1336,7 +1336,7 @@ public Mono> withIfWithResponseAsync(String ifParameter, RequestO /** * The withIf operation. * - * @param ifParameter A sequence of textual characters. + * @param ifParameter The ifParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1353,7 +1353,7 @@ public Response withIfWithResponse(String ifParameter, RequestOptions requ /** * The withImport operation. * - * @param importParameter A sequence of textual characters. + * @param importParameter The importParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1370,7 +1370,7 @@ public Mono> withImportWithResponseAsync(String importParameter, /** * The withImport operation. * - * @param importParameter A sequence of textual characters. + * @param importParameter The importParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1387,7 +1387,7 @@ public Response withImportWithResponse(String importParameter, RequestOpti /** * The withIn operation. * - * @param in A sequence of textual characters. + * @param in The in parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1404,7 +1404,7 @@ public Mono> withInWithResponseAsync(String in, RequestOptions re /** * The withIn operation. * - * @param in A sequence of textual characters. + * @param in The in parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1421,7 +1421,7 @@ public Response withInWithResponse(String in, RequestOptions requestOption /** * The withIs operation. * - * @param is A sequence of textual characters. + * @param is The is parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1438,7 +1438,7 @@ public Mono> withIsWithResponseAsync(String is, RequestOptions re /** * The withIs operation. * - * @param is A sequence of textual characters. + * @param is The is parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1455,7 +1455,7 @@ public Response withIsWithResponse(String is, RequestOptions requestOption /** * The withLambda operation. * - * @param lambda A sequence of textual characters. + * @param lambda The lambda parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1472,7 +1472,7 @@ public Mono> withLambdaWithResponseAsync(String lambda, RequestOp /** * The withLambda operation. * - * @param lambda A sequence of textual characters. + * @param lambda The lambda parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1489,7 +1489,7 @@ public Response withLambdaWithResponse(String lambda, RequestOptions reque /** * The withNot operation. * - * @param not A sequence of textual characters. + * @param not The not parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1506,7 +1506,7 @@ public Mono> withNotWithResponseAsync(String not, RequestOptions /** * The withNot operation. * - * @param not A sequence of textual characters. + * @param not The not parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1523,7 +1523,7 @@ public Response withNotWithResponse(String not, RequestOptions requestOpti /** * The withOr operation. * - * @param or A sequence of textual characters. + * @param or The or parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1540,7 +1540,7 @@ public Mono> withOrWithResponseAsync(String or, RequestOptions re /** * The withOr operation. * - * @param or A sequence of textual characters. + * @param or The or parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1557,7 +1557,7 @@ public Response withOrWithResponse(String or, RequestOptions requestOption /** * The withPass operation. * - * @param pass A sequence of textual characters. + * @param pass The pass parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1574,7 +1574,7 @@ public Mono> withPassWithResponseAsync(String pass, RequestOption /** * The withPass operation. * - * @param pass A sequence of textual characters. + * @param pass The pass parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1591,7 +1591,7 @@ public Response withPassWithResponse(String pass, RequestOptions requestOp /** * The withRaise operation. * - * @param raise A sequence of textual characters. + * @param raise The raise parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1608,7 +1608,7 @@ public Mono> withRaiseWithResponseAsync(String raise, RequestOpti /** * The withRaise operation. * - * @param raise A sequence of textual characters. + * @param raise The raise parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1625,7 +1625,7 @@ public Response withRaiseWithResponse(String raise, RequestOptions request /** * The withReturn operation. * - * @param returnParameter A sequence of textual characters. + * @param returnParameter The returnParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1642,7 +1642,7 @@ public Mono> withReturnWithResponseAsync(String returnParameter, /** * The withReturn operation. * - * @param returnParameter A sequence of textual characters. + * @param returnParameter The returnParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1659,7 +1659,7 @@ public Response withReturnWithResponse(String returnParameter, RequestOpti /** * The withTry operation. * - * @param tryParameter A sequence of textual characters. + * @param tryParameter The tryParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1676,7 +1676,7 @@ public Mono> withTryWithResponseAsync(String tryParameter, Reques /** * The withTry operation. * - * @param tryParameter A sequence of textual characters. + * @param tryParameter The tryParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1693,7 +1693,7 @@ public Response withTryWithResponse(String tryParameter, RequestOptions re /** * The withWhile operation. * - * @param whileParameter A sequence of textual characters. + * @param whileParameter The whileParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1710,7 +1710,7 @@ public Mono> withWhileWithResponseAsync(String whileParameter, Re /** * The withWhile operation. * - * @param whileParameter A sequence of textual characters. + * @param whileParameter The whileParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1727,7 +1727,7 @@ public Response withWhileWithResponse(String whileParameter, RequestOption /** * The withWith operation. * - * @param with A sequence of textual characters. + * @param with The with parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1744,7 +1744,7 @@ public Mono> withWithWithResponseAsync(String with, RequestOption /** * The withWith operation. * - * @param with A sequence of textual characters. + * @param with The with parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1761,7 +1761,7 @@ public Response withWithWithResponse(String with, RequestOptions requestOp /** * The withYield operation. * - * @param yield A sequence of textual characters. + * @param yield The yield parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1778,7 +1778,7 @@ public Mono> withYieldWithResponseAsync(String yield, RequestOpti /** * The withYield operation. * - * @param yield A sequence of textual characters. + * @param yield The yield parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1795,7 +1795,7 @@ public Response withYieldWithResponse(String yield, RequestOptions request /** * The withCancellationToken operation. * - * @param cancellationToken A sequence of textual characters. + * @param cancellationToken The cancellationToken parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1814,7 +1814,7 @@ public Mono> withCancellationTokenWithResponseAsync(String cancel /** * The withCancellationToken operation. * - * @param cancellationToken A sequence of textual characters. + * @param cancellationToken The cancellationToken parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/specialwords/models/And.java b/typespec-tests/src/main/java/com/specialwords/models/And.java index 8b6ed94f84..55fefb9a1b 100644 --- a/typespec-tests/src/main/java/com/specialwords/models/And.java +++ b/typespec-tests/src/main/java/com/specialwords/models/And.java @@ -18,7 +18,7 @@ @Immutable public final class And implements JsonSerializable { /* - * The name property. + * A sequence of textual characters. */ @Generated private final String name; @@ -34,7 +34,7 @@ public And(String name) { } /** - * Get the name property: The name property. + * Get the name property: A sequence of textual characters. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/specialwords/models/As.java b/typespec-tests/src/main/java/com/specialwords/models/As.java index 6c42e17fc7..548265f564 100644 --- a/typespec-tests/src/main/java/com/specialwords/models/As.java +++ b/typespec-tests/src/main/java/com/specialwords/models/As.java @@ -18,7 +18,7 @@ @Immutable public final class As implements JsonSerializable { /* - * The name property. + * A sequence of textual characters. */ @Generated private final String name; @@ -34,7 +34,7 @@ public As(String name) { } /** - * Get the name property: The name property. + * Get the name property: A sequence of textual characters. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/specialwords/models/Assert.java b/typespec-tests/src/main/java/com/specialwords/models/Assert.java index 857a22c525..90e344b323 100644 --- a/typespec-tests/src/main/java/com/specialwords/models/Assert.java +++ b/typespec-tests/src/main/java/com/specialwords/models/Assert.java @@ -18,7 +18,7 @@ @Immutable public final class Assert implements JsonSerializable { /* - * The name property. + * A sequence of textual characters. */ @Generated private final String name; @@ -34,7 +34,7 @@ public Assert(String name) { } /** - * Get the name property: The name property. + * Get the name property: A sequence of textual characters. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/specialwords/models/Async.java b/typespec-tests/src/main/java/com/specialwords/models/Async.java index b781bb1e45..62463b8778 100644 --- a/typespec-tests/src/main/java/com/specialwords/models/Async.java +++ b/typespec-tests/src/main/java/com/specialwords/models/Async.java @@ -18,7 +18,7 @@ @Immutable public final class Async implements JsonSerializable { /* - * The name property. + * A sequence of textual characters. */ @Generated private final String name; @@ -34,7 +34,7 @@ public Async(String name) { } /** - * Get the name property: The name property. + * Get the name property: A sequence of textual characters. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/specialwords/models/Await.java b/typespec-tests/src/main/java/com/specialwords/models/Await.java index a1baa673eb..18fd62bc1d 100644 --- a/typespec-tests/src/main/java/com/specialwords/models/Await.java +++ b/typespec-tests/src/main/java/com/specialwords/models/Await.java @@ -18,7 +18,7 @@ @Immutable public final class Await implements JsonSerializable { /* - * The name property. + * A sequence of textual characters. */ @Generated private final String name; @@ -34,7 +34,7 @@ public Await(String name) { } /** - * Get the name property: The name property. + * Get the name property: A sequence of textual characters. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/specialwords/models/Break.java b/typespec-tests/src/main/java/com/specialwords/models/Break.java index 37e6804f87..e35bf2ebd6 100644 --- a/typespec-tests/src/main/java/com/specialwords/models/Break.java +++ b/typespec-tests/src/main/java/com/specialwords/models/Break.java @@ -18,7 +18,7 @@ @Immutable public final class Break implements JsonSerializable { /* - * The name property. + * A sequence of textual characters. */ @Generated private final String name; @@ -34,7 +34,7 @@ public Break(String name) { } /** - * Get the name property: The name property. + * Get the name property: A sequence of textual characters. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/specialwords/models/ClassModel.java b/typespec-tests/src/main/java/com/specialwords/models/ClassModel.java index 3c2021733e..2056b4a62b 100644 --- a/typespec-tests/src/main/java/com/specialwords/models/ClassModel.java +++ b/typespec-tests/src/main/java/com/specialwords/models/ClassModel.java @@ -18,7 +18,7 @@ @Immutable public final class ClassModel implements JsonSerializable { /* - * The name property. + * A sequence of textual characters. */ @Generated private final String name; @@ -34,7 +34,7 @@ public ClassModel(String name) { } /** - * Get the name property: The name property. + * Get the name property: A sequence of textual characters. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/specialwords/models/Constructor.java b/typespec-tests/src/main/java/com/specialwords/models/Constructor.java index c468430e20..13b7b0620c 100644 --- a/typespec-tests/src/main/java/com/specialwords/models/Constructor.java +++ b/typespec-tests/src/main/java/com/specialwords/models/Constructor.java @@ -18,7 +18,7 @@ @Immutable public final class Constructor implements JsonSerializable { /* - * The name property. + * A sequence of textual characters. */ @Generated private final String name; @@ -34,7 +34,7 @@ public Constructor(String name) { } /** - * Get the name property: The name property. + * Get the name property: A sequence of textual characters. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/specialwords/models/Continue.java b/typespec-tests/src/main/java/com/specialwords/models/Continue.java index 451debd4fd..dfd99b07ec 100644 --- a/typespec-tests/src/main/java/com/specialwords/models/Continue.java +++ b/typespec-tests/src/main/java/com/specialwords/models/Continue.java @@ -18,7 +18,7 @@ @Immutable public final class Continue implements JsonSerializable { /* - * The name property. + * A sequence of textual characters. */ @Generated private final String name; @@ -34,7 +34,7 @@ public Continue(String name) { } /** - * Get the name property: The name property. + * Get the name property: A sequence of textual characters. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/specialwords/models/Def.java b/typespec-tests/src/main/java/com/specialwords/models/Def.java index 40a10f325c..b865229612 100644 --- a/typespec-tests/src/main/java/com/specialwords/models/Def.java +++ b/typespec-tests/src/main/java/com/specialwords/models/Def.java @@ -18,7 +18,7 @@ @Immutable public final class Def implements JsonSerializable { /* - * The name property. + * A sequence of textual characters. */ @Generated private final String name; @@ -34,7 +34,7 @@ public Def(String name) { } /** - * Get the name property: The name property. + * Get the name property: A sequence of textual characters. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/specialwords/models/Del.java b/typespec-tests/src/main/java/com/specialwords/models/Del.java index a0f1d38a88..fe612e701a 100644 --- a/typespec-tests/src/main/java/com/specialwords/models/Del.java +++ b/typespec-tests/src/main/java/com/specialwords/models/Del.java @@ -18,7 +18,7 @@ @Immutable public final class Del implements JsonSerializable { /* - * The name property. + * A sequence of textual characters. */ @Generated private final String name; @@ -34,7 +34,7 @@ public Del(String name) { } /** - * Get the name property: The name property. + * Get the name property: A sequence of textual characters. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/specialwords/models/Elif.java b/typespec-tests/src/main/java/com/specialwords/models/Elif.java index 8b55d72d7d..924fe31be6 100644 --- a/typespec-tests/src/main/java/com/specialwords/models/Elif.java +++ b/typespec-tests/src/main/java/com/specialwords/models/Elif.java @@ -18,7 +18,7 @@ @Immutable public final class Elif implements JsonSerializable { /* - * The name property. + * A sequence of textual characters. */ @Generated private final String name; @@ -34,7 +34,7 @@ public Elif(String name) { } /** - * Get the name property: The name property. + * Get the name property: A sequence of textual characters. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/specialwords/models/Else.java b/typespec-tests/src/main/java/com/specialwords/models/Else.java index 993f034422..ba2c15ae7a 100644 --- a/typespec-tests/src/main/java/com/specialwords/models/Else.java +++ b/typespec-tests/src/main/java/com/specialwords/models/Else.java @@ -18,7 +18,7 @@ @Immutable public final class Else implements JsonSerializable { /* - * The name property. + * A sequence of textual characters. */ @Generated private final String name; @@ -34,7 +34,7 @@ public Else(String name) { } /** - * Get the name property: The name property. + * Get the name property: A sequence of textual characters. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/specialwords/models/Except.java b/typespec-tests/src/main/java/com/specialwords/models/Except.java index b582f00f80..0f2337414d 100644 --- a/typespec-tests/src/main/java/com/specialwords/models/Except.java +++ b/typespec-tests/src/main/java/com/specialwords/models/Except.java @@ -18,7 +18,7 @@ @Immutable public final class Except implements JsonSerializable { /* - * The name property. + * A sequence of textual characters. */ @Generated private final String name; @@ -34,7 +34,7 @@ public Except(String name) { } /** - * Get the name property: The name property. + * Get the name property: A sequence of textual characters. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/specialwords/models/Exec.java b/typespec-tests/src/main/java/com/specialwords/models/Exec.java index 86abb02427..524b191895 100644 --- a/typespec-tests/src/main/java/com/specialwords/models/Exec.java +++ b/typespec-tests/src/main/java/com/specialwords/models/Exec.java @@ -18,7 +18,7 @@ @Immutable public final class Exec implements JsonSerializable { /* - * The name property. + * A sequence of textual characters. */ @Generated private final String name; @@ -34,7 +34,7 @@ public Exec(String name) { } /** - * Get the name property: The name property. + * Get the name property: A sequence of textual characters. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/specialwords/models/Finally.java b/typespec-tests/src/main/java/com/specialwords/models/Finally.java index fde8f76a9a..56115d5751 100644 --- a/typespec-tests/src/main/java/com/specialwords/models/Finally.java +++ b/typespec-tests/src/main/java/com/specialwords/models/Finally.java @@ -18,7 +18,7 @@ @Immutable public final class Finally implements JsonSerializable { /* - * The name property. + * A sequence of textual characters. */ @Generated private final String name; @@ -34,7 +34,7 @@ public Finally(String name) { } /** - * Get the name property: The name property. + * Get the name property: A sequence of textual characters. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/specialwords/models/For.java b/typespec-tests/src/main/java/com/specialwords/models/For.java index f053a7d0b4..8baf7961af 100644 --- a/typespec-tests/src/main/java/com/specialwords/models/For.java +++ b/typespec-tests/src/main/java/com/specialwords/models/For.java @@ -18,7 +18,7 @@ @Immutable public final class For implements JsonSerializable { /* - * The name property. + * A sequence of textual characters. */ @Generated private final String name; @@ -34,7 +34,7 @@ public For(String name) { } /** - * Get the name property: The name property. + * Get the name property: A sequence of textual characters. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/specialwords/models/From.java b/typespec-tests/src/main/java/com/specialwords/models/From.java index a03a4ffa8b..64da751348 100644 --- a/typespec-tests/src/main/java/com/specialwords/models/From.java +++ b/typespec-tests/src/main/java/com/specialwords/models/From.java @@ -18,7 +18,7 @@ @Immutable public final class From implements JsonSerializable { /* - * The name property. + * A sequence of textual characters. */ @Generated private final String name; @@ -34,7 +34,7 @@ public From(String name) { } /** - * Get the name property: The name property. + * Get the name property: A sequence of textual characters. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/specialwords/models/Global.java b/typespec-tests/src/main/java/com/specialwords/models/Global.java index c755713593..fa1692a40c 100644 --- a/typespec-tests/src/main/java/com/specialwords/models/Global.java +++ b/typespec-tests/src/main/java/com/specialwords/models/Global.java @@ -18,7 +18,7 @@ @Immutable public final class Global implements JsonSerializable { /* - * The name property. + * A sequence of textual characters. */ @Generated private final String name; @@ -34,7 +34,7 @@ public Global(String name) { } /** - * Get the name property: The name property. + * Get the name property: A sequence of textual characters. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/specialwords/models/If.java b/typespec-tests/src/main/java/com/specialwords/models/If.java index 389d02faaf..7a5b74d996 100644 --- a/typespec-tests/src/main/java/com/specialwords/models/If.java +++ b/typespec-tests/src/main/java/com/specialwords/models/If.java @@ -18,7 +18,7 @@ @Immutable public final class If implements JsonSerializable { /* - * The name property. + * A sequence of textual characters. */ @Generated private final String name; @@ -34,7 +34,7 @@ public If(String name) { } /** - * Get the name property: The name property. + * Get the name property: A sequence of textual characters. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/specialwords/models/Import.java b/typespec-tests/src/main/java/com/specialwords/models/Import.java index 2ceeb5850c..355a66098c 100644 --- a/typespec-tests/src/main/java/com/specialwords/models/Import.java +++ b/typespec-tests/src/main/java/com/specialwords/models/Import.java @@ -18,7 +18,7 @@ @Immutable public final class Import implements JsonSerializable { /* - * The name property. + * A sequence of textual characters. */ @Generated private final String name; @@ -34,7 +34,7 @@ public Import(String name) { } /** - * Get the name property: The name property. + * Get the name property: A sequence of textual characters. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/specialwords/models/In.java b/typespec-tests/src/main/java/com/specialwords/models/In.java index a100188076..8af9980e2c 100644 --- a/typespec-tests/src/main/java/com/specialwords/models/In.java +++ b/typespec-tests/src/main/java/com/specialwords/models/In.java @@ -18,7 +18,7 @@ @Immutable public final class In implements JsonSerializable { /* - * The name property. + * A sequence of textual characters. */ @Generated private final String name; @@ -34,7 +34,7 @@ public In(String name) { } /** - * Get the name property: The name property. + * Get the name property: A sequence of textual characters. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/specialwords/models/Is.java b/typespec-tests/src/main/java/com/specialwords/models/Is.java index b566efa9f2..e6f1e006fa 100644 --- a/typespec-tests/src/main/java/com/specialwords/models/Is.java +++ b/typespec-tests/src/main/java/com/specialwords/models/Is.java @@ -18,7 +18,7 @@ @Immutable public final class Is implements JsonSerializable { /* - * The name property. + * A sequence of textual characters. */ @Generated private final String name; @@ -34,7 +34,7 @@ public Is(String name) { } /** - * Get the name property: The name property. + * Get the name property: A sequence of textual characters. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/specialwords/models/Lambda.java b/typespec-tests/src/main/java/com/specialwords/models/Lambda.java index 9a8df91941..7f23774ec2 100644 --- a/typespec-tests/src/main/java/com/specialwords/models/Lambda.java +++ b/typespec-tests/src/main/java/com/specialwords/models/Lambda.java @@ -18,7 +18,7 @@ @Immutable public final class Lambda implements JsonSerializable { /* - * The name property. + * A sequence of textual characters. */ @Generated private final String name; @@ -34,7 +34,7 @@ public Lambda(String name) { } /** - * Get the name property: The name property. + * Get the name property: A sequence of textual characters. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/specialwords/models/Not.java b/typespec-tests/src/main/java/com/specialwords/models/Not.java index a1597c8ee9..6e2501e6fa 100644 --- a/typespec-tests/src/main/java/com/specialwords/models/Not.java +++ b/typespec-tests/src/main/java/com/specialwords/models/Not.java @@ -18,7 +18,7 @@ @Immutable public final class Not implements JsonSerializable { /* - * The name property. + * A sequence of textual characters. */ @Generated private final String name; @@ -34,7 +34,7 @@ public Not(String name) { } /** - * Get the name property: The name property. + * Get the name property: A sequence of textual characters. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/specialwords/models/Or.java b/typespec-tests/src/main/java/com/specialwords/models/Or.java index 61ea318a3c..f872d4fa33 100644 --- a/typespec-tests/src/main/java/com/specialwords/models/Or.java +++ b/typespec-tests/src/main/java/com/specialwords/models/Or.java @@ -18,7 +18,7 @@ @Immutable public final class Or implements JsonSerializable { /* - * The name property. + * A sequence of textual characters. */ @Generated private final String name; @@ -34,7 +34,7 @@ public Or(String name) { } /** - * Get the name property: The name property. + * Get the name property: A sequence of textual characters. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/specialwords/models/Pass.java b/typespec-tests/src/main/java/com/specialwords/models/Pass.java index de3b6e7101..2947fb0257 100644 --- a/typespec-tests/src/main/java/com/specialwords/models/Pass.java +++ b/typespec-tests/src/main/java/com/specialwords/models/Pass.java @@ -18,7 +18,7 @@ @Immutable public final class Pass implements JsonSerializable { /* - * The name property. + * A sequence of textual characters. */ @Generated private final String name; @@ -34,7 +34,7 @@ public Pass(String name) { } /** - * Get the name property: The name property. + * Get the name property: A sequence of textual characters. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/specialwords/models/Raise.java b/typespec-tests/src/main/java/com/specialwords/models/Raise.java index dd0f72ddd8..6d36799fcb 100644 --- a/typespec-tests/src/main/java/com/specialwords/models/Raise.java +++ b/typespec-tests/src/main/java/com/specialwords/models/Raise.java @@ -18,7 +18,7 @@ @Immutable public final class Raise implements JsonSerializable { /* - * The name property. + * A sequence of textual characters. */ @Generated private final String name; @@ -34,7 +34,7 @@ public Raise(String name) { } /** - * Get the name property: The name property. + * Get the name property: A sequence of textual characters. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/specialwords/models/Return.java b/typespec-tests/src/main/java/com/specialwords/models/Return.java index 0578b68a5e..7422ab3ea5 100644 --- a/typespec-tests/src/main/java/com/specialwords/models/Return.java +++ b/typespec-tests/src/main/java/com/specialwords/models/Return.java @@ -18,7 +18,7 @@ @Immutable public final class Return implements JsonSerializable { /* - * The name property. + * A sequence of textual characters. */ @Generated private final String name; @@ -34,7 +34,7 @@ public Return(String name) { } /** - * Get the name property: The name property. + * Get the name property: A sequence of textual characters. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/specialwords/models/SameAsModel.java b/typespec-tests/src/main/java/com/specialwords/models/SameAsModel.java index c50a506701..f022841390 100644 --- a/typespec-tests/src/main/java/com/specialwords/models/SameAsModel.java +++ b/typespec-tests/src/main/java/com/specialwords/models/SameAsModel.java @@ -18,7 +18,7 @@ @Immutable public final class SameAsModel implements JsonSerializable { /* - * The SameAsModel property. + * A sequence of textual characters. */ @Generated private final String sameAsModel; @@ -34,7 +34,7 @@ public SameAsModel(String sameAsModel) { } /** - * Get the sameAsModel property: The SameAsModel property. + * Get the sameAsModel property: A sequence of textual characters. * * @return the sameAsModel value. */ diff --git a/typespec-tests/src/main/java/com/specialwords/models/Try.java b/typespec-tests/src/main/java/com/specialwords/models/Try.java index b3f9f64a4a..1b576fe974 100644 --- a/typespec-tests/src/main/java/com/specialwords/models/Try.java +++ b/typespec-tests/src/main/java/com/specialwords/models/Try.java @@ -18,7 +18,7 @@ @Immutable public final class Try implements JsonSerializable { /* - * The name property. + * A sequence of textual characters. */ @Generated private final String name; @@ -34,7 +34,7 @@ public Try(String name) { } /** - * Get the name property: The name property. + * Get the name property: A sequence of textual characters. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/specialwords/models/While.java b/typespec-tests/src/main/java/com/specialwords/models/While.java index 07be263295..a4cfece3ce 100644 --- a/typespec-tests/src/main/java/com/specialwords/models/While.java +++ b/typespec-tests/src/main/java/com/specialwords/models/While.java @@ -18,7 +18,7 @@ @Immutable public final class While implements JsonSerializable { /* - * The name property. + * A sequence of textual characters. */ @Generated private final String name; @@ -34,7 +34,7 @@ public While(String name) { } /** - * Get the name property: The name property. + * Get the name property: A sequence of textual characters. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/specialwords/models/With.java b/typespec-tests/src/main/java/com/specialwords/models/With.java index de21df4d21..47b2854828 100644 --- a/typespec-tests/src/main/java/com/specialwords/models/With.java +++ b/typespec-tests/src/main/java/com/specialwords/models/With.java @@ -18,7 +18,7 @@ @Immutable public final class With implements JsonSerializable { /* - * The name property. + * A sequence of textual characters. */ @Generated private final String name; @@ -34,7 +34,7 @@ public With(String name) { } /** - * Get the name property: The name property. + * Get the name property: A sequence of textual characters. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/specialwords/models/Yield.java b/typespec-tests/src/main/java/com/specialwords/models/Yield.java index 6f293d4be0..9629a04c85 100644 --- a/typespec-tests/src/main/java/com/specialwords/models/Yield.java +++ b/typespec-tests/src/main/java/com/specialwords/models/Yield.java @@ -18,7 +18,7 @@ @Immutable public final class Yield implements JsonSerializable { /* - * The name property. + * A sequence of textual characters. */ @Generated private final String name; @@ -34,7 +34,7 @@ public Yield(String name) { } /** - * Get the name property: The name property. + * Get the name property: A sequence of textual characters. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/type/array/models/InnerModel.java b/typespec-tests/src/main/java/com/type/array/models/InnerModel.java index 8241707787..1b67916f50 100644 --- a/typespec-tests/src/main/java/com/type/array/models/InnerModel.java +++ b/typespec-tests/src/main/java/com/type/array/models/InnerModel.java @@ -19,6 +19,8 @@ @Fluent public final class InnerModel implements JsonSerializable { /* + * A sequence of textual characters. + * * Required string property */ @Generated @@ -41,7 +43,9 @@ public InnerModel(String property) { } /** - * Get the property property: Required string property. + * Get the property property: A sequence of textual characters. + * + * Required string property. * * @return the property value. */ diff --git a/typespec-tests/src/main/java/com/type/dictionary/models/InnerModel.java b/typespec-tests/src/main/java/com/type/dictionary/models/InnerModel.java index c5383b592f..51a140feb6 100644 --- a/typespec-tests/src/main/java/com/type/dictionary/models/InnerModel.java +++ b/typespec-tests/src/main/java/com/type/dictionary/models/InnerModel.java @@ -19,6 +19,8 @@ @Fluent public final class InnerModel implements JsonSerializable { /* + * A sequence of textual characters. + * * Required string property */ @Generated @@ -41,7 +43,9 @@ public InnerModel(String property) { } /** - * Get the property property: Required string property. + * Get the property property: A sequence of textual characters. + * + * Required string property. * * @return the property value. */ diff --git a/typespec-tests/src/main/java/com/type/model/flatten/models/ChildFlattenModel.java b/typespec-tests/src/main/java/com/type/model/flatten/models/ChildFlattenModel.java index 8235a70ad9..63ba62290d 100644 --- a/typespec-tests/src/main/java/com/type/model/flatten/models/ChildFlattenModel.java +++ b/typespec-tests/src/main/java/com/type/model/flatten/models/ChildFlattenModel.java @@ -18,7 +18,7 @@ @Immutable public final class ChildFlattenModel implements JsonSerializable { /* - * The summary property. + * A sequence of textual characters. */ @Generated private final String summary; @@ -42,7 +42,7 @@ public ChildFlattenModel(String summary, ChildModel properties) { } /** - * Get the summary property: The summary property. + * Get the summary property: A sequence of textual characters. * * @return the summary value. */ diff --git a/typespec-tests/src/main/java/com/type/model/flatten/models/ChildModel.java b/typespec-tests/src/main/java/com/type/model/flatten/models/ChildModel.java index caaa34c2ff..b24d5f40ae 100644 --- a/typespec-tests/src/main/java/com/type/model/flatten/models/ChildModel.java +++ b/typespec-tests/src/main/java/com/type/model/flatten/models/ChildModel.java @@ -18,13 +18,13 @@ @Immutable public final class ChildModel implements JsonSerializable { /* - * The description property. + * A sequence of textual characters. */ @Generated private final String description; /* - * The age property. + * A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) */ @Generated private final int age; @@ -42,7 +42,7 @@ public ChildModel(String description, int age) { } /** - * Get the description property: The description property. + * Get the description property: A sequence of textual characters. * * @return the description value. */ @@ -52,7 +52,7 @@ public String getDescription() { } /** - * Get the age property: The age property. + * Get the age property: A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`). * * @return the age value. */ diff --git a/typespec-tests/src/main/java/com/type/model/flatten/models/FlattenModel.java b/typespec-tests/src/main/java/com/type/model/flatten/models/FlattenModel.java index cd45018216..886cafd3d4 100644 --- a/typespec-tests/src/main/java/com/type/model/flatten/models/FlattenModel.java +++ b/typespec-tests/src/main/java/com/type/model/flatten/models/FlattenModel.java @@ -18,7 +18,7 @@ @Immutable public final class FlattenModel implements JsonSerializable { /* - * The name property. + * A sequence of textual characters. */ @Generated private final String name; @@ -42,7 +42,7 @@ public FlattenModel(String name, ChildModel properties) { } /** - * Get the name property: The name property. + * Get the name property: A sequence of textual characters. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/type/model/flatten/models/NestedFlattenModel.java b/typespec-tests/src/main/java/com/type/model/flatten/models/NestedFlattenModel.java index 088e4c5abe..8e6ebf3e1f 100644 --- a/typespec-tests/src/main/java/com/type/model/flatten/models/NestedFlattenModel.java +++ b/typespec-tests/src/main/java/com/type/model/flatten/models/NestedFlattenModel.java @@ -18,7 +18,7 @@ @Immutable public final class NestedFlattenModel implements JsonSerializable { /* - * The name property. + * A sequence of textual characters. */ @Generated private final String name; @@ -42,7 +42,7 @@ public NestedFlattenModel(String name, ChildFlattenModel properties) { } /** - * Get the name property: The name property. + * Get the name property: A sequence of textual characters. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/type/model/inheritance/enumdiscriminator/models/Dog.java b/typespec-tests/src/main/java/com/type/model/inheritance/enumdiscriminator/models/Dog.java index ac0b2b191b..a4291707da 100644 --- a/typespec-tests/src/main/java/com/type/model/inheritance/enumdiscriminator/models/Dog.java +++ b/typespec-tests/src/main/java/com/type/model/inheritance/enumdiscriminator/models/Dog.java @@ -24,6 +24,8 @@ public class Dog implements JsonSerializable { private DogKind kind; /* + * A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) + * * Weight of the dog */ @Generated @@ -51,7 +53,9 @@ public DogKind getKind() { } /** - * Get the weight property: Weight of the dog. + * Get the weight property: A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) + * + * Weight of the dog. * * @return the weight value. */ diff --git a/typespec-tests/src/main/java/com/type/model/inheritance/enumdiscriminator/models/Snake.java b/typespec-tests/src/main/java/com/type/model/inheritance/enumdiscriminator/models/Snake.java index 74c84ff808..881f08d5be 100644 --- a/typespec-tests/src/main/java/com/type/model/inheritance/enumdiscriminator/models/Snake.java +++ b/typespec-tests/src/main/java/com/type/model/inheritance/enumdiscriminator/models/Snake.java @@ -24,6 +24,8 @@ public class Snake implements JsonSerializable { private SnakeKind kind; /* + * A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) + * * Length of the snake */ @Generated @@ -51,7 +53,9 @@ public SnakeKind getKind() { } /** - * Get the length property: Length of the snake. + * Get the length property: A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) + * + * Length of the snake. * * @return the length value. */ diff --git a/typespec-tests/src/main/java/com/type/model/inheritance/nesteddiscriminator/models/Fish.java b/typespec-tests/src/main/java/com/type/model/inheritance/nesteddiscriminator/models/Fish.java index fce0019c27..1506603a48 100644 --- a/typespec-tests/src/main/java/com/type/model/inheritance/nesteddiscriminator/models/Fish.java +++ b/typespec-tests/src/main/java/com/type/model/inheritance/nesteddiscriminator/models/Fish.java @@ -24,7 +24,7 @@ public class Fish implements JsonSerializable { private String kind; /* - * The age property. + * A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) */ @Generated private final int age; @@ -51,7 +51,7 @@ public String getKind() { } /** - * Get the age property: The age property. + * Get the age property: A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`). * * @return the age value. */ diff --git a/typespec-tests/src/main/java/com/type/model/inheritance/nesteddiscriminator/models/GoblinShark.java b/typespec-tests/src/main/java/com/type/model/inheritance/nesteddiscriminator/models/GoblinShark.java index 0fc4bc3b8c..4ef8405e39 100644 --- a/typespec-tests/src/main/java/com/type/model/inheritance/nesteddiscriminator/models/GoblinShark.java +++ b/typespec-tests/src/main/java/com/type/model/inheritance/nesteddiscriminator/models/GoblinShark.java @@ -17,7 +17,7 @@ @Immutable public final class GoblinShark extends Shark { /* - * The sharktype property. + * A sequence of textual characters. */ @Generated private String sharktype = "goblin"; @@ -33,7 +33,7 @@ public GoblinShark(int age) { } /** - * Get the sharktype property: The sharktype property. + * Get the sharktype property: A sequence of textual characters. * * @return the sharktype value. */ diff --git a/typespec-tests/src/main/java/com/type/model/inheritance/nesteddiscriminator/models/SawShark.java b/typespec-tests/src/main/java/com/type/model/inheritance/nesteddiscriminator/models/SawShark.java index ef7305ac0f..005c7d4af6 100644 --- a/typespec-tests/src/main/java/com/type/model/inheritance/nesteddiscriminator/models/SawShark.java +++ b/typespec-tests/src/main/java/com/type/model/inheritance/nesteddiscriminator/models/SawShark.java @@ -17,7 +17,7 @@ @Immutable public final class SawShark extends Shark { /* - * The sharktype property. + * A sequence of textual characters. */ @Generated private String sharktype = "saw"; @@ -33,7 +33,7 @@ public SawShark(int age) { } /** - * Get the sharktype property: The sharktype property. + * Get the sharktype property: A sequence of textual characters. * * @return the sharktype value. */ diff --git a/typespec-tests/src/main/java/com/type/model/inheritance/nesteddiscriminator/models/Shark.java b/typespec-tests/src/main/java/com/type/model/inheritance/nesteddiscriminator/models/Shark.java index 0d1e3edb01..9c4daf4f23 100644 --- a/typespec-tests/src/main/java/com/type/model/inheritance/nesteddiscriminator/models/Shark.java +++ b/typespec-tests/src/main/java/com/type/model/inheritance/nesteddiscriminator/models/Shark.java @@ -17,7 +17,7 @@ @Immutable public class Shark extends Fish { /* - * The sharktype property. + * A sequence of textual characters. */ @Generated private String sharktype = "shark"; @@ -34,7 +34,7 @@ public Shark(int age) { } /** - * Get the sharktype property: The sharktype property. + * Get the sharktype property: A sequence of textual characters. * * @return the sharktype value. */ diff --git a/typespec-tests/src/main/java/com/type/model/inheritance/notdiscriminated/models/Cat.java b/typespec-tests/src/main/java/com/type/model/inheritance/notdiscriminated/models/Cat.java index 5182b2905b..dcd6730ef8 100644 --- a/typespec-tests/src/main/java/com/type/model/inheritance/notdiscriminated/models/Cat.java +++ b/typespec-tests/src/main/java/com/type/model/inheritance/notdiscriminated/models/Cat.java @@ -17,7 +17,7 @@ @Immutable public class Cat extends Pet { /* - * The age property. + * A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) */ @Generated private final int age; @@ -35,7 +35,7 @@ public Cat(String name, int age) { } /** - * Get the age property: The age property. + * Get the age property: A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`). * * @return the age value. */ diff --git a/typespec-tests/src/main/java/com/type/model/inheritance/notdiscriminated/models/Pet.java b/typespec-tests/src/main/java/com/type/model/inheritance/notdiscriminated/models/Pet.java index 6005597a77..8a7a28322e 100644 --- a/typespec-tests/src/main/java/com/type/model/inheritance/notdiscriminated/models/Pet.java +++ b/typespec-tests/src/main/java/com/type/model/inheritance/notdiscriminated/models/Pet.java @@ -18,7 +18,7 @@ @Immutable public class Pet implements JsonSerializable { /* - * The name property. + * A sequence of textual characters. */ @Generated private final String name; @@ -34,7 +34,7 @@ public Pet(String name) { } /** - * Get the name property: The name property. + * Get the name property: A sequence of textual characters. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/type/model/inheritance/notdiscriminated/models/Siamese.java b/typespec-tests/src/main/java/com/type/model/inheritance/notdiscriminated/models/Siamese.java index 6438aa5025..da79fa04b9 100644 --- a/typespec-tests/src/main/java/com/type/model/inheritance/notdiscriminated/models/Siamese.java +++ b/typespec-tests/src/main/java/com/type/model/inheritance/notdiscriminated/models/Siamese.java @@ -17,7 +17,7 @@ @Immutable public final class Siamese extends Cat { /* - * The smart property. + * Boolean with `true` and `false` values. */ @Generated private final boolean smart; @@ -36,7 +36,7 @@ public Siamese(String name, int age, boolean smart) { } /** - * Get the smart property: The smart property. + * Get the smart property: Boolean with `true` and `false` values. * * @return the smart value. */ diff --git a/typespec-tests/src/main/java/com/type/model/inheritance/recursive/models/Extension.java b/typespec-tests/src/main/java/com/type/model/inheritance/recursive/models/Extension.java index 822497fc01..60ae53fe36 100644 --- a/typespec-tests/src/main/java/com/type/model/inheritance/recursive/models/Extension.java +++ b/typespec-tests/src/main/java/com/type/model/inheritance/recursive/models/Extension.java @@ -18,7 +18,7 @@ @Fluent public final class Extension extends Element { /* - * The level property. + * A 8-bit integer. (`-128` to `127`) */ @Generated private final int level; @@ -34,7 +34,7 @@ public Extension(int level) { } /** - * Get the level property: The level property. + * Get the level property: A 8-bit integer. (`-128` to `127`). * * @return the level value. */ diff --git a/typespec-tests/src/main/java/com/type/model/inheritance/singlediscriminator/models/Bird.java b/typespec-tests/src/main/java/com/type/model/inheritance/singlediscriminator/models/Bird.java index 8cd05d6b41..b97c5cb342 100644 --- a/typespec-tests/src/main/java/com/type/model/inheritance/singlediscriminator/models/Bird.java +++ b/typespec-tests/src/main/java/com/type/model/inheritance/singlediscriminator/models/Bird.java @@ -18,13 +18,13 @@ @Immutable public class Bird implements JsonSerializable { /* - * The kind property. + * A sequence of textual characters. */ @Generated private String kind; /* - * The wingspan property. + * A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) */ @Generated private final int wingspan; @@ -41,7 +41,7 @@ public Bird(int wingspan) { } /** - * Get the kind property: The kind property. + * Get the kind property: A sequence of textual characters. * * @return the kind value. */ @@ -51,7 +51,7 @@ public String getKind() { } /** - * Get the wingspan property: The wingspan property. + * Get the wingspan property: A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`). * * @return the wingspan value. */ diff --git a/typespec-tests/src/main/java/com/type/model/inheritance/singlediscriminator/models/Dinosaur.java b/typespec-tests/src/main/java/com/type/model/inheritance/singlediscriminator/models/Dinosaur.java index c95181e5d1..56de0d2f34 100644 --- a/typespec-tests/src/main/java/com/type/model/inheritance/singlediscriminator/models/Dinosaur.java +++ b/typespec-tests/src/main/java/com/type/model/inheritance/singlediscriminator/models/Dinosaur.java @@ -24,7 +24,7 @@ public class Dinosaur implements JsonSerializable { private String kind; /* - * The size property. + * A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) */ @Generated private final int size; @@ -51,7 +51,7 @@ public String getKind() { } /** - * Get the size property: The size property. + * Get the size property: A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`). * * @return the size value. */ diff --git a/typespec-tests/src/main/java/com/type/model/inheritance/singlediscriminator/models/Eagle.java b/typespec-tests/src/main/java/com/type/model/inheritance/singlediscriminator/models/Eagle.java index c49d2e0ed3..9298a50b40 100644 --- a/typespec-tests/src/main/java/com/type/model/inheritance/singlediscriminator/models/Eagle.java +++ b/typespec-tests/src/main/java/com/type/model/inheritance/singlediscriminator/models/Eagle.java @@ -20,7 +20,7 @@ @Fluent public final class Eagle extends Bird { /* - * The kind property. + * A sequence of textual characters. */ @Generated private String kind = "eagle"; @@ -54,7 +54,7 @@ public Eagle(int wingspan) { } /** - * Get the kind property: The kind property. + * Get the kind property: A sequence of textual characters. * * @return the kind value. */ diff --git a/typespec-tests/src/main/java/com/type/model/inheritance/singlediscriminator/models/Goose.java b/typespec-tests/src/main/java/com/type/model/inheritance/singlediscriminator/models/Goose.java index d097786368..ed6603b709 100644 --- a/typespec-tests/src/main/java/com/type/model/inheritance/singlediscriminator/models/Goose.java +++ b/typespec-tests/src/main/java/com/type/model/inheritance/singlediscriminator/models/Goose.java @@ -17,7 +17,7 @@ @Immutable public final class Goose extends Bird { /* - * The kind property. + * A sequence of textual characters. */ @Generated private String kind = "goose"; @@ -33,7 +33,7 @@ public Goose(int wingspan) { } /** - * Get the kind property: The kind property. + * Get the kind property: A sequence of textual characters. * * @return the kind value. */ diff --git a/typespec-tests/src/main/java/com/type/model/inheritance/singlediscriminator/models/SeaGull.java b/typespec-tests/src/main/java/com/type/model/inheritance/singlediscriminator/models/SeaGull.java index 07256e55c6..88f1e5400c 100644 --- a/typespec-tests/src/main/java/com/type/model/inheritance/singlediscriminator/models/SeaGull.java +++ b/typespec-tests/src/main/java/com/type/model/inheritance/singlediscriminator/models/SeaGull.java @@ -17,7 +17,7 @@ @Immutable public final class SeaGull extends Bird { /* - * The kind property. + * A sequence of textual characters. */ @Generated private String kind = "seagull"; @@ -33,7 +33,7 @@ public SeaGull(int wingspan) { } /** - * Get the kind property: The kind property. + * Get the kind property: A sequence of textual characters. * * @return the kind value. */ diff --git a/typespec-tests/src/main/java/com/type/model/inheritance/singlediscriminator/models/Sparrow.java b/typespec-tests/src/main/java/com/type/model/inheritance/singlediscriminator/models/Sparrow.java index 93da94c4b7..e9ca156ac5 100644 --- a/typespec-tests/src/main/java/com/type/model/inheritance/singlediscriminator/models/Sparrow.java +++ b/typespec-tests/src/main/java/com/type/model/inheritance/singlediscriminator/models/Sparrow.java @@ -17,7 +17,7 @@ @Immutable public final class Sparrow extends Bird { /* - * The kind property. + * A sequence of textual characters. */ @Generated private String kind = "sparrow"; @@ -33,7 +33,7 @@ public Sparrow(int wingspan) { } /** - * Get the kind property: The kind property. + * Get the kind property: A sequence of textual characters. * * @return the kind value. */ diff --git a/typespec-tests/src/main/java/com/type/model/usage/models/InputOutputRecord.java b/typespec-tests/src/main/java/com/type/model/usage/models/InputOutputRecord.java index efee5367f1..8d439fcd9f 100644 --- a/typespec-tests/src/main/java/com/type/model/usage/models/InputOutputRecord.java +++ b/typespec-tests/src/main/java/com/type/model/usage/models/InputOutputRecord.java @@ -18,7 +18,7 @@ @Immutable public final class InputOutputRecord implements JsonSerializable { /* - * The requiredProp property. + * A sequence of textual characters. */ @Generated private final String requiredProp; @@ -34,7 +34,7 @@ public InputOutputRecord(String requiredProp) { } /** - * Get the requiredProp property: The requiredProp property. + * Get the requiredProp property: A sequence of textual characters. * * @return the requiredProp value. */ diff --git a/typespec-tests/src/main/java/com/type/model/usage/models/InputRecord.java b/typespec-tests/src/main/java/com/type/model/usage/models/InputRecord.java index f006ebbdbe..dab148a559 100644 --- a/typespec-tests/src/main/java/com/type/model/usage/models/InputRecord.java +++ b/typespec-tests/src/main/java/com/type/model/usage/models/InputRecord.java @@ -18,7 +18,7 @@ @Immutable public final class InputRecord implements JsonSerializable { /* - * The requiredProp property. + * A sequence of textual characters. */ @Generated private final String requiredProp; @@ -34,7 +34,7 @@ public InputRecord(String requiredProp) { } /** - * Get the requiredProp property: The requiredProp property. + * Get the requiredProp property: A sequence of textual characters. * * @return the requiredProp value. */ diff --git a/typespec-tests/src/main/java/com/type/model/usage/models/OutputRecord.java b/typespec-tests/src/main/java/com/type/model/usage/models/OutputRecord.java index 64d3420373..d6bfe51011 100644 --- a/typespec-tests/src/main/java/com/type/model/usage/models/OutputRecord.java +++ b/typespec-tests/src/main/java/com/type/model/usage/models/OutputRecord.java @@ -18,7 +18,7 @@ @Immutable public final class OutputRecord implements JsonSerializable { /* - * The requiredProp property. + * A sequence of textual characters. */ @Generated private final String requiredProp; @@ -34,7 +34,7 @@ private OutputRecord(String requiredProp) { } /** - * Get the requiredProp property: The requiredProp property. + * Get the requiredProp property: A sequence of textual characters. * * @return the requiredProp value. */ diff --git a/typespec-tests/src/main/java/com/type/model/visibility/models/VisibilityModel.java b/typespec-tests/src/main/java/com/type/model/visibility/models/VisibilityModel.java index 3ab6046134..fc5b7bd056 100644 --- a/typespec-tests/src/main/java/com/type/model/visibility/models/VisibilityModel.java +++ b/typespec-tests/src/main/java/com/type/model/visibility/models/VisibilityModel.java @@ -19,12 +19,16 @@ @Immutable public final class VisibilityModel implements JsonSerializable { /* + * A sequence of textual characters. + * * Required string, illustrating a readonly property. */ @Generated private String readProp; /* + * A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) + * * Required int32, illustrating a query property. */ @Generated @@ -43,6 +47,8 @@ public final class VisibilityModel implements JsonSerializable private final List updateProp; /* + * Boolean with `true` and `false` values. + * * Required bool, illustrating a delete property. */ @Generated @@ -65,7 +71,9 @@ public VisibilityModel(Integer queryProp, List createProp, List } /** - * Get the readProp property: Required string, illustrating a readonly property. + * Get the readProp property: A sequence of textual characters. + * + * Required string, illustrating a readonly property. * * @return the readProp value. */ @@ -75,7 +83,9 @@ public String getReadProp() { } /** - * Get the queryProp property: Required int32, illustrating a query property. + * Get the queryProp property: A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) + * + * Required int32, illustrating a query property. * * @return the queryProp value. */ @@ -105,7 +115,9 @@ public List getUpdateProp() { } /** - * Get the deleteProp property: Required bool, illustrating a delete property. + * Get the deleteProp property: Boolean with `true` and `false` values. + * + * Required bool, illustrating a delete property. * * @return the deleteProp value. */ diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/DifferentSpreadFloatDerived.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/DifferentSpreadFloatDerived.java index ed2606bf86..4c41ac40fa 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/DifferentSpreadFloatDerived.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/DifferentSpreadFloatDerived.java @@ -19,6 +19,8 @@ @Immutable public final class DifferentSpreadFloatDerived extends DifferentSpreadFloatRecord { /* + * A 32 bit floating point number. (`±5.0 × 10^−324` to `±1.7 × 10^308`) + * * The index property */ @Generated @@ -37,7 +39,9 @@ public DifferentSpreadFloatDerived(String name, double derivedProp) { } /** - * Get the derivedProp property: The index property. + * Get the derivedProp property: A 32 bit floating point number. (`±5.0 × 10^−324` to `±1.7 × 10^308`) + * + * The index property. * * @return the derivedProp value. */ diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/DifferentSpreadFloatRecord.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/DifferentSpreadFloatRecord.java index 27b8b865cb..d363bc7b67 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/DifferentSpreadFloatRecord.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/DifferentSpreadFloatRecord.java @@ -20,6 +20,8 @@ @Fluent public class DifferentSpreadFloatRecord implements JsonSerializable { /* + * A sequence of textual characters. + * * The id property */ @Generated @@ -44,7 +46,9 @@ public DifferentSpreadFloatRecord(String name) { } /** - * Get the name property: The id property. + * Get the name property: A sequence of textual characters. + * + * The id property. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/DifferentSpreadModelArrayRecord.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/DifferentSpreadModelArrayRecord.java index 118c10fcc1..de98628d26 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/DifferentSpreadModelArrayRecord.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/DifferentSpreadModelArrayRecord.java @@ -21,7 +21,7 @@ @Fluent public class DifferentSpreadModelArrayRecord implements JsonSerializable { /* - * The knownProp property. + * A sequence of textual characters. */ @Generated private final String knownProp; @@ -45,7 +45,7 @@ public DifferentSpreadModelArrayRecord(String knownProp) { } /** - * Get the knownProp property: The knownProp property. + * Get the knownProp property: A sequence of textual characters. * * @return the knownProp value. */ diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/DifferentSpreadModelRecord.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/DifferentSpreadModelRecord.java index 44cfece9ea..301722a619 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/DifferentSpreadModelRecord.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/DifferentSpreadModelRecord.java @@ -20,7 +20,7 @@ @Fluent public class DifferentSpreadModelRecord implements JsonSerializable { /* - * The knownProp property. + * A sequence of textual characters. */ @Generated private final String knownProp; @@ -44,7 +44,7 @@ public DifferentSpreadModelRecord(String knownProp) { } /** - * Get the knownProp property: The knownProp property. + * Get the knownProp property: A sequence of textual characters. * * @return the knownProp value. */ diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/DifferentSpreadStringDerived.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/DifferentSpreadStringDerived.java index af5a0eb27e..8da4037bdb 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/DifferentSpreadStringDerived.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/DifferentSpreadStringDerived.java @@ -19,6 +19,8 @@ @Immutable public final class DifferentSpreadStringDerived extends DifferentSpreadStringRecord { /* + * A sequence of textual characters. + * * The index property */ @Generated @@ -37,7 +39,9 @@ public DifferentSpreadStringDerived(double id, String derivedProp) { } /** - * Get the derivedProp property: The index property. + * Get the derivedProp property: A sequence of textual characters. + * + * The index property. * * @return the derivedProp value. */ diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/DifferentSpreadStringRecord.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/DifferentSpreadStringRecord.java index 6cda8a267e..29217cf04b 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/DifferentSpreadStringRecord.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/DifferentSpreadStringRecord.java @@ -20,6 +20,8 @@ @Fluent public class DifferentSpreadStringRecord implements JsonSerializable { /* + * A 32 bit floating point number. (`±5.0 × 10^−324` to `±1.7 × 10^308`) + * * The name property */ @Generated @@ -44,7 +46,9 @@ public DifferentSpreadStringRecord(double id) { } /** - * Get the id property: The name property. + * Get the id property: A 32 bit floating point number. (`±5.0 × 10^−324` to `±1.7 × 10^308`) + * + * The name property. * * @return the id value. */ diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/ExtendsFloatAdditionalProperties.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/ExtendsFloatAdditionalProperties.java index 625f98d968..ecedb79b93 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/ExtendsFloatAdditionalProperties.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/ExtendsFloatAdditionalProperties.java @@ -20,6 +20,8 @@ @Fluent public final class ExtendsFloatAdditionalProperties implements JsonSerializable { /* + * A 32 bit floating point number. (`±5.0 × 10^−324` to `±1.7 × 10^308`) + * * The id property */ @Generated @@ -44,7 +46,9 @@ public ExtendsFloatAdditionalProperties(double id) { } /** - * Get the id property: The id property. + * Get the id property: A 32 bit floating point number. (`±5.0 × 10^−324` to `±1.7 × 10^308`) + * + * The id property. * * @return the id value. */ diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/ExtendsStringAdditionalProperties.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/ExtendsStringAdditionalProperties.java index db02bfba4a..239fee123a 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/ExtendsStringAdditionalProperties.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/ExtendsStringAdditionalProperties.java @@ -20,6 +20,8 @@ @Fluent public final class ExtendsStringAdditionalProperties implements JsonSerializable { /* + * A sequence of textual characters. + * * The name property */ @Generated @@ -44,7 +46,9 @@ public ExtendsStringAdditionalProperties(String name) { } /** - * Get the name property: The name property. + * Get the name property: A sequence of textual characters. + * + * The name property. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/ExtendsUnknownAdditionalProperties.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/ExtendsUnknownAdditionalProperties.java index 2a21f86676..db8cc0aecf 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/ExtendsUnknownAdditionalProperties.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/ExtendsUnknownAdditionalProperties.java @@ -20,6 +20,8 @@ @Fluent public class ExtendsUnknownAdditionalProperties implements JsonSerializable { /* + * A sequence of textual characters. + * * The name property */ @Generated @@ -44,7 +46,9 @@ public ExtendsUnknownAdditionalProperties(String name) { } /** - * Get the name property: The name property. + * Get the name property: A sequence of textual characters. + * + * The name property. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/ExtendsUnknownAdditionalPropertiesDerived.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/ExtendsUnknownAdditionalPropertiesDerived.java index 76ecf7f701..f60e2e4244 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/ExtendsUnknownAdditionalPropertiesDerived.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/ExtendsUnknownAdditionalPropertiesDerived.java @@ -19,12 +19,16 @@ @Fluent public final class ExtendsUnknownAdditionalPropertiesDerived extends ExtendsUnknownAdditionalProperties { /* + * A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) + * * The index property */ @Generated private final int index; /* + * A 32 bit floating point number. (`±5.0 × 10^−324` to `±1.7 × 10^308`) + * * The age property */ @Generated @@ -43,7 +47,9 @@ public ExtendsUnknownAdditionalPropertiesDerived(String name, int index) { } /** - * Get the index property: The index property. + * Get the index property: A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) + * + * The index property. * * @return the index value. */ @@ -53,7 +59,9 @@ public int getIndex() { } /** - * Get the age property: The age property. + * Get the age property: A 32 bit floating point number. (`±5.0 × 10^−324` to `±1.7 × 10^308`) + * + * The age property. * * @return the age value. */ @@ -63,7 +71,9 @@ public Double getAge() { } /** - * Set the age property: The age property. + * Set the age property: A 32 bit floating point number. (`±5.0 × 10^−324` to `±1.7 × 10^308`) + * + * The age property. * * @param age the age value to set. * @return the ExtendsUnknownAdditionalPropertiesDerived object itself. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/ExtendsUnknownAdditionalPropertiesDiscriminated.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/ExtendsUnknownAdditionalPropertiesDiscriminated.java index 877f500ab7..8f9dd471e8 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/ExtendsUnknownAdditionalPropertiesDiscriminated.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/ExtendsUnknownAdditionalPropertiesDiscriminated.java @@ -21,12 +21,16 @@ public class ExtendsUnknownAdditionalPropertiesDiscriminated implements JsonSerializable { /* + * A sequence of textual characters. + * * The discriminator */ @Generated private String kind; /* + * A sequence of textual characters. + * * The name property */ @Generated @@ -52,7 +56,9 @@ public ExtendsUnknownAdditionalPropertiesDiscriminated(String name) { } /** - * Get the kind property: The discriminator. + * Get the kind property: A sequence of textual characters. + * + * The discriminator. * * @return the kind value. */ @@ -62,7 +68,9 @@ public String getKind() { } /** - * Get the name property: The name property. + * Get the name property: A sequence of textual characters. + * + * The name property. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/ExtendsUnknownAdditionalPropertiesDiscriminatedDerived.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/ExtendsUnknownAdditionalPropertiesDiscriminatedDerived.java index 7fb248f4d3..bd53362d2d 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/ExtendsUnknownAdditionalPropertiesDiscriminatedDerived.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/ExtendsUnknownAdditionalPropertiesDiscriminatedDerived.java @@ -20,18 +20,24 @@ public final class ExtendsUnknownAdditionalPropertiesDiscriminatedDerived extends ExtendsUnknownAdditionalPropertiesDiscriminated { /* + * A sequence of textual characters. + * * The discriminator */ @Generated private String kind = "derived"; /* + * A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) + * * The index property */ @Generated private final int index; /* + * A 32 bit floating point number. (`±5.0 × 10^−324` to `±1.7 × 10^308`) + * * The age property */ @Generated @@ -50,7 +56,9 @@ public ExtendsUnknownAdditionalPropertiesDiscriminatedDerived(String name, int i } /** - * Get the kind property: The discriminator. + * Get the kind property: A sequence of textual characters. + * + * The discriminator. * * @return the kind value. */ @@ -61,7 +69,9 @@ public String getKind() { } /** - * Get the index property: The index property. + * Get the index property: A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) + * + * The index property. * * @return the index value. */ @@ -71,7 +81,9 @@ public int getIndex() { } /** - * Get the age property: The age property. + * Get the age property: A 32 bit floating point number. (`±5.0 × 10^−324` to `±1.7 × 10^308`) + * + * The age property. * * @return the age value. */ @@ -81,7 +93,9 @@ public Double getAge() { } /** - * Set the age property: The age property. + * Set the age property: A 32 bit floating point number. (`±5.0 × 10^−324` to `±1.7 × 10^308`) + * + * The age property. * * @param age the age value to set. * @return the ExtendsUnknownAdditionalPropertiesDiscriminatedDerived object itself. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/IsFloatAdditionalProperties.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/IsFloatAdditionalProperties.java index 4f55a7b5bd..9b09d2979d 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/IsFloatAdditionalProperties.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/IsFloatAdditionalProperties.java @@ -20,6 +20,8 @@ @Fluent public final class IsFloatAdditionalProperties implements JsonSerializable { /* + * A 32 bit floating point number. (`±5.0 × 10^−324` to `±1.7 × 10^308`) + * * The id property */ @Generated @@ -44,7 +46,9 @@ public IsFloatAdditionalProperties(double id) { } /** - * Get the id property: The id property. + * Get the id property: A 32 bit floating point number. (`±5.0 × 10^−324` to `±1.7 × 10^308`) + * + * The id property. * * @return the id value. */ diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/IsStringAdditionalProperties.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/IsStringAdditionalProperties.java index 1781a79ec7..6dc1272987 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/IsStringAdditionalProperties.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/IsStringAdditionalProperties.java @@ -20,6 +20,8 @@ @Fluent public final class IsStringAdditionalProperties implements JsonSerializable { /* + * A sequence of textual characters. + * * The name property */ @Generated @@ -44,7 +46,9 @@ public IsStringAdditionalProperties(String name) { } /** - * Get the name property: The name property. + * Get the name property: A sequence of textual characters. + * + * The name property. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/IsUnknownAdditionalProperties.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/IsUnknownAdditionalProperties.java index 55a4e4a975..c9ed23a722 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/IsUnknownAdditionalProperties.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/IsUnknownAdditionalProperties.java @@ -20,6 +20,8 @@ @Fluent public class IsUnknownAdditionalProperties implements JsonSerializable { /* + * A sequence of textual characters. + * * The name property */ @Generated @@ -44,7 +46,9 @@ public IsUnknownAdditionalProperties(String name) { } /** - * Get the name property: The name property. + * Get the name property: A sequence of textual characters. + * + * The name property. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/IsUnknownAdditionalPropertiesDerived.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/IsUnknownAdditionalPropertiesDerived.java index e2ef4a71af..ed017774ba 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/IsUnknownAdditionalPropertiesDerived.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/IsUnknownAdditionalPropertiesDerived.java @@ -19,12 +19,16 @@ @Fluent public final class IsUnknownAdditionalPropertiesDerived extends IsUnknownAdditionalProperties { /* + * A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) + * * The index property */ @Generated private final int index; /* + * A 32 bit floating point number. (`±5.0 × 10^−324` to `±1.7 × 10^308`) + * * The age property */ @Generated @@ -43,7 +47,9 @@ public IsUnknownAdditionalPropertiesDerived(String name, int index) { } /** - * Get the index property: The index property. + * Get the index property: A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) + * + * The index property. * * @return the index value. */ @@ -53,7 +59,9 @@ public int getIndex() { } /** - * Get the age property: The age property. + * Get the age property: A 32 bit floating point number. (`±5.0 × 10^−324` to `±1.7 × 10^308`) + * + * The age property. * * @return the age value. */ @@ -63,7 +71,9 @@ public Double getAge() { } /** - * Set the age property: The age property. + * Set the age property: A 32 bit floating point number. (`±5.0 × 10^−324` to `±1.7 × 10^308`) + * + * The age property. * * @param age the age value to set. * @return the IsUnknownAdditionalPropertiesDerived object itself. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/IsUnknownAdditionalPropertiesDiscriminated.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/IsUnknownAdditionalPropertiesDiscriminated.java index af90ebff52..88d190ebd7 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/IsUnknownAdditionalPropertiesDiscriminated.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/IsUnknownAdditionalPropertiesDiscriminated.java @@ -21,12 +21,16 @@ public class IsUnknownAdditionalPropertiesDiscriminated implements JsonSerializable { /* + * A sequence of textual characters. + * * The discriminator */ @Generated private String kind; /* + * A sequence of textual characters. + * * The name property */ @Generated @@ -52,7 +56,9 @@ public IsUnknownAdditionalPropertiesDiscriminated(String name) { } /** - * Get the kind property: The discriminator. + * Get the kind property: A sequence of textual characters. + * + * The discriminator. * * @return the kind value. */ @@ -62,7 +68,9 @@ public String getKind() { } /** - * Get the name property: The name property. + * Get the name property: A sequence of textual characters. + * + * The name property. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/IsUnknownAdditionalPropertiesDiscriminatedDerived.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/IsUnknownAdditionalPropertiesDiscriminatedDerived.java index 3d3c6049c1..52fac1d83f 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/IsUnknownAdditionalPropertiesDiscriminatedDerived.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/IsUnknownAdditionalPropertiesDiscriminatedDerived.java @@ -20,18 +20,24 @@ public final class IsUnknownAdditionalPropertiesDiscriminatedDerived extends IsUnknownAdditionalPropertiesDiscriminated { /* + * A sequence of textual characters. + * * The discriminator */ @Generated private String kind = "derived"; /* + * A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) + * * The index property */ @Generated private final int index; /* + * A 32 bit floating point number. (`±5.0 × 10^−324` to `±1.7 × 10^308`) + * * The age property */ @Generated @@ -50,7 +56,9 @@ public IsUnknownAdditionalPropertiesDiscriminatedDerived(String name, int index) } /** - * Get the kind property: The discriminator. + * Get the kind property: A sequence of textual characters. + * + * The discriminator. * * @return the kind value. */ @@ -61,7 +69,9 @@ public String getKind() { } /** - * Get the index property: The index property. + * Get the index property: A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) + * + * The index property. * * @return the index value. */ @@ -71,7 +81,9 @@ public int getIndex() { } /** - * Get the age property: The age property. + * Get the age property: A 32 bit floating point number. (`±5.0 × 10^−324` to `±1.7 × 10^308`) + * + * The age property. * * @return the age value. */ @@ -81,7 +93,9 @@ public Double getAge() { } /** - * Set the age property: The age property. + * Set the age property: A 32 bit floating point number. (`±5.0 × 10^−324` to `±1.7 × 10^308`) + * + * The age property. * * @param age the age value to set. * @return the IsUnknownAdditionalPropertiesDiscriminatedDerived object itself. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/ModelForRecord.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/ModelForRecord.java index e941af2827..29dc2079cb 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/ModelForRecord.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/ModelForRecord.java @@ -18,6 +18,8 @@ @Immutable public final class ModelForRecord implements JsonSerializable { /* + * A sequence of textual characters. + * * The state property */ @Generated @@ -34,7 +36,9 @@ public ModelForRecord(String state) { } /** - * Get the state property: The state property. + * Get the state property: A sequence of textual characters. + * + * The state property. * * @return the state value. */ diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/MultipleSpreadRecord.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/MultipleSpreadRecord.java index 6830877733..f7dfd5eec0 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/MultipleSpreadRecord.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/MultipleSpreadRecord.java @@ -21,6 +21,8 @@ @Fluent public final class MultipleSpreadRecord implements JsonSerializable { /* + * Boolean with `true` and `false` values. + * * The name property */ @Generated @@ -45,7 +47,9 @@ public MultipleSpreadRecord(boolean flag) { } /** - * Get the flag property: The name property. + * Get the flag property: Boolean with `true` and `false` values. + * + * The name property. * * @return the flag value. */ diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/SpreadFloatRecord.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/SpreadFloatRecord.java index ff82f51c64..7fab9eb019 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/SpreadFloatRecord.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/SpreadFloatRecord.java @@ -20,6 +20,8 @@ @Fluent public final class SpreadFloatRecord implements JsonSerializable { /* + * A 32 bit floating point number. (`±5.0 × 10^−324` to `±1.7 × 10^308`) + * * The id property */ @Generated @@ -44,7 +46,9 @@ public SpreadFloatRecord(double id) { } /** - * Get the id property: The id property. + * Get the id property: A 32 bit floating point number. (`±5.0 × 10^−324` to `±1.7 × 10^308`) + * + * The id property. * * @return the id value. */ diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/SpreadRecordForDiscriminatedUnion.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/SpreadRecordForDiscriminatedUnion.java index 75fa1e0414..cc1df238d6 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/SpreadRecordForDiscriminatedUnion.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/SpreadRecordForDiscriminatedUnion.java @@ -21,6 +21,8 @@ @Fluent public final class SpreadRecordForDiscriminatedUnion implements JsonSerializable { /* + * A sequence of textual characters. + * * The name property */ @Generated @@ -45,7 +47,9 @@ public SpreadRecordForDiscriminatedUnion(String name) { } /** - * Get the name property: The name property. + * Get the name property: A sequence of textual characters. + * + * The name property. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/SpreadRecordForNonDiscriminatedUnion.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/SpreadRecordForNonDiscriminatedUnion.java index 1b63c65fc2..a41d55c18a 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/SpreadRecordForNonDiscriminatedUnion.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/SpreadRecordForNonDiscriminatedUnion.java @@ -22,6 +22,8 @@ public final class SpreadRecordForNonDiscriminatedUnion implements JsonSerializable { /* + * A sequence of textual characters. + * * The name property */ @Generated @@ -46,7 +48,9 @@ public SpreadRecordForNonDiscriminatedUnion(String name) { } /** - * Get the name property: The name property. + * Get the name property: A sequence of textual characters. + * + * The name property. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/SpreadRecordForNonDiscriminatedUnion2.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/SpreadRecordForNonDiscriminatedUnion2.java index 0dc6e2193d..b52d7343a1 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/SpreadRecordForNonDiscriminatedUnion2.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/SpreadRecordForNonDiscriminatedUnion2.java @@ -22,6 +22,8 @@ public final class SpreadRecordForNonDiscriminatedUnion2 implements JsonSerializable { /* + * A sequence of textual characters. + * * The name property */ @Generated @@ -46,7 +48,9 @@ public SpreadRecordForNonDiscriminatedUnion2(String name) { } /** - * Get the name property: The name property. + * Get the name property: A sequence of textual characters. + * + * The name property. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/SpreadRecordForNonDiscriminatedUnion3.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/SpreadRecordForNonDiscriminatedUnion3.java index 98dcf000bf..1e82353c01 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/SpreadRecordForNonDiscriminatedUnion3.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/SpreadRecordForNonDiscriminatedUnion3.java @@ -22,6 +22,8 @@ public final class SpreadRecordForNonDiscriminatedUnion3 implements JsonSerializable { /* + * A sequence of textual characters. + * * The name property */ @Generated @@ -46,7 +48,9 @@ public SpreadRecordForNonDiscriminatedUnion3(String name) { } /** - * Get the name property: The name property. + * Get the name property: A sequence of textual characters. + * + * The name property. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/SpreadRecordForUnion.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/SpreadRecordForUnion.java index b38825a7a7..6c2c3773bc 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/SpreadRecordForUnion.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/SpreadRecordForUnion.java @@ -21,6 +21,8 @@ @Fluent public final class SpreadRecordForUnion implements JsonSerializable { /* + * Boolean with `true` and `false` values. + * * The name property */ @Generated @@ -45,7 +47,9 @@ public SpreadRecordForUnion(boolean flag) { } /** - * Get the flag property: The name property. + * Get the flag property: Boolean with `true` and `false` values. + * + * The name property. * * @return the flag value. */ diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/SpreadStringRecord.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/SpreadStringRecord.java index 3adba86b60..5e67548746 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/SpreadStringRecord.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/SpreadStringRecord.java @@ -20,6 +20,8 @@ @Fluent public final class SpreadStringRecord implements JsonSerializable { /* + * A sequence of textual characters. + * * The name property */ @Generated @@ -44,7 +46,9 @@ public SpreadStringRecord(String name) { } /** - * Get the name property: The name property. + * Get the name property: A sequence of textual characters. + * + * The name property. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/WidgetData0.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/WidgetData0.java index 1150e828b5..9c31d93ba2 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/WidgetData0.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/WidgetData0.java @@ -24,7 +24,7 @@ public final class WidgetData0 implements JsonSerializable { private final String kind = "kind0"; /* - * The fooProp property. + * A sequence of textual characters. */ @Generated private final String fooProp; @@ -50,7 +50,7 @@ public String getKind() { } /** - * Get the fooProp property: The fooProp property. + * Get the fooProp property: A sequence of textual characters. * * @return the fooProp value. */ diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/WidgetData2.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/WidgetData2.java index ede0038f4d..362db1a8ec 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/WidgetData2.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/WidgetData2.java @@ -24,7 +24,7 @@ public final class WidgetData2 implements JsonSerializable { private final String kind = "kind1"; /* - * The start property. + * A sequence of textual characters. */ @Generated private final String start; @@ -50,7 +50,7 @@ public String getKind() { } /** - * Get the start property: The start property. + * Get the start property: A sequence of textual characters. * * @return the start value. */ diff --git a/typespec-tests/src/main/java/com/type/property/nullable/models/BytesProperty.java b/typespec-tests/src/main/java/com/type/property/nullable/models/BytesProperty.java index 538f39a1bd..8218295380 100644 --- a/typespec-tests/src/main/java/com/type/property/nullable/models/BytesProperty.java +++ b/typespec-tests/src/main/java/com/type/property/nullable/models/BytesProperty.java @@ -22,12 +22,16 @@ @Fluent public final class BytesProperty implements JsonSerializable { /* + * A sequence of textual characters. + * * Required property */ @Generated private String requiredProperty; /* + * Represent a byte array + * * Property */ @Generated @@ -62,7 +66,9 @@ public BytesProperty() { } /** - * Get the requiredProperty property: Required property. + * Get the requiredProperty property: A sequence of textual characters. + * + * Required property. * * @return the requiredProperty value. */ @@ -72,7 +78,9 @@ public String getRequiredProperty() { } /** - * Set the requiredProperty property: Required property. + * Set the requiredProperty property: A sequence of textual characters. + * + * Required property. *

Required when create the resource.

* * @param requiredProperty the requiredProperty value to set. @@ -86,7 +94,9 @@ public BytesProperty setRequiredProperty(String requiredProperty) { } /** - * Get the nullableProperty property: Property. + * Get the nullableProperty property: Represent a byte array + * + * Property. * * @return the nullableProperty value. */ @@ -96,7 +106,9 @@ public byte[] getNullableProperty() { } /** - * Set the nullableProperty property: Property. + * Set the nullableProperty property: Represent a byte array + * + * Property. *

Required when create the resource.

* * @param nullableProperty the nullableProperty value to set. diff --git a/typespec-tests/src/main/java/com/type/property/nullable/models/CollectionsByteProperty.java b/typespec-tests/src/main/java/com/type/property/nullable/models/CollectionsByteProperty.java index f986d5d5f3..1494caf525 100644 --- a/typespec-tests/src/main/java/com/type/property/nullable/models/CollectionsByteProperty.java +++ b/typespec-tests/src/main/java/com/type/property/nullable/models/CollectionsByteProperty.java @@ -22,6 +22,8 @@ @Fluent public final class CollectionsByteProperty implements JsonSerializable { /* + * A sequence of textual characters. + * * Required property */ @Generated @@ -62,7 +64,9 @@ public CollectionsByteProperty() { } /** - * Get the requiredProperty property: Required property. + * Get the requiredProperty property: A sequence of textual characters. + * + * Required property. * * @return the requiredProperty value. */ @@ -72,7 +76,9 @@ public String getRequiredProperty() { } /** - * Set the requiredProperty property: Required property. + * Set the requiredProperty property: A sequence of textual characters. + * + * Required property. *

Required when create the resource.

* * @param requiredProperty the requiredProperty value to set. diff --git a/typespec-tests/src/main/java/com/type/property/nullable/models/CollectionsModelProperty.java b/typespec-tests/src/main/java/com/type/property/nullable/models/CollectionsModelProperty.java index 3621be6222..c2e10efdd6 100644 --- a/typespec-tests/src/main/java/com/type/property/nullable/models/CollectionsModelProperty.java +++ b/typespec-tests/src/main/java/com/type/property/nullable/models/CollectionsModelProperty.java @@ -22,6 +22,8 @@ @Fluent public final class CollectionsModelProperty implements JsonSerializable { /* + * A sequence of textual characters. + * * Required property */ @Generated @@ -62,7 +64,9 @@ public CollectionsModelProperty() { } /** - * Get the requiredProperty property: Required property. + * Get the requiredProperty property: A sequence of textual characters. + * + * Required property. * * @return the requiredProperty value. */ @@ -72,7 +76,9 @@ public String getRequiredProperty() { } /** - * Set the requiredProperty property: Required property. + * Set the requiredProperty property: A sequence of textual characters. + * + * Required property. *

Required when create the resource.

* * @param requiredProperty the requiredProperty value to set. diff --git a/typespec-tests/src/main/java/com/type/property/nullable/models/DatetimeProperty.java b/typespec-tests/src/main/java/com/type/property/nullable/models/DatetimeProperty.java index 65b21de2d1..44fe8d8413 100644 --- a/typespec-tests/src/main/java/com/type/property/nullable/models/DatetimeProperty.java +++ b/typespec-tests/src/main/java/com/type/property/nullable/models/DatetimeProperty.java @@ -23,6 +23,8 @@ @Fluent public final class DatetimeProperty implements JsonSerializable { /* + * A sequence of textual characters. + * * Required property */ @Generated @@ -63,7 +65,9 @@ public DatetimeProperty() { } /** - * Get the requiredProperty property: Required property. + * Get the requiredProperty property: A sequence of textual characters. + * + * Required property. * * @return the requiredProperty value. */ @@ -73,7 +77,9 @@ public String getRequiredProperty() { } /** - * Set the requiredProperty property: Required property. + * Set the requiredProperty property: A sequence of textual characters. + * + * Required property. *

Required when create the resource.

* * @param requiredProperty the requiredProperty value to set. diff --git a/typespec-tests/src/main/java/com/type/property/nullable/models/DurationProperty.java b/typespec-tests/src/main/java/com/type/property/nullable/models/DurationProperty.java index 1270e9c77d..177a5a33d8 100644 --- a/typespec-tests/src/main/java/com/type/property/nullable/models/DurationProperty.java +++ b/typespec-tests/src/main/java/com/type/property/nullable/models/DurationProperty.java @@ -23,6 +23,8 @@ @Fluent public final class DurationProperty implements JsonSerializable { /* + * A sequence of textual characters. + * * Required property */ @Generated @@ -63,7 +65,9 @@ public DurationProperty() { } /** - * Get the requiredProperty property: Required property. + * Get the requiredProperty property: A sequence of textual characters. + * + * Required property. * * @return the requiredProperty value. */ @@ -73,7 +77,9 @@ public String getRequiredProperty() { } /** - * Set the requiredProperty property: Required property. + * Set the requiredProperty property: A sequence of textual characters. + * + * Required property. *

Required when create the resource.

* * @param requiredProperty the requiredProperty value to set. diff --git a/typespec-tests/src/main/java/com/type/property/nullable/models/InnerModel.java b/typespec-tests/src/main/java/com/type/property/nullable/models/InnerModel.java index e58ce4b13f..ab1fc5ac98 100644 --- a/typespec-tests/src/main/java/com/type/property/nullable/models/InnerModel.java +++ b/typespec-tests/src/main/java/com/type/property/nullable/models/InnerModel.java @@ -21,6 +21,8 @@ @Fluent public final class InnerModel implements JsonSerializable { /* + * A sequence of textual characters. + * * Inner model property */ @Generated @@ -55,7 +57,9 @@ public InnerModel() { } /** - * Get the property property: Inner model property. + * Get the property property: A sequence of textual characters. + * + * Inner model property. * * @return the property value. */ @@ -65,7 +69,9 @@ public String getProperty() { } /** - * Set the property property: Inner model property. + * Set the property property: A sequence of textual characters. + * + * Inner model property. *

Required when create the resource.

* * @param property the property value to set. diff --git a/typespec-tests/src/main/java/com/type/property/nullable/models/StringProperty.java b/typespec-tests/src/main/java/com/type/property/nullable/models/StringProperty.java index c9bd23655f..27e9982dc2 100644 --- a/typespec-tests/src/main/java/com/type/property/nullable/models/StringProperty.java +++ b/typespec-tests/src/main/java/com/type/property/nullable/models/StringProperty.java @@ -21,12 +21,16 @@ @Fluent public final class StringProperty implements JsonSerializable { /* + * A sequence of textual characters. + * * Required property */ @Generated private String requiredProperty; /* + * A sequence of textual characters. + * * Property */ @Generated @@ -61,7 +65,9 @@ public StringProperty() { } /** - * Get the requiredProperty property: Required property. + * Get the requiredProperty property: A sequence of textual characters. + * + * Required property. * * @return the requiredProperty value. */ @@ -71,7 +77,9 @@ public String getRequiredProperty() { } /** - * Set the requiredProperty property: Required property. + * Set the requiredProperty property: A sequence of textual characters. + * + * Required property. *

Required when create the resource.

* * @param requiredProperty the requiredProperty value to set. @@ -85,7 +93,9 @@ public StringProperty setRequiredProperty(String requiredProperty) { } /** - * Get the nullableProperty property: Property. + * Get the nullableProperty property: A sequence of textual characters. + * + * Property. * * @return the nullableProperty value. */ @@ -95,7 +105,9 @@ public String getNullableProperty() { } /** - * Set the nullableProperty property: Property. + * Set the nullableProperty property: A sequence of textual characters. + * + * Property. *

Required when create the resource.

* * @param nullableProperty the nullableProperty value to set. diff --git a/typespec-tests/src/main/java/com/type/property/optional/models/BytesProperty.java b/typespec-tests/src/main/java/com/type/property/optional/models/BytesProperty.java index 78a54d588a..f19a10f2e3 100644 --- a/typespec-tests/src/main/java/com/type/property/optional/models/BytesProperty.java +++ b/typespec-tests/src/main/java/com/type/property/optional/models/BytesProperty.java @@ -19,6 +19,8 @@ @Fluent public final class BytesProperty implements JsonSerializable { /* + * Represent a byte array + * * Property */ @Generated @@ -32,7 +34,9 @@ public BytesProperty() { } /** - * Get the property property: Property. + * Get the property property: Represent a byte array + * + * Property. * * @return the property value. */ @@ -42,7 +46,9 @@ public byte[] getProperty() { } /** - * Set the property property: Property. + * Set the property property: Represent a byte array + * + * Property. * * @param property the property value to set. * @return the BytesProperty object itself. diff --git a/typespec-tests/src/main/java/com/type/property/optional/models/RequiredAndOptionalProperty.java b/typespec-tests/src/main/java/com/type/property/optional/models/RequiredAndOptionalProperty.java index e98c83a5b7..3ec814601d 100644 --- a/typespec-tests/src/main/java/com/type/property/optional/models/RequiredAndOptionalProperty.java +++ b/typespec-tests/src/main/java/com/type/property/optional/models/RequiredAndOptionalProperty.java @@ -18,12 +18,16 @@ @Fluent public final class RequiredAndOptionalProperty implements JsonSerializable { /* + * A sequence of textual characters. + * * optional string property */ @Generated private String optionalProperty; /* + * A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) + * * required int property */ @Generated @@ -40,7 +44,9 @@ public RequiredAndOptionalProperty(int requiredProperty) { } /** - * Get the optionalProperty property: optional string property. + * Get the optionalProperty property: A sequence of textual characters. + * + * optional string property. * * @return the optionalProperty value. */ @@ -50,7 +56,9 @@ public String getOptionalProperty() { } /** - * Set the optionalProperty property: optional string property. + * Set the optionalProperty property: A sequence of textual characters. + * + * optional string property. * * @param optionalProperty the optionalProperty value to set. * @return the RequiredAndOptionalProperty object itself. @@ -62,7 +70,9 @@ public RequiredAndOptionalProperty setOptionalProperty(String optionalProperty) } /** - * Get the requiredProperty property: required int property. + * Get the requiredProperty property: A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) + * + * required int property. * * @return the requiredProperty value. */ diff --git a/typespec-tests/src/main/java/com/type/property/optional/models/StringProperty.java b/typespec-tests/src/main/java/com/type/property/optional/models/StringProperty.java index feb394f99d..519522a919 100644 --- a/typespec-tests/src/main/java/com/type/property/optional/models/StringProperty.java +++ b/typespec-tests/src/main/java/com/type/property/optional/models/StringProperty.java @@ -18,6 +18,8 @@ @Fluent public final class StringProperty implements JsonSerializable { /* + * A sequence of textual characters. + * * Property */ @Generated @@ -31,7 +33,9 @@ public StringProperty() { } /** - * Get the property property: Property. + * Get the property property: A sequence of textual characters. + * + * Property. * * @return the property value. */ @@ -41,7 +45,9 @@ public String getProperty() { } /** - * Set the property property: Property. + * Set the property property: A sequence of textual characters. + * + * Property. * * @param property the property value to set. * @return the StringProperty object itself. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/models/BooleanProperty.java b/typespec-tests/src/main/java/com/type/property/valuetypes/models/BooleanProperty.java index 2374f27e71..a5502b9ab1 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/models/BooleanProperty.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/models/BooleanProperty.java @@ -18,6 +18,8 @@ @Immutable public final class BooleanProperty implements JsonSerializable { /* + * Boolean with `true` and `false` values. + * * Property */ @Generated @@ -34,7 +36,9 @@ public BooleanProperty(boolean property) { } /** - * Get the property property: Property. + * Get the property property: Boolean with `true` and `false` values. + * + * Property. * * @return the property value. */ diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/models/BytesProperty.java b/typespec-tests/src/main/java/com/type/property/valuetypes/models/BytesProperty.java index 26045c4000..bfb6606e20 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/models/BytesProperty.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/models/BytesProperty.java @@ -19,6 +19,8 @@ @Immutable public final class BytesProperty implements JsonSerializable { /* + * Represent a byte array + * * Property */ @Generated @@ -35,7 +37,9 @@ public BytesProperty(byte[] property) { } /** - * Get the property property: Property. + * Get the property property: Represent a byte array + * + * Property. * * @return the property value. */ diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/models/Decimal128Property.java b/typespec-tests/src/main/java/com/type/property/valuetypes/models/Decimal128Property.java index 936cdff703..13a5e6288c 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/models/Decimal128Property.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/models/Decimal128Property.java @@ -19,6 +19,8 @@ @Immutable public final class Decimal128Property implements JsonSerializable { /* + * A 128-bit decimal number. + * * Property */ @Generated @@ -35,7 +37,9 @@ public Decimal128Property(BigDecimal property) { } /** - * Get the property property: Property. + * Get the property property: A 128-bit decimal number. + * + * Property. * * @return the property value. */ diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/models/DecimalProperty.java b/typespec-tests/src/main/java/com/type/property/valuetypes/models/DecimalProperty.java index 209dd3f3b7..bafec877e3 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/models/DecimalProperty.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/models/DecimalProperty.java @@ -19,6 +19,9 @@ @Immutable public final class DecimalProperty implements JsonSerializable { /* + * A decimal number with any length and precision. This represent any `decimal` value possible. + * It is commonly represented as `BigDecimal` in some languages. + * * Property */ @Generated @@ -35,7 +38,11 @@ public DecimalProperty(BigDecimal property) { } /** - * Get the property property: Property. + * Get the property property: A decimal number with any length and precision. This represent any `decimal` value + * possible. + * It is commonly represented as `BigDecimal` in some languages. + * + * Property. * * @return the property value. */ diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/models/FloatProperty.java b/typespec-tests/src/main/java/com/type/property/valuetypes/models/FloatProperty.java index 55b9bbb4c0..8acd2d7a94 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/models/FloatProperty.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/models/FloatProperty.java @@ -18,6 +18,8 @@ @Immutable public final class FloatProperty implements JsonSerializable { /* + * A 32 bit floating point number. (`±5.0 × 10^−324` to `±1.7 × 10^308`) + * * Property */ @Generated @@ -34,7 +36,9 @@ public FloatProperty(double property) { } /** - * Get the property property: Property. + * Get the property property: A 32 bit floating point number. (`±5.0 × 10^−324` to `±1.7 × 10^308`) + * + * Property. * * @return the property value. */ diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/models/InnerModel.java b/typespec-tests/src/main/java/com/type/property/valuetypes/models/InnerModel.java index 3a4599a9bb..f11225db65 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/models/InnerModel.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/models/InnerModel.java @@ -18,6 +18,8 @@ @Immutable public final class InnerModel implements JsonSerializable { /* + * A sequence of textual characters. + * * Required string property */ @Generated @@ -34,7 +36,9 @@ public InnerModel(String property) { } /** - * Get the property property: Required string property. + * Get the property property: A sequence of textual characters. + * + * Required string property. * * @return the property value. */ diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/models/IntProperty.java b/typespec-tests/src/main/java/com/type/property/valuetypes/models/IntProperty.java index b71dd829b2..dbe6482f8f 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/models/IntProperty.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/models/IntProperty.java @@ -18,6 +18,8 @@ @Immutable public final class IntProperty implements JsonSerializable { /* + * A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) + * * Property */ @Generated @@ -34,7 +36,9 @@ public IntProperty(int property) { } /** - * Get the property property: Property. + * Get the property property: A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) + * + * Property. * * @return the property value. */ diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/models/StringProperty.java b/typespec-tests/src/main/java/com/type/property/valuetypes/models/StringProperty.java index e2adb7075f..99f130e89d 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/models/StringProperty.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/models/StringProperty.java @@ -18,6 +18,8 @@ @Immutable public final class StringProperty implements JsonSerializable { /* + * A sequence of textual characters. + * * Property */ @Generated @@ -34,7 +36,9 @@ public StringProperty(String property) { } /** - * Get the property property: Property. + * Get the property property: A sequence of textual characters. + * + * Property. * * @return the property value. */ diff --git a/typespec-tests/src/main/java/com/type/scalar/Decimal128TypeAsyncClient.java b/typespec-tests/src/main/java/com/type/scalar/Decimal128TypeAsyncClient.java index 06de0a3956..1afee86e35 100644 --- a/typespec-tests/src/main/java/com/type/scalar/Decimal128TypeAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/scalar/Decimal128TypeAsyncClient.java @@ -67,7 +67,7 @@ public Mono> responseBodyWithResponse(RequestOptions reques * BigDecimal * } * - * @param body A 128-bit decimal number. + * @param body The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -84,7 +84,7 @@ public Mono> requestBodyWithResponse(BinaryData body, RequestOpti /** * The requestParameter operation. * - * @param value A 128-bit decimal number. + * @param value The value parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -120,7 +120,7 @@ public Mono responseBody() { /** * The requestBody operation. * - * @param body A 128-bit decimal number. + * @param body The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -140,7 +140,7 @@ public Mono requestBody(BigDecimal body) { /** * The requestParameter operation. * - * @param value A 128-bit decimal number. + * @param value The value parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/scalar/Decimal128TypeClient.java b/typespec-tests/src/main/java/com/type/scalar/Decimal128TypeClient.java index 0de98cf71d..24ab91b98e 100644 --- a/typespec-tests/src/main/java/com/type/scalar/Decimal128TypeClient.java +++ b/typespec-tests/src/main/java/com/type/scalar/Decimal128TypeClient.java @@ -65,7 +65,7 @@ public Response responseBodyWithResponse(RequestOptions requestOptio * BigDecimal * } * - * @param body A 128-bit decimal number. + * @param body The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -82,7 +82,7 @@ public Response requestBodyWithResponse(BinaryData body, RequestOptions re /** * The requestParameter operation. * - * @param value A 128-bit decimal number. + * @param value The value parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -117,7 +117,7 @@ public BigDecimal responseBody() { /** * The requestBody operation. * - * @param body A 128-bit decimal number. + * @param body The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -136,7 +136,7 @@ public void requestBody(BigDecimal body) { /** * The requestParameter operation. * - * @param value A 128-bit decimal number. + * @param value The value parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/scalar/Decimal128VerifyAsyncClient.java b/typespec-tests/src/main/java/com/type/scalar/Decimal128VerifyAsyncClient.java index 662494953b..c915c73540 100644 --- a/typespec-tests/src/main/java/com/type/scalar/Decimal128VerifyAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/scalar/Decimal128VerifyAsyncClient.java @@ -71,8 +71,7 @@ public Mono> prepareVerifyWithResponse(RequestOptions reque * BigDecimal * } * - * @param body A decimal number with any length and precision. This represent any `decimal` value possible. - * It is commonly represented as `BigDecimal` in some languages. + * @param body The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -108,8 +107,7 @@ public Mono> prepareVerify() { /** * The verify operation. * - * @param body A decimal number with any length and precision. This represent any `decimal` value possible. - * It is commonly represented as `BigDecimal` in some languages. + * @param body The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/scalar/Decimal128VerifyClient.java b/typespec-tests/src/main/java/com/type/scalar/Decimal128VerifyClient.java index e33fc68eef..a25aaf989a 100644 --- a/typespec-tests/src/main/java/com/type/scalar/Decimal128VerifyClient.java +++ b/typespec-tests/src/main/java/com/type/scalar/Decimal128VerifyClient.java @@ -69,8 +69,7 @@ public Response prepareVerifyWithResponse(RequestOptions requestOpti * BigDecimal * } * - * @param body A decimal number with any length and precision. This represent any `decimal` value possible. - * It is commonly represented as `BigDecimal` in some languages. + * @param body The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -105,8 +104,7 @@ public List prepareVerify() { /** * The verify operation. * - * @param body A decimal number with any length and precision. This represent any `decimal` value possible. - * It is commonly represented as `BigDecimal` in some languages. + * @param body The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/scalar/DecimalTypeAsyncClient.java b/typespec-tests/src/main/java/com/type/scalar/DecimalTypeAsyncClient.java index 738bf216f7..4d5ef15e15 100644 --- a/typespec-tests/src/main/java/com/type/scalar/DecimalTypeAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/scalar/DecimalTypeAsyncClient.java @@ -68,8 +68,7 @@ public Mono> responseBodyWithResponse(RequestOptions reques * BigDecimal * } * - * @param body A decimal number with any length and precision. This represent any `decimal` value possible. - * It is commonly represented as `BigDecimal` in some languages. + * @param body The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -86,8 +85,7 @@ public Mono> requestBodyWithResponse(BinaryData body, RequestOpti /** * The requestParameter operation. * - * @param value A decimal number with any length and precision. This represent any `decimal` value possible. - * It is commonly represented as `BigDecimal` in some languages. + * @param value The value parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -123,8 +121,7 @@ public Mono responseBody() { /** * The requestBody operation. * - * @param body A decimal number with any length and precision. This represent any `decimal` value possible. - * It is commonly represented as `BigDecimal` in some languages. + * @param body The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -144,8 +141,7 @@ public Mono requestBody(BigDecimal body) { /** * The requestParameter operation. * - * @param value A decimal number with any length and precision. This represent any `decimal` value possible. - * It is commonly represented as `BigDecimal` in some languages. + * @param value The value parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/scalar/DecimalTypeClient.java b/typespec-tests/src/main/java/com/type/scalar/DecimalTypeClient.java index 32a5697a07..983c89deee 100644 --- a/typespec-tests/src/main/java/com/type/scalar/DecimalTypeClient.java +++ b/typespec-tests/src/main/java/com/type/scalar/DecimalTypeClient.java @@ -65,8 +65,7 @@ public Response responseBodyWithResponse(RequestOptions requestOptio * BigDecimal * } * - * @param body A decimal number with any length and precision. This represent any `decimal` value possible. - * It is commonly represented as `BigDecimal` in some languages. + * @param body The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -83,8 +82,7 @@ public Response requestBodyWithResponse(BinaryData body, RequestOptions re /** * The requestParameter operation. * - * @param value A decimal number with any length and precision. This represent any `decimal` value possible. - * It is commonly represented as `BigDecimal` in some languages. + * @param value The value parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -119,8 +117,7 @@ public BigDecimal responseBody() { /** * The requestBody operation. * - * @param body A decimal number with any length and precision. This represent any `decimal` value possible. - * It is commonly represented as `BigDecimal` in some languages. + * @param body The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -139,8 +136,7 @@ public void requestBody(BigDecimal body) { /** * The requestParameter operation. * - * @param value A decimal number with any length and precision. This represent any `decimal` value possible. - * It is commonly represented as `BigDecimal` in some languages. + * @param value The value parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/scalar/DecimalVerifyAsyncClient.java b/typespec-tests/src/main/java/com/type/scalar/DecimalVerifyAsyncClient.java index 58e54c1c07..64bd4b28d8 100644 --- a/typespec-tests/src/main/java/com/type/scalar/DecimalVerifyAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/scalar/DecimalVerifyAsyncClient.java @@ -71,8 +71,7 @@ public Mono> prepareVerifyWithResponse(RequestOptions reque * BigDecimal * } * - * @param body A decimal number with any length and precision. This represent any `decimal` value possible. - * It is commonly represented as `BigDecimal` in some languages. + * @param body The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -108,8 +107,7 @@ public Mono> prepareVerify() { /** * The verify operation. * - * @param body A decimal number with any length and precision. This represent any `decimal` value possible. - * It is commonly represented as `BigDecimal` in some languages. + * @param body The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/scalar/DecimalVerifyClient.java b/typespec-tests/src/main/java/com/type/scalar/DecimalVerifyClient.java index 844cc20bef..d865fc9a59 100644 --- a/typespec-tests/src/main/java/com/type/scalar/DecimalVerifyClient.java +++ b/typespec-tests/src/main/java/com/type/scalar/DecimalVerifyClient.java @@ -69,8 +69,7 @@ public Response prepareVerifyWithResponse(RequestOptions requestOpti * BigDecimal * } * - * @param body A decimal number with any length and precision. This represent any `decimal` value possible. - * It is commonly represented as `BigDecimal` in some languages. + * @param body The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -105,8 +104,7 @@ public List prepareVerify() { /** * The verify operation. * - * @param body A decimal number with any length and precision. This represent any `decimal` value possible. - * It is commonly represented as `BigDecimal` in some languages. + * @param body The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/scalar/implementation/Decimal128TypesImpl.java b/typespec-tests/src/main/java/com/type/scalar/implementation/Decimal128TypesImpl.java index 3a9f10329d..7888d3acb3 100644 --- a/typespec-tests/src/main/java/com/type/scalar/implementation/Decimal128TypesImpl.java +++ b/typespec-tests/src/main/java/com/type/scalar/implementation/Decimal128TypesImpl.java @@ -165,7 +165,7 @@ public Response responseBodyWithResponse(RequestOptions requestOptio * BigDecimal * } * - * @param body A 128-bit decimal number. + * @param body The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -187,7 +187,7 @@ public Mono> requestBodyWithResponseAsync(BinaryData body, Reques * BigDecimal * } * - * @param body A 128-bit decimal number. + * @param body The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -204,7 +204,7 @@ public Response requestBodyWithResponse(BinaryData body, RequestOptions re /** * The requestParameter operation. * - * @param value A 128-bit decimal number. + * @param value The value parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -221,7 +221,7 @@ public Mono> requestParameterWithResponseAsync(BigDecimal value, /** * The requestParameter operation. * - * @param value A 128-bit decimal number. + * @param value The value parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/scalar/implementation/Decimal128VerifiesImpl.java b/typespec-tests/src/main/java/com/type/scalar/implementation/Decimal128VerifiesImpl.java index 7753ef95d2..9ab59d8665 100644 --- a/typespec-tests/src/main/java/com/type/scalar/implementation/Decimal128VerifiesImpl.java +++ b/typespec-tests/src/main/java/com/type/scalar/implementation/Decimal128VerifiesImpl.java @@ -149,8 +149,7 @@ public Response prepareVerifyWithResponse(RequestOptions requestOpti * BigDecimal * } * - * @param body A decimal number with any length and precision. This represent any `decimal` value possible. - * It is commonly represented as `BigDecimal` in some languages. + * @param body The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -172,8 +171,7 @@ public Mono> verifyWithResponseAsync(BinaryData body, RequestOpti * BigDecimal * } * - * @param body A decimal number with any length and precision. This represent any `decimal` value possible. - * It is commonly represented as `BigDecimal` in some languages. + * @param body The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/scalar/implementation/DecimalTypesImpl.java b/typespec-tests/src/main/java/com/type/scalar/implementation/DecimalTypesImpl.java index 06214f1932..e44f5908ad 100644 --- a/typespec-tests/src/main/java/com/type/scalar/implementation/DecimalTypesImpl.java +++ b/typespec-tests/src/main/java/com/type/scalar/implementation/DecimalTypesImpl.java @@ -166,8 +166,7 @@ public Response responseBodyWithResponse(RequestOptions requestOptio * BigDecimal * } * - * @param body A decimal number with any length and precision. This represent any `decimal` value possible. - * It is commonly represented as `BigDecimal` in some languages. + * @param body The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -189,8 +188,7 @@ public Mono> requestBodyWithResponseAsync(BinaryData body, Reques * BigDecimal * } * - * @param body A decimal number with any length and precision. This represent any `decimal` value possible. - * It is commonly represented as `BigDecimal` in some languages. + * @param body The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -207,8 +205,7 @@ public Response requestBodyWithResponse(BinaryData body, RequestOptions re /** * The requestParameter operation. * - * @param value A decimal number with any length and precision. This represent any `decimal` value possible. - * It is commonly represented as `BigDecimal` in some languages. + * @param value The value parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -225,8 +222,7 @@ public Mono> requestParameterWithResponseAsync(BigDecimal value, /** * The requestParameter operation. * - * @param value A decimal number with any length and precision. This represent any `decimal` value possible. - * It is commonly represented as `BigDecimal` in some languages. + * @param value The value parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/scalar/implementation/DecimalVerifiesImpl.java b/typespec-tests/src/main/java/com/type/scalar/implementation/DecimalVerifiesImpl.java index 6fb21bdfbe..4917636063 100644 --- a/typespec-tests/src/main/java/com/type/scalar/implementation/DecimalVerifiesImpl.java +++ b/typespec-tests/src/main/java/com/type/scalar/implementation/DecimalVerifiesImpl.java @@ -149,8 +149,7 @@ public Response prepareVerifyWithResponse(RequestOptions requestOpti * BigDecimal * } * - * @param body A decimal number with any length and precision. This represent any `decimal` value possible. - * It is commonly represented as `BigDecimal` in some languages. + * @param body The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -172,8 +171,7 @@ public Mono> verifyWithResponseAsync(BinaryData body, RequestOpti * BigDecimal * } * - * @param body A decimal number with any length and precision. This represent any `decimal` value possible. - * It is commonly represented as `BigDecimal` in some languages. + * @param body The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/union/models/Cat.java b/typespec-tests/src/main/java/com/type/union/models/Cat.java index a10e8d9372..85fe5b5499 100644 --- a/typespec-tests/src/main/java/com/type/union/models/Cat.java +++ b/typespec-tests/src/main/java/com/type/union/models/Cat.java @@ -18,7 +18,7 @@ @Immutable public final class Cat implements JsonSerializable { /* - * The name property. + * A sequence of textual characters. */ @Generated private final String name; @@ -34,7 +34,7 @@ public Cat(String name) { } /** - * Get the name property: The name property. + * Get the name property: A sequence of textual characters. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/type/union/models/Dog.java b/typespec-tests/src/main/java/com/type/union/models/Dog.java index 4fd3f43712..d508f7b2f0 100644 --- a/typespec-tests/src/main/java/com/type/union/models/Dog.java +++ b/typespec-tests/src/main/java/com/type/union/models/Dog.java @@ -18,7 +18,7 @@ @Immutable public final class Dog implements JsonSerializable { /* - * The bark property. + * A sequence of textual characters. */ @Generated private final String bark; @@ -34,7 +34,7 @@ public Dog(String bark) { } /** - * Get the bark property: The bark property. + * Get the bark property: A sequence of textual characters. * * @return the bark value. */ diff --git a/typespec-tests/src/main/java/com/versioning/added/AddedAsyncClient.java b/typespec-tests/src/main/java/com/versioning/added/AddedAsyncClient.java index 5da9588c69..9f8732d8e6 100644 --- a/typespec-tests/src/main/java/com/versioning/added/AddedAsyncClient.java +++ b/typespec-tests/src/main/java/com/versioning/added/AddedAsyncClient.java @@ -61,7 +61,7 @@ public final class AddedAsyncClient { * } * } * - * @param headerV2 A sequence of textual characters. + * @param headerV2 The headerV2 parameter. * @param body The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -115,7 +115,7 @@ public Mono> v2WithResponse(BinaryData body, RequestOptions /** * The v1 operation. * - * @param headerV2 A sequence of textual characters. + * @param headerV2 The headerV2 parameter. * @param body The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. diff --git a/typespec-tests/src/main/java/com/versioning/added/AddedClient.java b/typespec-tests/src/main/java/com/versioning/added/AddedClient.java index 41d43d8846..4954e6db56 100644 --- a/typespec-tests/src/main/java/com/versioning/added/AddedClient.java +++ b/typespec-tests/src/main/java/com/versioning/added/AddedClient.java @@ -59,7 +59,7 @@ public final class AddedClient { * } * } * - * @param headerV2 A sequence of textual characters. + * @param headerV2 The headerV2 parameter. * @param body The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -113,7 +113,7 @@ public Response v2WithResponse(BinaryData body, RequestOptions reque /** * The v1 operation. * - * @param headerV2 A sequence of textual characters. + * @param headerV2 The headerV2 parameter. * @param body The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. diff --git a/typespec-tests/src/main/java/com/versioning/added/implementation/AddedClientImpl.java b/typespec-tests/src/main/java/com/versioning/added/implementation/AddedClientImpl.java index 271c3b7cf1..ea3c2305cd 100644 --- a/typespec-tests/src/main/java/com/versioning/added/implementation/AddedClientImpl.java +++ b/typespec-tests/src/main/java/com/versioning/added/implementation/AddedClientImpl.java @@ -240,7 +240,7 @@ Response v2Sync(@HostParam("endpoint") String endpoint, @HostParam(" * } * } * - * @param headerV2 A sequence of textual characters. + * @param headerV2 The headerV2 parameter. * @param body The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -279,7 +279,7 @@ public Mono> v1WithResponseAsync(String headerV2, BinaryDat * } * } * - * @param headerV2 A sequence of textual characters. + * @param headerV2 The headerV2 parameter. * @param body The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. diff --git a/typespec-tests/src/main/java/com/versioning/added/models/ModelV1.java b/typespec-tests/src/main/java/com/versioning/added/models/ModelV1.java index 8547dbb359..9b640af564 100644 --- a/typespec-tests/src/main/java/com/versioning/added/models/ModelV1.java +++ b/typespec-tests/src/main/java/com/versioning/added/models/ModelV1.java @@ -19,7 +19,7 @@ @Immutable public final class ModelV1 implements JsonSerializable { /* - * The prop property. + * A sequence of textual characters. */ @Generated private final String prop; @@ -51,7 +51,7 @@ public ModelV1(String prop, EnumV1 enumProp, BinaryData unionProp) { } /** - * Get the prop property: The prop property. + * Get the prop property: A sequence of textual characters. * * @return the prop value. */ diff --git a/typespec-tests/src/main/java/com/versioning/added/models/ModelV2.java b/typespec-tests/src/main/java/com/versioning/added/models/ModelV2.java index 6132f119e6..1e460bc804 100644 --- a/typespec-tests/src/main/java/com/versioning/added/models/ModelV2.java +++ b/typespec-tests/src/main/java/com/versioning/added/models/ModelV2.java @@ -19,7 +19,7 @@ @Immutable public final class ModelV2 implements JsonSerializable { /* - * The prop property. + * A sequence of textual characters. */ @Generated private final String prop; @@ -51,7 +51,7 @@ public ModelV2(String prop, EnumV2 enumProp, BinaryData unionProp) { } /** - * Get the prop property: The prop property. + * Get the prop property: A sequence of textual characters. * * @return the prop value. */ diff --git a/typespec-tests/src/main/java/com/versioning/madeoptional/MadeOptionalAsyncClient.java b/typespec-tests/src/main/java/com/versioning/madeoptional/MadeOptionalAsyncClient.java index 4a9f017fc6..ec7eca46c8 100644 --- a/typespec-tests/src/main/java/com/versioning/madeoptional/MadeOptionalAsyncClient.java +++ b/typespec-tests/src/main/java/com/versioning/madeoptional/MadeOptionalAsyncClient.java @@ -44,7 +44,7 @@ public final class MadeOptionalAsyncClient { * * * - * + * *
Query Parameters
NameTypeRequiredDescription
paramStringNoA sequence of textual characters.
paramStringNoThe param parameter
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Request Body Schema

@@ -83,7 +83,7 @@ public Mono> testWithResponse(BinaryData body, RequestOptio * The test operation. * * @param body The body parameter. - * @param param A sequence of textual characters. + * @param param The param parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/versioning/madeoptional/MadeOptionalClient.java b/typespec-tests/src/main/java/com/versioning/madeoptional/MadeOptionalClient.java index 8fe5ebded1..87caefa6fe 100644 --- a/typespec-tests/src/main/java/com/versioning/madeoptional/MadeOptionalClient.java +++ b/typespec-tests/src/main/java/com/versioning/madeoptional/MadeOptionalClient.java @@ -42,7 +42,7 @@ public final class MadeOptionalClient { * * * - * + * *
Query Parameters
NameTypeRequiredDescription
paramStringNoA sequence of textual characters.
paramStringNoThe param parameter
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Request Body Schema

@@ -81,7 +81,7 @@ public Response testWithResponse(BinaryData body, RequestOptions req * The test operation. * * @param body The body parameter. - * @param param A sequence of textual characters. + * @param param The param parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/versioning/madeoptional/implementation/MadeOptionalClientImpl.java b/typespec-tests/src/main/java/com/versioning/madeoptional/implementation/MadeOptionalClientImpl.java index 87915827e1..11b87890d5 100644 --- a/typespec-tests/src/main/java/com/versioning/madeoptional/implementation/MadeOptionalClientImpl.java +++ b/typespec-tests/src/main/java/com/versioning/madeoptional/implementation/MadeOptionalClientImpl.java @@ -191,7 +191,7 @@ Response testSync(@HostParam("endpoint") String endpoint, @HostParam * * * - * + * *
Query Parameters
NameTypeRequiredDescription
paramStringNoA sequence of textual characters.
paramStringNoThe param parameter
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Request Body Schema

@@ -233,7 +233,7 @@ public Mono> testWithResponseAsync(BinaryData body, Request * * * - * + * *
Query Parameters
NameTypeRequiredDescription
paramStringNoA sequence of textual characters.
paramStringNoThe param parameter
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Request Body Schema

diff --git a/typespec-tests/src/main/java/com/versioning/madeoptional/models/TestModel.java b/typespec-tests/src/main/java/com/versioning/madeoptional/models/TestModel.java index 4ba85f38ae..3e19b2fef9 100644 --- a/typespec-tests/src/main/java/com/versioning/madeoptional/models/TestModel.java +++ b/typespec-tests/src/main/java/com/versioning/madeoptional/models/TestModel.java @@ -18,13 +18,13 @@ @Fluent public final class TestModel implements JsonSerializable { /* - * The prop property. + * A sequence of textual characters. */ @Generated private final String prop; /* - * The changedProp property. + * A sequence of textual characters. */ @Generated private String changedProp; @@ -40,7 +40,7 @@ public TestModel(String prop) { } /** - * Get the prop property: The prop property. + * Get the prop property: A sequence of textual characters. * * @return the prop value. */ @@ -50,7 +50,7 @@ public String getProp() { } /** - * Get the changedProp property: The changedProp property. + * Get the changedProp property: A sequence of textual characters. * * @return the changedProp value. */ @@ -60,7 +60,7 @@ public String getChangedProp() { } /** - * Set the changedProp property: The changedProp property. + * Set the changedProp property: A sequence of textual characters. * * @param changedProp the changedProp value to set. * @return the TestModel object itself. diff --git a/typespec-tests/src/main/java/com/versioning/removed/models/ModelV2.java b/typespec-tests/src/main/java/com/versioning/removed/models/ModelV2.java index c6f8d63b95..17f20abe3e 100644 --- a/typespec-tests/src/main/java/com/versioning/removed/models/ModelV2.java +++ b/typespec-tests/src/main/java/com/versioning/removed/models/ModelV2.java @@ -19,7 +19,7 @@ @Immutable public final class ModelV2 implements JsonSerializable { /* - * The prop property. + * A sequence of textual characters. */ @Generated private final String prop; @@ -51,7 +51,7 @@ public ModelV2(String prop, EnumV2 enumProp, BinaryData unionProp) { } /** - * Get the prop property: The prop property. + * Get the prop property: A sequence of textual characters. * * @return the prop value. */ diff --git a/typespec-tests/src/main/java/com/versioning/renamedfrom/RenamedFromAsyncClient.java b/typespec-tests/src/main/java/com/versioning/renamedfrom/RenamedFromAsyncClient.java index fc2868fc8f..b919a7c0cc 100644 --- a/typespec-tests/src/main/java/com/versioning/renamedfrom/RenamedFromAsyncClient.java +++ b/typespec-tests/src/main/java/com/versioning/renamedfrom/RenamedFromAsyncClient.java @@ -60,7 +60,7 @@ public final class RenamedFromAsyncClient { * } * } * - * @param newQuery A sequence of textual characters. + * @param newQuery The newQuery parameter. * @param body The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -79,7 +79,7 @@ public Mono> newOpWithResponse(String newQuery, BinaryData /** * The newOp operation. * - * @param newQuery A sequence of textual characters. + * @param newQuery The newQuery parameter. * @param body The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. diff --git a/typespec-tests/src/main/java/com/versioning/renamedfrom/RenamedFromClient.java b/typespec-tests/src/main/java/com/versioning/renamedfrom/RenamedFromClient.java index d3bfde7229..5d17e38559 100644 --- a/typespec-tests/src/main/java/com/versioning/renamedfrom/RenamedFromClient.java +++ b/typespec-tests/src/main/java/com/versioning/renamedfrom/RenamedFromClient.java @@ -58,7 +58,7 @@ public final class RenamedFromClient { * } * } * - * @param newQuery A sequence of textual characters. + * @param newQuery The newQuery parameter. * @param body The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -76,7 +76,7 @@ public Response newOpWithResponse(String newQuery, BinaryData body, /** * The newOp operation. * - * @param newQuery A sequence of textual characters. + * @param newQuery The newQuery parameter. * @param body The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. diff --git a/typespec-tests/src/main/java/com/versioning/renamedfrom/implementation/RenamedFromClientImpl.java b/typespec-tests/src/main/java/com/versioning/renamedfrom/implementation/RenamedFromClientImpl.java index 698251c209..8cb793c44a 100644 --- a/typespec-tests/src/main/java/com/versioning/renamedfrom/implementation/RenamedFromClientImpl.java +++ b/typespec-tests/src/main/java/com/versioning/renamedfrom/implementation/RenamedFromClientImpl.java @@ -222,7 +222,7 @@ Response newOpSync(@HostParam("endpoint") String endpoint, @HostPara * } * } * - * @param newQuery A sequence of textual characters. + * @param newQuery The newQuery parameter. * @param body The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -261,7 +261,7 @@ public Mono> newOpWithResponseAsync(String newQuery, Binary * } * } * - * @param newQuery A sequence of textual characters. + * @param newQuery The newQuery parameter. * @param body The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. diff --git a/typespec-tests/src/main/java/com/versioning/renamedfrom/models/NewModel.java b/typespec-tests/src/main/java/com/versioning/renamedfrom/models/NewModel.java index 5d53670c31..ee88bf7855 100644 --- a/typespec-tests/src/main/java/com/versioning/renamedfrom/models/NewModel.java +++ b/typespec-tests/src/main/java/com/versioning/renamedfrom/models/NewModel.java @@ -19,7 +19,7 @@ @Immutable public final class NewModel implements JsonSerializable { /* - * The newProp property. + * A sequence of textual characters. */ @Generated private final String newProp; @@ -51,7 +51,7 @@ public NewModel(String newProp, NewEnum enumProp, BinaryData unionProp) { } /** - * Get the newProp property: The newProp property. + * Get the newProp property: A sequence of textual characters. * * @return the newProp value. */ diff --git a/typespec-tests/src/main/java/com/versioning/returntypechangedfrom/ReturnTypeChangedFromAsyncClient.java b/typespec-tests/src/main/java/com/versioning/returntypechangedfrom/ReturnTypeChangedFromAsyncClient.java index b04a17ec86..b108e10f54 100644 --- a/typespec-tests/src/main/java/com/versioning/returntypechangedfrom/ReturnTypeChangedFromAsyncClient.java +++ b/typespec-tests/src/main/java/com/versioning/returntypechangedfrom/ReturnTypeChangedFromAsyncClient.java @@ -51,7 +51,7 @@ public final class ReturnTypeChangedFromAsyncClient { * String * } * - * @param body A sequence of textual characters. + * @param body The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -68,7 +68,7 @@ public Mono> testWithResponse(BinaryData body, RequestOptio /** * The test operation. * - * @param body A sequence of textual characters. + * @param body The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/versioning/returntypechangedfrom/ReturnTypeChangedFromClient.java b/typespec-tests/src/main/java/com/versioning/returntypechangedfrom/ReturnTypeChangedFromClient.java index 85cc7e96c9..25d54923fe 100644 --- a/typespec-tests/src/main/java/com/versioning/returntypechangedfrom/ReturnTypeChangedFromClient.java +++ b/typespec-tests/src/main/java/com/versioning/returntypechangedfrom/ReturnTypeChangedFromClient.java @@ -49,7 +49,7 @@ public final class ReturnTypeChangedFromClient { * String * } * - * @param body A sequence of textual characters. + * @param body The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -66,7 +66,7 @@ public Response testWithResponse(BinaryData body, RequestOptions req /** * The test operation. * - * @param body A sequence of textual characters. + * @param body The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/versioning/returntypechangedfrom/implementation/ReturnTypeChangedFromClientImpl.java b/typespec-tests/src/main/java/com/versioning/returntypechangedfrom/implementation/ReturnTypeChangedFromClientImpl.java index ffda6997fb..58e80a8662 100644 --- a/typespec-tests/src/main/java/com/versioning/returntypechangedfrom/implementation/ReturnTypeChangedFromClientImpl.java +++ b/typespec-tests/src/main/java/com/versioning/returntypechangedfrom/implementation/ReturnTypeChangedFromClientImpl.java @@ -200,7 +200,7 @@ Response testSync(@HostParam("endpoint") String endpoint, @HostParam * String * } * - * @param body A sequence of textual characters. + * @param body The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -229,7 +229,7 @@ public Mono> testWithResponseAsync(BinaryData body, Request * String * } * - * @param body A sequence of textual characters. + * @param body The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/versioning/typechangedfrom/TypeChangedFromAsyncClient.java b/typespec-tests/src/main/java/com/versioning/typechangedfrom/TypeChangedFromAsyncClient.java index bc19d58781..254199b742 100644 --- a/typespec-tests/src/main/java/com/versioning/typechangedfrom/TypeChangedFromAsyncClient.java +++ b/typespec-tests/src/main/java/com/versioning/typechangedfrom/TypeChangedFromAsyncClient.java @@ -58,7 +58,7 @@ public final class TypeChangedFromAsyncClient { * } * } * - * @param param A sequence of textual characters. + * @param param The param parameter. * @param body The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -76,7 +76,7 @@ public Mono> testWithResponse(String param, BinaryData body /** * The test operation. * - * @param param A sequence of textual characters. + * @param param The param parameter. * @param body The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. diff --git a/typespec-tests/src/main/java/com/versioning/typechangedfrom/TypeChangedFromClient.java b/typespec-tests/src/main/java/com/versioning/typechangedfrom/TypeChangedFromClient.java index 683c5ea37d..2f85c234f7 100644 --- a/typespec-tests/src/main/java/com/versioning/typechangedfrom/TypeChangedFromClient.java +++ b/typespec-tests/src/main/java/com/versioning/typechangedfrom/TypeChangedFromClient.java @@ -56,7 +56,7 @@ public final class TypeChangedFromClient { * } * } * - * @param param A sequence of textual characters. + * @param param The param parameter. * @param body The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -74,7 +74,7 @@ public Response testWithResponse(String param, BinaryData body, Requ /** * The test operation. * - * @param param A sequence of textual characters. + * @param param The param parameter. * @param body The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. diff --git a/typespec-tests/src/main/java/com/versioning/typechangedfrom/implementation/TypeChangedFromClientImpl.java b/typespec-tests/src/main/java/com/versioning/typechangedfrom/implementation/TypeChangedFromClientImpl.java index a985820590..b11f99fc16 100644 --- a/typespec-tests/src/main/java/com/versioning/typechangedfrom/implementation/TypeChangedFromClientImpl.java +++ b/typespec-tests/src/main/java/com/versioning/typechangedfrom/implementation/TypeChangedFromClientImpl.java @@ -206,7 +206,7 @@ Response testSync(@HostParam("endpoint") String endpoint, @HostParam * } * } * - * @param param A sequence of textual characters. + * @param param The param parameter. * @param body The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -243,7 +243,7 @@ public Mono> testWithResponseAsync(String param, BinaryData * } * } * - * @param param A sequence of textual characters. + * @param param The param parameter. * @param body The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. diff --git a/typespec-tests/src/main/java/com/versioning/typechangedfrom/models/TestModel.java b/typespec-tests/src/main/java/com/versioning/typechangedfrom/models/TestModel.java index 4f3e8f7c93..33dc664e72 100644 --- a/typespec-tests/src/main/java/com/versioning/typechangedfrom/models/TestModel.java +++ b/typespec-tests/src/main/java/com/versioning/typechangedfrom/models/TestModel.java @@ -18,13 +18,13 @@ @Immutable public final class TestModel implements JsonSerializable { /* - * The prop property. + * A sequence of textual characters. */ @Generated private final String prop; /* - * The changedProp property. + * A sequence of textual characters. */ @Generated private final String changedProp; @@ -42,7 +42,7 @@ public TestModel(String prop, String changedProp) { } /** - * Get the prop property: The prop property. + * Get the prop property: A sequence of textual characters. * * @return the prop value. */ @@ -52,7 +52,7 @@ public String getProp() { } /** - * Get the changedProp property: The changedProp property. + * Get the changedProp property: A sequence of textual characters. * * @return the changedProp value. */ From 2cd34f3945a434986ba69ab07ea46232a9f10f80 Mon Sep 17 00:00:00 2001 From: Haoling Dong Date: Fri, 17 May 2024 14:50:27 +0800 Subject: [PATCH 03/12] regen flatten --- .../com/cadl/flatten/FlattenAsyncClient.java | 450 ++++++++++++ .../java/com/cadl/flatten/FlattenClient.java | 440 ++++++++++++ .../cadl/flatten/FlattenClientBuilder.java | 302 ++++++++ .../cadl/flatten/FlattenServiceVersion.java | 40 ++ .../implementation/FlattenClientImpl.java | 673 ++++++++++++++++++ .../implementation/JsonMergePatchHelper.java | 42 ++ .../MultipartFormDataHelper.java | 210 ++++++ .../models/SendLongRequest.java | 368 ++++++++++ .../models/SendProjectedNameRequest.java | 83 +++ .../implementation/models/SendRequest.java | 136 ++++ .../models/UploadFileRequest.java | 57 ++ .../models/UploadTodoRequest.java | 199 ++++++ .../implementation/models/package-info.java | 10 + .../flatten/implementation/package-info.java | 10 + .../flatten/models/FileDataFileDetails.java | 97 +++ .../cadl/flatten/models/SendLongOptions.java | 308 ++++++++ .../flatten/models/SendLongRequestStatus.java | 61 ++ .../com/cadl/flatten/models/TodoItem.java | 230 ++++++ .../cadl/flatten/models/TodoItemPatch.java | 212 ++++++ .../flatten/models/TodoItemPatchStatus.java | 61 ++ .../flatten/models/UpdatePatchRequest.java | 137 ++++ .../flatten/models/UploadTodoOptions.java | 198 ++++++ .../java/com/cadl/flatten/models/User.java | 83 +++ .../com/cadl/flatten/models/package-info.java | 10 + .../java/com/cadl/flatten/package-info.java | 10 + 25 files changed, 4427 insertions(+) create mode 100644 typespec-tests/src/main/java/com/cadl/flatten/FlattenAsyncClient.java create mode 100644 typespec-tests/src/main/java/com/cadl/flatten/FlattenClient.java create mode 100644 typespec-tests/src/main/java/com/cadl/flatten/FlattenClientBuilder.java create mode 100644 typespec-tests/src/main/java/com/cadl/flatten/FlattenServiceVersion.java create mode 100644 typespec-tests/src/main/java/com/cadl/flatten/implementation/FlattenClientImpl.java create mode 100644 typespec-tests/src/main/java/com/cadl/flatten/implementation/JsonMergePatchHelper.java create mode 100644 typespec-tests/src/main/java/com/cadl/flatten/implementation/MultipartFormDataHelper.java create mode 100644 typespec-tests/src/main/java/com/cadl/flatten/implementation/models/SendLongRequest.java create mode 100644 typespec-tests/src/main/java/com/cadl/flatten/implementation/models/SendProjectedNameRequest.java create mode 100644 typespec-tests/src/main/java/com/cadl/flatten/implementation/models/SendRequest.java create mode 100644 typespec-tests/src/main/java/com/cadl/flatten/implementation/models/UploadFileRequest.java create mode 100644 typespec-tests/src/main/java/com/cadl/flatten/implementation/models/UploadTodoRequest.java create mode 100644 typespec-tests/src/main/java/com/cadl/flatten/implementation/models/package-info.java create mode 100644 typespec-tests/src/main/java/com/cadl/flatten/implementation/package-info.java create mode 100644 typespec-tests/src/main/java/com/cadl/flatten/models/FileDataFileDetails.java create mode 100644 typespec-tests/src/main/java/com/cadl/flatten/models/SendLongOptions.java create mode 100644 typespec-tests/src/main/java/com/cadl/flatten/models/SendLongRequestStatus.java create mode 100644 typespec-tests/src/main/java/com/cadl/flatten/models/TodoItem.java create mode 100644 typespec-tests/src/main/java/com/cadl/flatten/models/TodoItemPatch.java create mode 100644 typespec-tests/src/main/java/com/cadl/flatten/models/TodoItemPatchStatus.java create mode 100644 typespec-tests/src/main/java/com/cadl/flatten/models/UpdatePatchRequest.java create mode 100644 typespec-tests/src/main/java/com/cadl/flatten/models/UploadTodoOptions.java create mode 100644 typespec-tests/src/main/java/com/cadl/flatten/models/User.java create mode 100644 typespec-tests/src/main/java/com/cadl/flatten/models/package-info.java create mode 100644 typespec-tests/src/main/java/com/cadl/flatten/package-info.java diff --git a/typespec-tests/src/main/java/com/cadl/flatten/FlattenAsyncClient.java b/typespec-tests/src/main/java/com/cadl/flatten/FlattenAsyncClient.java new file mode 100644 index 0000000000..126c719815 --- /dev/null +++ b/typespec-tests/src/main/java/com/cadl/flatten/FlattenAsyncClient.java @@ -0,0 +1,450 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.cadl.flatten; + +import com.azure.core.annotation.Generated; +import com.azure.core.annotation.ReturnType; +import com.azure.core.annotation.ServiceClient; +import com.azure.core.annotation.ServiceMethod; +import com.azure.core.exception.ClientAuthenticationException; +import com.azure.core.exception.HttpResponseException; +import com.azure.core.exception.ResourceModifiedException; +import com.azure.core.exception.ResourceNotFoundException; +import com.azure.core.http.rest.RequestOptions; +import com.azure.core.http.rest.Response; +import com.azure.core.util.BinaryData; +import com.azure.core.util.FluxUtil; +import com.cadl.flatten.implementation.FlattenClientImpl; +import com.cadl.flatten.implementation.JsonMergePatchHelper; +import com.cadl.flatten.implementation.MultipartFormDataHelper; +import com.cadl.flatten.implementation.models.SendLongRequest; +import com.cadl.flatten.implementation.models.SendProjectedNameRequest; +import com.cadl.flatten.implementation.models.SendRequest; +import com.cadl.flatten.implementation.models.UploadFileRequest; +import com.cadl.flatten.implementation.models.UploadTodoRequest; +import com.cadl.flatten.models.FileDataFileDetails; +import com.cadl.flatten.models.SendLongOptions; +import com.cadl.flatten.models.TodoItem; +import com.cadl.flatten.models.UpdatePatchRequest; +import com.cadl.flatten.models.UploadTodoOptions; +import com.cadl.flatten.models.User; +import java.util.Objects; +import reactor.core.publisher.Mono; + +/** + * Initializes a new instance of the asynchronous FlattenClient type. + */ +@ServiceClient(builder = FlattenClientBuilder.class, isAsync = true) +public final class FlattenAsyncClient { + @Generated + private final FlattenClientImpl serviceClient; + + /** + * Initializes an instance of FlattenAsyncClient class. + * + * @param serviceClient the service client implementation. + */ + @Generated + FlattenAsyncClient(FlattenClientImpl serviceClient) { + this.serviceClient = serviceClient; + } + + /** + * The send operation. + *

Request Body Schema

+ * + *
{@code
+     * {
+     *     user (Optional): {
+     *         user: String (Required)
+     *     }
+     *     input: String (Required)
+     *     constant: String (Required)
+     * }
+     * }
+ * + * @param id A sequence of textual characters. + * + * The id parameter. + * @param request The request parameter. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the {@link Response} on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> sendWithResponse(String id, BinaryData request, RequestOptions requestOptions) { + return this.serviceClient.sendWithResponseAsync(id, request, requestOptions); + } + + /** + * The sendProjectedName operation. + *

Request Body Schema

+ * + *
{@code
+     * {
+     *     file_id: String (Required)
+     * }
+     * }
+ * + * @param id A sequence of textual characters. + * + * The id parameter. + * @param request The request parameter. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the {@link Response} on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> sendProjectedNameWithResponse(String id, BinaryData request, + RequestOptions requestOptions) { + return this.serviceClient.sendProjectedNameWithResponseAsync(id, request, requestOptions); + } + + /** + * The sendLong operation. + *

Query Parameters

+ * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
filterStringNoA sequence of textual characters. + * + * The filter parameter
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Request Body Schema

+ * + *
{@code
+     * {
+     *     user (Optional): {
+     *         user: String (Required)
+     *     }
+     *     input: String (Required)
+     *     dataInt: int (Required)
+     *     dataIntOptional: Integer (Optional)
+     *     dataLong: Long (Optional)
+     *     data_float: Double (Optional)
+     *     title: String (Required)
+     *     description: String (Optional)
+     *     status: String(NotStarted/InProgress/Completed) (Required)
+     *     _dummy: String (Optional)
+     *     constant: String (Required)
+     * }
+     * }
+ * + * @param name A sequence of textual characters. + * + * The name parameter. + * @param request The request parameter. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the {@link Response} on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> sendLongWithResponse(String name, BinaryData request, RequestOptions requestOptions) { + return this.serviceClient.sendLongWithResponseAsync(name, request, requestOptions); + } + + /** + * The update operation. + *

Request Body Schema

+ * + *
{@code
+     * {
+     *     patch (Optional, Required on create): {
+     *         title: String (Optional)
+     *         description: String (Optional)
+     *         status: String(NotStarted/InProgress/Completed) (Optional)
+     *     }
+     * }
+     * }
+ * + *

Response Body Schema

+ * + *
{@code
+     * {
+     *     id: long (Required)
+     *     title: String (Required)
+     *     description: String (Optional)
+     *     status: String(NotStarted/InProgress/Completed) (Required)
+     *     createdAt: OffsetDateTime (Required)
+     *     updatedAt: OffsetDateTime (Required)
+     *     completedAt: OffsetDateTime (Optional)
+     *     _dummy: String (Optional)
+     * }
+     * }
+ * + * @param id An integer that can be serialized to JSON (`−9007199254740991 (−(2^53 − 1))` to `9007199254740991 (2^53 + * − 1)` ) + * + * The id parameter. + * @param request The request parameter. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> updateWithResponse(long id, BinaryData request, RequestOptions requestOptions) { + return this.serviceClient.updateWithResponseAsync(id, request, requestOptions); + } + + /** + * The uploadFile operation. + * + * @param name A sequence of textual characters. + * + * The name parameter. + * @param request The request parameter. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the {@link Response} on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + Mono> uploadFileWithResponse(String name, BinaryData request, RequestOptions requestOptions) { + // Protocol API requires serialization of parts with content-disposition and data, as operation 'uploadFile' is 'multipart/form-data' + return this.serviceClient.uploadFileWithResponseAsync(name, request, requestOptions); + } + + /** + * The uploadTodo operation. + * + * @param request The request parameter. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the {@link Response} on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + Mono> uploadTodoWithResponse(BinaryData request, RequestOptions requestOptions) { + // Protocol API requires serialization of parts with content-disposition and data, as operation 'uploadTodo' is 'multipart/form-data' + return this.serviceClient.uploadTodoWithResponseAsync(request, requestOptions); + } + + /** + * The send operation. + * + * @param id A sequence of textual characters. + * + * The id parameter. + * @param input The input parameter. + * @param user The user parameter. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return A {@link Mono} that completes when a successful response is received. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono send(String id, String input, User user) { + // Generated convenience method for sendWithResponse + RequestOptions requestOptions = new RequestOptions(); + SendRequest requestObj = new SendRequest(input).setUser(user); + BinaryData request = BinaryData.fromObject(requestObj); + return sendWithResponse(id, request, requestOptions).flatMap(FluxUtil::toMono); + } + + /** + * The send operation. + * + * @param id A sequence of textual characters. + * + * The id parameter. + * @param input The input parameter. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return A {@link Mono} that completes when a successful response is received. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono send(String id, String input) { + // Generated convenience method for sendWithResponse + RequestOptions requestOptions = new RequestOptions(); + SendRequest requestObj = new SendRequest(input); + BinaryData request = BinaryData.fromObject(requestObj); + return sendWithResponse(id, request, requestOptions).flatMap(FluxUtil::toMono); + } + + /** + * The sendProjectedName operation. + * + * @param id A sequence of textual characters. + * + * The id parameter. + * @param fileIdentifier The fileIdentifier parameter. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return A {@link Mono} that completes when a successful response is received. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono sendProjectedName(String id, String fileIdentifier) { + // Generated convenience method for sendProjectedNameWithResponse + RequestOptions requestOptions = new RequestOptions(); + SendProjectedNameRequest requestObj = new SendProjectedNameRequest(fileIdentifier); + BinaryData request = BinaryData.fromObject(requestObj); + return sendProjectedNameWithResponse(id, request, requestOptions).flatMap(FluxUtil::toMono); + } + + /** + * The sendLong operation. + * + * @param options Options for sendLong API. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return A {@link Mono} that completes when a successful response is received. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono sendLong(SendLongOptions options) { + // Generated convenience method for sendLongWithResponse + RequestOptions requestOptions = new RequestOptions(); + String name = options.getName(); + String filter = options.getFilter(); + SendLongRequest requestObj + = new SendLongRequest(options.getInput(), options.getDataInt(), options.getTitle(), options.getStatus()) + .setUser(options.getUser()) + .setDataIntOptional(options.getDataIntOptional()) + .setDataLong(options.getDataLong()) + .setDataFloat(options.getDataFloat()) + .setDescription(options.getDescription()) + .setDummy(options.getDummy()); + BinaryData request = BinaryData.fromObject(requestObj); + if (filter != null) { + requestOptions.addQueryParam("filter", filter, false); + } + return sendLongWithResponse(name, request, requestOptions).flatMap(FluxUtil::toMono); + } + + /** + * The update operation. + * + * @param id An integer that can be serialized to JSON (`−9007199254740991 (−(2^53 − 1))` to `9007199254740991 (2^53 + * − 1)` ) + * + * The id parameter. + * @param request The request parameter. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response body on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono update(long id, UpdatePatchRequest request) { + // Generated convenience method for updateWithResponse + RequestOptions requestOptions = new RequestOptions(); + JsonMergePatchHelper.getUpdatePatchRequestAccessor().prepareModelForJsonMergePatch(request, true); + BinaryData requestInBinaryData = BinaryData.fromBytes(BinaryData.fromObject(request).toBytes()); + JsonMergePatchHelper.getUpdatePatchRequestAccessor().prepareModelForJsonMergePatch(request, false); + return updateWithResponse(id, requestInBinaryData, requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(TodoItem.class)); + } + + /** + * The uploadFile operation. + * + * @param name A sequence of textual characters. + * + * The name parameter. + * @param fileData The file details for the "file_data" field. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return A {@link Mono} that completes when a successful response is received. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono uploadFile(String name, FileDataFileDetails fileData) { + // Generated convenience method for uploadFileWithResponse + RequestOptions requestOptions = new RequestOptions(); + UploadFileRequest requestObj = new UploadFileRequest(fileData); + BinaryData request = new MultipartFormDataHelper(requestOptions) + .serializeFileField("file_data", requestObj.getFileData().getContent(), + requestObj.getFileData().getContentType(), requestObj.getFileData().getFilename()) + .serializeTextField("constant", requestObj.getConstant()) + .end() + .getRequestBody(); + return uploadFileWithResponse(name, request, requestOptions).flatMap(FluxUtil::toMono); + } + + /** + * The uploadTodo operation. + * + * @param options Options for uploadTodo API. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return A {@link Mono} that completes when a successful response is received. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono uploadTodo(UploadTodoOptions options) { + // Generated convenience method for uploadTodoWithResponse + RequestOptions requestOptions = new RequestOptions(); + UploadTodoRequest requestObj + = new UploadTodoRequest(options.getTitle(), options.getStatus()).setDescription(options.getDescription()) + .setDummy(options.getDummy()) + .setProp1(options.getProp1()) + .setProp2(options.getProp2()) + .setProp3(options.getProp3()); + BinaryData request + = new MultipartFormDataHelper(requestOptions).serializeTextField("title", requestObj.getTitle()) + .serializeTextField("description", requestObj.getDescription()) + .serializeTextField("status", Objects.toString(requestObj.getStatus())) + .serializeTextField("_dummy", requestObj.getDummy()) + .serializeTextField("prop1", requestObj.getProp1()) + .serializeTextField("prop2", requestObj.getProp2()) + .serializeTextField("prop3", requestObj.getProp3()) + .end() + .getRequestBody(); + return uploadTodoWithResponse(request, requestOptions).flatMap(FluxUtil::toMono); + } +} diff --git a/typespec-tests/src/main/java/com/cadl/flatten/FlattenClient.java b/typespec-tests/src/main/java/com/cadl/flatten/FlattenClient.java new file mode 100644 index 0000000000..8865ce566c --- /dev/null +++ b/typespec-tests/src/main/java/com/cadl/flatten/FlattenClient.java @@ -0,0 +1,440 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.cadl.flatten; + +import com.azure.core.annotation.Generated; +import com.azure.core.annotation.ReturnType; +import com.azure.core.annotation.ServiceClient; +import com.azure.core.annotation.ServiceMethod; +import com.azure.core.exception.ClientAuthenticationException; +import com.azure.core.exception.HttpResponseException; +import com.azure.core.exception.ResourceModifiedException; +import com.azure.core.exception.ResourceNotFoundException; +import com.azure.core.http.rest.RequestOptions; +import com.azure.core.http.rest.Response; +import com.azure.core.util.BinaryData; +import com.cadl.flatten.implementation.FlattenClientImpl; +import com.cadl.flatten.implementation.JsonMergePatchHelper; +import com.cadl.flatten.implementation.MultipartFormDataHelper; +import com.cadl.flatten.implementation.models.SendLongRequest; +import com.cadl.flatten.implementation.models.SendProjectedNameRequest; +import com.cadl.flatten.implementation.models.SendRequest; +import com.cadl.flatten.implementation.models.UploadFileRequest; +import com.cadl.flatten.implementation.models.UploadTodoRequest; +import com.cadl.flatten.models.FileDataFileDetails; +import com.cadl.flatten.models.SendLongOptions; +import com.cadl.flatten.models.TodoItem; +import com.cadl.flatten.models.UpdatePatchRequest; +import com.cadl.flatten.models.UploadTodoOptions; +import com.cadl.flatten.models.User; +import java.util.Objects; + +/** + * Initializes a new instance of the synchronous FlattenClient type. + */ +@ServiceClient(builder = FlattenClientBuilder.class) +public final class FlattenClient { + @Generated + private final FlattenClientImpl serviceClient; + + /** + * Initializes an instance of FlattenClient class. + * + * @param serviceClient the service client implementation. + */ + @Generated + FlattenClient(FlattenClientImpl serviceClient) { + this.serviceClient = serviceClient; + } + + /** + * The send operation. + *

Request Body Schema

+ * + *
{@code
+     * {
+     *     user (Optional): {
+     *         user: String (Required)
+     *     }
+     *     input: String (Required)
+     *     constant: String (Required)
+     * }
+     * }
+ * + * @param id A sequence of textual characters. + * + * The id parameter. + * @param request The request parameter. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the {@link Response}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Response sendWithResponse(String id, BinaryData request, RequestOptions requestOptions) { + return this.serviceClient.sendWithResponse(id, request, requestOptions); + } + + /** + * The sendProjectedName operation. + *

Request Body Schema

+ * + *
{@code
+     * {
+     *     file_id: String (Required)
+     * }
+     * }
+ * + * @param id A sequence of textual characters. + * + * The id parameter. + * @param request The request parameter. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the {@link Response}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Response sendProjectedNameWithResponse(String id, BinaryData request, RequestOptions requestOptions) { + return this.serviceClient.sendProjectedNameWithResponse(id, request, requestOptions); + } + + /** + * The sendLong operation. + *

Query Parameters

+ * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
filterStringNoA sequence of textual characters. + * + * The filter parameter
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Request Body Schema

+ * + *
{@code
+     * {
+     *     user (Optional): {
+     *         user: String (Required)
+     *     }
+     *     input: String (Required)
+     *     dataInt: int (Required)
+     *     dataIntOptional: Integer (Optional)
+     *     dataLong: Long (Optional)
+     *     data_float: Double (Optional)
+     *     title: String (Required)
+     *     description: String (Optional)
+     *     status: String(NotStarted/InProgress/Completed) (Required)
+     *     _dummy: String (Optional)
+     *     constant: String (Required)
+     * }
+     * }
+ * + * @param name A sequence of textual characters. + * + * The name parameter. + * @param request The request parameter. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the {@link Response}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Response sendLongWithResponse(String name, BinaryData request, RequestOptions requestOptions) { + return this.serviceClient.sendLongWithResponse(name, request, requestOptions); + } + + /** + * The update operation. + *

Request Body Schema

+ * + *
{@code
+     * {
+     *     patch (Optional, Required on create): {
+     *         title: String (Optional)
+     *         description: String (Optional)
+     *         status: String(NotStarted/InProgress/Completed) (Optional)
+     *     }
+     * }
+     * }
+ * + *

Response Body Schema

+ * + *
{@code
+     * {
+     *     id: long (Required)
+     *     title: String (Required)
+     *     description: String (Optional)
+     *     status: String(NotStarted/InProgress/Completed) (Required)
+     *     createdAt: OffsetDateTime (Required)
+     *     updatedAt: OffsetDateTime (Required)
+     *     completedAt: OffsetDateTime (Optional)
+     *     _dummy: String (Optional)
+     * }
+     * }
+ * + * @param id An integer that can be serialized to JSON (`−9007199254740991 (−(2^53 − 1))` to `9007199254740991 (2^53 + * − 1)` ) + * + * The id parameter. + * @param request The request parameter. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Response updateWithResponse(long id, BinaryData request, RequestOptions requestOptions) { + return this.serviceClient.updateWithResponse(id, request, requestOptions); + } + + /** + * The uploadFile operation. + * + * @param name A sequence of textual characters. + * + * The name parameter. + * @param request The request parameter. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the {@link Response}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + Response uploadFileWithResponse(String name, BinaryData request, RequestOptions requestOptions) { + // Protocol API requires serialization of parts with content-disposition and data, as operation 'uploadFile' is 'multipart/form-data' + return this.serviceClient.uploadFileWithResponse(name, request, requestOptions); + } + + /** + * The uploadTodo operation. + * + * @param request The request parameter. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the {@link Response}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + Response uploadTodoWithResponse(BinaryData request, RequestOptions requestOptions) { + // Protocol API requires serialization of parts with content-disposition and data, as operation 'uploadTodo' is 'multipart/form-data' + return this.serviceClient.uploadTodoWithResponse(request, requestOptions); + } + + /** + * The send operation. + * + * @param id A sequence of textual characters. + * + * The id parameter. + * @param input The input parameter. + * @param user The user parameter. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public void send(String id, String input, User user) { + // Generated convenience method for sendWithResponse + RequestOptions requestOptions = new RequestOptions(); + SendRequest requestObj = new SendRequest(input).setUser(user); + BinaryData request = BinaryData.fromObject(requestObj); + sendWithResponse(id, request, requestOptions).getValue(); + } + + /** + * The send operation. + * + * @param id A sequence of textual characters. + * + * The id parameter. + * @param input The input parameter. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public void send(String id, String input) { + // Generated convenience method for sendWithResponse + RequestOptions requestOptions = new RequestOptions(); + SendRequest requestObj = new SendRequest(input); + BinaryData request = BinaryData.fromObject(requestObj); + sendWithResponse(id, request, requestOptions).getValue(); + } + + /** + * The sendProjectedName operation. + * + * @param id A sequence of textual characters. + * + * The id parameter. + * @param fileIdentifier The fileIdentifier parameter. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public void sendProjectedName(String id, String fileIdentifier) { + // Generated convenience method for sendProjectedNameWithResponse + RequestOptions requestOptions = new RequestOptions(); + SendProjectedNameRequest requestObj = new SendProjectedNameRequest(fileIdentifier); + BinaryData request = BinaryData.fromObject(requestObj); + sendProjectedNameWithResponse(id, request, requestOptions).getValue(); + } + + /** + * The sendLong operation. + * + * @param options Options for sendLong API. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public void sendLong(SendLongOptions options) { + // Generated convenience method for sendLongWithResponse + RequestOptions requestOptions = new RequestOptions(); + String name = options.getName(); + String filter = options.getFilter(); + SendLongRequest requestObj + = new SendLongRequest(options.getInput(), options.getDataInt(), options.getTitle(), options.getStatus()) + .setUser(options.getUser()) + .setDataIntOptional(options.getDataIntOptional()) + .setDataLong(options.getDataLong()) + .setDataFloat(options.getDataFloat()) + .setDescription(options.getDescription()) + .setDummy(options.getDummy()); + BinaryData request = BinaryData.fromObject(requestObj); + if (filter != null) { + requestOptions.addQueryParam("filter", filter, false); + } + sendLongWithResponse(name, request, requestOptions).getValue(); + } + + /** + * The update operation. + * + * @param id An integer that can be serialized to JSON (`−9007199254740991 (−(2^53 − 1))` to `9007199254740991 (2^53 + * − 1)` ) + * + * The id parameter. + * @param request The request parameter. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public TodoItem update(long id, UpdatePatchRequest request) { + // Generated convenience method for updateWithResponse + RequestOptions requestOptions = new RequestOptions(); + JsonMergePatchHelper.getUpdatePatchRequestAccessor().prepareModelForJsonMergePatch(request, true); + BinaryData requestInBinaryData = BinaryData.fromBytes(BinaryData.fromObject(request).toBytes()); + JsonMergePatchHelper.getUpdatePatchRequestAccessor().prepareModelForJsonMergePatch(request, false); + return updateWithResponse(id, requestInBinaryData, requestOptions).getValue().toObject(TodoItem.class); + } + + /** + * The uploadFile operation. + * + * @param name A sequence of textual characters. + * + * The name parameter. + * @param fileData The file details for the "file_data" field. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public void uploadFile(String name, FileDataFileDetails fileData) { + // Generated convenience method for uploadFileWithResponse + RequestOptions requestOptions = new RequestOptions(); + UploadFileRequest requestObj = new UploadFileRequest(fileData); + BinaryData request = new MultipartFormDataHelper(requestOptions) + .serializeFileField("file_data", requestObj.getFileData().getContent(), + requestObj.getFileData().getContentType(), requestObj.getFileData().getFilename()) + .serializeTextField("constant", requestObj.getConstant()) + .end() + .getRequestBody(); + uploadFileWithResponse(name, request, requestOptions).getValue(); + } + + /** + * The uploadTodo operation. + * + * @param options Options for uploadTodo API. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public void uploadTodo(UploadTodoOptions options) { + // Generated convenience method for uploadTodoWithResponse + RequestOptions requestOptions = new RequestOptions(); + UploadTodoRequest requestObj + = new UploadTodoRequest(options.getTitle(), options.getStatus()).setDescription(options.getDescription()) + .setDummy(options.getDummy()) + .setProp1(options.getProp1()) + .setProp2(options.getProp2()) + .setProp3(options.getProp3()); + BinaryData request + = new MultipartFormDataHelper(requestOptions).serializeTextField("title", requestObj.getTitle()) + .serializeTextField("description", requestObj.getDescription()) + .serializeTextField("status", Objects.toString(requestObj.getStatus())) + .serializeTextField("_dummy", requestObj.getDummy()) + .serializeTextField("prop1", requestObj.getProp1()) + .serializeTextField("prop2", requestObj.getProp2()) + .serializeTextField("prop3", requestObj.getProp3()) + .end() + .getRequestBody(); + uploadTodoWithResponse(request, requestOptions).getValue(); + } +} diff --git a/typespec-tests/src/main/java/com/cadl/flatten/FlattenClientBuilder.java b/typespec-tests/src/main/java/com/cadl/flatten/FlattenClientBuilder.java new file mode 100644 index 0000000000..db21f13b96 --- /dev/null +++ b/typespec-tests/src/main/java/com/cadl/flatten/FlattenClientBuilder.java @@ -0,0 +1,302 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.cadl.flatten; + +import com.azure.core.annotation.Generated; +import com.azure.core.annotation.ServiceClientBuilder; +import com.azure.core.client.traits.ConfigurationTrait; +import com.azure.core.client.traits.EndpointTrait; +import com.azure.core.client.traits.HttpTrait; +import com.azure.core.http.HttpClient; +import com.azure.core.http.HttpHeaderName; +import com.azure.core.http.HttpHeaders; +import com.azure.core.http.HttpPipeline; +import com.azure.core.http.HttpPipelineBuilder; +import com.azure.core.http.HttpPipelinePosition; +import com.azure.core.http.policy.AddDatePolicy; +import com.azure.core.http.policy.AddHeadersFromContextPolicy; +import com.azure.core.http.policy.AddHeadersPolicy; +import com.azure.core.http.policy.HttpLoggingPolicy; +import com.azure.core.http.policy.HttpLogOptions; +import com.azure.core.http.policy.HttpPipelinePolicy; +import com.azure.core.http.policy.HttpPolicyProviders; +import com.azure.core.http.policy.RequestIdPolicy; +import com.azure.core.http.policy.RetryOptions; +import com.azure.core.http.policy.RetryPolicy; +import com.azure.core.http.policy.UserAgentPolicy; +import com.azure.core.util.ClientOptions; +import com.azure.core.util.Configuration; +import com.azure.core.util.CoreUtils; +import com.azure.core.util.builder.ClientBuilderUtil; +import com.azure.core.util.logging.ClientLogger; +import com.azure.core.util.serializer.JacksonAdapter; +import com.cadl.flatten.implementation.FlattenClientImpl; +import java.util.ArrayList; +import java.util.List; +import java.util.Map; +import java.util.Objects; + +/** + * A builder for creating a new instance of the FlattenClient type. + */ +@ServiceClientBuilder(serviceClients = { FlattenClient.class, FlattenAsyncClient.class }) +public final class FlattenClientBuilder implements HttpTrait, + ConfigurationTrait, EndpointTrait { + @Generated + private static final String SDK_NAME = "name"; + + @Generated + private static final String SDK_VERSION = "version"; + + @Generated + private static final Map PROPERTIES = CoreUtils.getProperties("cadl-flatten.properties"); + + @Generated + private final List pipelinePolicies; + + /** + * Create an instance of the FlattenClientBuilder. + */ + @Generated + public FlattenClientBuilder() { + this.pipelinePolicies = new ArrayList<>(); + } + + /* + * The HTTP pipeline to send requests through. + */ + @Generated + private HttpPipeline pipeline; + + /** + * {@inheritDoc}. + */ + @Generated + @Override + public FlattenClientBuilder pipeline(HttpPipeline pipeline) { + if (this.pipeline != null && pipeline == null) { + LOGGER.atInfo().log("HttpPipeline is being set to 'null' when it was previously configured."); + } + this.pipeline = pipeline; + return this; + } + + /* + * The HTTP client used to send the request. + */ + @Generated + private HttpClient httpClient; + + /** + * {@inheritDoc}. + */ + @Generated + @Override + public FlattenClientBuilder httpClient(HttpClient httpClient) { + this.httpClient = httpClient; + return this; + } + + /* + * The logging configuration for HTTP requests and responses. + */ + @Generated + private HttpLogOptions httpLogOptions; + + /** + * {@inheritDoc}. + */ + @Generated + @Override + public FlattenClientBuilder httpLogOptions(HttpLogOptions httpLogOptions) { + this.httpLogOptions = httpLogOptions; + return this; + } + + /* + * The client options such as application ID and custom headers to set on a request. + */ + @Generated + private ClientOptions clientOptions; + + /** + * {@inheritDoc}. + */ + @Generated + @Override + public FlattenClientBuilder clientOptions(ClientOptions clientOptions) { + this.clientOptions = clientOptions; + return this; + } + + /* + * The retry options to configure retry policy for failed requests. + */ + @Generated + private RetryOptions retryOptions; + + /** + * {@inheritDoc}. + */ + @Generated + @Override + public FlattenClientBuilder retryOptions(RetryOptions retryOptions) { + this.retryOptions = retryOptions; + return this; + } + + /** + * {@inheritDoc}. + */ + @Generated + @Override + public FlattenClientBuilder addPolicy(HttpPipelinePolicy customPolicy) { + Objects.requireNonNull(customPolicy, "'customPolicy' cannot be null."); + pipelinePolicies.add(customPolicy); + return this; + } + + /* + * The configuration store that is used during construction of the service client. + */ + @Generated + private Configuration configuration; + + /** + * {@inheritDoc}. + */ + @Generated + @Override + public FlattenClientBuilder configuration(Configuration configuration) { + this.configuration = configuration; + return this; + } + + /* + * The service endpoint + */ + @Generated + private String endpoint; + + /** + * {@inheritDoc}. + */ + @Generated + @Override + public FlattenClientBuilder endpoint(String endpoint) { + this.endpoint = endpoint; + return this; + } + + /* + * Service version + */ + @Generated + private FlattenServiceVersion serviceVersion; + + /** + * Sets Service version. + * + * @param serviceVersion the serviceVersion value. + * @return the FlattenClientBuilder. + */ + @Generated + public FlattenClientBuilder serviceVersion(FlattenServiceVersion serviceVersion) { + this.serviceVersion = serviceVersion; + return this; + } + + /* + * The retry policy that will attempt to retry failed requests, if applicable. + */ + @Generated + private RetryPolicy retryPolicy; + + /** + * Sets The retry policy that will attempt to retry failed requests, if applicable. + * + * @param retryPolicy the retryPolicy value. + * @return the FlattenClientBuilder. + */ + @Generated + public FlattenClientBuilder retryPolicy(RetryPolicy retryPolicy) { + this.retryPolicy = retryPolicy; + return this; + } + + /** + * Builds an instance of FlattenClientImpl with the provided parameters. + * + * @return an instance of FlattenClientImpl. + */ + @Generated + private FlattenClientImpl buildInnerClient() { + HttpPipeline localPipeline = (pipeline != null) ? pipeline : createHttpPipeline(); + FlattenServiceVersion localServiceVersion + = (serviceVersion != null) ? serviceVersion : FlattenServiceVersion.getLatest(); + FlattenClientImpl client = new FlattenClientImpl(localPipeline, JacksonAdapter.createDefaultSerializerAdapter(), + this.endpoint, localServiceVersion); + return client; + } + + @Generated + private HttpPipeline createHttpPipeline() { + Configuration buildConfiguration + = (configuration == null) ? Configuration.getGlobalConfiguration() : configuration; + HttpLogOptions localHttpLogOptions = this.httpLogOptions == null ? new HttpLogOptions() : this.httpLogOptions; + ClientOptions localClientOptions = this.clientOptions == null ? new ClientOptions() : this.clientOptions; + List policies = new ArrayList<>(); + String clientName = PROPERTIES.getOrDefault(SDK_NAME, "UnknownName"); + String clientVersion = PROPERTIES.getOrDefault(SDK_VERSION, "UnknownVersion"); + String applicationId = CoreUtils.getApplicationId(localClientOptions, localHttpLogOptions); + policies.add(new UserAgentPolicy(applicationId, clientName, clientVersion, buildConfiguration)); + policies.add(new RequestIdPolicy()); + policies.add(new AddHeadersFromContextPolicy()); + HttpHeaders headers = new HttpHeaders(); + localClientOptions.getHeaders() + .forEach(header -> headers.set(HttpHeaderName.fromString(header.getName()), header.getValue())); + if (headers.getSize() > 0) { + policies.add(new AddHeadersPolicy(headers)); + } + this.pipelinePolicies.stream() + .filter(p -> p.getPipelinePosition() == HttpPipelinePosition.PER_CALL) + .forEach(p -> policies.add(p)); + HttpPolicyProviders.addBeforeRetryPolicies(policies); + policies.add(ClientBuilderUtil.validateAndGetRetryPolicy(retryPolicy, retryOptions, new RetryPolicy())); + policies.add(new AddDatePolicy()); + this.pipelinePolicies.stream() + .filter(p -> p.getPipelinePosition() == HttpPipelinePosition.PER_RETRY) + .forEach(p -> policies.add(p)); + HttpPolicyProviders.addAfterRetryPolicies(policies); + policies.add(new HttpLoggingPolicy(localHttpLogOptions)); + HttpPipeline httpPipeline = new HttpPipelineBuilder().policies(policies.toArray(new HttpPipelinePolicy[0])) + .httpClient(httpClient) + .clientOptions(localClientOptions) + .build(); + return httpPipeline; + } + + /** + * Builds an instance of FlattenAsyncClient class. + * + * @return an instance of FlattenAsyncClient. + */ + @Generated + public FlattenAsyncClient buildAsyncClient() { + return new FlattenAsyncClient(buildInnerClient()); + } + + /** + * Builds an instance of FlattenClient class. + * + * @return an instance of FlattenClient. + */ + @Generated + public FlattenClient buildClient() { + return new FlattenClient(buildInnerClient()); + } + + private static final ClientLogger LOGGER = new ClientLogger(FlattenClientBuilder.class); +} diff --git a/typespec-tests/src/main/java/com/cadl/flatten/FlattenServiceVersion.java b/typespec-tests/src/main/java/com/cadl/flatten/FlattenServiceVersion.java new file mode 100644 index 0000000000..3284679bb5 --- /dev/null +++ b/typespec-tests/src/main/java/com/cadl/flatten/FlattenServiceVersion.java @@ -0,0 +1,40 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.cadl.flatten; + +import com.azure.core.util.ServiceVersion; + +/** + * Service version of FlattenClient. + */ +public enum FlattenServiceVersion implements ServiceVersion { + /** + * Enum value 2022-06-01-preview. + */ + V2022_06_01_PREVIEW("2022-06-01-preview"); + + private final String version; + + FlattenServiceVersion(String version) { + this.version = version; + } + + /** + * {@inheritDoc} + */ + @Override + public String getVersion() { + return this.version; + } + + /** + * Gets the latest service version supported by this client library. + * + * @return The latest {@link FlattenServiceVersion}. + */ + public static FlattenServiceVersion getLatest() { + return V2022_06_01_PREVIEW; + } +} diff --git a/typespec-tests/src/main/java/com/cadl/flatten/implementation/FlattenClientImpl.java b/typespec-tests/src/main/java/com/cadl/flatten/implementation/FlattenClientImpl.java new file mode 100644 index 0000000000..7937e36ba4 --- /dev/null +++ b/typespec-tests/src/main/java/com/cadl/flatten/implementation/FlattenClientImpl.java @@ -0,0 +1,673 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.cadl.flatten.implementation; + +import com.azure.core.annotation.BodyParam; +import com.azure.core.annotation.ExpectedResponses; +import com.azure.core.annotation.HeaderParam; +import com.azure.core.annotation.Host; +import com.azure.core.annotation.HostParam; +import com.azure.core.annotation.Patch; +import com.azure.core.annotation.PathParam; +import com.azure.core.annotation.Post; +import com.azure.core.annotation.QueryParam; +import com.azure.core.annotation.ReturnType; +import com.azure.core.annotation.ServiceInterface; +import com.azure.core.annotation.ServiceMethod; +import com.azure.core.annotation.UnexpectedResponseExceptionType; +import com.azure.core.exception.ClientAuthenticationException; +import com.azure.core.exception.HttpResponseException; +import com.azure.core.exception.ResourceModifiedException; +import com.azure.core.exception.ResourceNotFoundException; +import com.azure.core.http.HttpPipeline; +import com.azure.core.http.HttpPipelineBuilder; +import com.azure.core.http.policy.RetryPolicy; +import com.azure.core.http.policy.UserAgentPolicy; +import com.azure.core.http.rest.RequestOptions; +import com.azure.core.http.rest.Response; +import com.azure.core.http.rest.RestProxy; +import com.azure.core.util.BinaryData; +import com.azure.core.util.Context; +import com.azure.core.util.FluxUtil; +import com.azure.core.util.serializer.JacksonAdapter; +import com.azure.core.util.serializer.SerializerAdapter; +import com.cadl.flatten.FlattenServiceVersion; +import reactor.core.publisher.Mono; + +/** + * Initializes a new instance of the FlattenClient type. + */ +public final class FlattenClientImpl { + /** + * The proxy service used to perform REST calls. + */ + private final FlattenClientService service; + + /** + */ + private final String endpoint; + + /** + * Gets. + * + * @return the endpoint value. + */ + public String getEndpoint() { + return this.endpoint; + } + + /** + * Service version. + */ + private final FlattenServiceVersion serviceVersion; + + /** + * Gets Service version. + * + * @return the serviceVersion value. + */ + public FlattenServiceVersion getServiceVersion() { + return this.serviceVersion; + } + + /** + * The HTTP pipeline to send requests through. + */ + private final HttpPipeline httpPipeline; + + /** + * Gets The HTTP pipeline to send requests through. + * + * @return the httpPipeline value. + */ + public HttpPipeline getHttpPipeline() { + return this.httpPipeline; + } + + /** + * The serializer to serialize an object into a string. + */ + private final SerializerAdapter serializerAdapter; + + /** + * Gets The serializer to serialize an object into a string. + * + * @return the serializerAdapter value. + */ + public SerializerAdapter getSerializerAdapter() { + return this.serializerAdapter; + } + + /** + * Initializes an instance of FlattenClient client. + * + * @param endpoint + * @param serviceVersion Service version. + */ + public FlattenClientImpl(String endpoint, FlattenServiceVersion serviceVersion) { + this(new HttpPipelineBuilder().policies(new UserAgentPolicy(), new RetryPolicy()).build(), + JacksonAdapter.createDefaultSerializerAdapter(), endpoint, serviceVersion); + } + + /** + * Initializes an instance of FlattenClient client. + * + * @param httpPipeline The HTTP pipeline to send requests through. + * @param endpoint + * @param serviceVersion Service version. + */ + public FlattenClientImpl(HttpPipeline httpPipeline, String endpoint, FlattenServiceVersion serviceVersion) { + this(httpPipeline, JacksonAdapter.createDefaultSerializerAdapter(), endpoint, serviceVersion); + } + + /** + * Initializes an instance of FlattenClient client. + * + * @param httpPipeline The HTTP pipeline to send requests through. + * @param serializerAdapter The serializer to serialize an object into a string. + * @param endpoint + * @param serviceVersion Service version. + */ + public FlattenClientImpl(HttpPipeline httpPipeline, SerializerAdapter serializerAdapter, String endpoint, + FlattenServiceVersion serviceVersion) { + this.httpPipeline = httpPipeline; + this.serializerAdapter = serializerAdapter; + this.endpoint = endpoint; + this.serviceVersion = serviceVersion; + this.service = RestProxy.create(FlattenClientService.class, this.httpPipeline, this.getSerializerAdapter()); + } + + /** + * The interface defining all the services for FlattenClient to be used by the proxy service to perform REST calls. + */ + @Host("{endpoint}/openai") + @ServiceInterface(name = "FlattenClient") + public interface FlattenClientService { + @Post("/flatten/send") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Mono> send(@HostParam("endpoint") String endpoint, @QueryParam("id") String id, + @QueryParam("api-version") String apiVersion, @HeaderParam("accept") String accept, + @BodyParam("application/json") BinaryData request, RequestOptions requestOptions, Context context); + + @Post("/flatten/send") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Response sendSync(@HostParam("endpoint") String endpoint, @QueryParam("id") String id, + @QueryParam("api-version") String apiVersion, @HeaderParam("accept") String accept, + @BodyParam("application/json") BinaryData request, RequestOptions requestOptions, Context context); + + @Post("/flatten/send-projected-name") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Mono> sendProjectedName(@HostParam("endpoint") String endpoint, @QueryParam("id") String id, + @HeaderParam("accept") String accept, @BodyParam("application/json") BinaryData request, + RequestOptions requestOptions, Context context); + + @Post("/flatten/send-projected-name") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Response sendProjectedNameSync(@HostParam("endpoint") String endpoint, @QueryParam("id") String id, + @HeaderParam("accept") String accept, @BodyParam("application/json") BinaryData request, + RequestOptions requestOptions, Context context); + + @Post("/flatten/send-long") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Mono> sendLong(@HostParam("endpoint") String endpoint, @QueryParam("name") String name, + @QueryParam("api-version") String apiVersion, @HeaderParam("accept") String accept, + @BodyParam("application/json") BinaryData request, RequestOptions requestOptions, Context context); + + @Post("/flatten/send-long") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Response sendLongSync(@HostParam("endpoint") String endpoint, @QueryParam("name") String name, + @QueryParam("api-version") String apiVersion, @HeaderParam("accept") String accept, + @BodyParam("application/json") BinaryData request, RequestOptions requestOptions, Context context); + + @Patch("/flatten/patch/{id}") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Mono> update(@HostParam("endpoint") String endpoint, + @HeaderParam("content-type") String contentType, @PathParam("id") long id, + @HeaderParam("accept") String accept, @BodyParam("application/merge-patch+json") BinaryData request, + RequestOptions requestOptions, Context context); + + @Patch("/flatten/patch/{id}") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Response updateSync(@HostParam("endpoint") String endpoint, + @HeaderParam("content-type") String contentType, @PathParam("id") long id, + @HeaderParam("accept") String accept, @BodyParam("application/merge-patch+json") BinaryData request, + RequestOptions requestOptions, Context context); + + // @Multipart not supported by RestProxy + @Post("/flatten/upload/{name}") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Mono> uploadFile(@HostParam("endpoint") String endpoint, @PathParam("name") String name, + @HeaderParam("content-type") String contentType, @HeaderParam("accept") String accept, + @BodyParam("multipart/form-data") BinaryData request, RequestOptions requestOptions, Context context); + + // @Multipart not supported by RestProxy + @Post("/flatten/upload/{name}") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Response uploadFileSync(@HostParam("endpoint") String endpoint, @PathParam("name") String name, + @HeaderParam("content-type") String contentType, @HeaderParam("accept") String accept, + @BodyParam("multipart/form-data") BinaryData request, RequestOptions requestOptions, Context context); + + // @Multipart not supported by RestProxy + @Post("/flatten/upload-todo") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Mono> uploadTodo(@HostParam("endpoint") String endpoint, + @HeaderParam("content-type") String contentType, @HeaderParam("accept") String accept, + @BodyParam("multipart/form-data") BinaryData request, RequestOptions requestOptions, Context context); + + // @Multipart not supported by RestProxy + @Post("/flatten/upload-todo") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Response uploadTodoSync(@HostParam("endpoint") String endpoint, + @HeaderParam("content-type") String contentType, @HeaderParam("accept") String accept, + @BodyParam("multipart/form-data") BinaryData request, RequestOptions requestOptions, Context context); + } + + /** + * The send operation. + *

Request Body Schema

+ * + *
{@code
+     * {
+     *     user (Optional): {
+     *         user: String (Required)
+     *     }
+     *     input: String (Required)
+     *     constant: String (Required)
+     * }
+     * }
+ * + * @param id A sequence of textual characters. + * + * The id parameter. + * @param request The request parameter. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> sendWithResponseAsync(String id, BinaryData request, RequestOptions requestOptions) { + final String accept = "application/json"; + return FluxUtil.withContext(context -> service.send(this.getEndpoint(), id, + this.getServiceVersion().getVersion(), accept, request, requestOptions, context)); + } + + /** + * The send operation. + *

Request Body Schema

+ * + *
{@code
+     * {
+     *     user (Optional): {
+     *         user: String (Required)
+     *     }
+     *     input: String (Required)
+     *     constant: String (Required)
+     * }
+     * }
+ * + * @param id A sequence of textual characters. + * + * The id parameter. + * @param request The request parameter. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response sendWithResponse(String id, BinaryData request, RequestOptions requestOptions) { + final String accept = "application/json"; + return service.sendSync(this.getEndpoint(), id, this.getServiceVersion().getVersion(), accept, request, + requestOptions, Context.NONE); + } + + /** + * The sendProjectedName operation. + *

Request Body Schema

+ * + *
{@code
+     * {
+     *     file_id: String (Required)
+     * }
+     * }
+ * + * @param id A sequence of textual characters. + * + * The id parameter. + * @param request The request parameter. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> sendProjectedNameWithResponseAsync(String id, BinaryData request, + RequestOptions requestOptions) { + final String accept = "application/json"; + return FluxUtil.withContext( + context -> service.sendProjectedName(this.getEndpoint(), id, accept, request, requestOptions, context)); + } + + /** + * The sendProjectedName operation. + *

Request Body Schema

+ * + *
{@code
+     * {
+     *     file_id: String (Required)
+     * }
+     * }
+ * + * @param id A sequence of textual characters. + * + * The id parameter. + * @param request The request parameter. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response sendProjectedNameWithResponse(String id, BinaryData request, RequestOptions requestOptions) { + final String accept = "application/json"; + return service.sendProjectedNameSync(this.getEndpoint(), id, accept, request, requestOptions, Context.NONE); + } + + /** + * The sendLong operation. + *

Query Parameters

+ * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
filterStringNoA sequence of textual characters. + * + * The filter parameter
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Request Body Schema

+ * + *
{@code
+     * {
+     *     user (Optional): {
+     *         user: String (Required)
+     *     }
+     *     input: String (Required)
+     *     dataInt: int (Required)
+     *     dataIntOptional: Integer (Optional)
+     *     dataLong: Long (Optional)
+     *     data_float: Double (Optional)
+     *     title: String (Required)
+     *     description: String (Optional)
+     *     status: String(NotStarted/InProgress/Completed) (Required)
+     *     _dummy: String (Optional)
+     *     constant: String (Required)
+     * }
+     * }
+ * + * @param name A sequence of textual characters. + * + * The name parameter. + * @param request The request parameter. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> sendLongWithResponseAsync(String name, BinaryData request, + RequestOptions requestOptions) { + final String accept = "application/json"; + return FluxUtil.withContext(context -> service.sendLong(this.getEndpoint(), name, + this.getServiceVersion().getVersion(), accept, request, requestOptions, context)); + } + + /** + * The sendLong operation. + *

Query Parameters

+ * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
filterStringNoA sequence of textual characters. + * + * The filter parameter
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Request Body Schema

+ * + *
{@code
+     * {
+     *     user (Optional): {
+     *         user: String (Required)
+     *     }
+     *     input: String (Required)
+     *     dataInt: int (Required)
+     *     dataIntOptional: Integer (Optional)
+     *     dataLong: Long (Optional)
+     *     data_float: Double (Optional)
+     *     title: String (Required)
+     *     description: String (Optional)
+     *     status: String(NotStarted/InProgress/Completed) (Required)
+     *     _dummy: String (Optional)
+     *     constant: String (Required)
+     * }
+     * }
+ * + * @param name A sequence of textual characters. + * + * The name parameter. + * @param request The request parameter. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response sendLongWithResponse(String name, BinaryData request, RequestOptions requestOptions) { + final String accept = "application/json"; + return service.sendLongSync(this.getEndpoint(), name, this.getServiceVersion().getVersion(), accept, request, + requestOptions, Context.NONE); + } + + /** + * The update operation. + *

Request Body Schema

+ * + *
{@code
+     * {
+     *     patch (Optional, Required on create): {
+     *         title: String (Optional)
+     *         description: String (Optional)
+     *         status: String(NotStarted/InProgress/Completed) (Optional)
+     *     }
+     * }
+     * }
+ * + *

Response Body Schema

+ * + *
{@code
+     * {
+     *     id: long (Required)
+     *     title: String (Required)
+     *     description: String (Optional)
+     *     status: String(NotStarted/InProgress/Completed) (Required)
+     *     createdAt: OffsetDateTime (Required)
+     *     updatedAt: OffsetDateTime (Required)
+     *     completedAt: OffsetDateTime (Optional)
+     *     _dummy: String (Optional)
+     * }
+     * }
+ * + * @param id An integer that can be serialized to JSON (`−9007199254740991 (−(2^53 − 1))` to `9007199254740991 (2^53 + * − 1)` ) + * + * The id parameter. + * @param request The request parameter. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> updateWithResponseAsync(long id, BinaryData request, + RequestOptions requestOptions) { + final String contentType = "application/merge-patch+json"; + final String accept = "application/json"; + return FluxUtil.withContext( + context -> service.update(this.getEndpoint(), contentType, id, accept, request, requestOptions, context)); + } + + /** + * The update operation. + *

Request Body Schema

+ * + *
{@code
+     * {
+     *     patch (Optional, Required on create): {
+     *         title: String (Optional)
+     *         description: String (Optional)
+     *         status: String(NotStarted/InProgress/Completed) (Optional)
+     *     }
+     * }
+     * }
+ * + *

Response Body Schema

+ * + *
{@code
+     * {
+     *     id: long (Required)
+     *     title: String (Required)
+     *     description: String (Optional)
+     *     status: String(NotStarted/InProgress/Completed) (Required)
+     *     createdAt: OffsetDateTime (Required)
+     *     updatedAt: OffsetDateTime (Required)
+     *     completedAt: OffsetDateTime (Optional)
+     *     _dummy: String (Optional)
+     * }
+     * }
+ * + * @param id An integer that can be serialized to JSON (`−9007199254740991 (−(2^53 − 1))` to `9007199254740991 (2^53 + * − 1)` ) + * + * The id parameter. + * @param request The request parameter. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response updateWithResponse(long id, BinaryData request, RequestOptions requestOptions) { + final String contentType = "application/merge-patch+json"; + final String accept = "application/json"; + return service.updateSync(this.getEndpoint(), contentType, id, accept, request, requestOptions, Context.NONE); + } + + /** + * The uploadFile operation. + * + * @param name A sequence of textual characters. + * + * The name parameter. + * @param request The request parameter. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> uploadFileWithResponseAsync(String name, BinaryData request, + RequestOptions requestOptions) { + final String contentType = "multipart/form-data"; + final String accept = "application/json"; + return FluxUtil.withContext(context -> service.uploadFile(this.getEndpoint(), name, contentType, accept, + request, requestOptions, context)); + } + + /** + * The uploadFile operation. + * + * @param name A sequence of textual characters. + * + * The name parameter. + * @param request The request parameter. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response uploadFileWithResponse(String name, BinaryData request, RequestOptions requestOptions) { + final String contentType = "multipart/form-data"; + final String accept = "application/json"; + return service.uploadFileSync(this.getEndpoint(), name, contentType, accept, request, requestOptions, + Context.NONE); + } + + /** + * The uploadTodo operation. + * + * @param request The request parameter. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> uploadTodoWithResponseAsync(BinaryData request, RequestOptions requestOptions) { + final String contentType = "multipart/form-data"; + final String accept = "application/json"; + return FluxUtil.withContext( + context -> service.uploadTodo(this.getEndpoint(), contentType, accept, request, requestOptions, context)); + } + + /** + * The uploadTodo operation. + * + * @param request The request parameter. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response uploadTodoWithResponse(BinaryData request, RequestOptions requestOptions) { + final String contentType = "multipart/form-data"; + final String accept = "application/json"; + return service.uploadTodoSync(this.getEndpoint(), contentType, accept, request, requestOptions, Context.NONE); + } +} diff --git a/typespec-tests/src/main/java/com/cadl/flatten/implementation/JsonMergePatchHelper.java b/typespec-tests/src/main/java/com/cadl/flatten/implementation/JsonMergePatchHelper.java new file mode 100644 index 0000000000..aabdf94b6b --- /dev/null +++ b/typespec-tests/src/main/java/com/cadl/flatten/implementation/JsonMergePatchHelper.java @@ -0,0 +1,42 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.cadl.flatten.implementation; + +import com.cadl.flatten.models.TodoItemPatch; +import com.cadl.flatten.models.UpdatePatchRequest; + +/** + * This is the Helper class to enable json merge patch serialization for a model. + */ +public class JsonMergePatchHelper { + private static UpdatePatchRequestAccessor updatePatchRequestAccessor; + + private static TodoItemPatchAccessor todoItemPatchAccessor; + + public interface UpdatePatchRequestAccessor { + UpdatePatchRequest prepareModelForJsonMergePatch(UpdatePatchRequest updatePatchRequest, + boolean jsonMergePatchEnabled); + } + + public interface TodoItemPatchAccessor { + TodoItemPatch prepareModelForJsonMergePatch(TodoItemPatch todoItemPatch, boolean jsonMergePatchEnabled); + } + + public static void setUpdatePatchRequestAccessor(UpdatePatchRequestAccessor accessor) { + updatePatchRequestAccessor = accessor; + } + + public static UpdatePatchRequestAccessor getUpdatePatchRequestAccessor() { + return updatePatchRequestAccessor; + } + + public static void setTodoItemPatchAccessor(TodoItemPatchAccessor accessor) { + todoItemPatchAccessor = accessor; + } + + public static TodoItemPatchAccessor getTodoItemPatchAccessor() { + return todoItemPatchAccessor; + } +} diff --git a/typespec-tests/src/main/java/com/cadl/flatten/implementation/MultipartFormDataHelper.java b/typespec-tests/src/main/java/com/cadl/flatten/implementation/MultipartFormDataHelper.java new file mode 100644 index 0000000000..fae4b0725c --- /dev/null +++ b/typespec-tests/src/main/java/com/cadl/flatten/implementation/MultipartFormDataHelper.java @@ -0,0 +1,210 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.cadl.flatten.implementation; + +import com.azure.core.http.HttpHeaderName; +import com.azure.core.http.rest.RequestOptions; +import com.azure.core.util.BinaryData; +import com.azure.core.util.CoreUtils; + +import java.io.ByteArrayInputStream; +import java.io.InputStream; +import java.io.SequenceInputStream; +import java.nio.charset.Charset; +import java.nio.charset.StandardCharsets; +import java.util.List; +import java.util.UUID; + +// DO NOT modify this helper class + +public final class MultipartFormDataHelper { + /** + * Line separator for the multipart HTTP request. + */ + private static final String CRLF = "\r\n"; + + private static final String APPLICATION_OCTET_STREAM = "application/octet-stream"; + + /** + * Value to be used as part of the divider for the multipart requests. + */ + private final String boundary; + + /** + * The actual part separator in the request. This is obtained by prepending "--" to the "boundary". + */ + private final String partSeparator; + + /** + * The marker for the ending of a multipart request. This is obtained by post-pending "--" to the "partSeparator". + */ + private final String endMarker; + + /** + * Charset used for encoding the multipart HTTP request. + */ + private final Charset encoderCharset = StandardCharsets.UTF_8; + + private InputStream requestDataStream = new ByteArrayInputStream(new byte[0]); + private long requestLength = 0; + + private RequestOptions requestOptions; + private BinaryData requestBody; + + /** + * Default constructor used in the code. The boundary is a random value. + * + * @param requestOptions the RequestOptions to update + */ + public MultipartFormDataHelper(RequestOptions requestOptions) { + this(requestOptions, UUID.randomUUID().toString().substring(0, 16)); + } + + private MultipartFormDataHelper(RequestOptions requestOptions, String boundary) { + this.requestOptions = requestOptions; + this.boundary = boundary; + this.partSeparator = "--" + boundary; + this.endMarker = this.partSeparator + "--"; + } + + /** + * Gets the multipart HTTP request body. + * + * @return the BinaryData of the multipart HTTP request body + */ + public BinaryData getRequestBody() { + return requestBody; + } + + // text/plain + /** + * Formats a text/plain field for a multipart HTTP request. + * + * @param fieldName the field name + * @param value the value of the text/plain field + * @return the MultipartFormDataHelper instance + */ + public MultipartFormDataHelper serializeTextField(String fieldName, String value) { + if (value != null) { + String serialized = partSeparator + CRLF + "Content-Disposition: form-data; name=\"" + escapeName(fieldName) + + "\"" + CRLF + CRLF + value + CRLF; + byte[] data = serialized.getBytes(encoderCharset); + appendBytes(data); + } + return this; + } + + // application/json + /** + * Formats a application/json field for a multipart HTTP request. + * + * @param fieldName the field name + * @param jsonObject the object of the application/json field + * @return the MultipartFormDataHelper instance + */ + public MultipartFormDataHelper serializeJsonField(String fieldName, Object jsonObject) { + if (jsonObject != null) { + String serialized + = partSeparator + CRLF + "Content-Disposition: form-data; name=\"" + escapeName(fieldName) + "\"" + CRLF + + "Content-Type: application/json" + CRLF + CRLF + BinaryData.fromObject(jsonObject) + CRLF; + byte[] data = serialized.getBytes(encoderCharset); + appendBytes(data); + } + return this; + } + + /** + * Formats a file field for a multipart HTTP request. + * + * @param fieldName the field name + * @param file the BinaryData of the file + * @param contentType the content-type of the file + * @param filename the filename + * @return the MultipartFormDataHelper instance + */ + public MultipartFormDataHelper serializeFileField(String fieldName, BinaryData file, String contentType, + String filename) { + if (file != null) { + if (CoreUtils.isNullOrEmpty(contentType)) { + contentType = APPLICATION_OCTET_STREAM; + } + writeFileField(fieldName, file, contentType, filename); + } + return this; + } + + /** + * Formats a file field (potentially multiple files) for a multipart HTTP request. + * + * @param fieldName the field name + * @param files the List of BinaryData of the files + * @param contentTypes the List of content-type of the files + * @param filenames the List of filenames + * @return the MultipartFormDataHelper instance + */ + public MultipartFormDataHelper serializeFileFields(String fieldName, List files, + List contentTypes, List filenames) { + if (files != null) { + for (int i = 0; i < files.size(); ++i) { + BinaryData file = files.get(i); + String contentType = contentTypes.get(i); + if (CoreUtils.isNullOrEmpty(contentType)) { + contentType = APPLICATION_OCTET_STREAM; + } + String filename = filenames.get(i); + writeFileField(fieldName, file, contentType, filename); + } + } + return this; + } + + /** + * Ends the serialization of the multipart HTTP request. + * + * @return the MultipartFormDataHelper instance + */ + public MultipartFormDataHelper end() { + byte[] data = endMarker.getBytes(encoderCharset); + appendBytes(data); + + requestBody = BinaryData.fromStream(requestDataStream, requestLength); + + requestOptions.setHeader(HttpHeaderName.CONTENT_TYPE, "multipart/form-data; boundary=" + this.boundary) + .setHeader(HttpHeaderName.CONTENT_LENGTH, String.valueOf(requestLength)); + + return this; + } + + private void writeFileField(String fieldName, BinaryData file, String contentType, String filename) { + String contentDispositionFilename = ""; + if (!CoreUtils.isNullOrEmpty(filename)) { + contentDispositionFilename = "; filename=\"" + escapeName(filename) + "\""; + } + + // Multipart preamble + String fileFieldPreamble + = partSeparator + CRLF + "Content-Disposition: form-data; name=\"" + escapeName(fieldName) + "\"" + + contentDispositionFilename + CRLF + "Content-Type: " + contentType + CRLF + CRLF; + byte[] data = fileFieldPreamble.getBytes(encoderCharset); + appendBytes(data); + + // Writing the file into the request as a byte stream + requestLength += file.getLength(); + requestDataStream = new SequenceInputStream(requestDataStream, file.toStream()); + + // CRLF + data = CRLF.getBytes(encoderCharset); + appendBytes(data); + } + + private void appendBytes(byte[] bytes) { + requestLength += bytes.length; + requestDataStream = new SequenceInputStream(requestDataStream, new ByteArrayInputStream(bytes)); + } + + private static String escapeName(String name) { + return name.replace("\n", "%0A").replace("\r", "%0D").replace("\"", "%22"); + } +} diff --git a/typespec-tests/src/main/java/com/cadl/flatten/implementation/models/SendLongRequest.java b/typespec-tests/src/main/java/com/cadl/flatten/implementation/models/SendLongRequest.java new file mode 100644 index 0000000000..623ef79b3f --- /dev/null +++ b/typespec-tests/src/main/java/com/cadl/flatten/implementation/models/SendLongRequest.java @@ -0,0 +1,368 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.cadl.flatten.implementation.models; + +import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Generated; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import com.cadl.flatten.models.SendLongRequestStatus; +import com.cadl.flatten.models.User; +import java.io.IOException; + +/** + * The SendLongRequest model. + */ +@Fluent +public final class SendLongRequest implements JsonSerializable { + /* + * The user property. + */ + @Generated + private User user; + + /* + * A sequence of textual characters. + */ + @Generated + private final String input; + + /* + * A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) + */ + @Generated + private final int dataInt; + + /* + * A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) + */ + @Generated + private Integer dataIntOptional; + + /* + * A 64-bit integer. (`-9,223,372,036,854,775,808` to `9,223,372,036,854,775,807`) + */ + @Generated + private Long dataLong; + + /* + * A 32 bit floating point number. (`±1.5 x 10^−45` to `±3.4 x 10^38`) + */ + @Generated + private Double dataFloat; + + /* + * The item's title + */ + @Generated + private final String title; + + /* + * A longer description of the todo item in markdown format + */ + @Generated + private String description; + + /* + * The status of the todo item + */ + @Generated + private final SendLongRequestStatus status; + + /* + * A sequence of textual characters. + */ + @Generated + private String dummy; + + /* + * The constant property. + */ + @Generated + private final String constant = "constant"; + + /** + * Creates an instance of SendLongRequest class. + * + * @param input the input value to set. + * @param dataInt the dataInt value to set. + * @param title the title value to set. + * @param status the status value to set. + */ + @Generated + public SendLongRequest(String input, int dataInt, String title, SendLongRequestStatus status) { + this.input = input; + this.dataInt = dataInt; + this.title = title; + this.status = status; + } + + /** + * Get the user property: The user property. + * + * @return the user value. + */ + @Generated + public User getUser() { + return this.user; + } + + /** + * Set the user property: The user property. + * + * @param user the user value to set. + * @return the SendLongRequest object itself. + */ + @Generated + public SendLongRequest setUser(User user) { + this.user = user; + return this; + } + + /** + * Get the input property: A sequence of textual characters. + * + * @return the input value. + */ + @Generated + public String getInput() { + return this.input; + } + + /** + * Get the dataInt property: A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`). + * + * @return the dataInt value. + */ + @Generated + public int getDataInt() { + return this.dataInt; + } + + /** + * Get the dataIntOptional property: A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`). + * + * @return the dataIntOptional value. + */ + @Generated + public Integer getDataIntOptional() { + return this.dataIntOptional; + } + + /** + * Set the dataIntOptional property: A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`). + * + * @param dataIntOptional the dataIntOptional value to set. + * @return the SendLongRequest object itself. + */ + @Generated + public SendLongRequest setDataIntOptional(Integer dataIntOptional) { + this.dataIntOptional = dataIntOptional; + return this; + } + + /** + * Get the dataLong property: A 64-bit integer. (`-9,223,372,036,854,775,808` to `9,223,372,036,854,775,807`). + * + * @return the dataLong value. + */ + @Generated + public Long getDataLong() { + return this.dataLong; + } + + /** + * Set the dataLong property: A 64-bit integer. (`-9,223,372,036,854,775,808` to `9,223,372,036,854,775,807`). + * + * @param dataLong the dataLong value to set. + * @return the SendLongRequest object itself. + */ + @Generated + public SendLongRequest setDataLong(Long dataLong) { + this.dataLong = dataLong; + return this; + } + + /** + * Get the dataFloat property: A 32 bit floating point number. (`±1.5 x 10^−45` to `±3.4 x 10^38`). + * + * @return the dataFloat value. + */ + @Generated + public Double getDataFloat() { + return this.dataFloat; + } + + /** + * Set the dataFloat property: A 32 bit floating point number. (`±1.5 x 10^−45` to `±3.4 x 10^38`). + * + * @param dataFloat the dataFloat value to set. + * @return the SendLongRequest object itself. + */ + @Generated + public SendLongRequest setDataFloat(Double dataFloat) { + this.dataFloat = dataFloat; + return this; + } + + /** + * Get the title property: The item's title. + * + * @return the title value. + */ + @Generated + public String getTitle() { + return this.title; + } + + /** + * Get the description property: A longer description of the todo item in markdown format. + * + * @return the description value. + */ + @Generated + public String getDescription() { + return this.description; + } + + /** + * Set the description property: A longer description of the todo item in markdown format. + * + * @param description the description value to set. + * @return the SendLongRequest object itself. + */ + @Generated + public SendLongRequest setDescription(String description) { + this.description = description; + return this; + } + + /** + * Get the status property: The status of the todo item. + * + * @return the status value. + */ + @Generated + public SendLongRequestStatus getStatus() { + return this.status; + } + + /** + * Get the dummy property: A sequence of textual characters. + * + * @return the dummy value. + */ + @Generated + public String getDummy() { + return this.dummy; + } + + /** + * Set the dummy property: A sequence of textual characters. + * + * @param dummy the dummy value to set. + * @return the SendLongRequest object itself. + */ + @Generated + public SendLongRequest setDummy(String dummy) { + this.dummy = dummy; + return this; + } + + /** + * Get the constant property: The constant property. + * + * @return the constant value. + */ + @Generated + public String getConstant() { + return this.constant; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("input", this.input); + jsonWriter.writeIntField("dataInt", this.dataInt); + jsonWriter.writeStringField("title", this.title); + jsonWriter.writeStringField("status", this.status == null ? null : this.status.toString()); + jsonWriter.writeStringField("constant", this.constant); + jsonWriter.writeJsonField("user", this.user); + jsonWriter.writeNumberField("dataIntOptional", this.dataIntOptional); + jsonWriter.writeNumberField("dataLong", this.dataLong); + jsonWriter.writeNumberField("data_float", this.dataFloat); + jsonWriter.writeStringField("description", this.description); + jsonWriter.writeStringField("_dummy", this.dummy); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of SendLongRequest from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of SendLongRequest if the JsonReader was pointing to an instance of it, or null if it was + * pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the SendLongRequest. + */ + @Generated + public static SendLongRequest fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + String input = null; + int dataInt = 0; + String title = null; + SendLongRequestStatus status = null; + User user = null; + Integer dataIntOptional = null; + Long dataLong = null; + Double dataFloat = null; + String description = null; + String dummy = null; + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("input".equals(fieldName)) { + input = reader.getString(); + } else if ("dataInt".equals(fieldName)) { + dataInt = reader.getInt(); + } else if ("title".equals(fieldName)) { + title = reader.getString(); + } else if ("status".equals(fieldName)) { + status = SendLongRequestStatus.fromString(reader.getString()); + } else if ("user".equals(fieldName)) { + user = User.fromJson(reader); + } else if ("dataIntOptional".equals(fieldName)) { + dataIntOptional = reader.getNullable(JsonReader::getInt); + } else if ("dataLong".equals(fieldName)) { + dataLong = reader.getNullable(JsonReader::getLong); + } else if ("data_float".equals(fieldName)) { + dataFloat = reader.getNullable(JsonReader::getDouble); + } else if ("description".equals(fieldName)) { + description = reader.getString(); + } else if ("_dummy".equals(fieldName)) { + dummy = reader.getString(); + } else { + reader.skipChildren(); + } + } + SendLongRequest deserializedSendLongRequest = new SendLongRequest(input, dataInt, title, status); + deserializedSendLongRequest.user = user; + deserializedSendLongRequest.dataIntOptional = dataIntOptional; + deserializedSendLongRequest.dataLong = dataLong; + deserializedSendLongRequest.dataFloat = dataFloat; + deserializedSendLongRequest.description = description; + deserializedSendLongRequest.dummy = dummy; + + return deserializedSendLongRequest; + }); + } +} diff --git a/typespec-tests/src/main/java/com/cadl/flatten/implementation/models/SendProjectedNameRequest.java b/typespec-tests/src/main/java/com/cadl/flatten/implementation/models/SendProjectedNameRequest.java new file mode 100644 index 0000000000..71d1da2ce4 --- /dev/null +++ b/typespec-tests/src/main/java/com/cadl/flatten/implementation/models/SendProjectedNameRequest.java @@ -0,0 +1,83 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.cadl.flatten.implementation.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.annotation.Immutable; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * The SendProjectedNameRequest model. + */ +@Immutable +public final class SendProjectedNameRequest implements JsonSerializable { + /* + * A sequence of textual characters. + */ + @Generated + private final String fileIdentifier; + + /** + * Creates an instance of SendProjectedNameRequest class. + * + * @param fileIdentifier the fileIdentifier value to set. + */ + @Generated + public SendProjectedNameRequest(String fileIdentifier) { + this.fileIdentifier = fileIdentifier; + } + + /** + * Get the fileIdentifier property: A sequence of textual characters. + * + * @return the fileIdentifier value. + */ + @Generated + public String getFileIdentifier() { + return this.fileIdentifier; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("file_id", this.fileIdentifier); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of SendProjectedNameRequest from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of SendProjectedNameRequest if the JsonReader was pointing to an instance of it, or null if + * it was pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the SendProjectedNameRequest. + */ + @Generated + public static SendProjectedNameRequest fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + String fileIdentifier = null; + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("file_id".equals(fieldName)) { + fileIdentifier = reader.getString(); + } else { + reader.skipChildren(); + } + } + return new SendProjectedNameRequest(fileIdentifier); + }); + } +} diff --git a/typespec-tests/src/main/java/com/cadl/flatten/implementation/models/SendRequest.java b/typespec-tests/src/main/java/com/cadl/flatten/implementation/models/SendRequest.java new file mode 100644 index 0000000000..827242c0cd --- /dev/null +++ b/typespec-tests/src/main/java/com/cadl/flatten/implementation/models/SendRequest.java @@ -0,0 +1,136 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.cadl.flatten.implementation.models; + +import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Generated; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import com.cadl.flatten.models.User; +import java.io.IOException; + +/** + * The SendRequest model. + */ +@Fluent +public final class SendRequest implements JsonSerializable { + /* + * The user property. + */ + @Generated + private User user; + + /* + * A sequence of textual characters. + */ + @Generated + private final String input; + + /* + * The constant property. + */ + @Generated + private final String constant = "constant"; + + /** + * Creates an instance of SendRequest class. + * + * @param input the input value to set. + */ + @Generated + public SendRequest(String input) { + this.input = input; + } + + /** + * Get the user property: The user property. + * + * @return the user value. + */ + @Generated + public User getUser() { + return this.user; + } + + /** + * Set the user property: The user property. + * + * @param user the user value to set. + * @return the SendRequest object itself. + */ + @Generated + public SendRequest setUser(User user) { + this.user = user; + return this; + } + + /** + * Get the input property: A sequence of textual characters. + * + * @return the input value. + */ + @Generated + public String getInput() { + return this.input; + } + + /** + * Get the constant property: The constant property. + * + * @return the constant value. + */ + @Generated + public String getConstant() { + return this.constant; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("input", this.input); + jsonWriter.writeStringField("constant", this.constant); + jsonWriter.writeJsonField("user", this.user); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of SendRequest from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of SendRequest if the JsonReader was pointing to an instance of it, or null if it was + * pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the SendRequest. + */ + @Generated + public static SendRequest fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + String input = null; + User user = null; + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("input".equals(fieldName)) { + input = reader.getString(); + } else if ("user".equals(fieldName)) { + user = User.fromJson(reader); + } else { + reader.skipChildren(); + } + } + SendRequest deserializedSendRequest = new SendRequest(input); + deserializedSendRequest.user = user; + + return deserializedSendRequest; + }); + } +} diff --git a/typespec-tests/src/main/java/com/cadl/flatten/implementation/models/UploadFileRequest.java b/typespec-tests/src/main/java/com/cadl/flatten/implementation/models/UploadFileRequest.java new file mode 100644 index 0000000000..2bbe44a1ad --- /dev/null +++ b/typespec-tests/src/main/java/com/cadl/flatten/implementation/models/UploadFileRequest.java @@ -0,0 +1,57 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.cadl.flatten.implementation.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.annotation.Immutable; +import com.cadl.flatten.models.FileDataFileDetails; + +/** + * The UploadFileRequest model. + */ +@Immutable +public final class UploadFileRequest { + /* + * The file_data property. + */ + @Generated + private final FileDataFileDetails fileData; + + /* + * The constant property. + */ + @Generated + private final String constant = "constant"; + + /** + * Creates an instance of UploadFileRequest class. + * + * @param fileData the fileData value to set. + */ + @Generated + public UploadFileRequest(FileDataFileDetails fileData) { + this.fileData = fileData; + } + + /** + * Get the fileData property: The file_data property. + * + * @return the fileData value. + */ + @Generated + public FileDataFileDetails getFileData() { + return this.fileData; + } + + /** + * Get the constant property: The constant property. + * + * @return the constant value. + */ + @Generated + public String getConstant() { + return this.constant; + } +} diff --git a/typespec-tests/src/main/java/com/cadl/flatten/implementation/models/UploadTodoRequest.java b/typespec-tests/src/main/java/com/cadl/flatten/implementation/models/UploadTodoRequest.java new file mode 100644 index 0000000000..9751aaeba3 --- /dev/null +++ b/typespec-tests/src/main/java/com/cadl/flatten/implementation/models/UploadTodoRequest.java @@ -0,0 +1,199 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.cadl.flatten.implementation.models; + +import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Generated; +import com.cadl.flatten.models.SendLongRequestStatus; + +/** + * The UploadTodoRequest model. + */ +@Fluent +public final class UploadTodoRequest { + /* + * The item's title + */ + @Generated + private final String title; + + /* + * A longer description of the todo item in markdown format + */ + @Generated + private String description; + + /* + * The status of the todo item + */ + @Generated + private final SendLongRequestStatus status; + + /* + * A sequence of textual characters. + */ + @Generated + private String dummy; + + /* + * A sequence of textual characters. + */ + @Generated + private String prop1; + + /* + * A sequence of textual characters. + */ + @Generated + private String prop2; + + /* + * A sequence of textual characters. + */ + @Generated + private String prop3; + + /** + * Creates an instance of UploadTodoRequest class. + * + * @param title the title value to set. + * @param status the status value to set. + */ + @Generated + public UploadTodoRequest(String title, SendLongRequestStatus status) { + this.title = title; + this.status = status; + } + + /** + * Get the title property: The item's title. + * + * @return the title value. + */ + @Generated + public String getTitle() { + return this.title; + } + + /** + * Get the description property: A longer description of the todo item in markdown format. + * + * @return the description value. + */ + @Generated + public String getDescription() { + return this.description; + } + + /** + * Set the description property: A longer description of the todo item in markdown format. + * + * @param description the description value to set. + * @return the UploadTodoRequest object itself. + */ + @Generated + public UploadTodoRequest setDescription(String description) { + this.description = description; + return this; + } + + /** + * Get the status property: The status of the todo item. + * + * @return the status value. + */ + @Generated + public SendLongRequestStatus getStatus() { + return this.status; + } + + /** + * Get the dummy property: A sequence of textual characters. + * + * @return the dummy value. + */ + @Generated + public String getDummy() { + return this.dummy; + } + + /** + * Set the dummy property: A sequence of textual characters. + * + * @param dummy the dummy value to set. + * @return the UploadTodoRequest object itself. + */ + @Generated + public UploadTodoRequest setDummy(String dummy) { + this.dummy = dummy; + return this; + } + + /** + * Get the prop1 property: A sequence of textual characters. + * + * @return the prop1 value. + */ + @Generated + public String getProp1() { + return this.prop1; + } + + /** + * Set the prop1 property: A sequence of textual characters. + * + * @param prop1 the prop1 value to set. + * @return the UploadTodoRequest object itself. + */ + @Generated + public UploadTodoRequest setProp1(String prop1) { + this.prop1 = prop1; + return this; + } + + /** + * Get the prop2 property: A sequence of textual characters. + * + * @return the prop2 value. + */ + @Generated + public String getProp2() { + return this.prop2; + } + + /** + * Set the prop2 property: A sequence of textual characters. + * + * @param prop2 the prop2 value to set. + * @return the UploadTodoRequest object itself. + */ + @Generated + public UploadTodoRequest setProp2(String prop2) { + this.prop2 = prop2; + return this; + } + + /** + * Get the prop3 property: A sequence of textual characters. + * + * @return the prop3 value. + */ + @Generated + public String getProp3() { + return this.prop3; + } + + /** + * Set the prop3 property: A sequence of textual characters. + * + * @param prop3 the prop3 value to set. + * @return the UploadTodoRequest object itself. + */ + @Generated + public UploadTodoRequest setProp3(String prop3) { + this.prop3 = prop3; + return this; + } +} diff --git a/typespec-tests/src/main/java/com/cadl/flatten/implementation/models/package-info.java b/typespec-tests/src/main/java/com/cadl/flatten/implementation/models/package-info.java new file mode 100644 index 0000000000..2d74c3a2f3 --- /dev/null +++ b/typespec-tests/src/main/java/com/cadl/flatten/implementation/models/package-info.java @@ -0,0 +1,10 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +/** + * + * Package containing the data models for Flatten. + * + */ +package com.cadl.flatten.implementation.models; diff --git a/typespec-tests/src/main/java/com/cadl/flatten/implementation/package-info.java b/typespec-tests/src/main/java/com/cadl/flatten/implementation/package-info.java new file mode 100644 index 0000000000..5d96c0c91f --- /dev/null +++ b/typespec-tests/src/main/java/com/cadl/flatten/implementation/package-info.java @@ -0,0 +1,10 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +/** + * + * Package containing the implementations for Flatten. + * + */ +package com.cadl.flatten.implementation; diff --git a/typespec-tests/src/main/java/com/cadl/flatten/models/FileDataFileDetails.java b/typespec-tests/src/main/java/com/cadl/flatten/models/FileDataFileDetails.java new file mode 100644 index 0000000000..ec250ada2a --- /dev/null +++ b/typespec-tests/src/main/java/com/cadl/flatten/models/FileDataFileDetails.java @@ -0,0 +1,97 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.cadl.flatten.models; + +import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Generated; +import com.azure.core.util.BinaryData; + +/** + * The file details for the "file_data" field. + */ +@Fluent +public final class FileDataFileDetails { + /* + * The content of the file. + */ + @Generated + private final BinaryData content; + + /* + * The filename of the file. + */ + @Generated + private String filename; + + /* + * The content-type of the file. + */ + @Generated + private String contentType = "application/octet-stream"; + + /** + * Creates an instance of FileDataFileDetails class. + * + * @param content the content value to set. + */ + @Generated + public FileDataFileDetails(BinaryData content) { + this.content = content; + } + + /** + * Get the content property: The content of the file. + * + * @return the content value. + */ + @Generated + public BinaryData getContent() { + return this.content; + } + + /** + * Get the filename property: The filename of the file. + * + * @return the filename value. + */ + @Generated + public String getFilename() { + return this.filename; + } + + /** + * Set the filename property: The filename of the file. + * + * @param filename the filename value to set. + * @return the FileDataFileDetails object itself. + */ + @Generated + public FileDataFileDetails setFilename(String filename) { + this.filename = filename; + return this; + } + + /** + * Get the contentType property: The content-type of the file. + * + * @return the contentType value. + */ + @Generated + public String getContentType() { + return this.contentType; + } + + /** + * Set the contentType property: The content-type of the file. + * + * @param contentType the contentType value to set. + * @return the FileDataFileDetails object itself. + */ + @Generated + public FileDataFileDetails setContentType(String contentType) { + this.contentType = contentType; + return this; + } +} diff --git a/typespec-tests/src/main/java/com/cadl/flatten/models/SendLongOptions.java b/typespec-tests/src/main/java/com/cadl/flatten/models/SendLongOptions.java new file mode 100644 index 0000000000..d975000c01 --- /dev/null +++ b/typespec-tests/src/main/java/com/cadl/flatten/models/SendLongOptions.java @@ -0,0 +1,308 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.cadl.flatten.models; + +import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Generated; + +/** + * Options for sendLong API. + */ +@Fluent +public final class SendLongOptions { + /* + * A sequence of textual characters. + */ + @Generated + private final String name; + + /* + * A sequence of textual characters. + */ + @Generated + private String filter; + + /* + * The user property. + */ + @Generated + private User user; + + /* + * A sequence of textual characters. + */ + @Generated + private final String input; + + /* + * A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) + */ + @Generated + private final int dataInt; + + /* + * A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) + */ + @Generated + private Integer dataIntOptional; + + /* + * A 64-bit integer. (`-9,223,372,036,854,775,808` to `9,223,372,036,854,775,807`) + */ + @Generated + private Long dataLong; + + /* + * A 32 bit floating point number. (`±1.5 x 10^−45` to `±3.4 x 10^38`) + */ + @Generated + private Double dataFloat; + + /* + * The item's title + */ + @Generated + private final String title; + + /* + * A longer description of the todo item in markdown format + */ + @Generated + private String description; + + /* + * The status of the todo item + */ + @Generated + private final SendLongRequestStatus status; + + /* + * A sequence of textual characters. + */ + @Generated + private String dummy; + + /** + * Creates an instance of SendLongOptions class. + * + * @param name the name value to set. + * @param input the input value to set. + * @param dataInt the dataInt value to set. + * @param title the title value to set. + * @param status the status value to set. + */ + @Generated + public SendLongOptions(String name, String input, int dataInt, String title, SendLongRequestStatus status) { + this.name = name; + this.input = input; + this.dataInt = dataInt; + this.title = title; + this.status = status; + } + + /** + * Get the name property: A sequence of textual characters. + * + * @return the name value. + */ + @Generated + public String getName() { + return this.name; + } + + /** + * Get the filter property: A sequence of textual characters. + * + * @return the filter value. + */ + @Generated + public String getFilter() { + return this.filter; + } + + /** + * Set the filter property: A sequence of textual characters. + * + * @param filter the filter value to set. + * @return the SendLongOptions object itself. + */ + @Generated + public SendLongOptions setFilter(String filter) { + this.filter = filter; + return this; + } + + /** + * Get the user property: The user property. + * + * @return the user value. + */ + @Generated + public User getUser() { + return this.user; + } + + /** + * Set the user property: The user property. + * + * @param user the user value to set. + * @return the SendLongOptions object itself. + */ + @Generated + public SendLongOptions setUser(User user) { + this.user = user; + return this; + } + + /** + * Get the input property: A sequence of textual characters. + * + * @return the input value. + */ + @Generated + public String getInput() { + return this.input; + } + + /** + * Get the dataInt property: A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`). + * + * @return the dataInt value. + */ + @Generated + public int getDataInt() { + return this.dataInt; + } + + /** + * Get the dataIntOptional property: A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`). + * + * @return the dataIntOptional value. + */ + @Generated + public Integer getDataIntOptional() { + return this.dataIntOptional; + } + + /** + * Set the dataIntOptional property: A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`). + * + * @param dataIntOptional the dataIntOptional value to set. + * @return the SendLongOptions object itself. + */ + @Generated + public SendLongOptions setDataIntOptional(Integer dataIntOptional) { + this.dataIntOptional = dataIntOptional; + return this; + } + + /** + * Get the dataLong property: A 64-bit integer. (`-9,223,372,036,854,775,808` to `9,223,372,036,854,775,807`). + * + * @return the dataLong value. + */ + @Generated + public Long getDataLong() { + return this.dataLong; + } + + /** + * Set the dataLong property: A 64-bit integer. (`-9,223,372,036,854,775,808` to `9,223,372,036,854,775,807`). + * + * @param dataLong the dataLong value to set. + * @return the SendLongOptions object itself. + */ + @Generated + public SendLongOptions setDataLong(Long dataLong) { + this.dataLong = dataLong; + return this; + } + + /** + * Get the dataFloat property: A 32 bit floating point number. (`±1.5 x 10^−45` to `±3.4 x 10^38`). + * + * @return the dataFloat value. + */ + @Generated + public Double getDataFloat() { + return this.dataFloat; + } + + /** + * Set the dataFloat property: A 32 bit floating point number. (`±1.5 x 10^−45` to `±3.4 x 10^38`). + * + * @param dataFloat the dataFloat value to set. + * @return the SendLongOptions object itself. + */ + @Generated + public SendLongOptions setDataFloat(Double dataFloat) { + this.dataFloat = dataFloat; + return this; + } + + /** + * Get the title property: The item's title. + * + * @return the title value. + */ + @Generated + public String getTitle() { + return this.title; + } + + /** + * Get the description property: A longer description of the todo item in markdown format. + * + * @return the description value. + */ + @Generated + public String getDescription() { + return this.description; + } + + /** + * Set the description property: A longer description of the todo item in markdown format. + * + * @param description the description value to set. + * @return the SendLongOptions object itself. + */ + @Generated + public SendLongOptions setDescription(String description) { + this.description = description; + return this; + } + + /** + * Get the status property: The status of the todo item. + * + * @return the status value. + */ + @Generated + public SendLongRequestStatus getStatus() { + return this.status; + } + + /** + * Get the dummy property: A sequence of textual characters. + * + * @return the dummy value. + */ + @Generated + public String getDummy() { + return this.dummy; + } + + /** + * Set the dummy property: A sequence of textual characters. + * + * @param dummy the dummy value to set. + * @return the SendLongOptions object itself. + */ + @Generated + public SendLongOptions setDummy(String dummy) { + this.dummy = dummy; + return this; + } +} diff --git a/typespec-tests/src/main/java/com/cadl/flatten/models/SendLongRequestStatus.java b/typespec-tests/src/main/java/com/cadl/flatten/models/SendLongRequestStatus.java new file mode 100644 index 0000000000..774868e924 --- /dev/null +++ b/typespec-tests/src/main/java/com/cadl/flatten/models/SendLongRequestStatus.java @@ -0,0 +1,61 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.cadl.flatten.models; + +/** + * Defines values for SendLongRequestStatus. + */ +public enum SendLongRequestStatus { + /** + * Enum value NotStarted. + */ + NOT_STARTED("NotStarted"), + + /** + * Enum value InProgress. + */ + IN_PROGRESS("InProgress"), + + /** + * Enum value Completed. + */ + COMPLETED("Completed"); + + /** + * The actual serialized value for a SendLongRequestStatus instance. + */ + private final String value; + + SendLongRequestStatus(String value) { + this.value = value; + } + + /** + * Parses a serialized value to a SendLongRequestStatus instance. + * + * @param value the serialized value to parse. + * @return the parsed SendLongRequestStatus object, or null if unable to parse. + */ + public static SendLongRequestStatus fromString(String value) { + if (value == null) { + return null; + } + SendLongRequestStatus[] items = SendLongRequestStatus.values(); + for (SendLongRequestStatus item : items) { + if (item.toString().equalsIgnoreCase(value)) { + return item; + } + } + return null; + } + + /** + * {@inheritDoc} + */ + @Override + public String toString() { + return this.value; + } +} diff --git a/typespec-tests/src/main/java/com/cadl/flatten/models/TodoItem.java b/typespec-tests/src/main/java/com/cadl/flatten/models/TodoItem.java new file mode 100644 index 0000000000..2a3e01d59d --- /dev/null +++ b/typespec-tests/src/main/java/com/cadl/flatten/models/TodoItem.java @@ -0,0 +1,230 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.cadl.flatten.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.annotation.Immutable; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; +import java.time.OffsetDateTime; + +/** + * The TodoItem model. + */ +@Immutable +public final class TodoItem implements JsonSerializable { + /* + * The item's unique id + */ + @Generated + private long id; + + /* + * The item's title + */ + @Generated + private final String title; + + /* + * A longer description of the todo item in markdown format + */ + @Generated + private String description; + + /* + * The status of the todo item + */ + @Generated + private final SendLongRequestStatus status; + + /* + * When the todo item was created. + */ + @Generated + private OffsetDateTime createdAt; + + /* + * When the todo item was last updated + */ + @Generated + private OffsetDateTime updatedAt; + + /* + * When the todo item was makred as completed + */ + @Generated + private OffsetDateTime completedAt; + + /* + * A sequence of textual characters. + */ + @Generated + private String dummy; + + /** + * Creates an instance of TodoItem class. + * + * @param title the title value to set. + * @param status the status value to set. + */ + @Generated + private TodoItem(String title, SendLongRequestStatus status) { + this.title = title; + this.status = status; + } + + /** + * Get the id property: The item's unique id. + * + * @return the id value. + */ + @Generated + public long getId() { + return this.id; + } + + /** + * Get the title property: The item's title. + * + * @return the title value. + */ + @Generated + public String getTitle() { + return this.title; + } + + /** + * Get the description property: A longer description of the todo item in markdown format. + * + * @return the description value. + */ + @Generated + public String getDescription() { + return this.description; + } + + /** + * Get the status property: The status of the todo item. + * + * @return the status value. + */ + @Generated + public SendLongRequestStatus getStatus() { + return this.status; + } + + /** + * Get the createdAt property: When the todo item was created. + * + * @return the createdAt value. + */ + @Generated + public OffsetDateTime getCreatedAt() { + return this.createdAt; + } + + /** + * Get the updatedAt property: When the todo item was last updated. + * + * @return the updatedAt value. + */ + @Generated + public OffsetDateTime getUpdatedAt() { + return this.updatedAt; + } + + /** + * Get the completedAt property: When the todo item was makred as completed. + * + * @return the completedAt value. + */ + @Generated + public OffsetDateTime getCompletedAt() { + return this.completedAt; + } + + /** + * Get the dummy property: A sequence of textual characters. + * + * @return the dummy value. + */ + @Generated + public String getDummy() { + return this.dummy; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("title", this.title); + jsonWriter.writeStringField("status", this.status == null ? null : this.status.toString()); + jsonWriter.writeStringField("description", this.description); + jsonWriter.writeStringField("_dummy", this.dummy); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of TodoItem from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of TodoItem if the JsonReader was pointing to an instance of it, or null if it was pointing + * to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the TodoItem. + */ + @Generated + public static TodoItem fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + long id = 0L; + String title = null; + SendLongRequestStatus status = null; + OffsetDateTime createdAt = null; + OffsetDateTime updatedAt = null; + String description = null; + OffsetDateTime completedAt = null; + String dummy = null; + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("id".equals(fieldName)) { + id = reader.getLong(); + } else if ("title".equals(fieldName)) { + title = reader.getString(); + } else if ("status".equals(fieldName)) { + status = SendLongRequestStatus.fromString(reader.getString()); + } else if ("createdAt".equals(fieldName)) { + createdAt = reader.getNullable(nonNullReader -> OffsetDateTime.parse(nonNullReader.getString())); + } else if ("updatedAt".equals(fieldName)) { + updatedAt = reader.getNullable(nonNullReader -> OffsetDateTime.parse(nonNullReader.getString())); + } else if ("description".equals(fieldName)) { + description = reader.getString(); + } else if ("completedAt".equals(fieldName)) { + completedAt = reader.getNullable(nonNullReader -> OffsetDateTime.parse(nonNullReader.getString())); + } else if ("_dummy".equals(fieldName)) { + dummy = reader.getString(); + } else { + reader.skipChildren(); + } + } + TodoItem deserializedTodoItem = new TodoItem(title, status); + deserializedTodoItem.id = id; + deserializedTodoItem.createdAt = createdAt; + deserializedTodoItem.updatedAt = updatedAt; + deserializedTodoItem.description = description; + deserializedTodoItem.completedAt = completedAt; + deserializedTodoItem.dummy = dummy; + + return deserializedTodoItem; + }); + } +} diff --git a/typespec-tests/src/main/java/com/cadl/flatten/models/TodoItemPatch.java b/typespec-tests/src/main/java/com/cadl/flatten/models/TodoItemPatch.java new file mode 100644 index 0000000000..fab10e5afb --- /dev/null +++ b/typespec-tests/src/main/java/com/cadl/flatten/models/TodoItemPatch.java @@ -0,0 +1,212 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.cadl.flatten.models; + +import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Generated; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import com.cadl.flatten.implementation.JsonMergePatchHelper; +import java.io.IOException; +import java.util.HashSet; +import java.util.Set; + +/** + * The TodoItemPatch model. + */ +@Fluent +public final class TodoItemPatch implements JsonSerializable { + /* + * The item's title + */ + @Generated + private String title; + + /* + * A longer description of the todo item in markdown format + */ + @Generated + private String description; + + /* + * The status of the todo item + */ + @Generated + private TodoItemPatchStatus status; + + @Generated + private boolean jsonMergePatch; + + /** + * Stores updated model property, the value is property name, not serialized name. + */ + @Generated + private final Set updatedProperties = new HashSet<>(); + + @Generated + void serializeAsJsonMergePatch(boolean jsonMergePatch) { + this.jsonMergePatch = jsonMergePatch; + } + + static { + JsonMergePatchHelper.setTodoItemPatchAccessor((model, jsonMergePatchEnabled) -> { + model.serializeAsJsonMergePatch(jsonMergePatchEnabled); + return model; + }); + } + + /** + * Creates an instance of TodoItemPatch class. + */ + @Generated + public TodoItemPatch() { + } + + /** + * Get the title property: The item's title. + * + * @return the title value. + */ + @Generated + public String getTitle() { + return this.title; + } + + /** + * Set the title property: The item's title. + * + * @param title the title value to set. + * @return the TodoItemPatch object itself. + */ + @Generated + public TodoItemPatch setTitle(String title) { + this.title = title; + this.updatedProperties.add("title"); + return this; + } + + /** + * Get the description property: A longer description of the todo item in markdown format. + * + * @return the description value. + */ + @Generated + public String getDescription() { + return this.description; + } + + /** + * Set the description property: A longer description of the todo item in markdown format. + * + * @param description the description value to set. + * @return the TodoItemPatch object itself. + */ + @Generated + public TodoItemPatch setDescription(String description) { + this.description = description; + this.updatedProperties.add("description"); + return this; + } + + /** + * Get the status property: The status of the todo item. + * + * @return the status value. + */ + @Generated + public TodoItemPatchStatus getStatus() { + return this.status; + } + + /** + * Set the status property: The status of the todo item. + * + * @param status the status value to set. + * @return the TodoItemPatch object itself. + */ + @Generated + public TodoItemPatch setStatus(TodoItemPatchStatus status) { + this.status = status; + this.updatedProperties.add("status"); + return this; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + if (jsonMergePatch) { + return toJsonMergePatch(jsonWriter); + } else { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("title", this.title); + jsonWriter.writeStringField("description", this.description); + jsonWriter.writeStringField("status", this.status == null ? null : this.status.toString()); + return jsonWriter.writeEndObject(); + } + } + + @Generated + private JsonWriter toJsonMergePatch(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + if (updatedProperties.contains("title")) { + if (this.title == null) { + jsonWriter.writeNullField("title"); + } else { + jsonWriter.writeStringField("title", this.title); + } + } + if (updatedProperties.contains("description")) { + if (this.description == null) { + jsonWriter.writeNullField("description"); + } else { + jsonWriter.writeStringField("description", this.description); + } + } + if (updatedProperties.contains("status")) { + if (this.status == null) { + jsonWriter.writeNullField("status"); + } else { + jsonWriter.writeStringField("status", this.status == null ? null : this.status.toString()); + } + } + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of TodoItemPatch from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of TodoItemPatch if the JsonReader was pointing to an instance of it, or null if it was + * pointing to JSON null. + * @throws IOException If an error occurs while reading the TodoItemPatch. + */ + @Generated + public static TodoItemPatch fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + TodoItemPatch deserializedTodoItemPatch = new TodoItemPatch(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("title".equals(fieldName)) { + deserializedTodoItemPatch.title = reader.getString(); + } else if ("description".equals(fieldName)) { + deserializedTodoItemPatch.description = reader.getString(); + } else if ("status".equals(fieldName)) { + deserializedTodoItemPatch.status = TodoItemPatchStatus.fromString(reader.getString()); + } else { + reader.skipChildren(); + } + } + + return deserializedTodoItemPatch; + }); + } +} diff --git a/typespec-tests/src/main/java/com/cadl/flatten/models/TodoItemPatchStatus.java b/typespec-tests/src/main/java/com/cadl/flatten/models/TodoItemPatchStatus.java new file mode 100644 index 0000000000..1ac351d629 --- /dev/null +++ b/typespec-tests/src/main/java/com/cadl/flatten/models/TodoItemPatchStatus.java @@ -0,0 +1,61 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.cadl.flatten.models; + +/** + * Defines values for TodoItemPatchStatus. + */ +public enum TodoItemPatchStatus { + /** + * Enum value NotStarted. + */ + NOT_STARTED("NotStarted"), + + /** + * Enum value InProgress. + */ + IN_PROGRESS("InProgress"), + + /** + * Enum value Completed. + */ + COMPLETED("Completed"); + + /** + * The actual serialized value for a TodoItemPatchStatus instance. + */ + private final String value; + + TodoItemPatchStatus(String value) { + this.value = value; + } + + /** + * Parses a serialized value to a TodoItemPatchStatus instance. + * + * @param value the serialized value to parse. + * @return the parsed TodoItemPatchStatus object, or null if unable to parse. + */ + public static TodoItemPatchStatus fromString(String value) { + if (value == null) { + return null; + } + TodoItemPatchStatus[] items = TodoItemPatchStatus.values(); + for (TodoItemPatchStatus item : items) { + if (item.toString().equalsIgnoreCase(value)) { + return item; + } + } + return null; + } + + /** + * {@inheritDoc} + */ + @Override + public String toString() { + return this.value; + } +} diff --git a/typespec-tests/src/main/java/com/cadl/flatten/models/UpdatePatchRequest.java b/typespec-tests/src/main/java/com/cadl/flatten/models/UpdatePatchRequest.java new file mode 100644 index 0000000000..8afa5ba5b9 --- /dev/null +++ b/typespec-tests/src/main/java/com/cadl/flatten/models/UpdatePatchRequest.java @@ -0,0 +1,137 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.cadl.flatten.models; + +import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Generated; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import com.cadl.flatten.implementation.JsonMergePatchHelper; +import java.io.IOException; +import java.util.HashSet; +import java.util.Set; + +/** + * The UpdatePatchRequest model. + */ +@Fluent +public final class UpdatePatchRequest implements JsonSerializable { + /* + * The patch property. + */ + @Generated + private TodoItemPatch patch; + + @Generated + private boolean jsonMergePatch; + + /** + * Stores updated model property, the value is property name, not serialized name. + */ + @Generated + private final Set updatedProperties = new HashSet<>(); + + @Generated + void serializeAsJsonMergePatch(boolean jsonMergePatch) { + this.jsonMergePatch = jsonMergePatch; + } + + static { + JsonMergePatchHelper.setUpdatePatchRequestAccessor((model, jsonMergePatchEnabled) -> { + model.serializeAsJsonMergePatch(jsonMergePatchEnabled); + return model; + }); + } + + /** + * Creates an instance of UpdatePatchRequest class. + */ + @Generated + public UpdatePatchRequest() { + } + + /** + * Get the patch property: The patch property. + * + * @return the patch value. + */ + @Generated + public TodoItemPatch getPatch() { + return this.patch; + } + + /** + * Set the patch property: The patch property. + *

Required when create the resource.

+ * + * @param patch the patch value to set. + * @return the UpdatePatchRequest object itself. + */ + @Generated + public UpdatePatchRequest setPatch(TodoItemPatch patch) { + this.patch = patch; + this.updatedProperties.add("patch"); + return this; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + if (jsonMergePatch) { + return toJsonMergePatch(jsonWriter); + } else { + jsonWriter.writeStartObject(); + jsonWriter.writeJsonField("patch", this.patch); + return jsonWriter.writeEndObject(); + } + } + + @Generated + private JsonWriter toJsonMergePatch(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + if (updatedProperties.contains("patch")) { + if (this.patch == null) { + jsonWriter.writeNullField("patch"); + } else { + JsonMergePatchHelper.getTodoItemPatchAccessor().prepareModelForJsonMergePatch(this.patch, true); + jsonWriter.writeJsonField("patch", this.patch); + JsonMergePatchHelper.getTodoItemPatchAccessor().prepareModelForJsonMergePatch(this.patch, false); + } + } + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of UpdatePatchRequest from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of UpdatePatchRequest if the JsonReader was pointing to an instance of it, or null if it was + * pointing to JSON null. + * @throws IOException If an error occurs while reading the UpdatePatchRequest. + */ + @Generated + public static UpdatePatchRequest fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + UpdatePatchRequest deserializedUpdatePatchRequest = new UpdatePatchRequest(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("patch".equals(fieldName)) { + deserializedUpdatePatchRequest.patch = TodoItemPatch.fromJson(reader); + } else { + reader.skipChildren(); + } + } + + return deserializedUpdatePatchRequest; + }); + } +} diff --git a/typespec-tests/src/main/java/com/cadl/flatten/models/UploadTodoOptions.java b/typespec-tests/src/main/java/com/cadl/flatten/models/UploadTodoOptions.java new file mode 100644 index 0000000000..89dd785c87 --- /dev/null +++ b/typespec-tests/src/main/java/com/cadl/flatten/models/UploadTodoOptions.java @@ -0,0 +1,198 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.cadl.flatten.models; + +import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Generated; + +/** + * Options for uploadTodo API. + */ +@Fluent +public final class UploadTodoOptions { + /* + * The item's title + */ + @Generated + private final String title; + + /* + * A longer description of the todo item in markdown format + */ + @Generated + private String description; + + /* + * The status of the todo item + */ + @Generated + private final SendLongRequestStatus status; + + /* + * A sequence of textual characters. + */ + @Generated + private String dummy; + + /* + * A sequence of textual characters. + */ + @Generated + private String prop1; + + /* + * A sequence of textual characters. + */ + @Generated + private String prop2; + + /* + * A sequence of textual characters. + */ + @Generated + private String prop3; + + /** + * Creates an instance of UploadTodoOptions class. + * + * @param title the title value to set. + * @param status the status value to set. + */ + @Generated + public UploadTodoOptions(String title, SendLongRequestStatus status) { + this.title = title; + this.status = status; + } + + /** + * Get the title property: The item's title. + * + * @return the title value. + */ + @Generated + public String getTitle() { + return this.title; + } + + /** + * Get the description property: A longer description of the todo item in markdown format. + * + * @return the description value. + */ + @Generated + public String getDescription() { + return this.description; + } + + /** + * Set the description property: A longer description of the todo item in markdown format. + * + * @param description the description value to set. + * @return the UploadTodoOptions object itself. + */ + @Generated + public UploadTodoOptions setDescription(String description) { + this.description = description; + return this; + } + + /** + * Get the status property: The status of the todo item. + * + * @return the status value. + */ + @Generated + public SendLongRequestStatus getStatus() { + return this.status; + } + + /** + * Get the dummy property: A sequence of textual characters. + * + * @return the dummy value. + */ + @Generated + public String getDummy() { + return this.dummy; + } + + /** + * Set the dummy property: A sequence of textual characters. + * + * @param dummy the dummy value to set. + * @return the UploadTodoOptions object itself. + */ + @Generated + public UploadTodoOptions setDummy(String dummy) { + this.dummy = dummy; + return this; + } + + /** + * Get the prop1 property: A sequence of textual characters. + * + * @return the prop1 value. + */ + @Generated + public String getProp1() { + return this.prop1; + } + + /** + * Set the prop1 property: A sequence of textual characters. + * + * @param prop1 the prop1 value to set. + * @return the UploadTodoOptions object itself. + */ + @Generated + public UploadTodoOptions setProp1(String prop1) { + this.prop1 = prop1; + return this; + } + + /** + * Get the prop2 property: A sequence of textual characters. + * + * @return the prop2 value. + */ + @Generated + public String getProp2() { + return this.prop2; + } + + /** + * Set the prop2 property: A sequence of textual characters. + * + * @param prop2 the prop2 value to set. + * @return the UploadTodoOptions object itself. + */ + @Generated + public UploadTodoOptions setProp2(String prop2) { + this.prop2 = prop2; + return this; + } + + /** + * Get the prop3 property: A sequence of textual characters. + * + * @return the prop3 value. + */ + @Generated + public String getProp3() { + return this.prop3; + } + + /** + * Set the prop3 property: A sequence of textual characters. + * + * @param prop3 the prop3 value to set. + * @return the UploadTodoOptions object itself. + */ + @Generated + public UploadTodoOptions setProp3(String prop3) { + this.prop3 = prop3; + return this; + } +} diff --git a/typespec-tests/src/main/java/com/cadl/flatten/models/User.java b/typespec-tests/src/main/java/com/cadl/flatten/models/User.java new file mode 100644 index 0000000000..acceca671e --- /dev/null +++ b/typespec-tests/src/main/java/com/cadl/flatten/models/User.java @@ -0,0 +1,83 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.cadl.flatten.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.annotation.Immutable; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * The User model. + */ +@Immutable +public final class User implements JsonSerializable { + /* + * A sequence of textual characters. + */ + @Generated + private final String user; + + /** + * Creates an instance of User class. + * + * @param user the user value to set. + */ + @Generated + public User(String user) { + this.user = user; + } + + /** + * Get the user property: A sequence of textual characters. + * + * @return the user value. + */ + @Generated + public String getUser() { + return this.user; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("user", this.user); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of User from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of User if the JsonReader was pointing to an instance of it, or null if it was pointing to + * JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the User. + */ + @Generated + public static User fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + String user = null; + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("user".equals(fieldName)) { + user = reader.getString(); + } else { + reader.skipChildren(); + } + } + return new User(user); + }); + } +} diff --git a/typespec-tests/src/main/java/com/cadl/flatten/models/package-info.java b/typespec-tests/src/main/java/com/cadl/flatten/models/package-info.java new file mode 100644 index 0000000000..88a199c1cc --- /dev/null +++ b/typespec-tests/src/main/java/com/cadl/flatten/models/package-info.java @@ -0,0 +1,10 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +/** + * + * Package containing the data models for Flatten. + * + */ +package com.cadl.flatten.models; diff --git a/typespec-tests/src/main/java/com/cadl/flatten/package-info.java b/typespec-tests/src/main/java/com/cadl/flatten/package-info.java new file mode 100644 index 0000000000..f793215574 --- /dev/null +++ b/typespec-tests/src/main/java/com/cadl/flatten/package-info.java @@ -0,0 +1,10 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +/** + * + * Package containing the classes for Flatten. + * + */ +package com.cadl.flatten; From 8234a66b146e17da0b4173efbb7e24ee08d1efeb Mon Sep 17 00:00:00 2001 From: Haoling Dong Date: Mon, 20 May 2024 10:52:49 +0800 Subject: [PATCH 04/12] logic change to use tcgc description instead of raw --- typespec-extension/src/code-model-builder.ts | 32 ++++++++++---------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/typespec-extension/src/code-model-builder.ts b/typespec-extension/src/code-model-builder.ts index 98df685a06..fd55bd4619 100644 --- a/typespec-extension/src/code-model-builder.ts +++ b/typespec-extension/src/code-model-builder.ts @@ -1095,8 +1095,8 @@ export class CodeModelBuilder { } const nullable = isNullableType(param.param.type); - const parameter = new Parameter(this.getName(param.param), this.getDoc(param.param), schema, { - summary: this.getSummary(param.param), + const parameter = new Parameter(this.getName(param.param), sdkType.details ?? "", schema, { + summary: sdkType.description, implementation: ImplementationLocation.Method, required: !param.param.optional, nullable: nullable, @@ -1340,8 +1340,8 @@ export class CodeModelBuilder { } const isAnonymousModel = sdkType.kind === "model" && sdkType.isGeneratedName === true; - const parameter = new Parameter(this.getName(body), this.getDoc(body), schema, { - summary: this.getSummary(body), + const parameter = new Parameter(this.getName(body), sdkType.details ?? "", schema, { + summary: sdkType.description, implementation: ImplementationLocation.Method, required: body.kind === "Model" || !body.optional, protocol: { @@ -1881,8 +1881,8 @@ export class CodeModelBuilder { const schemaType = type.isFixed ? SealedChoiceSchema : ChoiceSchema; - const schema = new schemaType(type.name ? type.name : name, type.description ?? "", { - summary: this.getSummary(rawEnumType), + const schema = new schemaType(type.name ? type.name : name, type.details ?? "", { + summary: type.description, choiceType: valueType as any, choices: choices, language: { @@ -1979,8 +1979,8 @@ export class CodeModelBuilder { private processObjectSchemaFromSdkType(type: SdkModelType, name: string): ObjectSchema { const rawModelType = type.__raw; const namespace = getNamespace(rawModelType); - const objectSchema = new ObjectScheme(name, this.getDoc(rawModelType), { - summary: this.getSummary(rawModelType), + const objectSchema = new ObjectScheme(name, type.details ?? "", { + summary: type.description, language: { default: { namespace: namespace, @@ -2104,8 +2104,8 @@ export class CodeModelBuilder { schema = this.processMultipartFormDataFilePropertySchemaFromSdkType(prop, this.namespace); } - return new Property(prop.name, this.getDoc(rawModelPropertyType), schema, { - summary: this.getSummary(rawModelPropertyType), + return new Property(prop.name, prop.details ?? "", schema, { + summary: prop.description, required: !prop.optional, nullable: nullable, readOnly: this.isReadOnly(prop), @@ -2125,8 +2125,8 @@ export class CodeModelBuilder { this.logWarning( `Convert TypeSpec Union '${getUnionDescription(rawUnionType, this.typeNameOptions)}' to Class '${baseName}'`, ); - const unionSchema = new OrSchema(baseName + "Base", this.getDoc(rawUnionType), { - summary: this.getSummary(rawUnionType), + const unionSchema = new OrSchema(baseName + "Base", type.details ?? "", { + summary: type.description, }); unionSchema.anyOf = []; type.values.forEach((it) => { @@ -2135,8 +2135,8 @@ export class CodeModelBuilder { const propertyName = "value"; // these ObjectSchema is not added to codeModel.schemas - const objectSchema = new ObjectSchema(modelName, this.getDoc(rawUnionType), { - summary: this.getSummary(rawUnionType), + const objectSchema = new ObjectSchema(modelName, it.details ?? "", { + summary: it.description, language: { default: { namespace: namespace, @@ -2149,8 +2149,8 @@ export class CodeModelBuilder { const variantSchema = this.processSchemaFromSdkType(it, variantName); objectSchema.addProperty( - new Property(propertyName, this.getDoc(rawUnionType), variantSchema, { - summary: this.getSummary(rawUnionType), + new Property(propertyName, type.details ?? "", variantSchema, { + summary: type.description, required: true, readOnly: false, }), From 464f998059a52e06a6e62eefecf29f02aa18921d Mon Sep 17 00:00:00 2001 From: Haoling Dong Date: Mon, 20 May 2024 10:53:12 +0800 Subject: [PATCH 05/12] regen --- .../access/InternalOperationAsyncClient.java | 24 +- .../core/access/InternalOperationClient.java | 24 +- .../access/PublicOperationAsyncClient.java | 16 +- .../core/access/PublicOperationClient.java | 16 +- .../RelativeModelInOperationAsyncClient.java | 16 +- .../RelativeModelInOperationClient.java | 16 +- .../SharedModelInOperationAsyncClient.java | 16 +- .../access/SharedModelInOperationClient.java | 16 +- .../InternalOperationsImpl.java | 24 +- .../implementation/PublicOperationsImpl.java | 16 +- .../RelativeModelInOperationsImpl.java | 16 +- .../SharedModelInOperationsImpl.java | 16 +- .../implementation/models/OuterModel.java | 4 +- .../core/usage/UsageAsyncClient.java | 4 + .../core/usage/UsageClient.java | 4 + .../implementation/ModelInOperationsImpl.java | 4 + .../azure/core/basic/BasicAsyncClient.java | 125 ++-- .../_specs_/azure/core/basic/BasicClient.java | 125 ++-- .../basic/implementation/BasicClientImpl.java | 204 ++++-- .../azure/core/basic/models/FirstItem.java | 6 +- .../core/basic/models/ListItemInputBody.java | 6 +- .../azure/core/basic/models/SecondItem.java | 6 +- .../_specs_/azure/core/basic/models/User.java | 30 +- .../azure/core/basic/models/UserOrder.java | 26 +- .../azure/core/lro/rpc/RpcAsyncClient.java | 4 + .../_specs_/azure/core/lro/rpc/RpcClient.java | 4 + .../lro/rpc/implementation/RpcClientImpl.java | 12 + .../lro/rpc/models/GenerationOptions.java | 6 +- .../core/lro/rpc/models/GenerationResult.java | 6 +- .../lro/standard/StandardAsyncClient.java | 40 +- .../core/lro/standard/StandardClient.java | 40 +- .../implementation/StandardClientImpl.java | 120 +++- .../lro/standard/models/ExportedUser.java | 12 +- .../azure/core/lro/standard/models/User.java | 12 +- .../azure/core/scalar/ScalarAsyncClient.java | 28 +- .../azure/core/scalar/ScalarClient.java | 28 +- .../AzureLocationScalarsImpl.java | 28 +- .../azure/core/traits/TraitsAsyncClient.java | 56 +- .../azure/core/traits/TraitsClient.java | 56 +- .../implementation/TraitsClientImpl.java | 64 +- .../azure/core/traits/models/User.java | 12 +- .../core/traits/models/UserActionParam.java | 6 +- .../traits/models/UserActionResponse.java | 6 +- .../ChildResourcesInterfacesClient.java | 232 +++++-- ...ustomTemplateResourceInterfacesClient.java | 108 +++- .../TopLevelArmResourceInterfacesClient.java | 132 +++- .../fluent/models/OperationInner.java | 14 +- .../ChildResourcesInterfacesClientImpl.java | 588 +++++++++++++----- ...mTemplateResourceInterfacesClientImpl.java | 320 +++++++--- ...pLevelArmResourceInterfacesClientImpl.java | 334 +++++++--- .../models/ChildResourceListResult.java | 6 +- .../implementation/models/PagedOperation.java | 6 +- .../models/TopLevelArmResourceListResult.java | 6 +- .../models/ChildResource.java | 8 +- .../models/ChildResourcesInterfaces.java | 88 ++- .../models/CustomTemplateResource.java | 20 +- .../models/ManagedServiceIdentity.java | 12 +- .../armresourceprovider/models/Operation.java | 10 +- .../models/OperationDisplay.java | 31 +- .../models/TopLevelArmResource.java | 8 +- .../models/TopLevelArmResourceInterfaces.java | 40 +- .../models/TopLevelArmResourceUpdate.java | 6 +- .../models/UserAssignedIdentity.java | 20 +- .../com/cadl/builtin/BuiltinAsyncClient.java | 49 +- .../java/com/cadl/builtin/BuiltinClient.java | 49 +- .../implementation/BuiltinOpsImpl.java | 42 +- .../cadl/errormodel/models/Diagnostic.java | 4 +- .../longrunning/LongRunningAsyncClient.java | 8 +- .../cadl/longrunning/LongRunningClient.java | 8 +- .../implementation/LongRunningClientImpl.java | 8 +- .../cadl/longrunning/models/JobResult.java | 4 +- .../cadl/longrunning/models/PollResponse.java | 4 +- .../cadl/multipart/MultipartAsyncClient.java | 20 +- .../com/cadl/multipart/MultipartClient.java | 20 +- .../implementation/MultipartClientImpl.java | 16 +- .../multipleapiversion/FirstAsyncClient.java | 8 +- .../cadl/multipleapiversion/FirstClient.java | 8 +- .../NoApiVersionAsyncClient.java | 8 +- .../NoApiVersionClient.java | 8 +- .../multipleapiversion/SecondAsyncClient.java | 8 +- .../cadl/multipleapiversion/SecondClient.java | 8 +- .../implementation/FirstClientImpl.java | 8 +- .../NoApiVersionClientImpl.java | 8 +- .../implementation/SecondClientImpl.java | 8 +- .../com/cadl/naming/NamingAsyncClient.java | 20 +- .../java/com/cadl/naming/NamingClient.java | 14 +- .../naming/implementation/NamingOpsImpl.java | 16 +- .../com/cadl/naming/models/BytesData.java | 6 +- .../com/cadl/naming/models/DataStatus.java | 4 +- .../com/cadl/naming/models/TypesModel.java | 4 +- .../cadl/optional/OptionalAsyncClient.java | 92 ++- .../com/cadl/optional/OptionalClient.java | 92 ++- .../implementation/OptionalOpsImpl.java | 72 ++- .../models/PartialUpdateModel.java | 6 +- .../java/com/cadl/patch/PatchAsyncClient.java | 4 + .../main/java/com/cadl/patch/PatchClient.java | 4 + .../patch/implementation/PatchesImpl.java | 4 + .../java/com/cadl/patch/models/Resource.java | 6 +- .../java/com/cadl/patch/models/Salmon.java | 6 +- .../ProtocolAndConvenientAsyncClient.java | 17 +- .../ProtocolAndConvenientClient.java | 17 +- .../ProtocolAndConvenienceOpsImpl.java | 56 +- .../response/models/OperationDetails1.java | 14 +- .../response/models/OperationDetails2.java | 14 +- .../com/cadl/server/ContosoAsyncClient.java | 8 +- .../java/com/cadl/server/ContosoClient.java | 8 +- .../com/cadl/server/HttpbinAsyncClient.java | 8 +- .../java/com/cadl/server/HttpbinClient.java | 8 +- .../implementation/ContosoClientImpl.java | 8 +- .../implementation/HttpbinClientImpl.java | 8 +- .../cadl/specialchars/models/Resource.java | 30 +- .../EtagHeadersAsyncClient.java | 62 +- .../specialheaders/EtagHeadersClient.java | 62 +- .../EtagHeadersOptionalBodyAsyncClient.java | 36 +- .../EtagHeadersOptionalBodyClient.java | 36 +- .../RepeatabilityHeadersAsyncClient.java | 40 +- .../RepeatabilityHeadersClient.java | 40 +- .../SkipSpecialHeadersAsyncClient.java | 16 +- .../SkipSpecialHeadersClient.java | 16 +- .../implementation/EtagHeadersImpl.java | 76 ++- .../EtagHeadersOptionalBodiesImpl.java | 48 +- .../RepeatabilityHeadersImpl.java | 64 +- .../SkipSpecialHeadersImpl.java | 16 +- .../java/com/cadl/union/UnionAsyncClient.java | 20 +- .../main/java/com/cadl/union/UnionClient.java | 20 +- .../implementation/UnionFlattenOpsImpl.java | 24 +- .../versioning/VersioningAsyncClient.java | 46 +- .../com/cadl/versioning/VersioningClient.java | 46 +- .../implementation/VersioningOpsImpl.java | 116 ++-- .../com/client/naming/NamingAsyncClient.java | 16 +- .../java/com/client/naming/NamingClient.java | 16 +- .../implementation/NamingClientImpl.java | 16 +- .../com/client/naming/models/ClientModel.java | 6 +- .../ClientNameAndJsonEncodedNameModel.java | 6 +- .../client/naming/models/ClientNameModel.java | 6 +- .../com/client/naming/models/JavaModel.java | 6 +- .../models/LanguageClientNameModel.java | 6 +- .../com/encode/bytes/HeaderAsyncClient.java | 24 +- .../java/com/encode/bytes/HeaderClient.java | 24 +- .../com/encode/bytes/QueryAsyncClient.java | 24 +- .../java/com/encode/bytes/QueryClient.java | 24 +- .../encode/bytes/RequestBodyAsyncClient.java | 24 +- .../com/encode/bytes/RequestBodyClient.java | 24 +- .../bytes/implementation/HeadersImpl.java | 24 +- .../bytes/implementation/QueriesImpl.java | 24 +- .../implementation/RequestBodiesImpl.java | 24 +- .../basic/ExplicitBodyAsyncClient.java | 4 + .../parameters/basic/ExplicitBodyClient.java | 4 + .../implementation/ExplicitBodiesImpl.java | 4 + .../collectionformat/HeaderAsyncClient.java | 4 +- .../collectionformat/HeaderClient.java | 4 +- .../collectionformat/QueryAsyncClient.java | 20 +- .../collectionformat/QueryClient.java | 20 +- .../implementation/HeadersImpl.java | 4 +- .../implementation/QueriesImpl.java | 20 +- .../parameters/spread/AliasAsyncClient.java | 24 +- .../com/parameters/spread/AliasClient.java | 24 +- .../parameters/spread/ModelAsyncClient.java | 64 +- .../com/parameters/spread/ModelClient.java | 64 +- .../spread/implementation/AliasImpl.java | 32 +- .../spread/implementation/ModelsImpl.java | 64 +- .../JsonMergePatchAsyncClient.java | 10 + .../jsonmergepatch/JsonMergePatchClient.java | 10 + .../JsonMergePatchClientImpl.java | 8 + .../jsonmergepatch/models/Resource.java | 6 +- .../jsonmergepatch/models/ResourcePatch.java | 6 +- .../mediatype/MediaTypeAsyncClient.java | 16 +- .../payload/mediatype/MediaTypeClient.java | 16 +- .../implementation/StringBodiesImpl.java | 16 +- .../payload/pageable/PageableAsyncClient.java | 4 +- .../com/payload/pageable/PageableClient.java | 4 +- .../implementation/PageableClientImpl.java | 16 +- .../com/payload/pageable/models/User.java | 6 +- .../ResiliencyServiceDrivenAsyncClient.java | 48 +- .../ResiliencyServiceDrivenClient.java | 48 +- .../ResiliencyServiceDrivenClientImpl.java | 40 +- .../ResiliencyServiceDrivenAsyncClient.java | 16 +- .../v1/ResiliencyServiceDrivenClient.java | 16 +- .../ResiliencyServiceDrivenClientImpl.java | 16 +- .../json/models/JsonEncodedNameModel.java | 6 +- .../path/multiple/MultipleAsyncClient.java | 8 +- .../server/path/multiple/MultipleClient.java | 8 +- .../implementation/MultipleClientImpl.java | 8 +- .../notversioned/NotVersionedAsyncClient.java | 16 +- .../notversioned/NotVersionedClient.java | 16 +- .../NotVersionedClientImpl.java | 16 +- .../ConditionalRequestAsyncClient.java | 18 +- .../ConditionalRequestClient.java | 18 +- .../ConditionalRequestClientImpl.java | 20 +- .../specialwords/ParametersAsyncClient.java | 272 ++++++-- .../com/specialwords/ParametersClient.java | 272 ++++++-- .../implementation/ParametersImpl.java | 272 ++++++-- .../com/type/array/models/InnerModel.java | 6 +- .../type/dictionary/models/InnerModel.java | 6 +- .../extensible/ExtensibleAsyncClient.java | 16 +- .../enums/extensible/ExtensibleClient.java | 16 +- .../implementation/StringOperationsImpl.java | 16 +- .../type/enums/fixed/FixedAsyncClient.java | 16 +- .../com/type/enums/fixed/FixedClient.java | 16 +- .../implementation/StringOperationsImpl.java | 16 +- .../type/model/empty/EmptyAsyncClient.java | 16 +- .../com/type/model/empty/EmptyClient.java | 16 +- .../empty/implementation/EmptyClientImpl.java | 16 +- .../model/flatten/FlattenAsyncClient.java | 8 + .../com/type/model/flatten/FlattenClient.java | 8 + .../implementation/FlattenClientImpl.java | 8 + .../flatten/models/ChildFlattenModel.java | 4 +- .../model/flatten/models/FlattenModel.java | 4 +- .../flatten/models/NestedFlattenModel.java | 4 +- .../EnumDiscriminatorAsyncClient.java | 16 +- .../EnumDiscriminatorClient.java | 16 +- .../EnumDiscriminatorClientImpl.java | 16 +- .../enumdiscriminator/models/Dog.java | 6 +- .../enumdiscriminator/models/Snake.java | 6 +- .../NestedDiscriminatorAsyncClient.java | 8 + .../NestedDiscriminatorClient.java | 8 + .../NestedDiscriminatorClientImpl.java | 8 + .../nesteddiscriminator/models/Salmon.java | 6 +- .../NotDiscriminatedAsyncClient.java | 8 + .../NotDiscriminatedClient.java | 8 + .../NotDiscriminatedClientImpl.java | 8 + .../recursive/RecursiveAsyncClient.java | 8 +- .../recursive/RecursiveClient.java | 8 +- .../implementation/RecursiveClientImpl.java | 8 +- .../SingleDiscriminatorAsyncClient.java | 8 + .../SingleDiscriminatorClient.java | 8 + .../SingleDiscriminatorClientImpl.java | 8 + .../singlediscriminator/models/Eagle.java | 6 +- .../type/model/usage/UsageAsyncClient.java | 16 +- .../com/type/model/usage/UsageClient.java | 16 +- .../usage/implementation/UsageClientImpl.java | 16 +- .../visibility/VisibilityAsyncClient.java | 24 + .../model/visibility/VisibilityClient.java | 24 + .../implementation/VisibilityClientImpl.java | 24 + .../visibility/models/VisibilityModel.java | 18 +- ...xtendsDifferentSpreadFloatAsyncClient.java | 10 +- .../ExtendsDifferentSpreadFloatClient.java | 10 +- ...sDifferentSpreadModelArrayAsyncClient.java | 10 +- ...xtendsDifferentSpreadModelArrayClient.java | 10 +- ...xtendsDifferentSpreadModelAsyncClient.java | 10 +- .../ExtendsDifferentSpreadModelClient.java | 10 +- ...tendsDifferentSpreadStringAsyncClient.java | 10 +- .../ExtendsDifferentSpreadStringClient.java | 10 +- .../ExtendsFloatAsyncClient.java | 8 +- .../ExtendsFloatClient.java | 8 +- .../ExtendsModelArrayAsyncClient.java | 8 +- .../ExtendsModelArrayClient.java | 8 +- .../ExtendsModelAsyncClient.java | 8 +- .../ExtendsModelClient.java | 8 +- .../ExtendsStringAsyncClient.java | 8 +- .../ExtendsStringClient.java | 8 +- .../ExtendsUnknownAsyncClient.java | 8 +- .../ExtendsUnknownClient.java | 8 +- .../ExtendsUnknownDerivedAsyncClient.java | 8 +- .../ExtendsUnknownDerivedClient.java | 8 +- ...xtendsUnknownDiscriminatedAsyncClient.java | 8 +- .../ExtendsUnknownDiscriminatedClient.java | 8 +- .../IsFloatAsyncClient.java | 8 +- .../additionalproperties/IsFloatClient.java | 8 +- .../IsModelArrayAsyncClient.java | 8 +- .../IsModelArrayClient.java | 8 +- .../IsModelAsyncClient.java | 8 +- .../additionalproperties/IsModelClient.java | 8 +- .../IsStringAsyncClient.java | 8 +- .../additionalproperties/IsStringClient.java | 8 +- .../IsUnknownAsyncClient.java | 8 +- .../additionalproperties/IsUnknownClient.java | 8 +- .../IsUnknownDerivedAsyncClient.java | 8 +- .../IsUnknownDerivedClient.java | 8 +- .../IsUnknownDiscriminatedAsyncClient.java | 8 +- .../IsUnknownDiscriminatedClient.java | 8 +- .../MultipleSpreadAsyncClient.java | 8 +- .../MultipleSpreadClient.java | 8 +- .../SpreadDifferentFloatAsyncClient.java | 8 +- .../SpreadDifferentFloatClient.java | 8 +- .../SpreadDifferentModelArrayAsyncClient.java | 8 +- .../SpreadDifferentModelArrayClient.java | 8 +- .../SpreadDifferentModelAsyncClient.java | 8 +- .../SpreadDifferentModelClient.java | 8 +- .../SpreadDifferentStringAsyncClient.java | 8 +- .../SpreadDifferentStringClient.java | 8 +- .../SpreadFloatAsyncClient.java | 8 +- .../SpreadFloatClient.java | 8 +- .../SpreadModelArrayAsyncClient.java | 4 +- .../SpreadModelArrayClient.java | 4 +- .../SpreadModelAsyncClient.java | 8 +- .../SpreadModelClient.java | 8 +- ...adRecordDiscriminatedUnionAsyncClient.java | 8 +- .../SpreadRecordDiscriminatedUnionClient.java | 8 +- ...cordNonDiscriminatedUnion2AsyncClient.java | 8 +- ...eadRecordNonDiscriminatedUnion2Client.java | 8 +- ...cordNonDiscriminatedUnion3AsyncClient.java | 8 +- ...eadRecordNonDiscriminatedUnion3Client.java | 8 +- ...ecordNonDiscriminatedUnionAsyncClient.java | 8 +- ...readRecordNonDiscriminatedUnionClient.java | 8 +- .../SpreadRecordUnionAsyncClient.java | 8 +- .../SpreadRecordUnionClient.java | 8 +- .../SpreadStringAsyncClient.java | 8 +- .../SpreadStringClient.java | 8 +- .../ExtendsDifferentSpreadFloatsImpl.java | 10 +- ...ExtendsDifferentSpreadModelArraysImpl.java | 10 +- .../ExtendsDifferentSpreadModelsImpl.java | 10 +- .../ExtendsDifferentSpreadStringsImpl.java | 10 +- .../implementation/ExtendsFloatsImpl.java | 8 +- .../ExtendsModelArraysImpl.java | 8 +- .../implementation/ExtendsModelsImpl.java | 8 +- .../implementation/ExtendsStringsImpl.java | 8 +- .../ExtendsUnknownDerivedsImpl.java | 8 +- .../ExtendsUnknownDiscriminatedsImpl.java | 8 +- .../implementation/ExtendsUnknownsImpl.java | 8 +- .../implementation/IsFloatsImpl.java | 8 +- .../implementation/IsModelArraysImpl.java | 8 +- .../implementation/IsModelsImpl.java | 8 +- .../implementation/IsStringsImpl.java | 8 +- .../implementation/IsUnknownDerivedsImpl.java | 8 +- .../IsUnknownDiscriminatedsImpl.java | 8 +- .../implementation/IsUnknownsImpl.java | 8 +- .../implementation/MultipleSpreadsImpl.java | 8 +- .../SpreadDifferentFloatsImpl.java | 8 +- .../SpreadDifferentModelArraysImpl.java | 8 +- .../SpreadDifferentModelsImpl.java | 8 +- .../SpreadDifferentStringsImpl.java | 8 +- .../implementation/SpreadFloatsImpl.java | 8 +- .../implementation/SpreadModelArraysImpl.java | 4 +- .../implementation/SpreadModelsImpl.java | 8 +- .../SpreadRecordDiscriminatedUnionsImpl.java | 8 +- ...readRecordNonDiscriminatedUnion2sImpl.java | 8 +- ...readRecordNonDiscriminatedUnion3sImpl.java | 8 +- ...preadRecordNonDiscriminatedUnionsImpl.java | 8 +- .../SpreadRecordUnionsImpl.java | 8 +- .../implementation/SpreadStringsImpl.java | 8 +- .../models/DifferentSpreadFloatDerived.java | 6 +- .../models/DifferentSpreadFloatRecord.java | 6 +- .../models/DifferentSpreadStringDerived.java | 6 +- .../models/DifferentSpreadStringRecord.java | 6 +- .../ExtendsFloatAdditionalProperties.java | 6 +- .../ExtendsModelAdditionalProperties.java | 4 +- .../ExtendsStringAdditionalProperties.java | 6 +- .../ExtendsUnknownAdditionalProperties.java | 6 +- ...ndsUnknownAdditionalPropertiesDerived.java | 16 +- ...nownAdditionalPropertiesDiscriminated.java | 12 +- ...itionalPropertiesDiscriminatedDerived.java | 22 +- .../models/IsFloatAdditionalProperties.java | 6 +- .../models/IsModelAdditionalProperties.java | 4 +- .../models/IsStringAdditionalProperties.java | 6 +- .../models/IsUnknownAdditionalProperties.java | 6 +- .../IsUnknownAdditionalPropertiesDerived.java | 16 +- ...nownAdditionalPropertiesDiscriminated.java | 12 +- ...itionalPropertiesDiscriminatedDerived.java | 22 +- .../models/ModelForRecord.java | 6 +- .../models/MultipleSpreadRecord.java | 6 +- .../models/SpreadFloatRecord.java | 6 +- .../models/SpreadModelRecord.java | 4 +- .../SpreadRecordForDiscriminatedUnion.java | 6 +- .../SpreadRecordForNonDiscriminatedUnion.java | 6 +- ...SpreadRecordForNonDiscriminatedUnion2.java | 6 +- ...SpreadRecordForNonDiscriminatedUnion3.java | 6 +- .../models/SpreadRecordForUnion.java | 6 +- .../models/SpreadStringRecord.java | 6 +- .../property/nullable/BytesAsyncClient.java | 16 +- .../type/property/nullable/BytesClient.java | 16 +- .../nullable/CollectionsByteAsyncClient.java | 16 +- .../nullable/CollectionsByteClient.java | 16 +- .../nullable/CollectionsModelAsyncClient.java | 16 +- .../nullable/CollectionsModelClient.java | 16 +- .../DatetimeOperationAsyncClient.java | 16 +- .../nullable/DatetimeOperationClient.java | 16 +- .../DurationOperationAsyncClient.java | 16 +- .../nullable/DurationOperationClient.java | 16 +- .../nullable/StringOperationAsyncClient.java | 16 +- .../nullable/StringOperationClient.java | 16 +- .../nullable/implementation/BytesImpl.java | 16 +- .../implementation/CollectionsBytesImpl.java | 16 +- .../implementation/CollectionsModelsImpl.java | 16 +- .../DatetimeOperationsImpl.java | 16 +- .../DurationOperationsImpl.java | 16 +- .../implementation/StringOperationsImpl.java | 16 +- .../nullable/models/BytesProperty.java | 20 +- .../models/CollectionsByteProperty.java | 10 +- .../models/CollectionsModelProperty.java | 10 +- .../nullable/models/DatetimeProperty.java | 10 +- .../nullable/models/DurationProperty.java | 10 +- .../property/nullable/models/InnerModel.java | 10 +- .../nullable/models/StringProperty.java | 20 +- .../optional/BooleanLiteralAsyncClient.java | 16 +- .../optional/BooleanLiteralClient.java | 16 +- .../property/optional/BytesAsyncClient.java | 16 +- .../type/property/optional/BytesClient.java | 16 +- .../optional/CollectionsByteAsyncClient.java | 16 +- .../optional/CollectionsByteClient.java | 16 +- .../optional/CollectionsModelAsyncClient.java | 16 +- .../optional/CollectionsModelClient.java | 16 +- .../DatetimeOperationAsyncClient.java | 16 +- .../optional/DatetimeOperationClient.java | 16 +- .../DurationOperationAsyncClient.java | 16 +- .../optional/DurationOperationClient.java | 16 +- .../optional/FloatLiteralAsyncClient.java | 16 +- .../property/optional/FloatLiteralClient.java | 16 +- .../optional/IntLiteralAsyncClient.java | 16 +- .../property/optional/IntLiteralClient.java | 16 +- .../RequiredAndOptionalAsyncClient.java | 16 +- .../optional/RequiredAndOptionalClient.java | 16 +- .../optional/StringLiteralAsyncClient.java | 16 +- .../optional/StringLiteralClient.java | 16 +- .../optional/StringOperationAsyncClient.java | 16 +- .../optional/StringOperationClient.java | 16 +- .../UnionFloatLiteralAsyncClient.java | 16 +- .../optional/UnionFloatLiteralClient.java | 16 +- .../optional/UnionIntLiteralAsyncClient.java | 16 +- .../optional/UnionIntLiteralClient.java | 16 +- .../UnionStringLiteralAsyncClient.java | 16 +- .../optional/UnionStringLiteralClient.java | 16 +- .../implementation/BooleanLiteralsImpl.java | 16 +- .../optional/implementation/BytesImpl.java | 16 +- .../implementation/CollectionsBytesImpl.java | 16 +- .../implementation/CollectionsModelsImpl.java | 16 +- .../DatetimeOperationsImpl.java | 16 +- .../DurationOperationsImpl.java | 16 +- .../implementation/FloatLiteralsImpl.java | 16 +- .../implementation/IntLiteralsImpl.java | 16 +- .../RequiredAndOptionalsImpl.java | 16 +- .../implementation/StringLiteralsImpl.java | 16 +- .../implementation/StringOperationsImpl.java | 16 +- .../UnionFloatLiteralsImpl.java | 16 +- .../implementation/UnionIntLiteralsImpl.java | 16 +- .../UnionStringLiteralsImpl.java | 16 +- .../optional/models/BytesProperty.java | 10 +- .../models/RequiredAndOptionalProperty.java | 16 +- .../optional/models/StringProperty.java | 10 +- .../valuetypes/BooleanLiteralAsyncClient.java | 8 +- .../valuetypes/BooleanLiteralClient.java | 8 +- .../BooleanOperationAsyncClient.java | 8 +- .../valuetypes/BooleanOperationClient.java | 8 +- .../property/valuetypes/BytesAsyncClient.java | 8 +- .../type/property/valuetypes/BytesClient.java | 8 +- .../valuetypes/CollectionsIntAsyncClient.java | 8 +- .../valuetypes/CollectionsIntClient.java | 8 +- .../CollectionsModelAsyncClient.java | 8 +- .../valuetypes/CollectionsModelClient.java | 8 +- .../CollectionsStringAsyncClient.java | 8 +- .../valuetypes/CollectionsStringClient.java | 8 +- .../DatetimeOperationAsyncClient.java | 8 +- .../valuetypes/DatetimeOperationClient.java | 8 +- .../valuetypes/Decimal128AsyncClient.java | 8 +- .../property/valuetypes/Decimal128Client.java | 8 +- .../valuetypes/DecimalAsyncClient.java | 8 +- .../property/valuetypes/DecimalClient.java | 8 +- .../DictionaryStringAsyncClient.java | 8 +- .../valuetypes/DictionaryStringClient.java | 8 +- .../DurationOperationAsyncClient.java | 8 +- .../valuetypes/DurationOperationClient.java | 8 +- .../property/valuetypes/EnumAsyncClient.java | 8 +- .../type/property/valuetypes/EnumClient.java | 8 +- .../valuetypes/ExtensibleEnumAsyncClient.java | 8 +- .../valuetypes/ExtensibleEnumClient.java | 8 +- .../valuetypes/FloatLiteralAsyncClient.java | 8 +- .../valuetypes/FloatLiteralClient.java | 8 +- .../valuetypes/FloatOperationAsyncClient.java | 8 +- .../valuetypes/FloatOperationClient.java | 8 +- .../property/valuetypes/IntAsyncClient.java | 8 +- .../type/property/valuetypes/IntClient.java | 8 +- .../valuetypes/IntLiteralAsyncClient.java | 8 +- .../property/valuetypes/IntLiteralClient.java | 8 +- .../property/valuetypes/ModelAsyncClient.java | 8 +- .../type/property/valuetypes/ModelClient.java | 8 +- .../property/valuetypes/NeverAsyncClient.java | 8 +- .../type/property/valuetypes/NeverClient.java | 8 +- .../valuetypes/StringLiteralAsyncClient.java | 8 +- .../valuetypes/StringLiteralClient.java | 8 +- .../StringOperationAsyncClient.java | 8 +- .../valuetypes/StringOperationClient.java | 8 +- .../valuetypes/UnionEnumValueAsyncClient.java | 10 +- .../valuetypes/UnionEnumValueClient.java | 10 +- .../UnionFloatLiteralAsyncClient.java | 8 +- .../valuetypes/UnionFloatLiteralClient.java | 8 +- .../UnionIntLiteralAsyncClient.java | 8 +- .../valuetypes/UnionIntLiteralClient.java | 8 +- .../UnionStringLiteralAsyncClient.java | 8 +- .../valuetypes/UnionStringLiteralClient.java | 8 +- .../valuetypes/UnknownArrayAsyncClient.java | 8 +- .../valuetypes/UnknownArrayClient.java | 8 +- .../valuetypes/UnknownDictAsyncClient.java | 8 +- .../valuetypes/UnknownDictClient.java | 8 +- .../valuetypes/UnknownIntAsyncClient.java | 8 +- .../property/valuetypes/UnknownIntClient.java | 8 +- .../valuetypes/UnknownStringAsyncClient.java | 8 +- .../valuetypes/UnknownStringClient.java | 8 +- .../implementation/BooleanLiteralsImpl.java | 8 +- .../implementation/BooleanOperationsImpl.java | 8 +- .../valuetypes/implementation/BytesImpl.java | 8 +- .../implementation/CollectionsIntsImpl.java | 8 +- .../implementation/CollectionsModelsImpl.java | 8 +- .../CollectionsStringsImpl.java | 8 +- .../DatetimeOperationsImpl.java | 8 +- .../implementation/Decimal128sImpl.java | 8 +- .../implementation/DecimalsImpl.java | 8 +- .../implementation/DictionaryStringsImpl.java | 8 +- .../DurationOperationsImpl.java | 8 +- .../valuetypes/implementation/EnumsImpl.java | 8 +- .../implementation/ExtensibleEnumsImpl.java | 8 +- .../implementation/FloatLiteralsImpl.java | 8 +- .../implementation/FloatOperationsImpl.java | 8 +- .../implementation/IntLiteralsImpl.java | 8 +- .../valuetypes/implementation/IntsImpl.java | 8 +- .../valuetypes/implementation/ModelsImpl.java | 8 +- .../valuetypes/implementation/NeversImpl.java | 8 +- .../implementation/StringLiteralsImpl.java | 8 +- .../implementation/StringOperationsImpl.java | 8 +- .../implementation/UnionEnumValuesImpl.java | 10 +- .../UnionFloatLiteralsImpl.java | 8 +- .../implementation/UnionIntLiteralsImpl.java | 8 +- .../UnionStringLiteralsImpl.java | 8 +- .../implementation/UnknownArraysImpl.java | 8 +- .../implementation/UnknownDictsImpl.java | 8 +- .../implementation/UnknownIntsImpl.java | 8 +- .../implementation/UnknownStringsImpl.java | 8 +- .../valuetypes/models/BooleanProperty.java | 6 +- .../valuetypes/models/BytesProperty.java | 6 +- .../valuetypes/models/Decimal128Property.java | 6 +- .../valuetypes/models/DecimalProperty.java | 9 +- .../valuetypes/models/FloatProperty.java | 6 +- .../valuetypes/models/InnerModel.java | 6 +- .../valuetypes/models/IntProperty.java | 6 +- .../valuetypes/models/StringProperty.java | 6 +- .../scalar/BooleanOperationAsyncClient.java | 8 +- .../type/scalar/BooleanOperationClient.java | 8 +- .../scalar/Decimal128TypeAsyncClient.java | 16 +- .../com/type/scalar/Decimal128TypeClient.java | 16 +- .../scalar/Decimal128VerifyAsyncClient.java | 10 +- .../type/scalar/Decimal128VerifyClient.java | 10 +- .../type/scalar/DecimalTypeAsyncClient.java | 20 +- .../com/type/scalar/DecimalTypeClient.java | 20 +- .../type/scalar/DecimalVerifyAsyncClient.java | 10 +- .../com/type/scalar/DecimalVerifyClient.java | 10 +- .../scalar/StringOperationAsyncClient.java | 8 +- .../type/scalar/StringOperationClient.java | 8 +- .../com/type/scalar/UnknownAsyncClient.java | 4 +- .../java/com/type/scalar/UnknownClient.java | 4 +- .../implementation/BooleanOperationsImpl.java | 8 +- .../implementation/Decimal128TypesImpl.java | 16 +- .../Decimal128VerifiesImpl.java | 10 +- .../implementation/DecimalTypesImpl.java | 20 +- .../implementation/DecimalVerifiesImpl.java | 10 +- .../implementation/StringOperationsImpl.java | 8 +- .../scalar/implementation/UnknownsImpl.java | 4 +- .../versioning/added/AddedAsyncClient.java | 8 +- .../com/versioning/added/AddedClient.java | 8 +- .../added/implementation/AddedClientImpl.java | 8 +- .../madeoptional/MadeOptionalAsyncClient.java | 8 +- .../madeoptional/MadeOptionalClient.java | 8 +- .../MadeOptionalClientImpl.java | 8 +- .../renamedfrom/RenamedFromAsyncClient.java | 8 +- .../renamedfrom/RenamedFromClient.java | 8 +- .../implementation/RenamedFromClientImpl.java | 8 +- .../ReturnTypeChangedFromAsyncClient.java | 8 +- .../ReturnTypeChangedFromClient.java | 8 +- .../ReturnTypeChangedFromClientImpl.java | 8 +- .../TypeChangedFromAsyncClient.java | 8 +- .../TypeChangedFromClient.java | 8 +- .../TypeChangedFromClientImpl.java | 8 +- 560 files changed, 7362 insertions(+), 3154 deletions(-) diff --git a/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/InternalOperationAsyncClient.java b/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/InternalOperationAsyncClient.java index 1cadd70dd1..01ed4db90e 100644 --- a/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/InternalOperationAsyncClient.java +++ b/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/InternalOperationAsyncClient.java @@ -50,7 +50,9 @@ public final class InternalOperationAsyncClient { * } * } * - * @param name The name parameter. + * @param name A sequence of textual characters. + * + * The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -75,7 +77,9 @@ Mono> noDecoratorInInternalWithResponse(String name, Reques * } * } * - * @param name The name parameter. + * @param name A sequence of textual characters. + * + * The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -100,7 +104,9 @@ Mono> internalDecoratorInInternalWithResponse(String name, * } * } * - * @param name The name parameter. + * @param name A sequence of textual characters. + * + * The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -118,7 +124,9 @@ Mono> publicDecoratorInInternalWithResponse(String name, Re /** * The noDecoratorInInternal operation. * - * @param name The name parameter. + * @param name A sequence of textual characters. + * + * The name parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -140,7 +148,9 @@ Mono noDecoratorInInternal(String name) { /** * The internalDecoratorInInternal operation. * - * @param name The name parameter. + * @param name A sequence of textual characters. + * + * The name parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -162,7 +172,9 @@ Mono internalDecoratorInInternal(String name) /** * The publicDecoratorInInternal operation. * - * @param name The name parameter. + * @param name A sequence of textual characters. + * + * The name parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/InternalOperationClient.java b/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/InternalOperationClient.java index 31dd4b8672..b11c6160d4 100644 --- a/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/InternalOperationClient.java +++ b/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/InternalOperationClient.java @@ -48,7 +48,9 @@ public final class InternalOperationClient { * } * } * - * @param name The name parameter. + * @param name A sequence of textual characters. + * + * The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -72,7 +74,9 @@ Response noDecoratorInInternalWithResponse(String name, RequestOptio * } * } * - * @param name The name parameter. + * @param name A sequence of textual characters. + * + * The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -96,7 +100,9 @@ Response internalDecoratorInInternalWithResponse(String name, Reques * } * } * - * @param name The name parameter. + * @param name A sequence of textual characters. + * + * The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -114,7 +120,9 @@ Response publicDecoratorInInternalWithResponse(String name, RequestO /** * The noDecoratorInInternal operation. * - * @param name The name parameter. + * @param name A sequence of textual characters. + * + * The name parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -135,7 +143,9 @@ NoDecoratorModelInInternal noDecoratorInInternal(String name) { /** * The internalDecoratorInInternal operation. * - * @param name The name parameter. + * @param name A sequence of textual characters. + * + * The name parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -156,7 +166,9 @@ InternalDecoratorModelInInternal internalDecoratorInInternal(String name) { /** * The publicDecoratorInInternal operation. * - * @param name The name parameter. + * @param name A sequence of textual characters. + * + * The name parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/PublicOperationAsyncClient.java b/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/PublicOperationAsyncClient.java index 78913337ba..9e9213af13 100644 --- a/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/PublicOperationAsyncClient.java +++ b/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/PublicOperationAsyncClient.java @@ -49,7 +49,9 @@ public final class PublicOperationAsyncClient { * } * } * - * @param name The name parameter. + * @param name A sequence of textual characters. + * + * The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -74,7 +76,9 @@ public Mono> noDecoratorInPublicWithResponse(String name, R * } * } * - * @param name The name parameter. + * @param name A sequence of textual characters. + * + * The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -92,7 +96,9 @@ public Mono> publicDecoratorInPublicWithResponse(String nam /** * The noDecoratorInPublic operation. * - * @param name The name parameter. + * @param name A sequence of textual characters. + * + * The name parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -113,7 +119,9 @@ public Mono noDecoratorInPublic(String name) { /** * The publicDecoratorInPublic operation. * - * @param name The name parameter. + * @param name A sequence of textual characters. + * + * The name parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/PublicOperationClient.java b/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/PublicOperationClient.java index 472adda679..59f11b4980 100644 --- a/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/PublicOperationClient.java +++ b/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/PublicOperationClient.java @@ -47,7 +47,9 @@ public final class PublicOperationClient { * } * } * - * @param name The name parameter. + * @param name A sequence of textual characters. + * + * The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -71,7 +73,9 @@ public Response noDecoratorInPublicWithResponse(String name, Request * } * } * - * @param name The name parameter. + * @param name A sequence of textual characters. + * + * The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -88,7 +92,9 @@ public Response publicDecoratorInPublicWithResponse(String name, Req /** * The noDecoratorInPublic operation. * - * @param name The name parameter. + * @param name A sequence of textual characters. + * + * The name parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -109,7 +115,9 @@ public NoDecoratorModelInPublic noDecoratorInPublic(String name) { /** * The publicDecoratorInPublic operation. * - * @param name The name parameter. + * @param name A sequence of textual characters. + * + * The name parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/RelativeModelInOperationAsyncClient.java b/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/RelativeModelInOperationAsyncClient.java index 42e2631c8d..0842fdbfc1 100644 --- a/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/RelativeModelInOperationAsyncClient.java +++ b/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/RelativeModelInOperationAsyncClient.java @@ -62,7 +62,9 @@ public final class RelativeModelInOperationAsyncClient { * } * } * - * @param name The name parameter. + * @param name A sequence of textual characters. + * + * The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -95,7 +97,9 @@ Mono> operationWithResponse(String name, RequestOptions req * } * } * - * @param kind The kind parameter. + * @param kind A sequence of textual characters. + * + * The kind parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -123,7 +127,9 @@ Mono> discriminatorWithResponse(String kind, RequestOptions * } * ```. * - * @param name The name parameter. + * @param name A sequence of textual characters. + * + * The name parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -152,7 +158,9 @@ Mono operation(String name) { * } * ```. * - * @param kind The kind parameter. + * @param kind A sequence of textual characters. + * + * The kind parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/RelativeModelInOperationClient.java b/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/RelativeModelInOperationClient.java index f49e30819d..c276727553 100644 --- a/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/RelativeModelInOperationClient.java +++ b/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/RelativeModelInOperationClient.java @@ -60,7 +60,9 @@ public final class RelativeModelInOperationClient { * } * } * - * @param name The name parameter. + * @param name A sequence of textual characters. + * + * The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -92,7 +94,9 @@ Response operationWithResponse(String name, RequestOptions requestOp * } * } * - * @param kind The kind parameter. + * @param kind A sequence of textual characters. + * + * The kind parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -119,7 +123,9 @@ Response discriminatorWithResponse(String kind, RequestOptions reque * } * ```. * - * @param name The name parameter. + * @param name A sequence of textual characters. + * + * The name parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -146,7 +152,9 @@ OuterModel operation(String name) { * } * ```. * - * @param kind The kind parameter. + * @param kind A sequence of textual characters. + * + * The kind parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/SharedModelInOperationAsyncClient.java b/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/SharedModelInOperationAsyncClient.java index 8b3caf31cb..9739a5ff9c 100644 --- a/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/SharedModelInOperationAsyncClient.java +++ b/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/SharedModelInOperationAsyncClient.java @@ -48,7 +48,9 @@ public final class SharedModelInOperationAsyncClient { * } * } * - * @param name The name parameter. + * @param name A sequence of textual characters. + * + * The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -73,7 +75,9 @@ public Mono> publicMethodWithResponse(String name, RequestO * } * } * - * @param name The name parameter. + * @param name A sequence of textual characters. + * + * The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -91,7 +95,9 @@ Mono> internalWithResponse(String name, RequestOptions requ /** * The publicMethod operation. * - * @param name The name parameter. + * @param name A sequence of textual characters. + * + * The name parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -112,7 +118,9 @@ public Mono publicMethod(String name) { /** * The internal operation. * - * @param name The name parameter. + * @param name A sequence of textual characters. + * + * The name parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/SharedModelInOperationClient.java b/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/SharedModelInOperationClient.java index dd99a503de..a8cb1d9f5a 100644 --- a/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/SharedModelInOperationClient.java +++ b/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/SharedModelInOperationClient.java @@ -46,7 +46,9 @@ public final class SharedModelInOperationClient { * } * } * - * @param name The name parameter. + * @param name A sequence of textual characters. + * + * The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -70,7 +72,9 @@ public Response publicMethodWithResponse(String name, RequestOptions * } * } * - * @param name The name parameter. + * @param name A sequence of textual characters. + * + * The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -87,7 +91,9 @@ Response internalWithResponse(String name, RequestOptions requestOpt /** * The publicMethod operation. * - * @param name The name parameter. + * @param name A sequence of textual characters. + * + * The name parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -107,7 +113,9 @@ public SharedModel publicMethod(String name) { /** * The internal operation. * - * @param name The name parameter. + * @param name A sequence of textual characters. + * + * The name parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/implementation/InternalOperationsImpl.java b/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/implementation/InternalOperationsImpl.java index 1f546b3b79..09ced9f0e2 100644 --- a/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/implementation/InternalOperationsImpl.java +++ b/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/implementation/InternalOperationsImpl.java @@ -122,7 +122,9 @@ Response publicDecoratorInInternalSync(@QueryParam("name") String na * } * } * - * @param name The name parameter. + * @param name A sequence of textual characters. + * + * The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -148,7 +150,9 @@ public Mono> noDecoratorInInternalWithResponseAsync(String * } * } * - * @param name The name parameter. + * @param name A sequence of textual characters. + * + * The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -172,7 +176,9 @@ public Response noDecoratorInInternalWithResponse(String name, Reque * } * } * - * @param name The name parameter. + * @param name A sequence of textual characters. + * + * The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -199,7 +205,9 @@ public Mono> internalDecoratorInInternalWithResponseAsync(S * } * } * - * @param name The name parameter. + * @param name A sequence of textual characters. + * + * The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -223,7 +231,9 @@ public Response internalDecoratorInInternalWithResponse(String name, * } * } * - * @param name The name parameter. + * @param name A sequence of textual characters. + * + * The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -250,7 +260,9 @@ public Mono> publicDecoratorInInternalWithResponseAsync(Str * } * } * - * @param name The name parameter. + * @param name A sequence of textual characters. + * + * The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/implementation/PublicOperationsImpl.java b/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/implementation/PublicOperationsImpl.java index 3c5b2aec41..2e1f0457a5 100644 --- a/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/implementation/PublicOperationsImpl.java +++ b/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/implementation/PublicOperationsImpl.java @@ -104,7 +104,9 @@ Response publicDecoratorInPublicSync(@QueryParam("name") String name * } * } * - * @param name The name parameter. + * @param name A sequence of textual characters. + * + * The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -129,7 +131,9 @@ public Mono> noDecoratorInPublicWithResponseAsync(String na * } * } * - * @param name The name parameter. + * @param name A sequence of textual characters. + * + * The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -153,7 +157,9 @@ public Response noDecoratorInPublicWithResponse(String name, Request * } * } * - * @param name The name parameter. + * @param name A sequence of textual characters. + * + * The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -179,7 +185,9 @@ public Mono> publicDecoratorInPublicWithResponseAsync(Strin * } * } * - * @param name The name parameter. + * @param name A sequence of textual characters. + * + * The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/implementation/RelativeModelInOperationsImpl.java b/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/implementation/RelativeModelInOperationsImpl.java index ecd6b80784..ed9512b934 100644 --- a/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/implementation/RelativeModelInOperationsImpl.java +++ b/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/implementation/RelativeModelInOperationsImpl.java @@ -117,7 +117,9 @@ Response discriminatorSync(@QueryParam("kind") String kind, @HeaderP * } * } * - * @param name The name parameter. + * @param name A sequence of textual characters. + * + * The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -155,7 +157,9 @@ public Mono> operationWithResponseAsync(String name, Reques * } * } * - * @param name The name parameter. + * @param name A sequence of textual characters. + * + * The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -187,7 +191,9 @@ public Response operationWithResponse(String name, RequestOptions re * } * } * - * @param kind The kind parameter. + * @param kind A sequence of textual characters. + * + * The kind parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -220,7 +226,9 @@ public Mono> discriminatorWithResponseAsync(String kind, Re * } * } * - * @param kind The kind parameter. + * @param kind A sequence of textual characters. + * + * The kind parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/implementation/SharedModelInOperationsImpl.java b/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/implementation/SharedModelInOperationsImpl.java index cd3684b45b..59cfadde2d 100644 --- a/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/implementation/SharedModelInOperationsImpl.java +++ b/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/implementation/SharedModelInOperationsImpl.java @@ -104,7 +104,9 @@ Response internalSync(@QueryParam("name") String name, @HeaderParam( * } * } * - * @param name The name parameter. + * @param name A sequence of textual characters. + * + * The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -129,7 +131,9 @@ public Mono> publicMethodWithResponseAsync(String name, Req * } * } * - * @param name The name parameter. + * @param name A sequence of textual characters. + * + * The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -153,7 +157,9 @@ public Response publicMethodWithResponse(String name, RequestOptions * } * } * - * @param name The name parameter. + * @param name A sequence of textual characters. + * + * The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -178,7 +184,9 @@ public Mono> internalWithResponseAsync(String name, Request * } * } * - * @param name The name parameter. + * @param name A sequence of textual characters. + * + * The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/implementation/models/OuterModel.java b/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/implementation/models/OuterModel.java index 3e81a845fc..cbf47de82c 100644 --- a/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/implementation/models/OuterModel.java +++ b/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/implementation/models/OuterModel.java @@ -17,7 +17,7 @@ @Immutable public final class OuterModel extends BaseModel { /* - * The inner property. + * Used in internal operations, should be generated but not exported. */ @Generated private final InnerModel inner; @@ -35,7 +35,7 @@ private OuterModel(String name, InnerModel inner) { } /** - * Get the inner property: The inner property. + * Get the inner property: Used in internal operations, should be generated but not exported. * * @return the inner value. */ diff --git a/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/usage/UsageAsyncClient.java b/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/usage/UsageAsyncClient.java index f1723753c8..473554c499 100644 --- a/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/usage/UsageAsyncClient.java +++ b/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/usage/UsageAsyncClient.java @@ -55,6 +55,8 @@ public final class UsageAsyncClient { * } * * @param body Usage override to roundtrip. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -105,6 +107,8 @@ public Mono> outputToInputOutputWithResponse(RequestOptions * ```. * * @param body Usage override to roundtrip. + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/usage/UsageClient.java b/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/usage/UsageClient.java index 34b8dbaee1..18e90f77a7 100644 --- a/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/usage/UsageClient.java +++ b/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/usage/UsageClient.java @@ -53,6 +53,8 @@ public final class UsageClient { * } * * @param body Usage override to roundtrip. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -103,6 +105,8 @@ public Response outputToInputOutputWithResponse(RequestOptions reque * ```. * * @param body Usage override to roundtrip. + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/usage/implementation/ModelInOperationsImpl.java b/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/usage/implementation/ModelInOperationsImpl.java index 9c1e929e25..4644e57fb3 100644 --- a/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/usage/implementation/ModelInOperationsImpl.java +++ b/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/usage/implementation/ModelInOperationsImpl.java @@ -111,6 +111,8 @@ Response outputToInputOutputSync(@HeaderParam("accept") String accep * } * * @param body Usage override to roundtrip. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -140,6 +142,8 @@ public Mono> inputToInputOutputWithResponseAsync(BinaryData body, * } * * @param body Usage override to roundtrip. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/_specs_/azure/core/basic/BasicAsyncClient.java b/typespec-tests/src/main/java/com/_specs_/azure/core/basic/BasicAsyncClient.java index da8c688f25..5f77b01bc1 100644 --- a/typespec-tests/src/main/java/com/_specs_/azure/core/basic/BasicAsyncClient.java +++ b/typespec-tests/src/main/java/com/_specs_/azure/core/basic/BasicAsyncClient.java @@ -85,8 +85,12 @@ public final class BasicAsyncClient { * } * } * - * @param id The user's id. - * @param resource The resource instance. + * @param id A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) + * + * The id parameter. + * @param resource Details about a user. + * + * The resource parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -139,8 +143,12 @@ public Mono> createOrUpdateWithResponse(int id, BinaryData * } * } * - * @param id The user's id. - * @param resource The resource instance. + * @param id A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) + * + * The id parameter. + * @param resource Details about a user. + * + * The resource parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -176,7 +184,9 @@ public Mono> createOrReplaceWithResponse(int id, BinaryData * } * } * - * @param id The user's id. + * @param id A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) + * + * The id parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -198,16 +208,24 @@ public Mono> getWithResponse(int id, RequestOptions request * * * - * - * - * - * - * - * - * + * + * + * + * + * + * + * *
Query Parameters
NameTypeRequiredDescription
topIntegerNoThe number of result items to return.
skipIntegerNoThe number of result items to skip.
maxpagesizeIntegerNoThe maximum number of result items per page.
orderbyList<String>NoExpressions that specify the order of returned - * results. Call {@link RequestOptions#addQueryParam} to add string to array.
filterStringNoFilter the result list using the given expression.
selectList<String>NoSelect the specified fields to be included in the - * response. Call {@link RequestOptions#addQueryParam} to add string to array.
expandList<String>NoExpand the indicated resources into the response. - * Call {@link RequestOptions#addQueryParam} to add string to array.
topIntegerNoA 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) + * + * The top parameter
skipIntegerNoA 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) + * + * The skip parameter
maxpagesizeIntegerNoA 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) + * + * The maxPageSize parameter
orderbyList<String>NoThe orderBy parameter. Call + * {@link RequestOptions#addQueryParam} to add string to array.
filterStringNoA sequence of textual characters. + * + * The filter parameter
selectList<String>NoThe select parameter. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expandList<String>NoThe expand parameter. Call + * {@link RequestOptions#addQueryParam} to add string to array.
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

@@ -278,8 +296,9 @@ public PagedFlux listWithPage(RequestOptions requestOptions) { * * * - * + * *
Query Parameters
NameTypeRequiredDescription
anotherStringNoAnother query parameter. Allowed values: "First", - * "Second".
anotherStringNoAn extensible enum input parameter. + * + * The another parameter. Allowed values: "First", "Second".
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Request Body Schema

@@ -308,6 +327,8 @@ public PagedFlux listWithPage(RequestOptions requestOptions) { * } * * @param bodyInput The body of the input. + * + * The bodyInput parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -358,7 +379,9 @@ public PagedFlux listWithCustomPageModel(RequestOptions requestOptio * * Deletes a User. * - * @param id The user's id. + * @param id A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) + * + * The id parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -393,8 +416,12 @@ public Mono> deleteWithResponse(int id, RequestOptions requestOpt * } * } * - * @param id The user's id. - * @param format The format of the data. + * @param id A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) + * + * The id parameter. + * @param format A sequence of textual characters. + * + * The format parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -413,8 +440,12 @@ public Mono> exportWithResponse(int id, String format, Requ * * Creates or updates a User. * - * @param id The user's id. - * @param resource The resource instance. + * @param id A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) + * + * The id parameter. + * @param resource Details about a user. + * + * The resource parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -440,8 +471,12 @@ public Mono createOrUpdate(int id, User resource) { * * Creates or replaces a User. * - * @param id The user's id. - * @param resource The resource instance. + * @param id A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) + * + * The id parameter. + * @param resource Details about a user. + * + * The resource parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -465,7 +500,9 @@ public Mono createOrReplace(int id, User resource) { * * Gets a User. * - * @param id The user's id. + * @param id A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) + * + * The id parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -488,12 +525,18 @@ public Mono get(int id) { * * Lists all Users. * - * @param top The number of result items to return. - * @param skip The number of result items to skip. - * @param orderBy Expressions that specify the order of returned results. - * @param filter Filter the result list using the given expression. - * @param select Select the specified fields to be included in the response. - * @param expand Expand the indicated resources into the response. + * @param top A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) + * + * The top parameter. + * @param skip A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) + * + * The skip parameter. + * @param orderBy The orderBy parameter. + * @param filter A sequence of textual characters. + * + * The filter parameter. + * @param select The select parameter. + * @param expand The expand parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -619,7 +662,11 @@ public PagedFlux listWithPage() { * List with extensible enum parameter Azure.Core.Page<>. * * @param bodyInput The body of the input. - * @param another Another query parameter. + * + * The bodyInput parameter. + * @param another An extensible enum input parameter. + * + * The another parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -655,6 +702,8 @@ public PagedFlux listWithParameters(ListItemInputBody bodyInput, ListItemI * List with extensible enum parameter Azure.Core.Page<>. * * @param bodyInput The body of the input. + * + * The bodyInput parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -718,7 +767,9 @@ public PagedFlux listWithCustomPageModel() { * * Deletes a User. * - * @param id The user's id. + * @param id A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) + * + * The id parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -740,8 +791,12 @@ public Mono delete(int id) { * * Exports a User. * - * @param id The user's id. - * @param format The format of the data. + * @param id A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) + * + * The id parameter. + * @param format A sequence of textual characters. + * + * The format parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/_specs_/azure/core/basic/BasicClient.java b/typespec-tests/src/main/java/com/_specs_/azure/core/basic/BasicClient.java index b790b5d259..a58a7e7a8d 100644 --- a/typespec-tests/src/main/java/com/_specs_/azure/core/basic/BasicClient.java +++ b/typespec-tests/src/main/java/com/_specs_/azure/core/basic/BasicClient.java @@ -79,8 +79,12 @@ public final class BasicClient { * } * } * - * @param id The user's id. - * @param resource The resource instance. + * @param id A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) + * + * The id parameter. + * @param resource Details about a user. + * + * The resource parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -132,8 +136,12 @@ public Response createOrUpdateWithResponse(int id, BinaryData resour * } * } * - * @param id The user's id. - * @param resource The resource instance. + * @param id A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) + * + * The id parameter. + * @param resource Details about a user. + * + * The resource parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -169,7 +177,9 @@ public Response createOrReplaceWithResponse(int id, BinaryData resou * } * } * - * @param id The user's id. + * @param id A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) + * + * The id parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -191,16 +201,24 @@ public Response getWithResponse(int id, RequestOptions requestOption * * * - * - * - * - * - * - * - * + * + * + * + * + * + * + * *
Query Parameters
NameTypeRequiredDescription
topIntegerNoThe number of result items to return.
skipIntegerNoThe number of result items to skip.
maxpagesizeIntegerNoThe maximum number of result items per page.
orderbyList<String>NoExpressions that specify the order of returned - * results. Call {@link RequestOptions#addQueryParam} to add string to array.
filterStringNoFilter the result list using the given expression.
selectList<String>NoSelect the specified fields to be included in the - * response. Call {@link RequestOptions#addQueryParam} to add string to array.
expandList<String>NoExpand the indicated resources into the response. - * Call {@link RequestOptions#addQueryParam} to add string to array.
topIntegerNoA 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) + * + * The top parameter
skipIntegerNoA 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) + * + * The skip parameter
maxpagesizeIntegerNoA 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) + * + * The maxPageSize parameter
orderbyList<String>NoThe orderBy parameter. Call + * {@link RequestOptions#addQueryParam} to add string to array.
filterStringNoA sequence of textual characters. + * + * The filter parameter
selectList<String>NoThe select parameter. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expandList<String>NoThe expand parameter. Call + * {@link RequestOptions#addQueryParam} to add string to array.
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

@@ -271,8 +289,9 @@ public PagedIterable listWithPage(RequestOptions requestOptions) { * * * - * + * *
Query Parameters
NameTypeRequiredDescription
anotherStringNoAnother query parameter. Allowed values: "First", - * "Second".
anotherStringNoAn extensible enum input parameter. + * + * The another parameter. Allowed values: "First", "Second".
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Request Body Schema

@@ -301,6 +320,8 @@ public PagedIterable listWithPage(RequestOptions requestOptions) { * } * * @param bodyInput The body of the input. + * + * The bodyInput parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -351,7 +372,9 @@ public PagedIterable listWithCustomPageModel(RequestOptions requestO * * Deletes a User. * - * @param id The user's id. + * @param id A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) + * + * The id parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -386,8 +409,12 @@ public Response deleteWithResponse(int id, RequestOptions requestOptions) * } * } * - * @param id The user's id. - * @param format The format of the data. + * @param id A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) + * + * The id parameter. + * @param format A sequence of textual characters. + * + * The format parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -406,8 +433,12 @@ public Response exportWithResponse(int id, String format, RequestOpt * * Creates or updates a User. * - * @param id The user's id. - * @param resource The resource instance. + * @param id A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) + * + * The id parameter. + * @param resource Details about a user. + * + * The resource parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -432,8 +463,12 @@ public User createOrUpdate(int id, User resource) { * * Creates or replaces a User. * - * @param id The user's id. - * @param resource The resource instance. + * @param id A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) + * + * The id parameter. + * @param resource Details about a user. + * + * The resource parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -456,7 +491,9 @@ public User createOrReplace(int id, User resource) { * * Gets a User. * - * @param id The user's id. + * @param id A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) + * + * The id parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -478,12 +515,18 @@ public User get(int id) { * * Lists all Users. * - * @param top The number of result items to return. - * @param skip The number of result items to skip. - * @param orderBy Expressions that specify the order of returned results. - * @param filter Filter the result list using the given expression. - * @param select Select the specified fields to be included in the response. - * @param expand Expand the indicated resources into the response. + * @param top A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) + * + * The top parameter. + * @param skip A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) + * + * The skip parameter. + * @param orderBy The orderBy parameter. + * @param filter A sequence of textual characters. + * + * The filter parameter. + * @param select The select parameter. + * @param expand The expand parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -573,7 +616,11 @@ public PagedIterable listWithPage() { * List with extensible enum parameter Azure.Core.Page<>. * * @param bodyInput The body of the input. - * @param another Another query parameter. + * + * The bodyInput parameter. + * @param another An extensible enum input parameter. + * + * The another parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -598,6 +645,8 @@ public PagedIterable listWithParameters(ListItemInputBody bodyInput, ListI * List with extensible enum parameter Azure.Core.Page<>. * * @param bodyInput The body of the input. + * + * The bodyInput parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -639,7 +688,9 @@ public PagedIterable listWithCustomPageModel() { * * Deletes a User. * - * @param id The user's id. + * @param id A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) + * + * The id parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -660,8 +711,12 @@ public void delete(int id) { * * Exports a User. * - * @param id The user's id. - * @param format The format of the data. + * @param id A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) + * + * The id parameter. + * @param format A sequence of textual characters. + * + * The format parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/_specs_/azure/core/basic/implementation/BasicClientImpl.java b/typespec-tests/src/main/java/com/_specs_/azure/core/basic/implementation/BasicClientImpl.java index 55e91e7be6..efb5477b4c 100644 --- a/typespec-tests/src/main/java/com/_specs_/azure/core/basic/implementation/BasicClientImpl.java +++ b/typespec-tests/src/main/java/com/_specs_/azure/core/basic/implementation/BasicClientImpl.java @@ -439,8 +439,12 @@ Response listWithCustomPageModelNextSync( * } * } * - * @param id The user's id. - * @param resource The resource instance. + * @param id A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) + * + * The id parameter. + * @param resource Details about a user. + * + * The resource parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -495,8 +499,12 @@ public Mono> createOrUpdateWithResponseAsync(int id, Binary * } * } * - * @param id The user's id. - * @param resource The resource instance. + * @param id A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) + * + * The id parameter. + * @param resource Details about a user. + * + * The resource parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -550,8 +558,12 @@ public Response createOrUpdateWithResponse(int id, BinaryData resour * } * } * - * @param id The user's id. - * @param resource The resource instance. + * @param id A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) + * + * The id parameter. + * @param resource Details about a user. + * + * The resource parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -605,8 +617,12 @@ public Mono> createOrReplaceWithResponseAsync(int id, Binar * } * } * - * @param id The user's id. - * @param resource The resource instance. + * @param id A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) + * + * The id parameter. + * @param resource Details about a user. + * + * The resource parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -643,7 +659,9 @@ public Response createOrReplaceWithResponse(int id, BinaryData resou * } * } * - * @param id The user's id. + * @param id A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) + * + * The id parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -679,7 +697,9 @@ public Mono> getWithResponseAsync(int id, RequestOptions re * } * } * - * @param id The user's id. + * @param id A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) + * + * The id parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -701,16 +721,24 @@ public Response getWithResponse(int id, RequestOptions requestOption * * * - * - * - * - * - * - * - * + * + * + * + * + * + * + * *
Query Parameters
NameTypeRequiredDescription
topIntegerNoThe number of result items to return.
skipIntegerNoThe number of result items to skip.
maxpagesizeIntegerNoThe maximum number of result items per page.
orderbyList<String>NoExpressions that specify the order of returned - * results. Call {@link RequestOptions#addQueryParam} to add string to array.
filterStringNoFilter the result list using the given expression.
selectList<String>NoSelect the specified fields to be included in the - * response. Call {@link RequestOptions#addQueryParam} to add string to array.
expandList<String>NoExpand the indicated resources into the response. - * Call {@link RequestOptions#addQueryParam} to add string to array.
topIntegerNoA 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) + * + * The top parameter
skipIntegerNoA 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) + * + * The skip parameter
maxpagesizeIntegerNoA 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) + * + * The maxPageSize parameter
orderbyList<String>NoThe orderBy parameter. Call + * {@link RequestOptions#addQueryParam} to add string to array.
filterStringNoA sequence of textual characters. + * + * The filter parameter
selectList<String>NoThe select parameter. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expandList<String>NoThe expand parameter. Call + * {@link RequestOptions#addQueryParam} to add string to array.
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

@@ -755,16 +783,24 @@ private Mono> listSinglePageAsync(RequestOptions reque * * * - * - * - * - * - * - * - * + * + * + * + * + * + * + * *
Query Parameters
NameTypeRequiredDescription
topIntegerNoThe number of result items to return.
skipIntegerNoThe number of result items to skip.
maxpagesizeIntegerNoThe maximum number of result items per page.
orderbyList<String>NoExpressions that specify the order of returned - * results. Call {@link RequestOptions#addQueryParam} to add string to array.
filterStringNoFilter the result list using the given expression.
selectList<String>NoSelect the specified fields to be included in the - * response. Call {@link RequestOptions#addQueryParam} to add string to array.
expandList<String>NoExpand the indicated resources into the response. - * Call {@link RequestOptions#addQueryParam} to add string to array.
topIntegerNoA 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) + * + * The top parameter
skipIntegerNoA 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) + * + * The skip parameter
maxpagesizeIntegerNoA 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) + * + * The maxPageSize parameter
orderbyList<String>NoThe orderBy parameter. Call + * {@link RequestOptions#addQueryParam} to add string to array.
filterStringNoA sequence of textual characters. + * + * The filter parameter
selectList<String>NoThe select parameter. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expandList<String>NoThe expand parameter. Call + * {@link RequestOptions#addQueryParam} to add string to array.
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

@@ -828,16 +864,24 @@ public PagedFlux listAsync(RequestOptions requestOptions) { * * * - * - * - * - * - * - * - * + * + * + * + * + * + * + * *
Query Parameters
NameTypeRequiredDescription
topIntegerNoThe number of result items to return.
skipIntegerNoThe number of result items to skip.
maxpagesizeIntegerNoThe maximum number of result items per page.
orderbyList<String>NoExpressions that specify the order of returned - * results. Call {@link RequestOptions#addQueryParam} to add string to array.
filterStringNoFilter the result list using the given expression.
selectList<String>NoSelect the specified fields to be included in the - * response. Call {@link RequestOptions#addQueryParam} to add string to array.
expandList<String>NoExpand the indicated resources into the response. - * Call {@link RequestOptions#addQueryParam} to add string to array.
topIntegerNoA 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) + * + * The top parameter
skipIntegerNoA 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) + * + * The skip parameter
maxpagesizeIntegerNoA 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) + * + * The maxPageSize parameter
orderbyList<String>NoThe orderBy parameter. Call + * {@link RequestOptions#addQueryParam} to add string to array.
filterStringNoA sequence of textual characters. + * + * The filter parameter
selectList<String>NoThe select parameter. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expandList<String>NoThe expand parameter. Call + * {@link RequestOptions#addQueryParam} to add string to array.
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

@@ -881,16 +925,24 @@ private PagedResponse listSinglePage(RequestOptions requestOptions) * * * - * - * - * - * - * - * - * + * + * + * + * + * + * + * *
Query Parameters
NameTypeRequiredDescription
topIntegerNoThe number of result items to return.
skipIntegerNoThe number of result items to skip.
maxpagesizeIntegerNoThe maximum number of result items per page.
orderbyList<String>NoExpressions that specify the order of returned - * results. Call {@link RequestOptions#addQueryParam} to add string to array.
filterStringNoFilter the result list using the given expression.
selectList<String>NoSelect the specified fields to be included in the - * response. Call {@link RequestOptions#addQueryParam} to add string to array.
expandList<String>NoExpand the indicated resources into the response. - * Call {@link RequestOptions#addQueryParam} to add string to array.
topIntegerNoA 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) + * + * The top parameter
skipIntegerNoA 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) + * + * The skip parameter
maxpagesizeIntegerNoA 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) + * + * The maxPageSize parameter
orderbyList<String>NoThe orderBy parameter. Call + * {@link RequestOptions#addQueryParam} to add string to array.
filterStringNoA sequence of textual characters. + * + * The filter parameter
selectList<String>NoThe select parameter. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expandList<String>NoThe expand parameter. Call + * {@link RequestOptions#addQueryParam} to add string to array.
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

@@ -1093,8 +1145,9 @@ public PagedIterable listWithPage(RequestOptions requestOptions) { * * * - * + * *
Query Parameters
NameTypeRequiredDescription
anotherStringNoAnother query parameter. Allowed values: "First", - * "Second".
anotherStringNoAn extensible enum input parameter. + * + * The another parameter. Allowed values: "First", "Second".
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Request Body Schema

@@ -1123,6 +1176,8 @@ public PagedIterable listWithPage(RequestOptions requestOptions) { * } * * @param bodyInput The body of the input. + * + * The bodyInput parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1147,8 +1202,9 @@ private Mono> listWithParametersSinglePageAsync(Binary * * * - * + * *
Query Parameters
NameTypeRequiredDescription
anotherStringNoAnother query parameter. Allowed values: "First", - * "Second".
anotherStringNoAn extensible enum input parameter. + * + * The another parameter. Allowed values: "First", "Second".
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Request Body Schema

@@ -1177,6 +1233,8 @@ private Mono> listWithParametersSinglePageAsync(Binary * } * * @param bodyInput The body of the input. + * + * The bodyInput parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1199,8 +1257,9 @@ public PagedFlux listWithParametersAsync(BinaryData bodyInput, Reque * * * - * + * *
Query Parameters
NameTypeRequiredDescription
anotherStringNoAnother query parameter. Allowed values: "First", - * "Second".
anotherStringNoAn extensible enum input parameter. + * + * The another parameter. Allowed values: "First", "Second".
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Request Body Schema

@@ -1229,6 +1288,8 @@ public PagedFlux listWithParametersAsync(BinaryData bodyInput, Reque * } * * @param bodyInput The body of the input. + * + * The bodyInput parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1252,8 +1313,9 @@ private PagedResponse listWithParametersSinglePage(BinaryData bodyIn * * * - * + * *
Query Parameters
NameTypeRequiredDescription
anotherStringNoAnother query parameter. Allowed values: "First", - * "Second".
anotherStringNoAn extensible enum input parameter. + * + * The another parameter. Allowed values: "First", "Second".
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Request Body Schema

@@ -1282,6 +1344,8 @@ private PagedResponse listWithParametersSinglePage(BinaryData bodyIn * } * * @param bodyInput The body of the input. + * + * The bodyInput parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1444,7 +1508,9 @@ public PagedIterable listWithCustomPageModel(RequestOptions requestO * * Deletes a User. * - * @param id The user's id. + * @param id A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) + * + * The id parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1464,7 +1530,9 @@ public Mono> deleteWithResponseAsync(int id, RequestOptions reque * * Deletes a User. * - * @param id The user's id. + * @param id A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) + * + * The id parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1499,8 +1567,12 @@ public Response deleteWithResponse(int id, RequestOptions requestOptions) * } * } * - * @param id The user's id. - * @param format The format of the data. + * @param id A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) + * + * The id parameter. + * @param format A sequence of textual characters. + * + * The format parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1536,8 +1608,12 @@ public Mono> exportWithResponseAsync(int id, String format, * } * } * - * @param id The user's id. - * @param format The format of the data. + * @param id A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) + * + * The id parameter. + * @param format A sequence of textual characters. + * + * The format parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/_specs_/azure/core/basic/models/FirstItem.java b/typespec-tests/src/main/java/com/_specs_/azure/core/basic/models/FirstItem.java index 7dc990e8b8..615a4299dc 100644 --- a/typespec-tests/src/main/java/com/_specs_/azure/core/basic/models/FirstItem.java +++ b/typespec-tests/src/main/java/com/_specs_/azure/core/basic/models/FirstItem.java @@ -18,8 +18,6 @@ @Immutable public final class FirstItem implements JsonSerializable { /* - * A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) - * * The id of the item. */ @Generated @@ -33,9 +31,7 @@ private FirstItem() { } /** - * Get the id property: A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) - * - * The id of the item. + * Get the id property: The id of the item. * * @return the id value. */ diff --git a/typespec-tests/src/main/java/com/_specs_/azure/core/basic/models/ListItemInputBody.java b/typespec-tests/src/main/java/com/_specs_/azure/core/basic/models/ListItemInputBody.java index cb41a23c6e..564eaf93ec 100644 --- a/typespec-tests/src/main/java/com/_specs_/azure/core/basic/models/ListItemInputBody.java +++ b/typespec-tests/src/main/java/com/_specs_/azure/core/basic/models/ListItemInputBody.java @@ -18,8 +18,6 @@ @Immutable public final class ListItemInputBody implements JsonSerializable { /* - * A sequence of textual characters. - * * The name of the input. */ @Generated @@ -36,9 +34,7 @@ public ListItemInputBody(String inputName) { } /** - * Get the inputName property: A sequence of textual characters. - * - * The name of the input. + * Get the inputName property: The name of the input. * * @return the inputName value. */ diff --git a/typespec-tests/src/main/java/com/_specs_/azure/core/basic/models/SecondItem.java b/typespec-tests/src/main/java/com/_specs_/azure/core/basic/models/SecondItem.java index 2d43996478..fa733e229e 100644 --- a/typespec-tests/src/main/java/com/_specs_/azure/core/basic/models/SecondItem.java +++ b/typespec-tests/src/main/java/com/_specs_/azure/core/basic/models/SecondItem.java @@ -18,8 +18,6 @@ @Immutable public final class SecondItem implements JsonSerializable { /* - * A sequence of textual characters. - * * The name of the item. */ @Generated @@ -33,9 +31,7 @@ private SecondItem() { } /** - * Get the name property: A sequence of textual characters. - * - * The name of the item. + * Get the name property: The name of the item. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/_specs_/azure/core/basic/models/User.java b/typespec-tests/src/main/java/com/_specs_/azure/core/basic/models/User.java index 0ef4d88df9..ce4a45f53f 100644 --- a/typespec-tests/src/main/java/com/_specs_/azure/core/basic/models/User.java +++ b/typespec-tests/src/main/java/com/_specs_/azure/core/basic/models/User.java @@ -22,16 +22,12 @@ @Fluent public final class User implements JsonSerializable { /* - * A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) - * * The user's id. */ @Generated private int id; /* - * A sequence of textual characters. - * * The user's name. */ @Generated @@ -44,11 +40,6 @@ public final class User implements JsonSerializable { private List orders; /* - * The ETag (or entity tag) HTTP response header is an identifier for a specific version of a resource. - * It lets caches be more efficient and save bandwidth, as a web server does not need to resend a full response if the content was not changed. - * - * It is a string of ASCII characters placed between double quotes, like "675af34563dc-tr34". - * * The entity tag for this resource. */ @Generated @@ -83,9 +74,7 @@ public User() { } /** - * Get the id property: A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) - * - * The user's id. + * Get the id property: The user's id. * * @return the id value. */ @@ -95,9 +84,7 @@ public int getId() { } /** - * Get the name property: A sequence of textual characters. - * - * The user's name. + * Get the name property: The user's name. * * @return the name value. */ @@ -107,9 +94,7 @@ public String getName() { } /** - * Set the name property: A sequence of textual characters. - * - * The user's name. + * Set the name property: The user's name. *

Required when create the resource.

* * @param name the name value to set. @@ -146,14 +131,7 @@ public User setOrders(List orders) { } /** - * Get the etag property: The ETag (or entity tag) HTTP response header is an identifier for a specific version of a - * resource. - * It lets caches be more efficient and save bandwidth, as a web server does not need to resend a full response if - * the content was not changed. - * - * It is a string of ASCII characters placed between double quotes, like "675af34563dc-tr34". - * - * The entity tag for this resource. + * Get the etag property: The entity tag for this resource. * * @return the etag value. */ diff --git a/typespec-tests/src/main/java/com/_specs_/azure/core/basic/models/UserOrder.java b/typespec-tests/src/main/java/com/_specs_/azure/core/basic/models/UserOrder.java index 929a2d2600..cd3dee8165 100644 --- a/typespec-tests/src/main/java/com/_specs_/azure/core/basic/models/UserOrder.java +++ b/typespec-tests/src/main/java/com/_specs_/azure/core/basic/models/UserOrder.java @@ -21,24 +21,18 @@ @Fluent public final class UserOrder implements JsonSerializable { /* - * A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) - * * The user's id. */ @Generated private int id; /* - * A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) - * * The user's id. */ @Generated private int userId; /* - * A sequence of textual characters. - * * The user's order detail */ @Generated @@ -73,9 +67,7 @@ public UserOrder() { } /** - * Get the id property: A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) - * - * The user's id. + * Get the id property: The user's id. * * @return the id value. */ @@ -85,9 +77,7 @@ public int getId() { } /** - * Get the userId property: A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) - * - * The user's id. + * Get the userId property: The user's id. * * @return the userId value. */ @@ -97,9 +87,7 @@ public int getUserId() { } /** - * Set the userId property: A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) - * - * The user's id. + * Set the userId property: The user's id. *

Required when create the resource.

* * @param userId the userId value to set. @@ -113,9 +101,7 @@ public UserOrder setUserId(int userId) { } /** - * Get the detail property: A sequence of textual characters. - * - * The user's order detail. + * Get the detail property: The user's order detail. * * @return the detail value. */ @@ -125,9 +111,7 @@ public String getDetail() { } /** - * Set the detail property: A sequence of textual characters. - * - * The user's order detail. + * Set the detail property: The user's order detail. *

Required when create the resource.

* * @param detail the detail value to set. diff --git a/typespec-tests/src/main/java/com/_specs_/azure/core/lro/rpc/RpcAsyncClient.java b/typespec-tests/src/main/java/com/_specs_/azure/core/lro/rpc/RpcAsyncClient.java index 16014af6d4..5bb04d3e4e 100644 --- a/typespec-tests/src/main/java/com/_specs_/azure/core/lro/rpc/RpcAsyncClient.java +++ b/typespec-tests/src/main/java/com/_specs_/azure/core/lro/rpc/RpcAsyncClient.java @@ -66,6 +66,8 @@ public final class RpcAsyncClient { * } * * @param generationOptions Options for the generation. + * + * The generationOptions parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -84,6 +86,8 @@ public PollerFlux beginLongRunningRpc(BinaryData generat * Generate data. * * @param generationOptions Options for the generation. + * + * The generationOptions parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/_specs_/azure/core/lro/rpc/RpcClient.java b/typespec-tests/src/main/java/com/_specs_/azure/core/lro/rpc/RpcClient.java index 7505ac39d3..a10779c5ee 100644 --- a/typespec-tests/src/main/java/com/_specs_/azure/core/lro/rpc/RpcClient.java +++ b/typespec-tests/src/main/java/com/_specs_/azure/core/lro/rpc/RpcClient.java @@ -66,6 +66,8 @@ public final class RpcClient { * } * * @param generationOptions Options for the generation. + * + * The generationOptions parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -84,6 +86,8 @@ public SyncPoller beginLongRunningRpc(BinaryData generat * Generate data. * * @param generationOptions Options for the generation. + * + * The generationOptions parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/_specs_/azure/core/lro/rpc/implementation/RpcClientImpl.java b/typespec-tests/src/main/java/com/_specs_/azure/core/lro/rpc/implementation/RpcClientImpl.java index 7f234f5881..bfd34ad4df 100644 --- a/typespec-tests/src/main/java/com/_specs_/azure/core/lro/rpc/implementation/RpcClientImpl.java +++ b/typespec-tests/src/main/java/com/_specs_/azure/core/lro/rpc/implementation/RpcClientImpl.java @@ -181,6 +181,8 @@ Response longRunningRpcSync(@QueryParam("api-version") String apiVer * } * * @param generationOptions Options for the generation. + * + * The generationOptions parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -225,6 +227,8 @@ private Mono> longRunningRpcWithResponseAsync(BinaryData ge * } * * @param generationOptions Options for the generation. + * + * The generationOptions parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -268,6 +272,8 @@ private Response longRunningRpcWithResponse(BinaryData generationOpt * } * * @param generationOptions Options for the generation. + * + * The generationOptions parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -318,6 +324,8 @@ public PollerFlux beginLongRunningRpcAsync(BinaryData ge * } * * @param generationOptions Options for the generation. + * + * The generationOptions parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -368,6 +376,8 @@ public SyncPoller beginLongRunningRpc(BinaryData generat * } * * @param generationOptions Options for the generation. + * + * The generationOptions parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -419,6 +429,8 @@ public SyncPoller beginLongRunningRpc(BinaryData generat * } * * @param generationOptions Options for the generation. + * + * The generationOptions parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/_specs_/azure/core/lro/rpc/models/GenerationOptions.java b/typespec-tests/src/main/java/com/_specs_/azure/core/lro/rpc/models/GenerationOptions.java index 3df5502d9e..ff3ba790ac 100644 --- a/typespec-tests/src/main/java/com/_specs_/azure/core/lro/rpc/models/GenerationOptions.java +++ b/typespec-tests/src/main/java/com/_specs_/azure/core/lro/rpc/models/GenerationOptions.java @@ -18,8 +18,6 @@ @Immutable public final class GenerationOptions implements JsonSerializable { /* - * A sequence of textual characters. - * * Prompt. */ @Generated @@ -36,9 +34,7 @@ public GenerationOptions(String prompt) { } /** - * Get the prompt property: A sequence of textual characters. - * - * Prompt. + * Get the prompt property: Prompt. * * @return the prompt value. */ diff --git a/typespec-tests/src/main/java/com/_specs_/azure/core/lro/rpc/models/GenerationResult.java b/typespec-tests/src/main/java/com/_specs_/azure/core/lro/rpc/models/GenerationResult.java index 0bd41a5483..f2c3f42526 100644 --- a/typespec-tests/src/main/java/com/_specs_/azure/core/lro/rpc/models/GenerationResult.java +++ b/typespec-tests/src/main/java/com/_specs_/azure/core/lro/rpc/models/GenerationResult.java @@ -18,8 +18,6 @@ @Immutable public final class GenerationResult implements JsonSerializable { /* - * A sequence of textual characters. - * * The data. */ @Generated @@ -36,9 +34,7 @@ private GenerationResult(String data) { } /** - * Get the data property: A sequence of textual characters. - * - * The data. + * Get the data property: The data. * * @return the data value. */ diff --git a/typespec-tests/src/main/java/com/_specs_/azure/core/lro/standard/StandardAsyncClient.java b/typespec-tests/src/main/java/com/_specs_/azure/core/lro/standard/StandardAsyncClient.java index ae3957d1fd..61e672a696 100644 --- a/typespec-tests/src/main/java/com/_specs_/azure/core/lro/standard/StandardAsyncClient.java +++ b/typespec-tests/src/main/java/com/_specs_/azure/core/lro/standard/StandardAsyncClient.java @@ -60,8 +60,12 @@ public final class StandardAsyncClient { * } * } * - * @param name The name of user. - * @param resource The resource instance. + * @param name A sequence of textual characters. + * + * The name parameter. + * @param resource Details about a user. + * + * The resource parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -97,7 +101,9 @@ public PollerFlux beginCreateOrReplace(String name, Bina * } * } * - * @param name The name of user. + * @param name A sequence of textual characters. + * + * The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -132,8 +138,12 @@ public PollerFlux beginDelete(String name, RequestOptions requ * } * } * - * @param name The name of user. - * @param format The format of the data. + * @param name A sequence of textual characters. + * + * The name parameter. + * @param format A sequence of textual characters. + * + * The format parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -152,8 +162,12 @@ public PollerFlux beginExport(String name, String format * * Creates or replaces a User. * - * @param name The name of user. - * @param resource The resource instance. + * @param name A sequence of textual characters. + * + * The name parameter. + * @param resource Details about a user. + * + * The resource parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -175,7 +189,9 @@ public PollerFlux beginCreateOrReplace(String name, * * Deletes a User. * - * @param name The name of user. + * @param name A sequence of textual characters. + * + * The name parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -197,8 +213,12 @@ public PollerFlux beginDelete(String name) { * * Exports a User. * - * @param name The name of user. - * @param format The format of the data. + * @param name A sequence of textual characters. + * + * The name parameter. + * @param format A sequence of textual characters. + * + * The format parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/_specs_/azure/core/lro/standard/StandardClient.java b/typespec-tests/src/main/java/com/_specs_/azure/core/lro/standard/StandardClient.java index 8696319dc4..3e6108f6b3 100644 --- a/typespec-tests/src/main/java/com/_specs_/azure/core/lro/standard/StandardClient.java +++ b/typespec-tests/src/main/java/com/_specs_/azure/core/lro/standard/StandardClient.java @@ -60,8 +60,12 @@ public final class StandardClient { * } * } * - * @param name The name of user. - * @param resource The resource instance. + * @param name A sequence of textual characters. + * + * The name parameter. + * @param resource Details about a user. + * + * The resource parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -97,7 +101,9 @@ public SyncPoller beginCreateOrReplace(String name, Bina * } * } * - * @param name The name of user. + * @param name A sequence of textual characters. + * + * The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -132,8 +138,12 @@ public SyncPoller beginDelete(String name, RequestOptions requ * } * } * - * @param name The name of user. - * @param format The format of the data. + * @param name A sequence of textual characters. + * + * The name parameter. + * @param format A sequence of textual characters. + * + * The format parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -152,8 +162,12 @@ public SyncPoller beginExport(String name, String format * * Creates or replaces a User. * - * @param name The name of user. - * @param resource The resource instance. + * @param name A sequence of textual characters. + * + * The name parameter. + * @param resource Details about a user. + * + * The resource parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -175,7 +189,9 @@ public SyncPoller beginCreateOrReplace(String name, * * Deletes a User. * - * @param name The name of user. + * @param name A sequence of textual characters. + * + * The name parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -197,8 +213,12 @@ public SyncPoller beginDelete(String name) { * * Exports a User. * - * @param name The name of user. - * @param format The format of the data. + * @param name A sequence of textual characters. + * + * The name parameter. + * @param format A sequence of textual characters. + * + * The format parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/_specs_/azure/core/lro/standard/implementation/StandardClientImpl.java b/typespec-tests/src/main/java/com/_specs_/azure/core/lro/standard/implementation/StandardClientImpl.java index f6ce9134d2..65b8b46708 100644 --- a/typespec-tests/src/main/java/com/_specs_/azure/core/lro/standard/implementation/StandardClientImpl.java +++ b/typespec-tests/src/main/java/com/_specs_/azure/core/lro/standard/implementation/StandardClientImpl.java @@ -217,8 +217,12 @@ Response exportSync(@QueryParam("api-version") String apiVersion, @P * } * } * - * @param name The name of user. - * @param resource The resource instance. + * @param name A sequence of textual characters. + * + * The name parameter. + * @param resource Details about a user. + * + * The resource parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -256,8 +260,12 @@ private Mono> createOrReplaceWithResponseAsync(String name, * } * } * - * @param name The name of user. - * @param resource The resource instance. + * @param name A sequence of textual characters. + * + * The name parameter. + * @param resource Details about a user. + * + * The resource parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -295,8 +303,12 @@ private Response createOrReplaceWithResponse(String name, BinaryData * } * } * - * @param name The name of user. - * @param resource The resource instance. + * @param name A sequence of textual characters. + * + * The name parameter. + * @param resource Details about a user. + * + * The resource parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -341,8 +353,12 @@ public PollerFlux beginCreateOrReplaceAsync(String name, * } * } * - * @param name The name of user. - * @param resource The resource instance. + * @param name A sequence of textual characters. + * + * The name parameter. + * @param resource Details about a user. + * + * The resource parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -387,8 +403,12 @@ public SyncPoller beginCreateOrReplace(String name, Bina * } * } * - * @param name The name of user. - * @param resource The resource instance. + * @param name A sequence of textual characters. + * + * The name parameter. + * @param resource Details about a user. + * + * The resource parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -433,8 +453,12 @@ public PollerFlux beginCreateOrReplaceWithModelAsync * } * } * - * @param name The name of user. - * @param resource The resource instance. + * @param name A sequence of textual characters. + * + * The name parameter. + * @param resource Details about a user. + * + * The resource parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -478,7 +502,9 @@ public SyncPoller beginCreateOrReplaceWithModel(Stri * } * } * - * @param name The name of user. + * @param name A sequence of textual characters. + * + * The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -515,7 +541,9 @@ private Mono> deleteWithResponseAsync(String name, RequestO * } * } * - * @param name The name of user. + * @param name A sequence of textual characters. + * + * The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -550,7 +578,9 @@ private Response deleteWithResponse(String name, RequestOptions requ * } * } * - * @param name The name of user. + * @param name A sequence of textual characters. + * + * The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -592,7 +622,9 @@ public PollerFlux beginDeleteAsync(String name, RequestOptions * } * } * - * @param name The name of user. + * @param name A sequence of textual characters. + * + * The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -634,7 +666,9 @@ public SyncPoller beginDelete(String name, RequestOptions requ * } * } * - * @param name The name of user. + * @param name A sequence of textual characters. + * + * The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -677,7 +711,9 @@ public PollerFlux beginDeleteWithModelAsync(String n * } * } * - * @param name The name of user. + * @param name A sequence of textual characters. + * + * The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -719,8 +755,12 @@ public SyncPoller beginDeleteWithModel(String name, * } * } * - * @param name The name of user. - * @param format The format of the data. + * @param name A sequence of textual characters. + * + * The name parameter. + * @param format A sequence of textual characters. + * + * The format parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -758,8 +798,12 @@ private Mono> exportWithResponseAsync(String name, String f * } * } * - * @param name The name of user. - * @param format The format of the data. + * @param name A sequence of textual characters. + * + * The name parameter. + * @param format A sequence of textual characters. + * + * The format parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -795,8 +839,12 @@ private Response exportWithResponse(String name, String format, Requ * } * } * - * @param name The name of user. - * @param format The format of the data. + * @param name A sequence of textual characters. + * + * The name parameter. + * @param format A sequence of textual characters. + * + * The format parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -840,8 +888,12 @@ public PollerFlux beginExportAsync(String name, String f * } * } * - * @param name The name of user. - * @param format The format of the data. + * @param name A sequence of textual characters. + * + * The name parameter. + * @param format A sequence of textual characters. + * + * The format parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -884,8 +936,12 @@ public SyncPoller beginExport(String name, String format * } * } * - * @param name The name of user. - * @param format The format of the data. + * @param name A sequence of textual characters. + * + * The name parameter. + * @param format A sequence of textual characters. + * + * The format parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -929,8 +985,12 @@ public PollerFlux beginExportWithModelAsync( * } * } * - * @param name The name of user. - * @param format The format of the data. + * @param name A sequence of textual characters. + * + * The name parameter. + * @param format A sequence of textual characters. + * + * The format parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/_specs_/azure/core/lro/standard/models/ExportedUser.java b/typespec-tests/src/main/java/com/_specs_/azure/core/lro/standard/models/ExportedUser.java index 0e18e17433..d348d25508 100644 --- a/typespec-tests/src/main/java/com/_specs_/azure/core/lro/standard/models/ExportedUser.java +++ b/typespec-tests/src/main/java/com/_specs_/azure/core/lro/standard/models/ExportedUser.java @@ -18,16 +18,12 @@ @Immutable public final class ExportedUser implements JsonSerializable { /* - * A sequence of textual characters. - * * The name of user. */ @Generated private final String name; /* - * A sequence of textual characters. - * * The exported URI. */ @Generated @@ -46,9 +42,7 @@ private ExportedUser(String name, String resourceUri) { } /** - * Get the name property: A sequence of textual characters. - * - * The name of user. + * Get the name property: The name of user. * * @return the name value. */ @@ -58,9 +52,7 @@ public String getName() { } /** - * Get the resourceUri property: A sequence of textual characters. - * - * The exported URI. + * Get the resourceUri property: The exported URI. * * @return the resourceUri value. */ diff --git a/typespec-tests/src/main/java/com/_specs_/azure/core/lro/standard/models/User.java b/typespec-tests/src/main/java/com/_specs_/azure/core/lro/standard/models/User.java index c2f5f3df85..d94a9d19cb 100644 --- a/typespec-tests/src/main/java/com/_specs_/azure/core/lro/standard/models/User.java +++ b/typespec-tests/src/main/java/com/_specs_/azure/core/lro/standard/models/User.java @@ -18,16 +18,12 @@ @Immutable public final class User implements JsonSerializable { /* - * A sequence of textual characters. - * * The name of user. */ @Generated private String name; /* - * A sequence of textual characters. - * * The role of user */ @Generated @@ -44,9 +40,7 @@ public User(String role) { } /** - * Get the name property: A sequence of textual characters. - * - * The name of user. + * Get the name property: The name of user. * * @return the name value. */ @@ -56,9 +50,7 @@ public String getName() { } /** - * Get the role property: A sequence of textual characters. - * - * The role of user. + * Get the role property: The role of user. * * @return the role value. */ diff --git a/typespec-tests/src/main/java/com/_specs_/azure/core/scalar/ScalarAsyncClient.java b/typespec-tests/src/main/java/com/_specs_/azure/core/scalar/ScalarAsyncClient.java index a7cb562f8e..9a3fc6659b 100644 --- a/typespec-tests/src/main/java/com/_specs_/azure/core/scalar/ScalarAsyncClient.java +++ b/typespec-tests/src/main/java/com/_specs_/azure/core/scalar/ScalarAsyncClient.java @@ -67,7 +67,9 @@ public Mono> getWithResponse(RequestOptions requestOptions) * String * } * - * @param body _. + * @param body Represents an Azure geography region where supported resource providers live. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -99,7 +101,7 @@ public Mono> putWithResponse(BinaryData body, RequestOptions requ * } * } * - * @param body _. + * @param body The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -116,7 +118,9 @@ public Mono> postWithResponse(BinaryData body, RequestOptio /** * azureLocation value header. * - * @param region _. + * @param region Represents an Azure geography region where supported resource providers live. + * + * The region parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -133,7 +137,9 @@ public Mono> headerMethodWithResponse(String region, RequestOptio /** * azureLocation value query. * - * @param region _. + * @param region Represents an Azure geography region where supported resource providers live. + * + * The region parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -169,7 +175,9 @@ public Mono get() { /** * put azureLocation value. * - * @param body _. + * @param body Represents an Azure geography region where supported resource providers live. + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -189,7 +197,7 @@ public Mono put(String body) { /** * post a model which has azureLocation property. * - * @param body _. + * @param body The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -210,7 +218,9 @@ public Mono post(AzureLocationModel body) { /** * azureLocation value header. * - * @param region _. + * @param region Represents an Azure geography region where supported resource providers live. + * + * The region parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -230,7 +240,9 @@ public Mono headerMethod(String region) { /** * azureLocation value query. * - * @param region _. + * @param region Represents an Azure geography region where supported resource providers live. + * + * The region parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/_specs_/azure/core/scalar/ScalarClient.java b/typespec-tests/src/main/java/com/_specs_/azure/core/scalar/ScalarClient.java index 593f5fd1ea..9fd471a51c 100644 --- a/typespec-tests/src/main/java/com/_specs_/azure/core/scalar/ScalarClient.java +++ b/typespec-tests/src/main/java/com/_specs_/azure/core/scalar/ScalarClient.java @@ -65,7 +65,9 @@ public Response getWithResponse(RequestOptions requestOptions) { * String * } * - * @param body _. + * @param body Represents an Azure geography region where supported resource providers live. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -97,7 +99,7 @@ public Response putWithResponse(BinaryData body, RequestOptions requestOpt * } * } * - * @param body _. + * @param body The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -114,7 +116,9 @@ public Response postWithResponse(BinaryData body, RequestOptions req /** * azureLocation value header. * - * @param region _. + * @param region Represents an Azure geography region where supported resource providers live. + * + * The region parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -131,7 +135,9 @@ public Response headerMethodWithResponse(String region, RequestOptions req /** * azureLocation value query. * - * @param region _. + * @param region Represents an Azure geography region where supported resource providers live. + * + * The region parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -166,7 +172,9 @@ public String get() { /** * put azureLocation value. * - * @param body _. + * @param body Represents an Azure geography region where supported resource providers live. + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -185,7 +193,7 @@ public void put(String body) { /** * post a model which has azureLocation property. * - * @param body _. + * @param body The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -206,7 +214,9 @@ public AzureLocationModel post(AzureLocationModel body) { /** * azureLocation value header. * - * @param region _. + * @param region Represents an Azure geography region where supported resource providers live. + * + * The region parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -225,7 +235,9 @@ public void headerMethod(String region) { /** * azureLocation value query. * - * @param region _. + * @param region Represents an Azure geography region where supported resource providers live. + * + * The region parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/_specs_/azure/core/scalar/implementation/AzureLocationScalarsImpl.java b/typespec-tests/src/main/java/com/_specs_/azure/core/scalar/implementation/AzureLocationScalarsImpl.java index 8ff921c07c..35a0545bf6 100644 --- a/typespec-tests/src/main/java/com/_specs_/azure/core/scalar/implementation/AzureLocationScalarsImpl.java +++ b/typespec-tests/src/main/java/com/_specs_/azure/core/scalar/implementation/AzureLocationScalarsImpl.java @@ -211,7 +211,9 @@ public Response getWithResponse(RequestOptions requestOptions) { * String * } * - * @param body _. + * @param body Represents an Azure geography region where supported resource providers live. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -233,7 +235,9 @@ public Mono> putWithResponseAsync(BinaryData body, RequestOptions * String * } * - * @param body _. + * @param body Represents an Azure geography region where supported resource providers live. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -265,7 +269,7 @@ public Response putWithResponse(BinaryData body, RequestOptions requestOpt * } * } * - * @param body _. + * @param body The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -297,7 +301,7 @@ public Mono> postWithResponseAsync(BinaryData body, Request * } * } * - * @param body _. + * @param body The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -314,7 +318,9 @@ public Response postWithResponse(BinaryData body, RequestOptions req /** * azureLocation value header. * - * @param region _. + * @param region Represents an Azure geography region where supported resource providers live. + * + * The region parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -331,7 +337,9 @@ public Mono> headerMethodWithResponseAsync(String region, Request /** * azureLocation value header. * - * @param region _. + * @param region Represents an Azure geography region where supported resource providers live. + * + * The region parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -348,7 +356,9 @@ public Response headerMethodWithResponse(String region, RequestOptions req /** * azureLocation value query. * - * @param region _. + * @param region Represents an Azure geography region where supported resource providers live. + * + * The region parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -365,7 +375,9 @@ public Mono> queryWithResponseAsync(String region, RequestOptions /** * azureLocation value query. * - * @param region _. + * @param region Represents an Azure geography region where supported resource providers live. + * + * The region parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/_specs_/azure/core/traits/TraitsAsyncClient.java b/typespec-tests/src/main/java/com/_specs_/azure/core/traits/TraitsAsyncClient.java index 7a4b5afccb..b7348f2f8c 100644 --- a/typespec-tests/src/main/java/com/_specs_/azure/core/traits/TraitsAsyncClient.java +++ b/typespec-tests/src/main/java/com/_specs_/azure/core/traits/TraitsAsyncClient.java @@ -50,14 +50,14 @@ public final class TraitsAsyncClient { * * * - * - * - * - * + * + * + * + * *
Header Parameters
NameTypeRequiredDescription
If-MatchStringNoThe request should only proceed if an entity matches this - * string.
If-None-MatchStringNoThe request should only proceed if no entity matches this - * string.
If-Unmodified-SinceOffsetDateTimeNoThe request should only proceed if the - * entity was not modified after this time.
If-Modified-SinceOffsetDateTimeNoThe request should only proceed if the entity - * was modified after this time.
If-MatchStringNoA sequence of textual characters. + * + * The ifMatch parameter
If-None-MatchStringNoA sequence of textual characters. + * + * The ifNoneMatch parameter
If-Unmodified-SinceOffsetDateTimeNoThe ifUnmodifiedSince parameter
If-Modified-SinceOffsetDateTimeNoThe ifModifiedSince parameter
* You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -69,8 +69,12 @@ public final class TraitsAsyncClient { * } * } * - * @param id The user's id. - * @param foo header in request. + * @param id A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) + * + * The id parameter. + * @param foo A sequence of textual characters. + * + * The foo parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -112,8 +116,12 @@ public Mono> smokeTestWithResponse(int id, String foo, Requ * } * } * - * @param id The user's id. - * @param userActionParam User action param. + * @param id A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) + * + * The id parameter. + * @param userActionParam User action param + * + * The userActionParam parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -131,8 +139,12 @@ public Mono> repeatableActionWithResponse(int id, BinaryDat /** * Get a resource, sending and receiving headers. * - * @param id The user's id. - * @param foo header in request. + * @param id A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) + * + * The id parameter. + * @param foo A sequence of textual characters. + * + * The foo parameter. * @param requestConditions Specifies HTTP options for conditional requests based on modification time. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -172,8 +184,12 @@ public Mono smokeTest(int id, String foo, RequestConditions requestConditi /** * Get a resource, sending and receiving headers. * - * @param id The user's id. - * @param foo header in request. + * @param id A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) + * + * The id parameter. + * @param foo A sequence of textual characters. + * + * The foo parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -194,8 +210,12 @@ public Mono smokeTest(int id, String foo) { /** * Test for repeatable requests. * - * @param id The user's id. - * @param userActionParam User action param. + * @param id A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) + * + * The id parameter. + * @param userActionParam User action param + * + * The userActionParam parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/_specs_/azure/core/traits/TraitsClient.java b/typespec-tests/src/main/java/com/_specs_/azure/core/traits/TraitsClient.java index 51fb3aa5a8..db120e2bf0 100644 --- a/typespec-tests/src/main/java/com/_specs_/azure/core/traits/TraitsClient.java +++ b/typespec-tests/src/main/java/com/_specs_/azure/core/traits/TraitsClient.java @@ -48,14 +48,14 @@ public final class TraitsClient { * * * - * - * - * - * + * + * + * + * *
Header Parameters
NameTypeRequiredDescription
If-MatchStringNoThe request should only proceed if an entity matches this - * string.
If-None-MatchStringNoThe request should only proceed if no entity matches this - * string.
If-Unmodified-SinceOffsetDateTimeNoThe request should only proceed if the - * entity was not modified after this time.
If-Modified-SinceOffsetDateTimeNoThe request should only proceed if the entity - * was modified after this time.
If-MatchStringNoA sequence of textual characters. + * + * The ifMatch parameter
If-None-MatchStringNoA sequence of textual characters. + * + * The ifNoneMatch parameter
If-Unmodified-SinceOffsetDateTimeNoThe ifUnmodifiedSince parameter
If-Modified-SinceOffsetDateTimeNoThe ifModifiedSince parameter
* You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -67,8 +67,12 @@ public final class TraitsClient { * } * } * - * @param id The user's id. - * @param foo header in request. + * @param id A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) + * + * The id parameter. + * @param foo A sequence of textual characters. + * + * The foo parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -109,8 +113,12 @@ public Response smokeTestWithResponse(int id, String foo, RequestOpt * } * } * - * @param id The user's id. - * @param userActionParam User action param. + * @param id A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) + * + * The id parameter. + * @param userActionParam User action param + * + * The userActionParam parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -128,8 +136,12 @@ public Response repeatableActionWithResponse(int id, BinaryData user /** * Get a resource, sending and receiving headers. * - * @param id The user's id. - * @param foo header in request. + * @param id A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) + * + * The id parameter. + * @param foo A sequence of textual characters. + * + * The foo parameter. * @param requestConditions Specifies HTTP options for conditional requests based on modification time. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -168,8 +180,12 @@ public User smokeTest(int id, String foo, RequestConditions requestConditions) { /** * Get a resource, sending and receiving headers. * - * @param id The user's id. - * @param foo header in request. + * @param id A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) + * + * The id parameter. + * @param foo A sequence of textual characters. + * + * The foo parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -189,8 +205,12 @@ public User smokeTest(int id, String foo) { /** * Test for repeatable requests. * - * @param id The user's id. - * @param userActionParam User action param. + * @param id A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) + * + * The id parameter. + * @param userActionParam User action param + * + * The userActionParam parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/_specs_/azure/core/traits/implementation/TraitsClientImpl.java b/typespec-tests/src/main/java/com/_specs_/azure/core/traits/implementation/TraitsClientImpl.java index 768328c2b0..3a4c51e626 100644 --- a/typespec-tests/src/main/java/com/_specs_/azure/core/traits/implementation/TraitsClientImpl.java +++ b/typespec-tests/src/main/java/com/_specs_/azure/core/traits/implementation/TraitsClientImpl.java @@ -178,14 +178,14 @@ Response repeatableActionSync(@QueryParam("api-version") String apiV * * * - * - * - * - * + * + * + * + * *
Header Parameters
NameTypeRequiredDescription
If-MatchStringNoThe request should only proceed if an entity matches this - * string.
If-None-MatchStringNoThe request should only proceed if no entity matches this - * string.
If-Unmodified-SinceOffsetDateTimeNoThe request should only proceed if the - * entity was not modified after this time.
If-Modified-SinceOffsetDateTimeNoThe request should only proceed if the entity - * was modified after this time.
If-MatchStringNoA sequence of textual characters. + * + * The ifMatch parameter
If-None-MatchStringNoA sequence of textual characters. + * + * The ifNoneMatch parameter
If-Unmodified-SinceOffsetDateTimeNoThe ifUnmodifiedSince parameter
If-Modified-SinceOffsetDateTimeNoThe ifModifiedSince parameter
* You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -197,8 +197,12 @@ Response repeatableActionSync(@QueryParam("api-version") String apiV * } * } * - * @param id The user's id. - * @param foo header in request. + * @param id A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) + * + * The id parameter. + * @param foo A sequence of textual characters. + * + * The foo parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -220,14 +224,14 @@ public Mono> smokeTestWithResponseAsync(int id, String foo, * * * - * - * - * - * + * + * + * + * *
Header Parameters
NameTypeRequiredDescription
If-MatchStringNoThe request should only proceed if an entity matches this - * string.
If-None-MatchStringNoThe request should only proceed if no entity matches this - * string.
If-Unmodified-SinceOffsetDateTimeNoThe request should only proceed if the - * entity was not modified after this time.
If-Modified-SinceOffsetDateTimeNoThe request should only proceed if the entity - * was modified after this time.
If-MatchStringNoA sequence of textual characters. + * + * The ifMatch parameter
If-None-MatchStringNoA sequence of textual characters. + * + * The ifNoneMatch parameter
If-Unmodified-SinceOffsetDateTimeNoThe ifUnmodifiedSince parameter
If-Modified-SinceOffsetDateTimeNoThe ifModifiedSince parameter
* You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -239,8 +243,12 @@ public Mono> smokeTestWithResponseAsync(int id, String foo, * } * } * - * @param id The user's id. - * @param foo header in request. + * @param id A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) + * + * The id parameter. + * @param foo A sequence of textual characters. + * + * The foo parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -282,8 +290,12 @@ public Response smokeTestWithResponse(int id, String foo, RequestOpt * } * } * - * @param id The user's id. - * @param userActionParam User action param. + * @param id A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) + * + * The id parameter. + * @param userActionParam User action param + * + * The userActionParam parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -341,8 +353,12 @@ public Mono> repeatableActionWithResponseAsync(int id, Bina * } * } * - * @param id The user's id. - * @param userActionParam User action param. + * @param id A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) + * + * The id parameter. + * @param userActionParam User action param + * + * The userActionParam parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/_specs_/azure/core/traits/models/User.java b/typespec-tests/src/main/java/com/_specs_/azure/core/traits/models/User.java index d2852ad2c8..3c2a62c7f9 100644 --- a/typespec-tests/src/main/java/com/_specs_/azure/core/traits/models/User.java +++ b/typespec-tests/src/main/java/com/_specs_/azure/core/traits/models/User.java @@ -18,16 +18,12 @@ @Immutable public final class User implements JsonSerializable { /* - * A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) - * * The user's id. */ @Generated private int id; /* - * A sequence of textual characters. - * * The user's name. */ @Generated @@ -41,9 +37,7 @@ private User() { } /** - * Get the id property: A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) - * - * The user's id. + * Get the id property: The user's id. * * @return the id value. */ @@ -53,9 +47,7 @@ public int getId() { } /** - * Get the name property: A sequence of textual characters. - * - * The user's name. + * Get the name property: The user's name. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/_specs_/azure/core/traits/models/UserActionParam.java b/typespec-tests/src/main/java/com/_specs_/azure/core/traits/models/UserActionParam.java index 668ada2c7c..b7772c28d0 100644 --- a/typespec-tests/src/main/java/com/_specs_/azure/core/traits/models/UserActionParam.java +++ b/typespec-tests/src/main/java/com/_specs_/azure/core/traits/models/UserActionParam.java @@ -18,8 +18,6 @@ @Immutable public final class UserActionParam implements JsonSerializable { /* - * A sequence of textual characters. - * * User action value. */ @Generated @@ -36,9 +34,7 @@ public UserActionParam(String userActionValue) { } /** - * Get the userActionValue property: A sequence of textual characters. - * - * User action value. + * Get the userActionValue property: User action value. * * @return the userActionValue value. */ diff --git a/typespec-tests/src/main/java/com/_specs_/azure/core/traits/models/UserActionResponse.java b/typespec-tests/src/main/java/com/_specs_/azure/core/traits/models/UserActionResponse.java index a216f83f58..7852ae4bc5 100644 --- a/typespec-tests/src/main/java/com/_specs_/azure/core/traits/models/UserActionResponse.java +++ b/typespec-tests/src/main/java/com/_specs_/azure/core/traits/models/UserActionResponse.java @@ -18,8 +18,6 @@ @Immutable public final class UserActionResponse implements JsonSerializable { /* - * A sequence of textual characters. - * * User action result. */ @Generated @@ -36,9 +34,7 @@ private UserActionResponse(String userActionResult) { } /** - * Get the userActionResult property: A sequence of textual characters. - * - * User action result. + * Get the userActionResult property: User action result. * * @return the userActionResult value. */ diff --git a/typespec-tests/src/main/java/com/cadl/armresourceprovider/fluent/ChildResourcesInterfacesClient.java b/typespec-tests/src/main/java/com/cadl/armresourceprovider/fluent/ChildResourcesInterfacesClient.java index c06553db4f..2a9f2b1543 100644 --- a/typespec-tests/src/main/java/com/cadl/armresourceprovider/fluent/ChildResourcesInterfacesClient.java +++ b/typespec-tests/src/main/java/com/cadl/armresourceprovider/fluent/ChildResourcesInterfacesClient.java @@ -21,9 +21,15 @@ public interface ChildResourcesInterfacesClient { /** * Get a ChildResource. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param topLevelArmResourceName arm resource name for path. - * @param childResourceName ChildResources. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param topLevelArmResourceName A sequence of textual characters. + * + * The topLevelArmResourceName parameter. + * @param childResourceName A sequence of textual characters. + * + * The childResourceName parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -37,9 +43,15 @@ Response getWithResponse(String resourceGroupName, String to /** * Get a ChildResource. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param topLevelArmResourceName arm resource name for path. - * @param childResourceName ChildResources. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param topLevelArmResourceName A sequence of textual characters. + * + * The topLevelArmResourceName parameter. + * @param childResourceName A sequence of textual characters. + * + * The childResourceName parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -51,10 +63,18 @@ Response getWithResponse(String resourceGroupName, String to /** * Create a ChildResource. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param topLevelArmResourceName arm resource name for path. - * @param childResourceName ChildResources. - * @param resource Resource create parameters. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param topLevelArmResourceName A sequence of textual characters. + * + * The topLevelArmResourceName parameter. + * @param childResourceName A sequence of textual characters. + * + * The childResourceName parameter. + * @param resource Subresource of Top Level Arm Resource. + * + * The resource parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -67,10 +87,18 @@ SyncPoller, ChildResourceInner> beginCreateOrUpda /** * Create a ChildResource. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param topLevelArmResourceName arm resource name for path. - * @param childResourceName ChildResources. - * @param resource Resource create parameters. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param topLevelArmResourceName A sequence of textual characters. + * + * The topLevelArmResourceName parameter. + * @param childResourceName A sequence of textual characters. + * + * The childResourceName parameter. + * @param resource Subresource of Top Level Arm Resource. + * + * The resource parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -84,10 +112,18 @@ SyncPoller, ChildResourceInner> beginCreateOrUpda /** * Create a ChildResource. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param topLevelArmResourceName arm resource name for path. - * @param childResourceName ChildResources. - * @param resource Resource create parameters. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param topLevelArmResourceName A sequence of textual characters. + * + * The topLevelArmResourceName parameter. + * @param childResourceName A sequence of textual characters. + * + * The childResourceName parameter. + * @param resource Subresource of Top Level Arm Resource. + * + * The resource parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -100,10 +136,18 @@ ChildResourceInner createOrUpdate(String resourceGroupName, String topLevelArmRe /** * Create a ChildResource. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param topLevelArmResourceName arm resource name for path. - * @param childResourceName ChildResources. - * @param resource Resource create parameters. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param topLevelArmResourceName A sequence of textual characters. + * + * The topLevelArmResourceName parameter. + * @param childResourceName A sequence of textual characters. + * + * The childResourceName parameter. + * @param resource Subresource of Top Level Arm Resource. + * + * The resource parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -117,10 +161,18 @@ ChildResourceInner createOrUpdate(String resourceGroupName, String topLevelArmRe /** * Update a ChildResource. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param topLevelArmResourceName arm resource name for path. - * @param childResourceName ChildResources. - * @param properties The resource properties to be updated. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param topLevelArmResourceName A sequence of textual characters. + * + * The topLevelArmResourceName parameter. + * @param childResourceName A sequence of textual characters. + * + * The childResourceName parameter. + * @param properties The type used for update operations of the ChildResource. + * + * The properties parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -134,10 +186,18 @@ Response updateWithResponse(String resourceGroupName, String /** * Update a ChildResource. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param topLevelArmResourceName arm resource name for path. - * @param childResourceName ChildResources. - * @param properties The resource properties to be updated. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param topLevelArmResourceName A sequence of textual characters. + * + * The topLevelArmResourceName parameter. + * @param childResourceName A sequence of textual characters. + * + * The childResourceName parameter. + * @param properties The type used for update operations of the ChildResource. + * + * The properties parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -150,9 +210,15 @@ ChildResourceInner update(String resourceGroupName, String topLevelArmResourceNa /** * Delete a ChildResource. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param topLevelArmResourceName arm resource name for path. - * @param childResourceName ChildResources. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param topLevelArmResourceName A sequence of textual characters. + * + * The topLevelArmResourceName parameter. + * @param childResourceName A sequence of textual characters. + * + * The childResourceName parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -165,9 +231,15 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Delete a ChildResource. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param topLevelArmResourceName arm resource name for path. - * @param childResourceName ChildResources. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param topLevelArmResourceName A sequence of textual characters. + * + * The topLevelArmResourceName parameter. + * @param childResourceName A sequence of textual characters. + * + * The childResourceName parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -181,9 +253,15 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Delete a ChildResource. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param topLevelArmResourceName arm resource name for path. - * @param childResourceName ChildResources. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param topLevelArmResourceName A sequence of textual characters. + * + * The topLevelArmResourceName parameter. + * @param childResourceName A sequence of textual characters. + * + * The childResourceName parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -194,9 +272,15 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Delete a ChildResource. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param topLevelArmResourceName arm resource name for path. - * @param childResourceName ChildResources. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param topLevelArmResourceName A sequence of textual characters. + * + * The topLevelArmResourceName parameter. + * @param childResourceName A sequence of textual characters. + * + * The childResourceName parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -208,8 +292,12 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * List ChildResource resources by TopLevelArmResource. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param topLevelArmResourceName arm resource name for path. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param topLevelArmResourceName A sequence of textual characters. + * + * The topLevelArmResourceName parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -222,8 +310,12 @@ PagedIterable listByTopLevelArmResource(String resourceGroup /** * List ChildResource resources by TopLevelArmResource. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param topLevelArmResourceName arm resource name for path. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param topLevelArmResourceName A sequence of textual characters. + * + * The topLevelArmResourceName parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -237,9 +329,15 @@ PagedIterable listByTopLevelArmResource(String resourceGroup /** * A long-running resource action. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param topLevelArmResourceName arm resource name for path. - * @param childResourceName ChildResources. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param topLevelArmResourceName A sequence of textual characters. + * + * The topLevelArmResourceName parameter. + * @param childResourceName A sequence of textual characters. + * + * The childResourceName parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -252,9 +350,15 @@ SyncPoller, Void> beginActionWithoutBody(String resourceGroupNa /** * A long-running resource action. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param topLevelArmResourceName arm resource name for path. - * @param childResourceName ChildResources. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param topLevelArmResourceName A sequence of textual characters. + * + * The topLevelArmResourceName parameter. + * @param childResourceName A sequence of textual characters. + * + * The childResourceName parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -268,9 +372,15 @@ SyncPoller, Void> beginActionWithoutBody(String resourceGroupNa /** * A long-running resource action. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param topLevelArmResourceName arm resource name for path. - * @param childResourceName ChildResources. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param topLevelArmResourceName A sequence of textual characters. + * + * The topLevelArmResourceName parameter. + * @param childResourceName A sequence of textual characters. + * + * The childResourceName parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -281,9 +391,15 @@ SyncPoller, Void> beginActionWithoutBody(String resourceGroupNa /** * A long-running resource action. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param topLevelArmResourceName arm resource name for path. - * @param childResourceName ChildResources. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param topLevelArmResourceName A sequence of textual characters. + * + * The topLevelArmResourceName parameter. + * @param childResourceName A sequence of textual characters. + * + * The childResourceName parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. diff --git a/typespec-tests/src/main/java/com/cadl/armresourceprovider/fluent/CustomTemplateResourceInterfacesClient.java b/typespec-tests/src/main/java/com/cadl/armresourceprovider/fluent/CustomTemplateResourceInterfacesClient.java index 63a543d3c3..0e1adeed36 100644 --- a/typespec-tests/src/main/java/com/cadl/armresourceprovider/fluent/CustomTemplateResourceInterfacesClient.java +++ b/typespec-tests/src/main/java/com/cadl/armresourceprovider/fluent/CustomTemplateResourceInterfacesClient.java @@ -19,9 +19,16 @@ public interface CustomTemplateResourceInterfacesClient { /** * Create a CustomTemplateResource. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param customTemplateResourceName arm resource name for path. - * @param resource Resource create parameters. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param customTemplateResourceName A sequence of textual characters. + * + * The customTemplateResourceName parameter. + * @param resource Concrete tracked resource types can be created by aliasing this type using a specific property + * type. + * + * The resource parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -35,11 +42,22 @@ SyncPoller, CustomTemplateResourceInner> /** * Create a CustomTemplateResource. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param customTemplateResourceName arm resource name for path. - * @param resource Resource create parameters. - * @param ifMatch The request should only proceed if an entity matches this string. - * @param ifNoneMatch The request should only proceed if no entity matches this string. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param customTemplateResourceName A sequence of textual characters. + * + * The customTemplateResourceName parameter. + * @param resource Concrete tracked resource types can be created by aliasing this type using a specific property + * type. + * + * The resource parameter. + * @param ifMatch A sequence of textual characters. + * + * The ifMatch parameter. + * @param ifNoneMatch A sequence of textual characters. + * + * The ifNoneMatch parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -55,9 +73,16 @@ SyncPoller, CustomTemplateResourceInner> /** * Create a CustomTemplateResource. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param customTemplateResourceName arm resource name for path. - * @param resource Resource create parameters. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param customTemplateResourceName A sequence of textual characters. + * + * The customTemplateResourceName parameter. + * @param resource Concrete tracked resource types can be created by aliasing this type using a specific property + * type. + * + * The resource parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -70,11 +95,22 @@ CustomTemplateResourceInner createOrUpdate(String resourceGroupName, String cust /** * Create a CustomTemplateResource. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param customTemplateResourceName arm resource name for path. - * @param resource Resource create parameters. - * @param ifMatch The request should only proceed if an entity matches this string. - * @param ifNoneMatch The request should only proceed if no entity matches this string. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param customTemplateResourceName A sequence of textual characters. + * + * The customTemplateResourceName parameter. + * @param resource Concrete tracked resource types can be created by aliasing this type using a specific property + * type. + * + * The resource parameter. + * @param ifMatch A sequence of textual characters. + * + * The ifMatch parameter. + * @param ifNoneMatch A sequence of textual characters. + * + * The ifNoneMatch parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -88,9 +124,13 @@ CustomTemplateResourceInner createOrUpdate(String resourceGroupName, String cust /** * Update a CustomTemplateResource. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param customTemplateResourceName arm resource name for path. - * @param properties The resource properties to be updated. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param customTemplateResourceName A sequence of textual characters. + * + * The customTemplateResourceName parameter. + * @param properties The properties parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -104,9 +144,13 @@ SyncPoller, CustomTemplateResourceInner> /** * Update a CustomTemplateResource. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param customTemplateResourceName arm resource name for path. - * @param properties The resource properties to be updated. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param customTemplateResourceName A sequence of textual characters. + * + * The customTemplateResourceName parameter. + * @param properties The properties parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -122,9 +166,13 @@ SyncPoller, CustomTemplateResourceInner> /** * Update a CustomTemplateResource. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param customTemplateResourceName arm resource name for path. - * @param properties The resource properties to be updated. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param customTemplateResourceName A sequence of textual characters. + * + * The customTemplateResourceName parameter. + * @param properties The properties parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -137,9 +185,13 @@ CustomTemplateResourceInner updateLongRunning(String resourceGroupName, String c /** * Update a CustomTemplateResource. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param customTemplateResourceName arm resource name for path. - * @param properties The resource properties to be updated. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param customTemplateResourceName A sequence of textual characters. + * + * The customTemplateResourceName parameter. + * @param properties The properties parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. diff --git a/typespec-tests/src/main/java/com/cadl/armresourceprovider/fluent/TopLevelArmResourceInterfacesClient.java b/typespec-tests/src/main/java/com/cadl/armresourceprovider/fluent/TopLevelArmResourceInterfacesClient.java index 65ef7af837..8afea4f007 100644 --- a/typespec-tests/src/main/java/com/cadl/armresourceprovider/fluent/TopLevelArmResourceInterfacesClient.java +++ b/typespec-tests/src/main/java/com/cadl/armresourceprovider/fluent/TopLevelArmResourceInterfacesClient.java @@ -21,8 +21,12 @@ public interface TopLevelArmResourceInterfacesClient { /** * Get a TopLevelArmResource. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param topLevelArmResourceName arm resource name for path. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param topLevelArmResourceName A sequence of textual characters. + * + * The topLevelArmResourceName parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -36,8 +40,12 @@ Response getByResourceGroupWithResponse(String resourc /** * Get a TopLevelArmResource. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param topLevelArmResourceName arm resource name for path. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param topLevelArmResourceName A sequence of textual characters. + * + * The topLevelArmResourceName parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -49,9 +57,16 @@ Response getByResourceGroupWithResponse(String resourc /** * Create a TopLevelArmResource. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param topLevelArmResourceName arm resource name for path. - * @param resource Resource create parameters. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param topLevelArmResourceName A sequence of textual characters. + * + * The topLevelArmResourceName parameter. + * @param resource Concrete tracked resource types can be created by aliasing this type using a specific property + * type. + * + * The resource parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -65,9 +80,16 @@ SyncPoller, TopLevelArmResourceInner> begin /** * Create a TopLevelArmResource. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param topLevelArmResourceName arm resource name for path. - * @param resource Resource create parameters. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param topLevelArmResourceName A sequence of textual characters. + * + * The topLevelArmResourceName parameter. + * @param resource Concrete tracked resource types can be created by aliasing this type using a specific property + * type. + * + * The resource parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -82,9 +104,16 @@ SyncPoller, TopLevelArmResourceInner> begin /** * Create a TopLevelArmResource. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param topLevelArmResourceName arm resource name for path. - * @param resource Resource create parameters. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param topLevelArmResourceName A sequence of textual characters. + * + * The topLevelArmResourceName parameter. + * @param resource Concrete tracked resource types can be created by aliasing this type using a specific property + * type. + * + * The resource parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -97,9 +126,16 @@ TopLevelArmResourceInner createOrUpdate(String resourceGroupName, String topLeve /** * Create a TopLevelArmResource. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param topLevelArmResourceName arm resource name for path. - * @param resource Resource create parameters. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param topLevelArmResourceName A sequence of textual characters. + * + * The topLevelArmResourceName parameter. + * @param resource Concrete tracked resource types can be created by aliasing this type using a specific property + * type. + * + * The resource parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -113,9 +149,15 @@ TopLevelArmResourceInner createOrUpdate(String resourceGroupName, String topLeve /** * Update a TopLevelArmResource. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param topLevelArmResourceName arm resource name for path. - * @param properties The resource properties to be updated. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param topLevelArmResourceName A sequence of textual characters. + * + * The topLevelArmResourceName parameter. + * @param properties The type used for update operations of the TopLevelArmResource. + * + * The properties parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -130,9 +172,15 @@ Response updateWithResponse(String resourceGroupName, /** * Update a TopLevelArmResource. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param topLevelArmResourceName arm resource name for path. - * @param properties The resource properties to be updated. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param topLevelArmResourceName A sequence of textual characters. + * + * The topLevelArmResourceName parameter. + * @param properties The type used for update operations of the TopLevelArmResource. + * + * The properties parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -145,8 +193,12 @@ TopLevelArmResourceInner update(String resourceGroupName, String topLevelArmReso /** * Delete a TopLevelArmResource. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param topLevelArmResourceName arm resource name for path. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param topLevelArmResourceName A sequence of textual characters. + * + * The topLevelArmResourceName parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -158,8 +210,12 @@ TopLevelArmResourceInner update(String resourceGroupName, String topLevelArmReso /** * Delete a TopLevelArmResource. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param topLevelArmResourceName arm resource name for path. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param topLevelArmResourceName A sequence of textual characters. + * + * The topLevelArmResourceName parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -173,8 +229,12 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Delete a TopLevelArmResource. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param topLevelArmResourceName arm resource name for path. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param topLevelArmResourceName A sequence of textual characters. + * + * The topLevelArmResourceName parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -185,8 +245,12 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Delete a TopLevelArmResource. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param topLevelArmResourceName arm resource name for path. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param topLevelArmResourceName A sequence of textual characters. + * + * The topLevelArmResourceName parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -198,7 +262,9 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * List TopLevelArmResource resources by resource group. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -210,7 +276,9 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * List TopLevelArmResource resources by resource group. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. diff --git a/typespec-tests/src/main/java/com/cadl/armresourceprovider/fluent/models/OperationInner.java b/typespec-tests/src/main/java/com/cadl/armresourceprovider/fluent/models/OperationInner.java index cfdb2727c6..db56ca8f63 100644 --- a/typespec-tests/src/main/java/com/cadl/armresourceprovider/fluent/models/OperationInner.java +++ b/typespec-tests/src/main/java/com/cadl/armresourceprovider/fluent/models/OperationInner.java @@ -16,16 +16,12 @@ @Immutable public final class OperationInner { /* - * A sequence of textual characters. - * * The name of the operation, as per Resource-Based Access Control (RBAC). Examples: "Microsoft.Compute/virtualMachines/write", "Microsoft.Compute/virtualMachines/capture/action" */ @JsonProperty(value = "name", access = JsonProperty.Access.WRITE_ONLY) private String name; /* - * Boolean with `true` and `false` values. - * * Whether the operation applies to data-plane. This is "true" for data-plane operations and "false" for Azure Resource Manager/control-plane operations. */ @JsonProperty(value = "isDataAction", access = JsonProperty.Access.WRITE_ONLY) @@ -56,9 +52,7 @@ private OperationInner() { } /** - * Get the name property: A sequence of textual characters. - * - * The name of the operation, as per Resource-Based Access Control (RBAC). Examples: + * Get the name property: The name of the operation, as per Resource-Based Access Control (RBAC). Examples: * "Microsoft.Compute/virtualMachines/write", "Microsoft.Compute/virtualMachines/capture/action". * * @return the name value. @@ -68,10 +62,8 @@ public String name() { } /** - * Get the isDataAction property: Boolean with `true` and `false` values. - * - * Whether the operation applies to data-plane. This is "true" for data-plane operations and "false" for Azure - * Resource Manager/control-plane operations. + * Get the isDataAction property: Whether the operation applies to data-plane. This is "true" for data-plane + * operations and "false" for Azure Resource Manager/control-plane operations. * * @return the isDataAction value. */ diff --git a/typespec-tests/src/main/java/com/cadl/armresourceprovider/implementation/ChildResourcesInterfacesClientImpl.java b/typespec-tests/src/main/java/com/cadl/armresourceprovider/implementation/ChildResourcesInterfacesClientImpl.java index 89893f5975..89159a8507 100644 --- a/typespec-tests/src/main/java/com/cadl/armresourceprovider/implementation/ChildResourcesInterfacesClientImpl.java +++ b/typespec-tests/src/main/java/com/cadl/armresourceprovider/implementation/ChildResourcesInterfacesClientImpl.java @@ -150,9 +150,15 @@ Mono> listByTopLevelArmResourceNext( /** * Get a ChildResource. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param topLevelArmResourceName arm resource name for path. - * @param childResourceName ChildResources. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param topLevelArmResourceName A sequence of textual characters. + * + * The topLevelArmResourceName parameter. + * @param childResourceName A sequence of textual characters. + * + * The childResourceName parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -192,9 +198,15 @@ private Mono> getWithResponseAsync(String resourceG /** * Get a ChildResource. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param topLevelArmResourceName arm resource name for path. - * @param childResourceName ChildResources. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param topLevelArmResourceName A sequence of textual characters. + * + * The topLevelArmResourceName parameter. + * @param childResourceName A sequence of textual characters. + * + * The childResourceName parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -233,9 +245,15 @@ private Mono> getWithResponseAsync(String resourceG /** * Get a ChildResource. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param topLevelArmResourceName arm resource name for path. - * @param childResourceName ChildResources. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param topLevelArmResourceName A sequence of textual characters. + * + * The topLevelArmResourceName parameter. + * @param childResourceName A sequence of textual characters. + * + * The childResourceName parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -251,9 +269,15 @@ private Mono getAsync(String resourceGroupName, String topLe /** * Get a ChildResource. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param topLevelArmResourceName arm resource name for path. - * @param childResourceName ChildResources. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param topLevelArmResourceName A sequence of textual characters. + * + * The topLevelArmResourceName parameter. + * @param childResourceName A sequence of textual characters. + * + * The childResourceName parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -269,9 +293,15 @@ public Response getWithResponse(String resourceGroupName, St /** * Get a ChildResource. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param topLevelArmResourceName arm resource name for path. - * @param childResourceName ChildResources. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param topLevelArmResourceName A sequence of textual characters. + * + * The topLevelArmResourceName parameter. + * @param childResourceName A sequence of textual characters. + * + * The childResourceName parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -285,10 +315,18 @@ public ChildResourceInner get(String resourceGroupName, String topLevelArmResour /** * Create a ChildResource. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param topLevelArmResourceName arm resource name for path. - * @param childResourceName ChildResources. - * @param resource Resource create parameters. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param topLevelArmResourceName A sequence of textual characters. + * + * The topLevelArmResourceName parameter. + * @param childResourceName A sequence of textual characters. + * + * The childResourceName parameter. + * @param resource Subresource of Top Level Arm Resource. + * + * The resource parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -334,10 +372,18 @@ private Mono>> createOrUpdateWithResponseAsync(String /** * Create a ChildResource. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param topLevelArmResourceName arm resource name for path. - * @param childResourceName ChildResources. - * @param resource Resource create parameters. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param topLevelArmResourceName A sequence of textual characters. + * + * The topLevelArmResourceName parameter. + * @param childResourceName A sequence of textual characters. + * + * The childResourceName parameter. + * @param resource Subresource of Top Level Arm Resource. + * + * The resource parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -383,10 +429,18 @@ private Mono>> createOrUpdateWithResponseAsync(String /** * Create a ChildResource. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param topLevelArmResourceName arm resource name for path. - * @param childResourceName ChildResources. - * @param resource Resource create parameters. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param topLevelArmResourceName A sequence of textual characters. + * + * The topLevelArmResourceName parameter. + * @param childResourceName A sequence of textual characters. + * + * The childResourceName parameter. + * @param resource Subresource of Top Level Arm Resource. + * + * The resource parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -405,10 +459,18 @@ private PollerFlux, ChildResourceInner> beginCrea /** * Create a ChildResource. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param topLevelArmResourceName arm resource name for path. - * @param childResourceName ChildResources. - * @param resource Resource create parameters. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param topLevelArmResourceName A sequence of textual characters. + * + * The topLevelArmResourceName parameter. + * @param childResourceName A sequence of textual characters. + * + * The childResourceName parameter. + * @param resource Subresource of Top Level Arm Resource. + * + * The resource parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -429,10 +491,18 @@ private PollerFlux, ChildResourceInner> beginCrea /** * Create a ChildResource. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param topLevelArmResourceName arm resource name for path. - * @param childResourceName ChildResources. - * @param resource Resource create parameters. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param topLevelArmResourceName A sequence of textual characters. + * + * The topLevelArmResourceName parameter. + * @param childResourceName A sequence of textual characters. + * + * The childResourceName parameter. + * @param resource Subresource of Top Level Arm Resource. + * + * The resource parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -448,10 +518,18 @@ public SyncPoller, ChildResourceInner> beginCreat /** * Create a ChildResource. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param topLevelArmResourceName arm resource name for path. - * @param childResourceName ChildResources. - * @param resource Resource create parameters. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param topLevelArmResourceName A sequence of textual characters. + * + * The topLevelArmResourceName parameter. + * @param childResourceName A sequence of textual characters. + * + * The childResourceName parameter. + * @param resource Subresource of Top Level Arm Resource. + * + * The resource parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -469,10 +547,18 @@ public SyncPoller, ChildResourceInner> beginCreat /** * Create a ChildResource. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param topLevelArmResourceName arm resource name for path. - * @param childResourceName ChildResources. - * @param resource Resource create parameters. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param topLevelArmResourceName A sequence of textual characters. + * + * The topLevelArmResourceName parameter. + * @param childResourceName A sequence of textual characters. + * + * The childResourceName parameter. + * @param resource Subresource of Top Level Arm Resource. + * + * The resource parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -488,10 +574,18 @@ private Mono createOrUpdateAsync(String resourceGroupName, S /** * Create a ChildResource. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param topLevelArmResourceName arm resource name for path. - * @param childResourceName ChildResources. - * @param resource Resource create parameters. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param topLevelArmResourceName A sequence of textual characters. + * + * The topLevelArmResourceName parameter. + * @param childResourceName A sequence of textual characters. + * + * The childResourceName parameter. + * @param resource Subresource of Top Level Arm Resource. + * + * The resource parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -508,10 +602,18 @@ private Mono createOrUpdateAsync(String resourceGroupName, S /** * Create a ChildResource. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param topLevelArmResourceName arm resource name for path. - * @param childResourceName ChildResources. - * @param resource Resource create parameters. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param topLevelArmResourceName A sequence of textual characters. + * + * The topLevelArmResourceName parameter. + * @param childResourceName A sequence of textual characters. + * + * The childResourceName parameter. + * @param resource Subresource of Top Level Arm Resource. + * + * The resource parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -526,10 +628,18 @@ public ChildResourceInner createOrUpdate(String resourceGroupName, String topLev /** * Create a ChildResource. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param topLevelArmResourceName arm resource name for path. - * @param childResourceName ChildResources. - * @param resource Resource create parameters. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param topLevelArmResourceName A sequence of textual characters. + * + * The topLevelArmResourceName parameter. + * @param childResourceName A sequence of textual characters. + * + * The childResourceName parameter. + * @param resource Subresource of Top Level Arm Resource. + * + * The resource parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -546,10 +656,18 @@ public ChildResourceInner createOrUpdate(String resourceGroupName, String topLev /** * Update a ChildResource. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param topLevelArmResourceName arm resource name for path. - * @param childResourceName ChildResources. - * @param properties The resource properties to be updated. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param topLevelArmResourceName A sequence of textual characters. + * + * The topLevelArmResourceName parameter. + * @param childResourceName A sequence of textual characters. + * + * The childResourceName parameter. + * @param properties The type used for update operations of the ChildResource. + * + * The properties parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -595,10 +713,18 @@ private Mono> updateWithResponseAsync(String resour /** * Update a ChildResource. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param topLevelArmResourceName arm resource name for path. - * @param childResourceName ChildResources. - * @param properties The resource properties to be updated. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param topLevelArmResourceName A sequence of textual characters. + * + * The topLevelArmResourceName parameter. + * @param childResourceName A sequence of textual characters. + * + * The childResourceName parameter. + * @param properties The type used for update operations of the ChildResource. + * + * The properties parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -643,10 +769,18 @@ private Mono> updateWithResponseAsync(String resour /** * Update a ChildResource. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param topLevelArmResourceName arm resource name for path. - * @param childResourceName ChildResources. - * @param properties The resource properties to be updated. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param topLevelArmResourceName A sequence of textual characters. + * + * The topLevelArmResourceName parameter. + * @param childResourceName A sequence of textual characters. + * + * The childResourceName parameter. + * @param properties The type used for update operations of the ChildResource. + * + * The properties parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -662,10 +796,18 @@ private Mono updateAsync(String resourceGroupName, String to /** * Update a ChildResource. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param topLevelArmResourceName arm resource name for path. - * @param childResourceName ChildResources. - * @param properties The resource properties to be updated. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param topLevelArmResourceName A sequence of textual characters. + * + * The topLevelArmResourceName parameter. + * @param childResourceName A sequence of textual characters. + * + * The childResourceName parameter. + * @param properties The type used for update operations of the ChildResource. + * + * The properties parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -682,10 +824,18 @@ public Response updateWithResponse(String resourceGroupName, /** * Update a ChildResource. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param topLevelArmResourceName arm resource name for path. - * @param childResourceName ChildResources. - * @param properties The resource properties to be updated. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param topLevelArmResourceName A sequence of textual characters. + * + * The topLevelArmResourceName parameter. + * @param childResourceName A sequence of textual characters. + * + * The childResourceName parameter. + * @param properties The type used for update operations of the ChildResource. + * + * The properties parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -701,9 +851,15 @@ public ChildResourceInner update(String resourceGroupName, String topLevelArmRes /** * Delete a ChildResource. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param topLevelArmResourceName arm resource name for path. - * @param childResourceName ChildResources. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param topLevelArmResourceName A sequence of textual characters. + * + * The topLevelArmResourceName parameter. + * @param childResourceName A sequence of textual characters. + * + * The childResourceName parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -743,9 +899,15 @@ private Mono>> deleteWithResponseAsync(String resource /** * Delete a ChildResource. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param topLevelArmResourceName arm resource name for path. - * @param childResourceName ChildResources. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param topLevelArmResourceName A sequence of textual characters. + * + * The topLevelArmResourceName parameter. + * @param childResourceName A sequence of textual characters. + * + * The childResourceName parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -784,9 +946,15 @@ private Mono>> deleteWithResponseAsync(String resource /** * Delete a ChildResource. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param topLevelArmResourceName arm resource name for path. - * @param childResourceName ChildResources. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param topLevelArmResourceName A sequence of textual characters. + * + * The topLevelArmResourceName parameter. + * @param childResourceName A sequence of textual characters. + * + * The childResourceName parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -804,9 +972,15 @@ private PollerFlux, Void> beginDeleteAsync(String resourceGroup /** * Delete a ChildResource. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param topLevelArmResourceName arm resource name for path. - * @param childResourceName ChildResources. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param topLevelArmResourceName A sequence of textual characters. + * + * The topLevelArmResourceName parameter. + * @param childResourceName A sequence of textual characters. + * + * The childResourceName parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -826,9 +1000,15 @@ private PollerFlux, Void> beginDeleteAsync(String resourceGroup /** * Delete a ChildResource. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param topLevelArmResourceName arm resource name for path. - * @param childResourceName ChildResources. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param topLevelArmResourceName A sequence of textual characters. + * + * The topLevelArmResourceName parameter. + * @param childResourceName A sequence of textual characters. + * + * The childResourceName parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -843,9 +1023,15 @@ public SyncPoller, Void> beginDelete(String resourceGroupName, /** * Delete a ChildResource. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param topLevelArmResourceName arm resource name for path. - * @param childResourceName ChildResources. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param topLevelArmResourceName A sequence of textual characters. + * + * The topLevelArmResourceName parameter. + * @param childResourceName A sequence of textual characters. + * + * The childResourceName parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -862,9 +1048,15 @@ public SyncPoller, Void> beginDelete(String resourceGroupName, /** * Delete a ChildResource. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param topLevelArmResourceName arm resource name for path. - * @param childResourceName ChildResources. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param topLevelArmResourceName A sequence of textual characters. + * + * The topLevelArmResourceName parameter. + * @param childResourceName A sequence of textual characters. + * + * The childResourceName parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -879,9 +1071,15 @@ private Mono deleteAsync(String resourceGroupName, String topLevelArmResou /** * Delete a ChildResource. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param topLevelArmResourceName arm resource name for path. - * @param childResourceName ChildResources. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param topLevelArmResourceName A sequence of textual characters. + * + * The topLevelArmResourceName parameter. + * @param childResourceName A sequence of textual characters. + * + * The childResourceName parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -898,9 +1096,15 @@ private Mono deleteAsync(String resourceGroupName, String topLevelArmResou /** * Delete a ChildResource. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param topLevelArmResourceName arm resource name for path. - * @param childResourceName ChildResources. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param topLevelArmResourceName A sequence of textual characters. + * + * The topLevelArmResourceName parameter. + * @param childResourceName A sequence of textual characters. + * + * The childResourceName parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -913,9 +1117,15 @@ public void delete(String resourceGroupName, String topLevelArmResourceName, Str /** * Delete a ChildResource. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param topLevelArmResourceName arm resource name for path. - * @param childResourceName ChildResources. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param topLevelArmResourceName A sequence of textual characters. + * + * The topLevelArmResourceName parameter. + * @param childResourceName A sequence of textual characters. + * + * The childResourceName parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -930,8 +1140,12 @@ public void delete(String resourceGroupName, String topLevelArmResourceName, Str /** * List ChildResource resources by TopLevelArmResource. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param topLevelArmResourceName arm resource name for path. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param topLevelArmResourceName A sequence of textual characters. + * + * The topLevelArmResourceName parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -970,8 +1184,12 @@ private Mono> listByTopLevelArmResourceSingleP /** * List ChildResource resources by TopLevelArmResource. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param topLevelArmResourceName arm resource name for path. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param topLevelArmResourceName A sequence of textual characters. + * + * The topLevelArmResourceName parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -1010,8 +1228,12 @@ private Mono> listByTopLevelArmResourceSingleP /** * List ChildResource resources by TopLevelArmResource. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param topLevelArmResourceName arm resource name for path. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param topLevelArmResourceName A sequence of textual characters. + * + * The topLevelArmResourceName parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -1028,8 +1250,12 @@ private PagedFlux listByTopLevelArmResourceAsync(String reso /** * List ChildResource resources by TopLevelArmResource. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param topLevelArmResourceName arm resource name for path. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param topLevelArmResourceName A sequence of textual characters. + * + * The topLevelArmResourceName parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -1047,8 +1273,12 @@ private PagedFlux listByTopLevelArmResourceAsync(String reso /** * List ChildResource resources by TopLevelArmResource. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param topLevelArmResourceName arm resource name for path. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param topLevelArmResourceName A sequence of textual characters. + * + * The topLevelArmResourceName parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -1063,8 +1293,12 @@ public PagedIterable listByTopLevelArmResource(String resour /** * List ChildResource resources by TopLevelArmResource. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param topLevelArmResourceName arm resource name for path. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param topLevelArmResourceName A sequence of textual characters. + * + * The topLevelArmResourceName parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -1080,9 +1314,15 @@ public PagedIterable listByTopLevelArmResource(String resour /** * A long-running resource action. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param topLevelArmResourceName arm resource name for path. - * @param childResourceName ChildResources. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param topLevelArmResourceName A sequence of textual characters. + * + * The topLevelArmResourceName parameter. + * @param childResourceName A sequence of textual characters. + * + * The childResourceName parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -1122,9 +1362,15 @@ private Mono>> actionWithoutBodyWithResponseAsync(Stri /** * A long-running resource action. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param topLevelArmResourceName arm resource name for path. - * @param childResourceName ChildResources. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param topLevelArmResourceName A sequence of textual characters. + * + * The topLevelArmResourceName parameter. + * @param childResourceName A sequence of textual characters. + * + * The childResourceName parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -1164,9 +1410,15 @@ private Mono>> actionWithoutBodyWithResponseAsync(Stri /** * A long-running resource action. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param topLevelArmResourceName arm resource name for path. - * @param childResourceName ChildResources. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param topLevelArmResourceName A sequence of textual characters. + * + * The topLevelArmResourceName parameter. + * @param childResourceName A sequence of textual characters. + * + * The childResourceName parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -1184,9 +1436,15 @@ private PollerFlux, Void> beginActionWithoutBodyAsync(String re /** * A long-running resource action. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param topLevelArmResourceName arm resource name for path. - * @param childResourceName ChildResources. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param topLevelArmResourceName A sequence of textual characters. + * + * The topLevelArmResourceName parameter. + * @param childResourceName A sequence of textual characters. + * + * The childResourceName parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -1206,9 +1464,15 @@ private PollerFlux, Void> beginActionWithoutBodyAsync(String re /** * A long-running resource action. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param topLevelArmResourceName arm resource name for path. - * @param childResourceName ChildResources. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param topLevelArmResourceName A sequence of textual characters. + * + * The topLevelArmResourceName parameter. + * @param childResourceName A sequence of textual characters. + * + * The childResourceName parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -1224,9 +1488,15 @@ public SyncPoller, Void> beginActionWithoutBody(String resource /** * A long-running resource action. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param topLevelArmResourceName arm resource name for path. - * @param childResourceName ChildResources. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param topLevelArmResourceName A sequence of textual characters. + * + * The topLevelArmResourceName parameter. + * @param childResourceName A sequence of textual characters. + * + * The childResourceName parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -1243,9 +1513,15 @@ public SyncPoller, Void> beginActionWithoutBody(String resource /** * A long-running resource action. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param topLevelArmResourceName arm resource name for path. - * @param childResourceName ChildResources. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param topLevelArmResourceName A sequence of textual characters. + * + * The topLevelArmResourceName parameter. + * @param childResourceName A sequence of textual characters. + * + * The childResourceName parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -1261,9 +1537,15 @@ private Mono actionWithoutBodyAsync(String resourceGroupName, String topLe /** * A long-running resource action. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param topLevelArmResourceName arm resource name for path. - * @param childResourceName ChildResources. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param topLevelArmResourceName A sequence of textual characters. + * + * The topLevelArmResourceName parameter. + * @param childResourceName A sequence of textual characters. + * + * The childResourceName parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -1281,9 +1563,15 @@ private Mono actionWithoutBodyAsync(String resourceGroupName, String topLe /** * A long-running resource action. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param topLevelArmResourceName arm resource name for path. - * @param childResourceName ChildResources. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param topLevelArmResourceName A sequence of textual characters. + * + * The topLevelArmResourceName parameter. + * @param childResourceName A sequence of textual characters. + * + * The childResourceName parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -1296,9 +1584,15 @@ public void actionWithoutBody(String resourceGroupName, String topLevelArmResour /** * A long-running resource action. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param topLevelArmResourceName arm resource name for path. - * @param childResourceName ChildResources. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param topLevelArmResourceName A sequence of textual characters. + * + * The topLevelArmResourceName parameter. + * @param childResourceName A sequence of textual characters. + * + * The childResourceName parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. diff --git a/typespec-tests/src/main/java/com/cadl/armresourceprovider/implementation/CustomTemplateResourceInterfacesClientImpl.java b/typespec-tests/src/main/java/com/cadl/armresourceprovider/implementation/CustomTemplateResourceInterfacesClientImpl.java index f7e3bf336b..b5d4e53226 100644 --- a/typespec-tests/src/main/java/com/cadl/armresourceprovider/implementation/CustomTemplateResourceInterfacesClientImpl.java +++ b/typespec-tests/src/main/java/com/cadl/armresourceprovider/implementation/CustomTemplateResourceInterfacesClientImpl.java @@ -92,11 +92,22 @@ Mono>> updateLongRunning(@HostParam("endpoint") String /** * Create a CustomTemplateResource. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param customTemplateResourceName arm resource name for path. - * @param resource Resource create parameters. - * @param ifMatch The request should only proceed if an entity matches this string. - * @param ifNoneMatch The request should only proceed if no entity matches this string. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param customTemplateResourceName A sequence of textual characters. + * + * The customTemplateResourceName parameter. + * @param resource Concrete tracked resource types can be created by aliasing this type using a specific property + * type. + * + * The resource parameter. + * @param ifMatch A sequence of textual characters. + * + * The ifMatch parameter. + * @param ifNoneMatch A sequence of textual characters. + * + * The ifNoneMatch parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -138,11 +149,22 @@ private Mono>> createOrUpdateWithResponseAsync(String /** * Create a CustomTemplateResource. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param customTemplateResourceName arm resource name for path. - * @param resource Resource create parameters. - * @param ifMatch The request should only proceed if an entity matches this string. - * @param ifNoneMatch The request should only proceed if no entity matches this string. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param customTemplateResourceName A sequence of textual characters. + * + * The customTemplateResourceName parameter. + * @param resource Concrete tracked resource types can be created by aliasing this type using a specific property + * type. + * + * The resource parameter. + * @param ifMatch A sequence of textual characters. + * + * The ifMatch parameter. + * @param ifNoneMatch A sequence of textual characters. + * + * The ifNoneMatch parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -185,11 +207,22 @@ private Mono>> createOrUpdateWithResponseAsync(String /** * Create a CustomTemplateResource. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param customTemplateResourceName arm resource name for path. - * @param resource Resource create parameters. - * @param ifMatch The request should only proceed if an entity matches this string. - * @param ifNoneMatch The request should only proceed if no entity matches this string. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param customTemplateResourceName A sequence of textual characters. + * + * The customTemplateResourceName parameter. + * @param resource Concrete tracked resource types can be created by aliasing this type using a specific property + * type. + * + * The resource parameter. + * @param ifMatch A sequence of textual characters. + * + * The ifMatch parameter. + * @param ifNoneMatch A sequence of textual characters. + * + * The ifNoneMatch parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -210,9 +243,16 @@ private PollerFlux, CustomTemplateResour /** * Create a CustomTemplateResource. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param customTemplateResourceName arm resource name for path. - * @param resource Resource create parameters. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param customTemplateResourceName A sequence of textual characters. + * + * The customTemplateResourceName parameter. + * @param resource Concrete tracked resource types can be created by aliasing this type using a specific property + * type. + * + * The resource parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -234,11 +274,22 @@ private PollerFlux, CustomTemplateResour /** * Create a CustomTemplateResource. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param customTemplateResourceName arm resource name for path. - * @param resource Resource create parameters. - * @param ifMatch The request should only proceed if an entity matches this string. - * @param ifNoneMatch The request should only proceed if no entity matches this string. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param customTemplateResourceName A sequence of textual characters. + * + * The customTemplateResourceName parameter. + * @param resource Concrete tracked resource types can be created by aliasing this type using a specific property + * type. + * + * The resource parameter. + * @param ifMatch A sequence of textual characters. + * + * The ifMatch parameter. + * @param ifNoneMatch A sequence of textual characters. + * + * The ifNoneMatch parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -261,9 +312,16 @@ private PollerFlux, CustomTemplateResour /** * Create a CustomTemplateResource. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param customTemplateResourceName arm resource name for path. - * @param resource Resource create parameters. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param customTemplateResourceName A sequence of textual characters. + * + * The customTemplateResourceName parameter. + * @param resource Concrete tracked resource types can be created by aliasing this type using a specific property + * type. + * + * The resource parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -283,11 +341,22 @@ public SyncPoller, CustomTemplateResourc /** * Create a CustomTemplateResource. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param customTemplateResourceName arm resource name for path. - * @param resource Resource create parameters. - * @param ifMatch The request should only proceed if an entity matches this string. - * @param ifNoneMatch The request should only proceed if no entity matches this string. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param customTemplateResourceName A sequence of textual characters. + * + * The customTemplateResourceName parameter. + * @param resource Concrete tracked resource types can be created by aliasing this type using a specific property + * type. + * + * The resource parameter. + * @param ifMatch A sequence of textual characters. + * + * The ifMatch parameter. + * @param ifNoneMatch A sequence of textual characters. + * + * The ifNoneMatch parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -308,11 +377,22 @@ public SyncPoller, CustomTemplateResourc /** * Create a CustomTemplateResource. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param customTemplateResourceName arm resource name for path. - * @param resource Resource create parameters. - * @param ifMatch The request should only proceed if an entity matches this string. - * @param ifNoneMatch The request should only proceed if no entity matches this string. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param customTemplateResourceName A sequence of textual characters. + * + * The customTemplateResourceName parameter. + * @param resource Concrete tracked resource types can be created by aliasing this type using a specific property + * type. + * + * The resource parameter. + * @param ifMatch A sequence of textual characters. + * + * The ifMatch parameter. + * @param ifNoneMatch A sequence of textual characters. + * + * The ifNoneMatch parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -330,9 +410,16 @@ private Mono createOrUpdateAsync(String resourceGro /** * Create a CustomTemplateResource. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param customTemplateResourceName arm resource name for path. - * @param resource Resource create parameters. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param customTemplateResourceName A sequence of textual characters. + * + * The customTemplateResourceName parameter. + * @param resource Concrete tracked resource types can be created by aliasing this type using a specific property + * type. + * + * The resource parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -352,11 +439,22 @@ private Mono createOrUpdateAsync(String resourceGro /** * Create a CustomTemplateResource. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param customTemplateResourceName arm resource name for path. - * @param resource Resource create parameters. - * @param ifMatch The request should only proceed if an entity matches this string. - * @param ifNoneMatch The request should only proceed if no entity matches this string. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param customTemplateResourceName A sequence of textual characters. + * + * The customTemplateResourceName parameter. + * @param resource Concrete tracked resource types can be created by aliasing this type using a specific property + * type. + * + * The resource parameter. + * @param ifMatch A sequence of textual characters. + * + * The ifMatch parameter. + * @param ifNoneMatch A sequence of textual characters. + * + * The ifNoneMatch parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -375,9 +473,16 @@ private Mono createOrUpdateAsync(String resourceGro /** * Create a CustomTemplateResource. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param customTemplateResourceName arm resource name for path. - * @param resource Resource create parameters. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param customTemplateResourceName A sequence of textual characters. + * + * The customTemplateResourceName parameter. + * @param resource Concrete tracked resource types can be created by aliasing this type using a specific property + * type. + * + * The resource parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -395,11 +500,22 @@ public CustomTemplateResourceInner createOrUpdate(String resourceGroupName, Stri /** * Create a CustomTemplateResource. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param customTemplateResourceName arm resource name for path. - * @param resource Resource create parameters. - * @param ifMatch The request should only proceed if an entity matches this string. - * @param ifNoneMatch The request should only proceed if no entity matches this string. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param customTemplateResourceName A sequence of textual characters. + * + * The customTemplateResourceName parameter. + * @param resource Concrete tracked resource types can be created by aliasing this type using a specific property + * type. + * + * The resource parameter. + * @param ifMatch A sequence of textual characters. + * + * The ifMatch parameter. + * @param ifNoneMatch A sequence of textual characters. + * + * The ifNoneMatch parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -416,9 +532,13 @@ public CustomTemplateResourceInner createOrUpdate(String resourceGroupName, Stri /** * Update a CustomTemplateResource. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param customTemplateResourceName arm resource name for path. - * @param properties The resource properties to be updated. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param customTemplateResourceName A sequence of textual characters. + * + * The customTemplateResourceName parameter. + * @param properties The properties parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -460,9 +580,13 @@ private Mono>> updateLongRunningWithResponseAsync(Stri /** * Update a CustomTemplateResource. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param customTemplateResourceName arm resource name for path. - * @param properties The resource properties to be updated. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param customTemplateResourceName A sequence of textual characters. + * + * The customTemplateResourceName parameter. + * @param properties The properties parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -504,9 +628,13 @@ private Mono>> updateLongRunningWithResponseAsync(Stri /** * Update a CustomTemplateResource. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param customTemplateResourceName arm resource name for path. - * @param properties The resource properties to be updated. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param customTemplateResourceName A sequence of textual characters. + * + * The customTemplateResourceName parameter. + * @param properties The properties parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -527,9 +655,13 @@ private Mono>> updateLongRunningWithResponseAsync(Stri /** * Update a CustomTemplateResource. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param customTemplateResourceName arm resource name for path. - * @param properties The resource properties to be updated. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param customTemplateResourceName A sequence of textual characters. + * + * The customTemplateResourceName parameter. + * @param properties The properties parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -552,9 +684,13 @@ private Mono>> updateLongRunningWithResponseAsync(Stri /** * Update a CustomTemplateResource. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param customTemplateResourceName arm resource name for path. - * @param properties The resource properties to be updated. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param customTemplateResourceName A sequence of textual characters. + * + * The customTemplateResourceName parameter. + * @param properties The properties parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -571,9 +707,13 @@ public SyncPoller, CustomTemplateResourc /** * Update a CustomTemplateResource. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param customTemplateResourceName arm resource name for path. - * @param properties The resource properties to be updated. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param customTemplateResourceName A sequence of textual characters. + * + * The customTemplateResourceName parameter. + * @param properties The properties parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -592,9 +732,13 @@ public SyncPoller, CustomTemplateResourc /** * Update a CustomTemplateResource. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param customTemplateResourceName arm resource name for path. - * @param properties The resource properties to be updated. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param customTemplateResourceName A sequence of textual characters. + * + * The customTemplateResourceName parameter. + * @param properties The properties parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -611,9 +755,13 @@ private Mono updateLongRunningAsync(String resource /** * Update a CustomTemplateResource. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param customTemplateResourceName arm resource name for path. - * @param properties The resource properties to be updated. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param customTemplateResourceName A sequence of textual characters. + * + * The customTemplateResourceName parameter. + * @param properties The properties parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -631,9 +779,13 @@ private Mono updateLongRunningAsync(String resource /** * Update a CustomTemplateResource. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param customTemplateResourceName arm resource name for path. - * @param properties The resource properties to be updated. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param customTemplateResourceName A sequence of textual characters. + * + * The customTemplateResourceName parameter. + * @param properties The properties parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -648,9 +800,13 @@ public CustomTemplateResourceInner updateLongRunning(String resourceGroupName, S /** * Update a CustomTemplateResource. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param customTemplateResourceName arm resource name for path. - * @param properties The resource properties to be updated. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param customTemplateResourceName A sequence of textual characters. + * + * The customTemplateResourceName parameter. + * @param properties The properties parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. diff --git a/typespec-tests/src/main/java/com/cadl/armresourceprovider/implementation/TopLevelArmResourceInterfacesClientImpl.java b/typespec-tests/src/main/java/com/cadl/armresourceprovider/implementation/TopLevelArmResourceInterfacesClientImpl.java index 80fb111599..8ee0216edc 100644 --- a/typespec-tests/src/main/java/com/cadl/armresourceprovider/implementation/TopLevelArmResourceInterfacesClientImpl.java +++ b/typespec-tests/src/main/java/com/cadl/armresourceprovider/implementation/TopLevelArmResourceInterfacesClientImpl.java @@ -149,8 +149,12 @@ Mono> listBySubscriptionNext( /** * Get a TopLevelArmResource. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param topLevelArmResourceName arm resource name for path. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param topLevelArmResourceName A sequence of textual characters. + * + * The topLevelArmResourceName parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -185,8 +189,12 @@ private Mono> getByResourceGroupWithResponseA /** * Get a TopLevelArmResource. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param topLevelArmResourceName arm resource name for path. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param topLevelArmResourceName A sequence of textual characters. + * + * The topLevelArmResourceName parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -221,8 +229,12 @@ private Mono> getByResourceGroupWithResponseA /** * Get a TopLevelArmResource. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param topLevelArmResourceName arm resource name for path. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param topLevelArmResourceName A sequence of textual characters. + * + * The topLevelArmResourceName parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -238,8 +250,12 @@ private Mono getByResourceGroupAsync(String resourceGr /** * Get a TopLevelArmResource. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param topLevelArmResourceName arm resource name for path. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param topLevelArmResourceName A sequence of textual characters. + * + * The topLevelArmResourceName parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -255,8 +271,12 @@ public Response getByResourceGroupWithResponse(String /** * Get a TopLevelArmResource. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param topLevelArmResourceName arm resource name for path. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param topLevelArmResourceName A sequence of textual characters. + * + * The topLevelArmResourceName parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -270,9 +290,16 @@ public TopLevelArmResourceInner getByResourceGroup(String resourceGroupName, Str /** * Create a TopLevelArmResource. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param topLevelArmResourceName arm resource name for path. - * @param resource Resource create parameters. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param topLevelArmResourceName A sequence of textual characters. + * + * The topLevelArmResourceName parameter. + * @param resource Concrete tracked resource types can be created by aliasing this type using a specific property + * type. + * + * The resource parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -313,9 +340,16 @@ private Mono>> createOrUpdateWithResponseAsync(String /** * Create a TopLevelArmResource. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param topLevelArmResourceName arm resource name for path. - * @param resource Resource create parameters. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param topLevelArmResourceName A sequence of textual characters. + * + * The topLevelArmResourceName parameter. + * @param resource Concrete tracked resource types can be created by aliasing this type using a specific property + * type. + * + * The resource parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -356,9 +390,16 @@ private Mono>> createOrUpdateWithResponseAsync(String /** * Create a TopLevelArmResource. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param topLevelArmResourceName arm resource name for path. - * @param resource Resource create parameters. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param topLevelArmResourceName A sequence of textual characters. + * + * The topLevelArmResourceName parameter. + * @param resource Concrete tracked resource types can be created by aliasing this type using a specific property + * type. + * + * The resource parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -378,9 +419,16 @@ private PollerFlux, TopLevelArmResourceInne /** * Create a TopLevelArmResource. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param topLevelArmResourceName arm resource name for path. - * @param resource Resource create parameters. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param topLevelArmResourceName A sequence of textual characters. + * + * The topLevelArmResourceName parameter. + * @param resource Concrete tracked resource types can be created by aliasing this type using a specific property + * type. + * + * The resource parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -401,9 +449,16 @@ private PollerFlux, TopLevelArmResourceInne /** * Create a TopLevelArmResource. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param topLevelArmResourceName arm resource name for path. - * @param resource Resource create parameters. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param topLevelArmResourceName A sequence of textual characters. + * + * The topLevelArmResourceName parameter. + * @param resource Concrete tracked resource types can be created by aliasing this type using a specific property + * type. + * + * The resource parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -419,9 +474,16 @@ public SyncPoller, TopLevelArmResourceInner /** * Create a TopLevelArmResource. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param topLevelArmResourceName arm resource name for path. - * @param resource Resource create parameters. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param topLevelArmResourceName A sequence of textual characters. + * + * The topLevelArmResourceName parameter. + * @param resource Concrete tracked resource types can be created by aliasing this type using a specific property + * type. + * + * The resource parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -439,9 +501,16 @@ public SyncPoller, TopLevelArmResourceInner /** * Create a TopLevelArmResource. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param topLevelArmResourceName arm resource name for path. - * @param resource Resource create parameters. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param topLevelArmResourceName A sequence of textual characters. + * + * The topLevelArmResourceName parameter. + * @param resource Concrete tracked resource types can be created by aliasing this type using a specific property + * type. + * + * The resource parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -458,9 +527,16 @@ private Mono createOrUpdateAsync(String resourceGroupN /** * Create a TopLevelArmResource. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param topLevelArmResourceName arm resource name for path. - * @param resource Resource create parameters. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param topLevelArmResourceName A sequence of textual characters. + * + * The topLevelArmResourceName parameter. + * @param resource Concrete tracked resource types can be created by aliasing this type using a specific property + * type. + * + * The resource parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -478,9 +554,16 @@ private Mono createOrUpdateAsync(String resourceGroupN /** * Create a TopLevelArmResource. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param topLevelArmResourceName arm resource name for path. - * @param resource Resource create parameters. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param topLevelArmResourceName A sequence of textual characters. + * + * The topLevelArmResourceName parameter. + * @param resource Concrete tracked resource types can be created by aliasing this type using a specific property + * type. + * + * The resource parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -495,9 +578,16 @@ public TopLevelArmResourceInner createOrUpdate(String resourceGroupName, String /** * Create a TopLevelArmResource. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param topLevelArmResourceName arm resource name for path. - * @param resource Resource create parameters. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param topLevelArmResourceName A sequence of textual characters. + * + * The topLevelArmResourceName parameter. + * @param resource Concrete tracked resource types can be created by aliasing this type using a specific property + * type. + * + * The resource parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -513,9 +603,15 @@ public TopLevelArmResourceInner createOrUpdate(String resourceGroupName, String /** * Update a TopLevelArmResource. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param topLevelArmResourceName arm resource name for path. - * @param properties The resource properties to be updated. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param topLevelArmResourceName A sequence of textual characters. + * + * The topLevelArmResourceName parameter. + * @param properties The type used for update operations of the TopLevelArmResource. + * + * The properties parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -555,9 +651,15 @@ private Mono> updateWithResponseAsync(String /** * Update a TopLevelArmResource. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param topLevelArmResourceName arm resource name for path. - * @param properties The resource properties to be updated. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param topLevelArmResourceName A sequence of textual characters. + * + * The topLevelArmResourceName parameter. + * @param properties The type used for update operations of the TopLevelArmResource. + * + * The properties parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -598,9 +700,15 @@ private Mono> updateWithResponseAsync(String /** * Update a TopLevelArmResource. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param topLevelArmResourceName arm resource name for path. - * @param properties The resource properties to be updated. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param topLevelArmResourceName A sequence of textual characters. + * + * The topLevelArmResourceName parameter. + * @param properties The type used for update operations of the TopLevelArmResource. + * + * The properties parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -617,9 +725,15 @@ private Mono updateAsync(String resourceGroupName, Str /** * Update a TopLevelArmResource. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param topLevelArmResourceName arm resource name for path. - * @param properties The resource properties to be updated. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param topLevelArmResourceName A sequence of textual characters. + * + * The topLevelArmResourceName parameter. + * @param properties The type used for update operations of the TopLevelArmResource. + * + * The properties parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -636,9 +750,15 @@ public Response updateWithResponse(String resourceGrou /** * Update a TopLevelArmResource. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param topLevelArmResourceName arm resource name for path. - * @param properties The resource properties to be updated. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param topLevelArmResourceName A sequence of textual characters. + * + * The topLevelArmResourceName parameter. + * @param properties The type used for update operations of the TopLevelArmResource. + * + * The properties parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -653,8 +773,12 @@ public TopLevelArmResourceInner update(String resourceGroupName, String topLevel /** * Delete a TopLevelArmResource. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param topLevelArmResourceName arm resource name for path. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param topLevelArmResourceName A sequence of textual characters. + * + * The topLevelArmResourceName parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -689,8 +813,12 @@ private Mono>> deleteWithResponseAsync(String resource /** * Delete a TopLevelArmResource. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param topLevelArmResourceName arm resource name for path. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param topLevelArmResourceName A sequence of textual characters. + * + * The topLevelArmResourceName parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -725,8 +853,12 @@ private Mono>> deleteWithResponseAsync(String resource /** * Delete a TopLevelArmResource. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param topLevelArmResourceName arm resource name for path. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param topLevelArmResourceName A sequence of textual characters. + * + * The topLevelArmResourceName parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -743,8 +875,12 @@ private PollerFlux, Void> beginDeleteAsync(String resourceGroup /** * Delete a TopLevelArmResource. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param topLevelArmResourceName arm resource name for path. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param topLevelArmResourceName A sequence of textual characters. + * + * The topLevelArmResourceName parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -764,8 +900,12 @@ private PollerFlux, Void> beginDeleteAsync(String resourceGroup /** * Delete a TopLevelArmResource. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param topLevelArmResourceName arm resource name for path. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param topLevelArmResourceName A sequence of textual characters. + * + * The topLevelArmResourceName parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -779,8 +919,12 @@ public SyncPoller, Void> beginDelete(String resourceGroupName, /** * Delete a TopLevelArmResource. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param topLevelArmResourceName arm resource name for path. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param topLevelArmResourceName A sequence of textual characters. + * + * The topLevelArmResourceName parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -796,8 +940,12 @@ public SyncPoller, Void> beginDelete(String resourceGroupName, /** * Delete a TopLevelArmResource. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param topLevelArmResourceName arm resource name for path. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param topLevelArmResourceName A sequence of textual characters. + * + * The topLevelArmResourceName parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -812,8 +960,12 @@ private Mono deleteAsync(String resourceGroupName, String topLevelArmResou /** * Delete a TopLevelArmResource. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param topLevelArmResourceName arm resource name for path. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param topLevelArmResourceName A sequence of textual characters. + * + * The topLevelArmResourceName parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -829,8 +981,12 @@ private Mono deleteAsync(String resourceGroupName, String topLevelArmResou /** * Delete a TopLevelArmResource. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param topLevelArmResourceName arm resource name for path. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param topLevelArmResourceName A sequence of textual characters. + * + * The topLevelArmResourceName parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -843,8 +999,12 @@ public void delete(String resourceGroupName, String topLevelArmResourceName) { /** * Delete a TopLevelArmResource. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param topLevelArmResourceName arm resource name for path. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param topLevelArmResourceName A sequence of textual characters. + * + * The topLevelArmResourceName parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -858,7 +1018,9 @@ public void delete(String resourceGroupName, String topLevelArmResourceName, Con /** * List TopLevelArmResource resources by resource group. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -891,7 +1053,9 @@ private Mono> listByResourceGroupSingleP /** * List TopLevelArmResource resources by resource group. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -926,7 +1090,9 @@ private Mono> listByResourceGroupSingleP /** * List TopLevelArmResource resources by resource group. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -941,7 +1107,9 @@ private PagedFlux listByResourceGroupAsync(String reso /** * List TopLevelArmResource resources by resource group. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -957,7 +1125,9 @@ private PagedFlux listByResourceGroupAsync(String reso /** * List TopLevelArmResource resources by resource group. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -971,7 +1141,9 @@ public PagedIterable listByResourceGroup(String resour /** * List TopLevelArmResource resources by resource group. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. diff --git a/typespec-tests/src/main/java/com/cadl/armresourceprovider/implementation/models/ChildResourceListResult.java b/typespec-tests/src/main/java/com/cadl/armresourceprovider/implementation/models/ChildResourceListResult.java index 242ff28df0..fc49c2baf2 100644 --- a/typespec-tests/src/main/java/com/cadl/armresourceprovider/implementation/models/ChildResourceListResult.java +++ b/typespec-tests/src/main/java/com/cadl/armresourceprovider/implementation/models/ChildResourceListResult.java @@ -22,8 +22,6 @@ public final class ChildResourceListResult { private List value; /* - * The location of an instance of ChildResource - * * The link to the next page of items */ @JsonProperty(value = "nextLink") @@ -45,9 +43,7 @@ public List value() { } /** - * Get the nextLink property: The location of an instance of ChildResource - * - * The link to the next page of items. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ diff --git a/typespec-tests/src/main/java/com/cadl/armresourceprovider/implementation/models/PagedOperation.java b/typespec-tests/src/main/java/com/cadl/armresourceprovider/implementation/models/PagedOperation.java index d6ad47c041..37962da233 100644 --- a/typespec-tests/src/main/java/com/cadl/armresourceprovider/implementation/models/PagedOperation.java +++ b/typespec-tests/src/main/java/com/cadl/armresourceprovider/implementation/models/PagedOperation.java @@ -23,8 +23,6 @@ public final class PagedOperation { private List value; /* - * The location of an instance of Operation - * * The link to the next page of items */ @JsonProperty(value = "nextLink") @@ -46,9 +44,7 @@ public List value() { } /** - * Get the nextLink property: The location of an instance of Operation - * - * The link to the next page of items. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ diff --git a/typespec-tests/src/main/java/com/cadl/armresourceprovider/implementation/models/TopLevelArmResourceListResult.java b/typespec-tests/src/main/java/com/cadl/armresourceprovider/implementation/models/TopLevelArmResourceListResult.java index 9f2b8aa758..cca4923b3e 100644 --- a/typespec-tests/src/main/java/com/cadl/armresourceprovider/implementation/models/TopLevelArmResourceListResult.java +++ b/typespec-tests/src/main/java/com/cadl/armresourceprovider/implementation/models/TopLevelArmResourceListResult.java @@ -22,8 +22,6 @@ public final class TopLevelArmResourceListResult { private List value; /* - * The location of an instance of TopLevelArmResource - * * The link to the next page of items */ @JsonProperty(value = "nextLink") @@ -45,9 +43,7 @@ public List value() { } /** - * Get the nextLink property: The location of an instance of TopLevelArmResource - * - * The link to the next page of items. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ diff --git a/typespec-tests/src/main/java/com/cadl/armresourceprovider/models/ChildResource.java b/typespec-tests/src/main/java/com/cadl/armresourceprovider/models/ChildResource.java index 6225e92541..22000061d7 100644 --- a/typespec-tests/src/main/java/com/cadl/armresourceprovider/models/ChildResource.java +++ b/typespec-tests/src/main/java/com/cadl/armresourceprovider/models/ChildResource.java @@ -136,8 +136,12 @@ interface WithParentResource { /** * Specifies resourceGroupName, topLevelArmResourceName. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param topLevelArmResourceName arm resource name for path. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param topLevelArmResourceName A sequence of textual characters. + * + * The topLevelArmResourceName parameter. * @return the next definition stage. */ WithCreate withExistingTopLevelArmResource(String resourceGroupName, String topLevelArmResourceName); diff --git a/typespec-tests/src/main/java/com/cadl/armresourceprovider/models/ChildResourcesInterfaces.java b/typespec-tests/src/main/java/com/cadl/armresourceprovider/models/ChildResourcesInterfaces.java index 36c43f5666..a45f6d8a5d 100644 --- a/typespec-tests/src/main/java/com/cadl/armresourceprovider/models/ChildResourcesInterfaces.java +++ b/typespec-tests/src/main/java/com/cadl/armresourceprovider/models/ChildResourcesInterfaces.java @@ -15,9 +15,15 @@ public interface ChildResourcesInterfaces { /** * Get a ChildResource. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param topLevelArmResourceName arm resource name for path. - * @param childResourceName ChildResources. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param topLevelArmResourceName A sequence of textual characters. + * + * The topLevelArmResourceName parameter. + * @param childResourceName A sequence of textual characters. + * + * The childResourceName parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -30,9 +36,15 @@ Response getWithResponse(String resourceGroupName, String topLeve /** * Get a ChildResource. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param topLevelArmResourceName arm resource name for path. - * @param childResourceName ChildResources. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param topLevelArmResourceName A sequence of textual characters. + * + * The topLevelArmResourceName parameter. + * @param childResourceName A sequence of textual characters. + * + * The childResourceName parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -43,9 +55,15 @@ Response getWithResponse(String resourceGroupName, String topLeve /** * Delete a ChildResource. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param topLevelArmResourceName arm resource name for path. - * @param childResourceName ChildResources. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param topLevelArmResourceName A sequence of textual characters. + * + * The topLevelArmResourceName parameter. + * @param childResourceName A sequence of textual characters. + * + * The childResourceName parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -55,9 +73,15 @@ Response getWithResponse(String resourceGroupName, String topLeve /** * Delete a ChildResource. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param topLevelArmResourceName arm resource name for path. - * @param childResourceName ChildResources. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param topLevelArmResourceName A sequence of textual characters. + * + * The topLevelArmResourceName parameter. + * @param childResourceName A sequence of textual characters. + * + * The childResourceName parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -68,8 +92,12 @@ Response getWithResponse(String resourceGroupName, String topLeve /** * List ChildResource resources by TopLevelArmResource. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param topLevelArmResourceName arm resource name for path. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param topLevelArmResourceName A sequence of textual characters. + * + * The topLevelArmResourceName parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -80,8 +108,12 @@ Response getWithResponse(String resourceGroupName, String topLeve /** * List ChildResource resources by TopLevelArmResource. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param topLevelArmResourceName arm resource name for path. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param topLevelArmResourceName A sequence of textual characters. + * + * The topLevelArmResourceName parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -94,9 +126,15 @@ PagedIterable listByTopLevelArmResource(String resourceGroupName, /** * A long-running resource action. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param topLevelArmResourceName arm resource name for path. - * @param childResourceName ChildResources. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param topLevelArmResourceName A sequence of textual characters. + * + * The topLevelArmResourceName parameter. + * @param childResourceName A sequence of textual characters. + * + * The childResourceName parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -106,9 +144,15 @@ PagedIterable listByTopLevelArmResource(String resourceGroupName, /** * A long-running resource action. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param topLevelArmResourceName arm resource name for path. - * @param childResourceName ChildResources. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param topLevelArmResourceName A sequence of textual characters. + * + * The topLevelArmResourceName parameter. + * @param childResourceName A sequence of textual characters. + * + * The childResourceName parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. diff --git a/typespec-tests/src/main/java/com/cadl/armresourceprovider/models/CustomTemplateResource.java b/typespec-tests/src/main/java/com/cadl/armresourceprovider/models/CustomTemplateResource.java index d5ddcab37c..0dd25c16d9 100644 --- a/typespec-tests/src/main/java/com/cadl/armresourceprovider/models/CustomTemplateResource.java +++ b/typespec-tests/src/main/java/com/cadl/armresourceprovider/models/CustomTemplateResource.java @@ -143,7 +143,9 @@ interface WithResourceGroup { /** * Specifies resourceGroupName. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. * @return the next definition stage. */ WithCreate withExistingResourceGroup(String resourceGroupName); @@ -202,9 +204,13 @@ interface WithIdentity { */ interface WithIfMatch { /** - * Specifies the ifMatch property: The request should only proceed if an entity matches this string.. + * Specifies the ifMatch property: A sequence of textual characters. + * + * The ifMatch parameter. + * + * @param ifMatch A sequence of textual characters. * - * @param ifMatch The request should only proceed if an entity matches this string. + * The ifMatch parameter. * @return the next definition stage. */ WithCreate withIfMatch(String ifMatch); @@ -215,9 +221,13 @@ interface WithIfMatch { */ interface WithIfNoneMatch { /** - * Specifies the ifNoneMatch property: The request should only proceed if no entity matches this string.. + * Specifies the ifNoneMatch property: A sequence of textual characters. + * + * The ifNoneMatch parameter. + * + * @param ifNoneMatch A sequence of textual characters. * - * @param ifNoneMatch The request should only proceed if no entity matches this string. + * The ifNoneMatch parameter. * @return the next definition stage. */ WithCreate withIfNoneMatch(String ifNoneMatch); diff --git a/typespec-tests/src/main/java/com/cadl/armresourceprovider/models/ManagedServiceIdentity.java b/typespec-tests/src/main/java/com/cadl/armresourceprovider/models/ManagedServiceIdentity.java index 67ddb8f4ce..b65653e56d 100644 --- a/typespec-tests/src/main/java/com/cadl/armresourceprovider/models/ManagedServiceIdentity.java +++ b/typespec-tests/src/main/java/com/cadl/armresourceprovider/models/ManagedServiceIdentity.java @@ -14,16 +14,12 @@ @Fluent public final class ManagedServiceIdentity { /* - * A sequence of textual characters. - * * The Active Directory tenant id of the principal. */ @JsonProperty(value = "tenantId", access = JsonProperty.Access.WRITE_ONLY) private String tenantId; /* - * A sequence of textual characters. - * * The active directory identifier of this principal. */ @JsonProperty(value = "principalId", access = JsonProperty.Access.WRITE_ONLY) @@ -48,9 +44,7 @@ public ManagedServiceIdentity() { } /** - * Get the tenantId property: A sequence of textual characters. - * - * The Active Directory tenant id of the principal. + * Get the tenantId property: The Active Directory tenant id of the principal. * * @return the tenantId value. */ @@ -59,9 +53,7 @@ public String tenantId() { } /** - * Get the principalId property: A sequence of textual characters. - * - * The active directory identifier of this principal. + * Get the principalId property: The active directory identifier of this principal. * * @return the principalId value. */ diff --git a/typespec-tests/src/main/java/com/cadl/armresourceprovider/models/Operation.java b/typespec-tests/src/main/java/com/cadl/armresourceprovider/models/Operation.java index 56ddeed98b..550f03e498 100644 --- a/typespec-tests/src/main/java/com/cadl/armresourceprovider/models/Operation.java +++ b/typespec-tests/src/main/java/com/cadl/armresourceprovider/models/Operation.java @@ -11,9 +11,7 @@ */ public interface Operation { /** - * Gets the name property: A sequence of textual characters. - * - * The name of the operation, as per Resource-Based Access Control (RBAC). Examples: + * Gets the name property: The name of the operation, as per Resource-Based Access Control (RBAC). Examples: * "Microsoft.Compute/virtualMachines/write", "Microsoft.Compute/virtualMachines/capture/action". * * @return the name value. @@ -21,10 +19,8 @@ public interface Operation { String name(); /** - * Gets the isDataAction property: Boolean with `true` and `false` values. - * - * Whether the operation applies to data-plane. This is "true" for data-plane operations and "false" for Azure - * Resource Manager/control-plane operations. + * Gets the isDataAction property: Whether the operation applies to data-plane. This is "true" for data-plane + * operations and "false" for Azure Resource Manager/control-plane operations. * * @return the isDataAction value. */ diff --git a/typespec-tests/src/main/java/com/cadl/armresourceprovider/models/OperationDisplay.java b/typespec-tests/src/main/java/com/cadl/armresourceprovider/models/OperationDisplay.java index 6d12e7f698..8692181d3c 100644 --- a/typespec-tests/src/main/java/com/cadl/armresourceprovider/models/OperationDisplay.java +++ b/typespec-tests/src/main/java/com/cadl/armresourceprovider/models/OperationDisplay.java @@ -13,32 +13,24 @@ @Immutable public final class OperationDisplay { /* - * A sequence of textual characters. - * * The localized friendly form of the resource provider name, e.g. "Microsoft Monitoring Insights" or "Microsoft Compute". */ @JsonProperty(value = "provider") private String provider; /* - * A sequence of textual characters. - * * The localized friendly name of the resource type related to this operation. E.g. "Virtual Machines" or "Job Schedule Collections". */ @JsonProperty(value = "resource") private String resource; /* - * A sequence of textual characters. - * * The concise, localized friendly name for the operation; suitable for dropdowns. E.g. "Create or Update Virtual Machine", "Restart Virtual Machine". */ @JsonProperty(value = "operation") private String operation; /* - * A sequence of textual characters. - * * The short, localized friendly description of the operation; suitable for tool tips and detailed views. */ @JsonProperty(value = "description") @@ -51,10 +43,8 @@ private OperationDisplay() { } /** - * Get the provider property: A sequence of textual characters. - * - * The localized friendly form of the resource provider name, e.g. "Microsoft Monitoring Insights" or "Microsoft - * Compute". + * Get the provider property: The localized friendly form of the resource provider name, e.g. "Microsoft Monitoring + * Insights" or "Microsoft Compute". * * @return the provider value. */ @@ -63,10 +53,8 @@ public String provider() { } /** - * Get the resource property: A sequence of textual characters. - * - * The localized friendly name of the resource type related to this operation. E.g. "Virtual Machines" or "Job - * Schedule Collections". + * Get the resource property: The localized friendly name of the resource type related to this operation. E.g. + * "Virtual Machines" or "Job Schedule Collections". * * @return the resource value. */ @@ -75,10 +63,8 @@ public String resource() { } /** - * Get the operation property: A sequence of textual characters. - * - * The concise, localized friendly name for the operation; suitable for dropdowns. E.g. "Create or Update Virtual - * Machine", "Restart Virtual Machine". + * Get the operation property: The concise, localized friendly name for the operation; suitable for dropdowns. E.g. + * "Create or Update Virtual Machine", "Restart Virtual Machine". * * @return the operation value. */ @@ -87,9 +73,8 @@ public String operation() { } /** - * Get the description property: A sequence of textual characters. - * - * The short, localized friendly description of the operation; suitable for tool tips and detailed views. + * Get the description property: The short, localized friendly description of the operation; suitable for tool tips + * and detailed views. * * @return the description value. */ diff --git a/typespec-tests/src/main/java/com/cadl/armresourceprovider/models/TopLevelArmResource.java b/typespec-tests/src/main/java/com/cadl/armresourceprovider/models/TopLevelArmResource.java index 3961d36ca9..f8cdcb3c21 100644 --- a/typespec-tests/src/main/java/com/cadl/armresourceprovider/models/TopLevelArmResource.java +++ b/typespec-tests/src/main/java/com/cadl/armresourceprovider/models/TopLevelArmResource.java @@ -173,7 +173,9 @@ interface WithResourceGroup { /** * Specifies resourceGroupName. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. * @return the next definition stage. */ WithCreate withExistingResourceGroup(String resourceGroupName); @@ -316,9 +318,9 @@ interface WithTags { */ interface WithProperties { /** - * Specifies the properties property: The properties property.. + * Specifies the properties property: The updatable properties of the TopLevelArmResource.. * - * @param properties The properties property. + * @param properties The updatable properties of the TopLevelArmResource. * @return the next definition stage. */ Update withProperties(TopLevelArmResourceUpdateProperties properties); diff --git a/typespec-tests/src/main/java/com/cadl/armresourceprovider/models/TopLevelArmResourceInterfaces.java b/typespec-tests/src/main/java/com/cadl/armresourceprovider/models/TopLevelArmResourceInterfaces.java index 0945f601c3..8dab318bb8 100644 --- a/typespec-tests/src/main/java/com/cadl/armresourceprovider/models/TopLevelArmResourceInterfaces.java +++ b/typespec-tests/src/main/java/com/cadl/armresourceprovider/models/TopLevelArmResourceInterfaces.java @@ -15,8 +15,12 @@ public interface TopLevelArmResourceInterfaces { /** * Get a TopLevelArmResource. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param topLevelArmResourceName arm resource name for path. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param topLevelArmResourceName A sequence of textual characters. + * + * The topLevelArmResourceName parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -29,8 +33,12 @@ Response getByResourceGroupWithResponse(String resourceGrou /** * Get a TopLevelArmResource. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param topLevelArmResourceName arm resource name for path. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param topLevelArmResourceName A sequence of textual characters. + * + * The topLevelArmResourceName parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -41,8 +49,12 @@ Response getByResourceGroupWithResponse(String resourceGrou /** * Delete a TopLevelArmResource. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param topLevelArmResourceName arm resource name for path. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param topLevelArmResourceName A sequence of textual characters. + * + * The topLevelArmResourceName parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -52,8 +64,12 @@ Response getByResourceGroupWithResponse(String resourceGrou /** * Delete a TopLevelArmResource. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param topLevelArmResourceName arm resource name for path. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. + * @param topLevelArmResourceName A sequence of textual characters. + * + * The topLevelArmResourceName parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -64,7 +80,9 @@ Response getByResourceGroupWithResponse(String resourceGrou /** * List TopLevelArmResource resources by resource group. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -75,7 +93,9 @@ Response getByResourceGroupWithResponse(String resourceGrou /** * List TopLevelArmResource resources by resource group. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param resourceGroupName A sequence of textual characters. + * + * The resourceGroupName parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. diff --git a/typespec-tests/src/main/java/com/cadl/armresourceprovider/models/TopLevelArmResourceUpdate.java b/typespec-tests/src/main/java/com/cadl/armresourceprovider/models/TopLevelArmResourceUpdate.java index 7d3f06c5c9..78a1de77e9 100644 --- a/typespec-tests/src/main/java/com/cadl/armresourceprovider/models/TopLevelArmResourceUpdate.java +++ b/typespec-tests/src/main/java/com/cadl/armresourceprovider/models/TopLevelArmResourceUpdate.java @@ -22,7 +22,7 @@ public final class TopLevelArmResourceUpdate { private Map tags; /* - * The properties property. + * The updatable properties of the TopLevelArmResource. */ @JsonProperty(value = "properties") private TopLevelArmResourceUpdateProperties properties; @@ -54,7 +54,7 @@ public TopLevelArmResourceUpdate withTags(Map tags) { } /** - * Get the properties property: The properties property. + * Get the properties property: The updatable properties of the TopLevelArmResource. * * @return the properties value. */ @@ -63,7 +63,7 @@ public TopLevelArmResourceUpdateProperties properties() { } /** - * Set the properties property: The properties property. + * Set the properties property: The updatable properties of the TopLevelArmResource. * * @param properties the properties value to set. * @return the TopLevelArmResourceUpdate object itself. diff --git a/typespec-tests/src/main/java/com/cadl/armresourceprovider/models/UserAssignedIdentity.java b/typespec-tests/src/main/java/com/cadl/armresourceprovider/models/UserAssignedIdentity.java index c64571fe78..4f47995ead 100644 --- a/typespec-tests/src/main/java/com/cadl/armresourceprovider/models/UserAssignedIdentity.java +++ b/typespec-tests/src/main/java/com/cadl/armresourceprovider/models/UserAssignedIdentity.java @@ -13,16 +13,12 @@ @Fluent public final class UserAssignedIdentity { /* - * A sequence of textual characters. - * * The active directory client identifier for this principal. */ @JsonProperty(value = "clientId") private String clientId; /* - * A sequence of textual characters. - * * The active directory identifier for this principal. */ @JsonProperty(value = "principalId") @@ -35,9 +31,7 @@ public UserAssignedIdentity() { } /** - * Get the clientId property: A sequence of textual characters. - * - * The active directory client identifier for this principal. + * Get the clientId property: The active directory client identifier for this principal. * * @return the clientId value. */ @@ -46,9 +40,7 @@ public String clientId() { } /** - * Set the clientId property: A sequence of textual characters. - * - * The active directory client identifier for this principal. + * Set the clientId property: The active directory client identifier for this principal. * * @param clientId the clientId value to set. * @return the UserAssignedIdentity object itself. @@ -59,9 +51,7 @@ public UserAssignedIdentity withClientId(String clientId) { } /** - * Get the principalId property: A sequence of textual characters. - * - * The active directory identifier for this principal. + * Get the principalId property: The active directory identifier for this principal. * * @return the principalId value. */ @@ -70,9 +60,7 @@ public String principalId() { } /** - * Set the principalId property: A sequence of textual characters. - * - * The active directory identifier for this principal. + * Set the principalId property: The active directory identifier for this principal. * * @param principalId the principalId value to set. * @return the UserAssignedIdentity object itself. diff --git a/typespec-tests/src/main/java/com/cadl/builtin/BuiltinAsyncClient.java b/typespec-tests/src/main/java/com/cadl/builtin/BuiltinAsyncClient.java index 7c96493827..7f4780ede8 100644 --- a/typespec-tests/src/main/java/com/cadl/builtin/BuiltinAsyncClient.java +++ b/typespec-tests/src/main/java/com/cadl/builtin/BuiltinAsyncClient.java @@ -47,9 +47,16 @@ public final class BuiltinAsyncClient { * * * - * - * - * + * + * + * *
Query Parameters
NameTypeRequiredDescription
filterStringNoThe filter parameter
query-optStringNoThe queryParamOptional parameter
query-opt-encodedStringNoThe queryParamOptionalEncoded parameter
filterStringNoA sequence of textual characters. + * + * The filter parameter
query-optStringNoA sequence of textual characters. + * + * The queryParamOptional parameter
query-opt-encodedStringNoRepresent a URL string as described by + * https://url.spec.whatwg.org/ + * + * The queryParamOptionalEncoded parameter
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Header Parameters

@@ -97,8 +104,12 @@ public final class BuiltinAsyncClient { * } * } * - * @param queryParam The queryParam parameter. - * @param queryParamEncoded The queryParamEncoded parameter. + * @param queryParam A sequence of textual characters. + * + * The queryParam parameter. + * @param queryParamEncoded Represent a URL string as described by https://url.spec.whatwg.org/ + * + * The queryParamEncoded parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -170,12 +181,22 @@ public Mono> writeWithResponse(BinaryData body, RequestOptions re /** * The read operation. * - * @param queryParam The queryParam parameter. - * @param queryParamEncoded The queryParamEncoded parameter. + * @param queryParam A sequence of textual characters. + * + * The queryParam parameter. + * @param queryParamEncoded Represent a URL string as described by https://url.spec.whatwg.org/ + * + * The queryParamEncoded parameter. * @param dateTime The dateTime parameter. - * @param filter The filter parameter. - * @param queryParamOptional The queryParamOptional parameter. - * @param queryParamOptionalEncoded The queryParamOptionalEncoded parameter. + * @param filter A sequence of textual characters. + * + * The filter parameter. + * @param queryParamOptional A sequence of textual characters. + * + * The queryParamOptional parameter. + * @param queryParamOptionalEncoded Represent a URL string as described by https://url.spec.whatwg.org/ + * + * The queryParamOptionalEncoded parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -210,8 +231,12 @@ public Mono read(String queryParam, String queryParamEncoded, OffsetDat /** * The read operation. * - * @param queryParam The queryParam parameter. - * @param queryParamEncoded The queryParamEncoded parameter. + * @param queryParam A sequence of textual characters. + * + * The queryParam parameter. + * @param queryParamEncoded Represent a URL string as described by https://url.spec.whatwg.org/ + * + * The queryParamEncoded parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/cadl/builtin/BuiltinClient.java b/typespec-tests/src/main/java/com/cadl/builtin/BuiltinClient.java index f37666c11b..da18ecac63 100644 --- a/typespec-tests/src/main/java/com/cadl/builtin/BuiltinClient.java +++ b/typespec-tests/src/main/java/com/cadl/builtin/BuiltinClient.java @@ -45,9 +45,16 @@ public final class BuiltinClient { * * * - * - * - * + * + * + * *
Query Parameters
NameTypeRequiredDescription
filterStringNoThe filter parameter
query-optStringNoThe queryParamOptional parameter
query-opt-encodedStringNoThe queryParamOptionalEncoded parameter
filterStringNoA sequence of textual characters. + * + * The filter parameter
query-optStringNoA sequence of textual characters. + * + * The queryParamOptional parameter
query-opt-encodedStringNoRepresent a URL string as described by + * https://url.spec.whatwg.org/ + * + * The queryParamOptionalEncoded parameter
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Header Parameters

@@ -95,8 +102,12 @@ public final class BuiltinClient { * } * } * - * @param queryParam The queryParam parameter. - * @param queryParamEncoded The queryParamEncoded parameter. + * @param queryParam A sequence of textual characters. + * + * The queryParam parameter. + * @param queryParamEncoded Represent a URL string as described by https://url.spec.whatwg.org/ + * + * The queryParamEncoded parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -168,12 +179,22 @@ public Response writeWithResponse(BinaryData body, RequestOptions requestO /** * The read operation. * - * @param queryParam The queryParam parameter. - * @param queryParamEncoded The queryParamEncoded parameter. + * @param queryParam A sequence of textual characters. + * + * The queryParam parameter. + * @param queryParamEncoded Represent a URL string as described by https://url.spec.whatwg.org/ + * + * The queryParamEncoded parameter. * @param dateTime The dateTime parameter. - * @param filter The filter parameter. - * @param queryParamOptional The queryParamOptional parameter. - * @param queryParamOptionalEncoded The queryParamOptionalEncoded parameter. + * @param filter A sequence of textual characters. + * + * The filter parameter. + * @param queryParamOptional A sequence of textual characters. + * + * The queryParamOptional parameter. + * @param queryParamOptionalEncoded Represent a URL string as described by https://url.spec.whatwg.org/ + * + * The queryParamOptionalEncoded parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -207,8 +228,12 @@ public Builtin read(String queryParam, String queryParamEncoded, OffsetDateTime /** * The read operation. * - * @param queryParam The queryParam parameter. - * @param queryParamEncoded The queryParamEncoded parameter. + * @param queryParam A sequence of textual characters. + * + * The queryParam parameter. + * @param queryParamEncoded Represent a URL string as described by https://url.spec.whatwg.org/ + * + * The queryParamEncoded parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/cadl/builtin/implementation/BuiltinOpsImpl.java b/typespec-tests/src/main/java/com/cadl/builtin/implementation/BuiltinOpsImpl.java index f16cba11b6..895763427f 100644 --- a/typespec-tests/src/main/java/com/cadl/builtin/implementation/BuiltinOpsImpl.java +++ b/typespec-tests/src/main/java/com/cadl/builtin/implementation/BuiltinOpsImpl.java @@ -105,9 +105,16 @@ Response writeSync(@HostParam("endpoint") String endpoint, @HeaderParam("a * * * - * - * - * + * + * + * *
Query Parameters
NameTypeRequiredDescription
filterStringNoThe filter parameter
query-optStringNoThe queryParamOptional parameter
query-opt-encodedStringNoThe queryParamOptionalEncoded parameter
filterStringNoA sequence of textual characters. + * + * The filter parameter
query-optStringNoA sequence of textual characters. + * + * The queryParamOptional parameter
query-opt-encodedStringNoRepresent a URL string as described by + * https://url.spec.whatwg.org/ + * + * The queryParamOptionalEncoded parameter
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Header Parameters

@@ -155,8 +162,12 @@ Response writeSync(@HostParam("endpoint") String endpoint, @HeaderParam("a * } * } * - * @param queryParam The queryParam parameter. - * @param queryParamEncoded The queryParamEncoded parameter. + * @param queryParam A sequence of textual characters. + * + * The queryParam parameter. + * @param queryParamEncoded Represent a URL string as described by https://url.spec.whatwg.org/ + * + * The queryParamEncoded parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -178,9 +189,16 @@ public Mono> readWithResponseAsync(String queryParam, Strin * * * - * - * - * + * + * + * *
Query Parameters
NameTypeRequiredDescription
filterStringNoThe filter parameter
query-optStringNoThe queryParamOptional parameter
query-opt-encodedStringNoThe queryParamOptionalEncoded parameter
filterStringNoA sequence of textual characters. + * + * The filter parameter
query-optStringNoA sequence of textual characters. + * + * The queryParamOptional parameter
query-opt-encodedStringNoRepresent a URL string as described by + * https://url.spec.whatwg.org/ + * + * The queryParamOptionalEncoded parameter
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Header Parameters

@@ -228,8 +246,12 @@ public Mono> readWithResponseAsync(String queryParam, Strin * } * } * - * @param queryParam The queryParam parameter. - * @param queryParamEncoded The queryParamEncoded parameter. + * @param queryParam A sequence of textual characters. + * + * The queryParam parameter. + * @param queryParamEncoded Represent a URL string as described by https://url.spec.whatwg.org/ + * + * The queryParamEncoded parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/cadl/errormodel/models/Diagnostic.java b/typespec-tests/src/main/java/com/cadl/errormodel/models/Diagnostic.java index d775a85fac..858b2a10a0 100644 --- a/typespec-tests/src/main/java/com/cadl/errormodel/models/Diagnostic.java +++ b/typespec-tests/src/main/java/com/cadl/errormodel/models/Diagnostic.java @@ -25,7 +25,7 @@ public final class Diagnostic implements JsonSerializable { private final String name; /* - * The error property. + * The error object. */ @Generated private final ResponseError error; @@ -53,7 +53,7 @@ public String getName() { } /** - * Get the error property: The error property. + * Get the error property: The error object. * * @return the error value. */ diff --git a/typespec-tests/src/main/java/com/cadl/longrunning/LongRunningAsyncClient.java b/typespec-tests/src/main/java/com/cadl/longrunning/LongRunningAsyncClient.java index b5383f4ea1..e2814b1bdb 100644 --- a/typespec-tests/src/main/java/com/cadl/longrunning/LongRunningAsyncClient.java +++ b/typespec-tests/src/main/java/com/cadl/longrunning/LongRunningAsyncClient.java @@ -88,7 +88,9 @@ public PollerFlux beginLongRunning(RequestOptions reques * } * } * - * @param id The id parameter. + * @param id Universally Unique Identifier + * + * The id parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -180,7 +182,9 @@ public PollerFlux beginLongRunning() { /** * A remote procedure call (RPC) operation. * - * @param id The id parameter. + * @param id Universally Unique Identifier + * + * The id parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/cadl/longrunning/LongRunningClient.java b/typespec-tests/src/main/java/com/cadl/longrunning/LongRunningClient.java index 7a9fbeb720..a591a223db 100644 --- a/typespec-tests/src/main/java/com/cadl/longrunning/LongRunningClient.java +++ b/typespec-tests/src/main/java/com/cadl/longrunning/LongRunningClient.java @@ -86,7 +86,9 @@ public SyncPoller beginLongRunning(RequestOptions reques * } * } * - * @param id The id parameter. + * @param id Universally Unique Identifier + * + * The id parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -178,7 +180,9 @@ public SyncPoller beginLongRunning() { /** * A remote procedure call (RPC) operation. * - * @param id The id parameter. + * @param id Universally Unique Identifier + * + * The id parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/cadl/longrunning/implementation/LongRunningClientImpl.java b/typespec-tests/src/main/java/com/cadl/longrunning/implementation/LongRunningClientImpl.java index 6ff9c94984..b451e6d7a0 100644 --- a/typespec-tests/src/main/java/com/cadl/longrunning/implementation/LongRunningClientImpl.java +++ b/typespec-tests/src/main/java/com/cadl/longrunning/implementation/LongRunningClientImpl.java @@ -366,7 +366,9 @@ public SyncPoller beginLongRunningWithModel(RequestOptions r * } * } * - * @param id The id parameter. + * @param id Universally Unique Identifier + * + * The id parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -410,7 +412,9 @@ public Mono> getJobWithResponseAsync(String id, RequestOpti * } * } * - * @param id The id parameter. + * @param id Universally Unique Identifier + * + * The id parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/cadl/longrunning/models/JobResult.java b/typespec-tests/src/main/java/com/cadl/longrunning/models/JobResult.java index 721198ba7b..fa60fc8541 100644 --- a/typespec-tests/src/main/java/com/cadl/longrunning/models/JobResult.java +++ b/typespec-tests/src/main/java/com/cadl/longrunning/models/JobResult.java @@ -50,7 +50,7 @@ public final class JobResult implements JsonSerializable { private OffsetDateTime lastUpdateDateTime; /* - * The error property. + * The error object. */ @Generated private ResponseError error; @@ -119,7 +119,7 @@ public OffsetDateTime getLastUpdateDateTime() { } /** - * Get the error property: The error property. + * Get the error property: The error object. * * @return the error value. */ diff --git a/typespec-tests/src/main/java/com/cadl/longrunning/models/PollResponse.java b/typespec-tests/src/main/java/com/cadl/longrunning/models/PollResponse.java index 072575908d..c7309dbea8 100644 --- a/typespec-tests/src/main/java/com/cadl/longrunning/models/PollResponse.java +++ b/typespec-tests/src/main/java/com/cadl/longrunning/models/PollResponse.java @@ -24,7 +24,7 @@ public final class PollResponse implements JsonSerializable { private final String operationId; /* - * The status property. + * Enum describing allowed operation states. */ @Generated private final OperationState status; @@ -52,7 +52,7 @@ public String getOperationId() { } /** - * Get the status property: The status property. + * Get the status property: Enum describing allowed operation states. * * @return the status value. */ diff --git a/typespec-tests/src/main/java/com/cadl/multipart/MultipartAsyncClient.java b/typespec-tests/src/main/java/com/cadl/multipart/MultipartAsyncClient.java index 19f633deef..9aed5aa7f1 100644 --- a/typespec-tests/src/main/java/com/cadl/multipart/MultipartAsyncClient.java +++ b/typespec-tests/src/main/java/com/cadl/multipart/MultipartAsyncClient.java @@ -48,11 +48,15 @@ public final class MultipartAsyncClient { * * * - * + * *
Query Parameters
NameTypeRequiredDescription
compressBooleanNoThe compress parameter
compressBooleanNoBoolean with `true` and `false` values. + * + * The compress parameter
* You can add these to a request with {@link RequestOptions#addQueryParam} * - * @param name The name parameter. + * @param name A sequence of textual characters. + * + * The name parameter. * @param data The data parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -71,9 +75,13 @@ Mono> uploadWithResponse(String name, BinaryData data, RequestOpt /** * The upload operation. * - * @param name The name parameter. + * @param name A sequence of textual characters. + * + * The name parameter. * @param data The data parameter. - * @param compress The compress parameter. + * @param compress Boolean with `true` and `false` values. + * + * The compress parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -115,7 +123,9 @@ public Mono upload(String name, FormData data, Boolean compress) { /** * The upload operation. * - * @param name The name parameter. + * @param name A sequence of textual characters. + * + * The name parameter. * @param data The data parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. diff --git a/typespec-tests/src/main/java/com/cadl/multipart/MultipartClient.java b/typespec-tests/src/main/java/com/cadl/multipart/MultipartClient.java index 8f29655078..7149787fb6 100644 --- a/typespec-tests/src/main/java/com/cadl/multipart/MultipartClient.java +++ b/typespec-tests/src/main/java/com/cadl/multipart/MultipartClient.java @@ -46,11 +46,15 @@ public final class MultipartClient { * * * - * + * *
Query Parameters
NameTypeRequiredDescription
compressBooleanNoThe compress parameter
compressBooleanNoBoolean with `true` and `false` values. + * + * The compress parameter
* You can add these to a request with {@link RequestOptions#addQueryParam} * - * @param name The name parameter. + * @param name A sequence of textual characters. + * + * The name parameter. * @param data The data parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -69,9 +73,13 @@ Response uploadWithResponse(String name, BinaryData data, RequestOptions r /** * The upload operation. * - * @param name The name parameter. + * @param name A sequence of textual characters. + * + * The name parameter. * @param data The data parameter. - * @param compress The compress parameter. + * @param compress Boolean with `true` and `false` values. + * + * The compress parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -112,7 +120,9 @@ public void upload(String name, FormData data, Boolean compress) { /** * The upload operation. * - * @param name The name parameter. + * @param name A sequence of textual characters. + * + * The name parameter. * @param data The data parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. diff --git a/typespec-tests/src/main/java/com/cadl/multipart/implementation/MultipartClientImpl.java b/typespec-tests/src/main/java/com/cadl/multipart/implementation/MultipartClientImpl.java index 42832caca9..51020635ab 100644 --- a/typespec-tests/src/main/java/com/cadl/multipart/implementation/MultipartClientImpl.java +++ b/typespec-tests/src/main/java/com/cadl/multipart/implementation/MultipartClientImpl.java @@ -154,11 +154,15 @@ Response uploadSync(@HostParam("endpoint") String endpoint, @PathParam("na * * * - * + * *
Query Parameters
NameTypeRequiredDescription
compressBooleanNoThe compress parameter
compressBooleanNoBoolean with `true` and `false` values. + * + * The compress parameter
* You can add these to a request with {@link RequestOptions#addQueryParam} * - * @param name The name parameter. + * @param name A sequence of textual characters. + * + * The name parameter. * @param data The data parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -181,11 +185,15 @@ public Mono> uploadWithResponseAsync(String name, BinaryData data * * * - * + * *
Query Parameters
NameTypeRequiredDescription
compressBooleanNoThe compress parameter
compressBooleanNoBoolean with `true` and `false` values. + * + * The compress parameter
* You can add these to a request with {@link RequestOptions#addQueryParam} * - * @param name The name parameter. + * @param name A sequence of textual characters. + * + * The name parameter. * @param data The data parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. diff --git a/typespec-tests/src/main/java/com/cadl/multipleapiversion/FirstAsyncClient.java b/typespec-tests/src/main/java/com/cadl/multipleapiversion/FirstAsyncClient.java index 767e682e6e..282f7abb71 100644 --- a/typespec-tests/src/main/java/com/cadl/multipleapiversion/FirstAsyncClient.java +++ b/typespec-tests/src/main/java/com/cadl/multipleapiversion/FirstAsyncClient.java @@ -50,7 +50,9 @@ public final class FirstAsyncClient { * } * } * - * @param name The name parameter. + * @param name A sequence of textual characters. + * + * The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -67,7 +69,9 @@ public Mono> getWithResponse(String name, RequestOptions re /** * Resource read operation template. * - * @param name The name parameter. + * @param name A sequence of textual characters. + * + * The name parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/cadl/multipleapiversion/FirstClient.java b/typespec-tests/src/main/java/com/cadl/multipleapiversion/FirstClient.java index d69ad98e7c..481c7b7a0f 100644 --- a/typespec-tests/src/main/java/com/cadl/multipleapiversion/FirstClient.java +++ b/typespec-tests/src/main/java/com/cadl/multipleapiversion/FirstClient.java @@ -48,7 +48,9 @@ public final class FirstClient { * } * } * - * @param name The name parameter. + * @param name A sequence of textual characters. + * + * The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -65,7 +67,9 @@ public Response getWithResponse(String name, RequestOptions requestO /** * Resource read operation template. * - * @param name The name parameter. + * @param name A sequence of textual characters. + * + * The name parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/cadl/multipleapiversion/NoApiVersionAsyncClient.java b/typespec-tests/src/main/java/com/cadl/multipleapiversion/NoApiVersionAsyncClient.java index bf22450027..f18eb41d12 100644 --- a/typespec-tests/src/main/java/com/cadl/multipleapiversion/NoApiVersionAsyncClient.java +++ b/typespec-tests/src/main/java/com/cadl/multipleapiversion/NoApiVersionAsyncClient.java @@ -42,7 +42,9 @@ public final class NoApiVersionAsyncClient { * * * - * + * *
Query Parameters
NameTypeRequiredDescription
param1StringNoThe param1 parameter
param1StringNoA sequence of textual characters. + * + * The param1 parameter
* You can add these to a request with {@link RequestOptions#addQueryParam} * @@ -62,7 +64,9 @@ public Mono> actionWithResponse(RequestOptions requestOptions) { /** * The action operation. * - * @param param1 The param1 parameter. + * @param param1 A sequence of textual characters. + * + * The param1 parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/cadl/multipleapiversion/NoApiVersionClient.java b/typespec-tests/src/main/java/com/cadl/multipleapiversion/NoApiVersionClient.java index 8ab00ba553..c8f72402fe 100644 --- a/typespec-tests/src/main/java/com/cadl/multipleapiversion/NoApiVersionClient.java +++ b/typespec-tests/src/main/java/com/cadl/multipleapiversion/NoApiVersionClient.java @@ -40,7 +40,9 @@ public final class NoApiVersionClient { * * * - * + * *
Query Parameters
NameTypeRequiredDescription
param1StringNoThe param1 parameter
param1StringNoA sequence of textual characters. + * + * The param1 parameter
* You can add these to a request with {@link RequestOptions#addQueryParam} * @@ -60,7 +62,9 @@ public Response actionWithResponse(RequestOptions requestOptions) { /** * The action operation. * - * @param param1 The param1 parameter. + * @param param1 A sequence of textual characters. + * + * The param1 parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/cadl/multipleapiversion/SecondAsyncClient.java b/typespec-tests/src/main/java/com/cadl/multipleapiversion/SecondAsyncClient.java index 14083b48ae..107f7009c5 100644 --- a/typespec-tests/src/main/java/com/cadl/multipleapiversion/SecondAsyncClient.java +++ b/typespec-tests/src/main/java/com/cadl/multipleapiversion/SecondAsyncClient.java @@ -50,7 +50,9 @@ public final class SecondAsyncClient { * } * } * - * @param name The name parameter. + * @param name A sequence of textual characters. + * + * The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -67,7 +69,9 @@ public Mono> getWithResponse(String name, RequestOptions re /** * Resource read operation template. * - * @param name The name parameter. + * @param name A sequence of textual characters. + * + * The name parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/cadl/multipleapiversion/SecondClient.java b/typespec-tests/src/main/java/com/cadl/multipleapiversion/SecondClient.java index 2a71ef3318..297eaa0667 100644 --- a/typespec-tests/src/main/java/com/cadl/multipleapiversion/SecondClient.java +++ b/typespec-tests/src/main/java/com/cadl/multipleapiversion/SecondClient.java @@ -48,7 +48,9 @@ public final class SecondClient { * } * } * - * @param name The name parameter. + * @param name A sequence of textual characters. + * + * The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -65,7 +67,9 @@ public Response getWithResponse(String name, RequestOptions requestO /** * Resource read operation template. * - * @param name The name parameter. + * @param name A sequence of textual characters. + * + * The name parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/cadl/multipleapiversion/implementation/FirstClientImpl.java b/typespec-tests/src/main/java/com/cadl/multipleapiversion/implementation/FirstClientImpl.java index bf980a08cd..01570c34c9 100644 --- a/typespec-tests/src/main/java/com/cadl/multipleapiversion/implementation/FirstClientImpl.java +++ b/typespec-tests/src/main/java/com/cadl/multipleapiversion/implementation/FirstClientImpl.java @@ -177,7 +177,9 @@ Response getSync(@HostParam("endpoint") String endpoint, * } * } * - * @param name The name parameter. + * @param name A sequence of textual characters. + * + * The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -204,7 +206,9 @@ public Mono> getWithResponseAsync(String name, RequestOptio * } * } * - * @param name The name parameter. + * @param name A sequence of textual characters. + * + * The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/cadl/multipleapiversion/implementation/NoApiVersionClientImpl.java b/typespec-tests/src/main/java/com/cadl/multipleapiversion/implementation/NoApiVersionClientImpl.java index 12ebd54b91..08efc97719 100644 --- a/typespec-tests/src/main/java/com/cadl/multipleapiversion/implementation/NoApiVersionClientImpl.java +++ b/typespec-tests/src/main/java/com/cadl/multipleapiversion/implementation/NoApiVersionClientImpl.java @@ -169,7 +169,9 @@ Response actionSync(@HostParam("endpoint") String endpoint, @HeaderParam(" * * * - * + * *
Query Parameters
NameTypeRequiredDescription
param1StringNoThe param1 parameter
param1StringNoA sequence of textual characters. + * + * The param1 parameter
* You can add these to a request with {@link RequestOptions#addQueryParam} * @@ -192,7 +194,9 @@ public Mono> actionWithResponseAsync(RequestOptions requestOption * * * - * + * *
Query Parameters
NameTypeRequiredDescription
param1StringNoThe param1 parameter
param1StringNoA sequence of textual characters. + * + * The param1 parameter
* You can add these to a request with {@link RequestOptions#addQueryParam} * diff --git a/typespec-tests/src/main/java/com/cadl/multipleapiversion/implementation/SecondClientImpl.java b/typespec-tests/src/main/java/com/cadl/multipleapiversion/implementation/SecondClientImpl.java index 71cbdd9fb9..cc0a95156f 100644 --- a/typespec-tests/src/main/java/com/cadl/multipleapiversion/implementation/SecondClientImpl.java +++ b/typespec-tests/src/main/java/com/cadl/multipleapiversion/implementation/SecondClientImpl.java @@ -177,7 +177,9 @@ Response getSync(@HostParam("endpoint") String endpoint, * } * } * - * @param name The name parameter. + * @param name A sequence of textual characters. + * + * The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -204,7 +206,9 @@ public Mono> getWithResponseAsync(String name, RequestOptio * } * } * - * @param name The name parameter. + * @param name A sequence of textual characters. + * + * The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/cadl/naming/NamingAsyncClient.java b/typespec-tests/src/main/java/com/cadl/naming/NamingAsyncClient.java index c9e45422e9..916602ba6f 100644 --- a/typespec-tests/src/main/java/com/cadl/naming/NamingAsyncClient.java +++ b/typespec-tests/src/main/java/com/cadl/naming/NamingAsyncClient.java @@ -49,9 +49,9 @@ public final class NamingAsyncClient { * * * - * + * The etag parameter *
Header Parameters
NameTypeRequiredDescription
etagStringNosummary of etag header parameter + *
etagStringNoA sequence of textual characters. * - * description of etag header parameter
* You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

@@ -84,9 +84,9 @@ public final class NamingAsyncClient { * } * } * - * @param name summary of name query parameter + * @param name A sequence of textual characters. * - * description of name query parameter. + * The name parameter. * @param dataRequest summary of Request * * description of Request. @@ -132,15 +132,15 @@ public Mono> getAnonymousWithResponse(RequestOptions reques * * description of POST op. * - * @param name summary of name query parameter + * @param name A sequence of textual characters. * - * description of name query parameter. + * The name parameter. * @param dataRequest summary of Request * * description of Request. - * @param etag summary of etag header parameter + * @param etag A sequence of textual characters. * - * description of etag header parameter. + * The etag parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -166,9 +166,9 @@ public Mono post(String name, DataRequest dataRequest, String etag * * description of POST op. * - * @param name summary of name query parameter + * @param name A sequence of textual characters. * - * description of name query parameter. + * The name parameter. * @param dataRequest summary of Request * * description of Request. diff --git a/typespec-tests/src/main/java/com/cadl/naming/NamingClient.java b/typespec-tests/src/main/java/com/cadl/naming/NamingClient.java index f882696956..e9a9a09519 100644 --- a/typespec-tests/src/main/java/com/cadl/naming/NamingClient.java +++ b/typespec-tests/src/main/java/com/cadl/naming/NamingClient.java @@ -44,7 +44,7 @@ public final class NamingClient { * * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @param dataRequest summary of Request - * @param name summary of name query parameter + * @param name A sequence of textual characters. * @return summary of Response along with {@link Response}. * @throws ResourceModifiedException ResourceModifiedException thrown if the request is rejected by server on status * code 409. @@ -88,15 +88,15 @@ public Response getAnonymousWithResponse(RequestOptions requestOptio * * description of POST op. * - * @param name summary of name query parameter + * @param name A sequence of textual characters. * - * description of name query parameter. + * The name parameter. * @param dataRequest summary of Request * * description of Request. - * @param etag summary of etag header parameter + * @param etag A sequence of textual characters. * - * description of etag header parameter. + * The etag parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -122,9 +122,9 @@ public DataResponse post(String name, DataRequest dataRequest, String etag) { * * description of POST op. * - * @param name summary of name query parameter + * @param name A sequence of textual characters. * - * description of name query parameter. + * The name parameter. * @param dataRequest summary of Request * * description of Request. diff --git a/typespec-tests/src/main/java/com/cadl/naming/implementation/NamingOpsImpl.java b/typespec-tests/src/main/java/com/cadl/naming/implementation/NamingOpsImpl.java index 7cb9e84888..cdd1473bb8 100644 --- a/typespec-tests/src/main/java/com/cadl/naming/implementation/NamingOpsImpl.java +++ b/typespec-tests/src/main/java/com/cadl/naming/implementation/NamingOpsImpl.java @@ -107,9 +107,9 @@ Response getAnonymousSync(@HostParam("endpoint") String endpoint, * * * - * + * The etag parameter *
Header Parameters
NameTypeRequiredDescription
etagStringNosummary of etag header parameter + *
etagStringNoA sequence of textual characters. * - * description of etag header parameter
* You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

@@ -142,9 +142,9 @@ Response getAnonymousSync(@HostParam("endpoint") String endpoint, * } * } * - * @param name summary of name query parameter + * @param name A sequence of textual characters. * - * description of name query parameter. + * The name parameter. * @param dataRequest summary of Request * * description of Request. @@ -171,9 +171,9 @@ public Mono> postWithResponseAsync(String name, BinaryData * * * - * + * The etag parameter *
Header Parameters
NameTypeRequiredDescription
etagStringNosummary of etag header parameter + *
etagStringNoA sequence of textual characters. * - * description of etag header parameter
* You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

@@ -206,9 +206,9 @@ public Mono> postWithResponseAsync(String name, BinaryData * } * } * - * @param name summary of name query parameter + * @param name A sequence of textual characters. * - * description of name query parameter. + * The name parameter. * @param dataRequest summary of Request * * description of Request. diff --git a/typespec-tests/src/main/java/com/cadl/naming/models/BytesData.java b/typespec-tests/src/main/java/com/cadl/naming/models/BytesData.java index ab8b1943dd..5688e67cec 100644 --- a/typespec-tests/src/main/java/com/cadl/naming/models/BytesData.java +++ b/typespec-tests/src/main/java/com/cadl/naming/models/BytesData.java @@ -24,8 +24,6 @@ public final class BytesData extends Data { private String type = "bytes"; /* - * Represent a byte array - * * Data as {@code byte[]} */ @Generated @@ -53,9 +51,7 @@ public String getType() { } /** - * Get the dataAsBytes property: Represent a byte array - * - * Data as {@code byte[]}. + * Get the dataAsBytes property: Data as {@code byte[]}. * * @return the dataAsBytes value. */ diff --git a/typespec-tests/src/main/java/com/cadl/naming/models/DataStatus.java b/typespec-tests/src/main/java/com/cadl/naming/models/DataStatus.java index ef00001dfe..7bedc26284 100644 --- a/typespec-tests/src/main/java/com/cadl/naming/models/DataStatus.java +++ b/typespec-tests/src/main/java/com/cadl/naming/models/DataStatus.java @@ -9,7 +9,9 @@ import java.util.Collection; /** - * summary of Statuses. + * summary of Statuses + * + * description of Statuses. */ public final class DataStatus extends ExpandableStringEnum { /** diff --git a/typespec-tests/src/main/java/com/cadl/naming/models/TypesModel.java b/typespec-tests/src/main/java/com/cadl/naming/models/TypesModel.java index 9222ebea8e..8d41bdd854 100644 --- a/typespec-tests/src/main/java/com/cadl/naming/models/TypesModel.java +++ b/typespec-tests/src/main/java/com/cadl/naming/models/TypesModel.java @@ -5,7 +5,9 @@ package com.cadl.naming.models; /** - * summary of Types. + * summary of Types + * + * description of Types. */ public enum TypesModel { /** diff --git a/typespec-tests/src/main/java/com/cadl/optional/OptionalAsyncClient.java b/typespec-tests/src/main/java/com/cadl/optional/OptionalAsyncClient.java index 4222b964b2..db073bcac4 100644 --- a/typespec-tests/src/main/java/com/cadl/optional/OptionalAsyncClient.java +++ b/typespec-tests/src/main/java/com/cadl/optional/OptionalAsyncClient.java @@ -46,16 +46,24 @@ public final class OptionalAsyncClient { * * * - * - * - * + * + * + * *
Query Parameters
NameTypeRequiredDescription
booleanNullableBooleanNoThe booleanNullable parameter
stringStringNoThe string parameter
stringNullableStringNoThe stringNullable parameter
booleanNullableBooleanNoBoolean with `true` and `false` values. + * + * The booleanNullable parameter
stringStringNoA sequence of textual characters. + * + * The string parameter
stringNullableStringNoA sequence of textual characters. + * + * The stringNullable parameter
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Header Parameters

* * * - * + * *
Header Parameters
NameTypeRequiredDescription
request-header-optionalStringNoThe requestHeaderOptional parameter
request-header-optionalStringNoA sequence of textual characters. + * + * The requestHeaderOptional parameter
* You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

@@ -122,11 +130,21 @@ public final class OptionalAsyncClient { * } * } * - * @param requestHeaderRequired The requestHeaderRequired parameter. - * @param booleanRequired The booleanRequired parameter. - * @param booleanRequiredNullable The booleanRequiredNullable parameter. - * @param stringRequired The stringRequired parameter. - * @param stringRequiredNullable The stringRequiredNullable parameter. + * @param requestHeaderRequired A sequence of textual characters. + * + * The requestHeaderRequired parameter. + * @param booleanRequired Boolean with `true` and `false` values. + * + * The booleanRequired parameter. + * @param booleanRequiredNullable Boolean with `true` and `false` values. + * + * The booleanRequiredNullable parameter. + * @param stringRequired A sequence of textual characters. + * + * The stringRequired parameter. + * @param stringRequiredNullable A sequence of textual characters. + * + * The stringRequiredNullable parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -146,15 +164,33 @@ public Mono> putWithResponse(String requestHeaderRequired, /** * The put operation. * - * @param requestHeaderRequired The requestHeaderRequired parameter. - * @param booleanRequired The booleanRequired parameter. - * @param booleanRequiredNullable The booleanRequiredNullable parameter. - * @param stringRequired The stringRequired parameter. - * @param stringRequiredNullable The stringRequiredNullable parameter. - * @param requestHeaderOptional The requestHeaderOptional parameter. - * @param booleanNullable The booleanNullable parameter. - * @param string The string parameter. - * @param stringNullable The stringNullable parameter. + * @param requestHeaderRequired A sequence of textual characters. + * + * The requestHeaderRequired parameter. + * @param booleanRequired Boolean with `true` and `false` values. + * + * The booleanRequired parameter. + * @param booleanRequiredNullable Boolean with `true` and `false` values. + * + * The booleanRequiredNullable parameter. + * @param stringRequired A sequence of textual characters. + * + * The stringRequired parameter. + * @param stringRequiredNullable A sequence of textual characters. + * + * The stringRequiredNullable parameter. + * @param requestHeaderOptional A sequence of textual characters. + * + * The requestHeaderOptional parameter. + * @param booleanNullable Boolean with `true` and `false` values. + * + * The booleanNullable parameter. + * @param string A sequence of textual characters. + * + * The string parameter. + * @param stringNullable A sequence of textual characters. + * + * The stringNullable parameter. * @param optional The optional parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -195,11 +231,21 @@ public Mono put(String requestHeaderRequired, boolean boo /** * The put operation. * - * @param requestHeaderRequired The requestHeaderRequired parameter. - * @param booleanRequired The booleanRequired parameter. - * @param booleanRequiredNullable The booleanRequiredNullable parameter. - * @param stringRequired The stringRequired parameter. - * @param stringRequiredNullable The stringRequiredNullable parameter. + * @param requestHeaderRequired A sequence of textual characters. + * + * The requestHeaderRequired parameter. + * @param booleanRequired Boolean with `true` and `false` values. + * + * The booleanRequired parameter. + * @param booleanRequiredNullable Boolean with `true` and `false` values. + * + * The booleanRequiredNullable parameter. + * @param stringRequired A sequence of textual characters. + * + * The stringRequired parameter. + * @param stringRequiredNullable A sequence of textual characters. + * + * The stringRequiredNullable parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/cadl/optional/OptionalClient.java b/typespec-tests/src/main/java/com/cadl/optional/OptionalClient.java index 899ca37b27..1fb6c3c894 100644 --- a/typespec-tests/src/main/java/com/cadl/optional/OptionalClient.java +++ b/typespec-tests/src/main/java/com/cadl/optional/OptionalClient.java @@ -44,16 +44,24 @@ public final class OptionalClient { * * * - * - * - * + * + * + * *
Query Parameters
NameTypeRequiredDescription
booleanNullableBooleanNoThe booleanNullable parameter
stringStringNoThe string parameter
stringNullableStringNoThe stringNullable parameter
booleanNullableBooleanNoBoolean with `true` and `false` values. + * + * The booleanNullable parameter
stringStringNoA sequence of textual characters. + * + * The string parameter
stringNullableStringNoA sequence of textual characters. + * + * The stringNullable parameter
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Header Parameters

* * * - * + * *
Header Parameters
NameTypeRequiredDescription
request-header-optionalStringNoThe requestHeaderOptional parameter
request-header-optionalStringNoA sequence of textual characters. + * + * The requestHeaderOptional parameter
* You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

@@ -120,11 +128,21 @@ public final class OptionalClient { * } * } * - * @param requestHeaderRequired The requestHeaderRequired parameter. - * @param booleanRequired The booleanRequired parameter. - * @param booleanRequiredNullable The booleanRequiredNullable parameter. - * @param stringRequired The stringRequired parameter. - * @param stringRequiredNullable The stringRequiredNullable parameter. + * @param requestHeaderRequired A sequence of textual characters. + * + * The requestHeaderRequired parameter. + * @param booleanRequired Boolean with `true` and `false` values. + * + * The booleanRequired parameter. + * @param booleanRequiredNullable Boolean with `true` and `false` values. + * + * The booleanRequiredNullable parameter. + * @param stringRequired A sequence of textual characters. + * + * The stringRequired parameter. + * @param stringRequiredNullable A sequence of textual characters. + * + * The stringRequiredNullable parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -144,15 +162,33 @@ public Response putWithResponse(String requestHeaderRequired, boolea /** * The put operation. * - * @param requestHeaderRequired The requestHeaderRequired parameter. - * @param booleanRequired The booleanRequired parameter. - * @param booleanRequiredNullable The booleanRequiredNullable parameter. - * @param stringRequired The stringRequired parameter. - * @param stringRequiredNullable The stringRequiredNullable parameter. - * @param requestHeaderOptional The requestHeaderOptional parameter. - * @param booleanNullable The booleanNullable parameter. - * @param string The string parameter. - * @param stringNullable The stringNullable parameter. + * @param requestHeaderRequired A sequence of textual characters. + * + * The requestHeaderRequired parameter. + * @param booleanRequired Boolean with `true` and `false` values. + * + * The booleanRequired parameter. + * @param booleanRequiredNullable Boolean with `true` and `false` values. + * + * The booleanRequiredNullable parameter. + * @param stringRequired A sequence of textual characters. + * + * The stringRequired parameter. + * @param stringRequiredNullable A sequence of textual characters. + * + * The stringRequiredNullable parameter. + * @param requestHeaderOptional A sequence of textual characters. + * + * The requestHeaderOptional parameter. + * @param booleanNullable Boolean with `true` and `false` values. + * + * The booleanNullable parameter. + * @param string A sequence of textual characters. + * + * The string parameter. + * @param stringNullable A sequence of textual characters. + * + * The stringNullable parameter. * @param optional The optional parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -192,11 +228,21 @@ public AllPropertiesOptional put(String requestHeaderRequired, boolean booleanRe /** * The put operation. * - * @param requestHeaderRequired The requestHeaderRequired parameter. - * @param booleanRequired The booleanRequired parameter. - * @param booleanRequiredNullable The booleanRequiredNullable parameter. - * @param stringRequired The stringRequired parameter. - * @param stringRequiredNullable The stringRequiredNullable parameter. + * @param requestHeaderRequired A sequence of textual characters. + * + * The requestHeaderRequired parameter. + * @param booleanRequired Boolean with `true` and `false` values. + * + * The booleanRequired parameter. + * @param booleanRequiredNullable Boolean with `true` and `false` values. + * + * The booleanRequiredNullable parameter. + * @param stringRequired A sequence of textual characters. + * + * The stringRequired parameter. + * @param stringRequiredNullable A sequence of textual characters. + * + * The stringRequiredNullable parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/cadl/optional/implementation/OptionalOpsImpl.java b/typespec-tests/src/main/java/com/cadl/optional/implementation/OptionalOpsImpl.java index e9880065ef..1e5aad5677 100644 --- a/typespec-tests/src/main/java/com/cadl/optional/implementation/OptionalOpsImpl.java +++ b/typespec-tests/src/main/java/com/cadl/optional/implementation/OptionalOpsImpl.java @@ -94,16 +94,24 @@ Response putSync(@HostParam("endpoint") String endpoint, * * * - * - * - * + * + * + * *
Query Parameters
NameTypeRequiredDescription
booleanNullableBooleanNoThe booleanNullable parameter
stringStringNoThe string parameter
stringNullableStringNoThe stringNullable parameter
booleanNullableBooleanNoBoolean with `true` and `false` values. + * + * The booleanNullable parameter
stringStringNoA sequence of textual characters. + * + * The string parameter
stringNullableStringNoA sequence of textual characters. + * + * The stringNullable parameter
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Header Parameters

* * * - * + * *
Header Parameters
NameTypeRequiredDescription
request-header-optionalStringNoThe requestHeaderOptional parameter
request-header-optionalStringNoA sequence of textual characters. + * + * The requestHeaderOptional parameter
* You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

@@ -170,11 +178,21 @@ Response putSync(@HostParam("endpoint") String endpoint, * } * } * - * @param requestHeaderRequired The requestHeaderRequired parameter. - * @param booleanRequired The booleanRequired parameter. - * @param booleanRequiredNullable The booleanRequiredNullable parameter. - * @param stringRequired The stringRequired parameter. - * @param stringRequiredNullable The stringRequiredNullable parameter. + * @param requestHeaderRequired A sequence of textual characters. + * + * The requestHeaderRequired parameter. + * @param booleanRequired Boolean with `true` and `false` values. + * + * The booleanRequired parameter. + * @param booleanRequiredNullable Boolean with `true` and `false` values. + * + * The booleanRequiredNullable parameter. + * @param stringRequired A sequence of textual characters. + * + * The stringRequired parameter. + * @param stringRequiredNullable A sequence of textual characters. + * + * The stringRequiredNullable parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -204,16 +222,24 @@ public Mono> putWithResponseAsync(String requestHeaderRequi * * * - * - * - * + * + * + * *
Query Parameters
NameTypeRequiredDescription
booleanNullableBooleanNoThe booleanNullable parameter
stringStringNoThe string parameter
stringNullableStringNoThe stringNullable parameter
booleanNullableBooleanNoBoolean with `true` and `false` values. + * + * The booleanNullable parameter
stringStringNoA sequence of textual characters. + * + * The string parameter
stringNullableStringNoA sequence of textual characters. + * + * The stringNullable parameter
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Header Parameters

* * * - * + * *
Header Parameters
NameTypeRequiredDescription
request-header-optionalStringNoThe requestHeaderOptional parameter
request-header-optionalStringNoA sequence of textual characters. + * + * The requestHeaderOptional parameter
* You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

@@ -280,11 +306,21 @@ public Mono> putWithResponseAsync(String requestHeaderRequi * } * } * - * @param requestHeaderRequired The requestHeaderRequired parameter. - * @param booleanRequired The booleanRequired parameter. - * @param booleanRequiredNullable The booleanRequiredNullable parameter. - * @param stringRequired The stringRequired parameter. - * @param stringRequiredNullable The stringRequiredNullable parameter. + * @param requestHeaderRequired A sequence of textual characters. + * + * The requestHeaderRequired parameter. + * @param booleanRequired Boolean with `true` and `false` values. + * + * The booleanRequired parameter. + * @param booleanRequiredNullable Boolean with `true` and `false` values. + * + * The booleanRequiredNullable parameter. + * @param stringRequired A sequence of textual characters. + * + * The stringRequired parameter. + * @param stringRequiredNullable A sequence of textual characters. + * + * The stringRequiredNullable parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/cadl/partialupdate/models/PartialUpdateModel.java b/typespec-tests/src/main/java/com/cadl/partialupdate/models/PartialUpdateModel.java index a611f094ba..3a95bc376e 100644 --- a/typespec-tests/src/main/java/com/cadl/partialupdate/models/PartialUpdateModel.java +++ b/typespec-tests/src/main/java/com/cadl/partialupdate/models/PartialUpdateModel.java @@ -37,8 +37,6 @@ public final class PartialUpdateModel implements JsonSerializable> createOrUpdateOptionalResourceWithResponse(Req * } * * @param fish This is base model for polymorphic multiple levels inheritance with a discriminator. + * + * The fish parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -307,6 +309,8 @@ public Mono createOrUpdateOptionalResource() { * The createOrUpdateFish operation. * * @param fish This is base model for polymorphic multiple levels inheritance with a discriminator. + * + * The fish parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/cadl/patch/PatchClient.java b/typespec-tests/src/main/java/com/cadl/patch/PatchClient.java index c84a6706ff..d8c132d007 100644 --- a/typespec-tests/src/main/java/com/cadl/patch/PatchClient.java +++ b/typespec-tests/src/main/java/com/cadl/patch/PatchClient.java @@ -216,6 +216,8 @@ public Response createOrUpdateOptionalResourceWithResponse(RequestOp * } * * @param fish This is base model for polymorphic multiple levels inheritance with a discriminator. + * + * The fish parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -302,6 +304,8 @@ public Resource createOrUpdateOptionalResource() { * The createOrUpdateFish operation. * * @param fish This is base model for polymorphic multiple levels inheritance with a discriminator. + * + * The fish parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/cadl/patch/implementation/PatchesImpl.java b/typespec-tests/src/main/java/com/cadl/patch/implementation/PatchesImpl.java index e746f756e1..7d13b7a905 100644 --- a/typespec-tests/src/main/java/com/cadl/patch/implementation/PatchesImpl.java +++ b/typespec-tests/src/main/java/com/cadl/patch/implementation/PatchesImpl.java @@ -471,6 +471,8 @@ public Response createOrUpdateOptionalResourceWithResponse(RequestOp * } * * @param fish This is base model for polymorphic multiple levels inheritance with a discriminator. + * + * The fish parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -515,6 +517,8 @@ public Mono> createOrUpdateFishWithResponseAsync(BinaryData * } * * @param fish This is base model for polymorphic multiple levels inheritance with a discriminator. + * + * The fish parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/cadl/patch/models/Resource.java b/typespec-tests/src/main/java/com/cadl/patch/models/Resource.java index 6b3c5cb3f9..9d5e7972c5 100644 --- a/typespec-tests/src/main/java/com/cadl/patch/models/Resource.java +++ b/typespec-tests/src/main/java/com/cadl/patch/models/Resource.java @@ -77,7 +77,7 @@ public final class Resource implements JsonSerializable { private List array; /* - * The fish property. + * This is base model for polymorphic multiple levels inheritance with a discriminator. */ @Generated private Fish fish; @@ -293,7 +293,7 @@ public Resource setArray(List array) { } /** - * Get the fish property: The fish property. + * Get the fish property: This is base model for polymorphic multiple levels inheritance with a discriminator. * * @return the fish value. */ @@ -303,7 +303,7 @@ public Fish getFish() { } /** - * Set the fish property: The fish property. + * Set the fish property: This is base model for polymorphic multiple levels inheritance with a discriminator. * * @param fish the fish value to set. * @return the Resource object itself. diff --git a/typespec-tests/src/main/java/com/cadl/patch/models/Salmon.java b/typespec-tests/src/main/java/com/cadl/patch/models/Salmon.java index 5b7986ab13..7dab95453d 100644 --- a/typespec-tests/src/main/java/com/cadl/patch/models/Salmon.java +++ b/typespec-tests/src/main/java/com/cadl/patch/models/Salmon.java @@ -41,7 +41,7 @@ public final class Salmon extends Fish { private Map hate; /* - * The partner property. + * This is base model for polymorphic multiple levels inheritance with a discriminator. */ @Generated private Fish partner; @@ -133,7 +133,7 @@ public Salmon setHate(Map hate) { } /** - * Get the partner property: The partner property. + * Get the partner property: This is base model for polymorphic multiple levels inheritance with a discriminator. * * @return the partner value. */ @@ -143,7 +143,7 @@ public Fish getPartner() { } /** - * Set the partner property: The partner property. + * Set the partner property: This is base model for polymorphic multiple levels inheritance with a discriminator. * * @param partner the partner value to set. * @return the Salmon object itself. diff --git a/typespec-tests/src/main/java/com/cadl/protocolandconvenient/ProtocolAndConvenientAsyncClient.java b/typespec-tests/src/main/java/com/cadl/protocolandconvenient/ProtocolAndConvenientAsyncClient.java index 3822cd98a1..85ab8347f7 100644 --- a/typespec-tests/src/main/java/com/cadl/protocolandconvenient/ProtocolAndConvenientAsyncClient.java +++ b/typespec-tests/src/main/java/com/cadl/protocolandconvenient/ProtocolAndConvenientAsyncClient.java @@ -210,8 +210,10 @@ Mono> errorSettingWithResponse(BinaryData body, RequestOpti * } * } * - * @param name The name parameter. - * @param resource The resource instance. + * @param name A sequence of textual characters. + * + * The name parameter. + * @param resource The resource parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -232,7 +234,10 @@ PollerFlux beginCreateOrReplace(String name, BinaryData * * * - * + * *
Query Parameters
NameTypeRequiredDescription
maxresultsLongNoThe maxPageSize parameter
maxresultsLongNoAn integer that can be serialized to JSON (`−9007199254740991 + * (−(2^53 − 1))` to `9007199254740991 (2^53 − 1)` ) + * + * The maxPageSize parameter
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

@@ -304,8 +309,10 @@ public Mono bothConvenientAndProtocol(ResourceE body) { /** * Long running operation. * - * @param name The name parameter. - * @param resource The resource instance. + * @param name A sequence of textual characters. + * + * The name parameter. + * @param resource The resource parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/cadl/protocolandconvenient/ProtocolAndConvenientClient.java b/typespec-tests/src/main/java/com/cadl/protocolandconvenient/ProtocolAndConvenientClient.java index af12d28f8b..210c90449c 100644 --- a/typespec-tests/src/main/java/com/cadl/protocolandconvenient/ProtocolAndConvenientClient.java +++ b/typespec-tests/src/main/java/com/cadl/protocolandconvenient/ProtocolAndConvenientClient.java @@ -203,8 +203,10 @@ Response errorSettingWithResponse(BinaryData body, RequestOptions re * } * } * - * @param name The name parameter. - * @param resource The resource instance. + * @param name A sequence of textual characters. + * + * The name parameter. + * @param resource The resource parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -225,7 +227,10 @@ SyncPoller beginCreateOrReplace(String name, BinaryData * * * - * + * *
Query Parameters
NameTypeRequiredDescription
maxresultsLongNoThe maxPageSize parameter
maxresultsLongNoAn integer that can be serialized to JSON (`−9007199254740991 + * (−(2^53 − 1))` to `9007199254740991 (2^53 − 1)` ) + * + * The maxPageSize parameter
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

@@ -296,8 +301,10 @@ public ResourceF bothConvenientAndProtocol(ResourceE body) { /** * Long running operation. * - * @param name The name parameter. - * @param resource The resource instance. + * @param name A sequence of textual characters. + * + * The name parameter. + * @param resource The resource parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/cadl/protocolandconvenient/implementation/ProtocolAndConvenienceOpsImpl.java b/typespec-tests/src/main/java/com/cadl/protocolandconvenient/implementation/ProtocolAndConvenienceOpsImpl.java index a9e61ad02c..2030723c4b 100644 --- a/typespec-tests/src/main/java/com/cadl/protocolandconvenient/implementation/ProtocolAndConvenienceOpsImpl.java +++ b/typespec-tests/src/main/java/com/cadl/protocolandconvenient/implementation/ProtocolAndConvenienceOpsImpl.java @@ -532,8 +532,10 @@ public Response errorSettingWithResponse(BinaryData body, RequestOpt * } * } * - * @param name The name parameter. - * @param resource The resource instance. + * @param name A sequence of textual characters. + * + * The name parameter. + * @param resource The resource parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -571,8 +573,10 @@ private Mono> createOrReplaceWithResponseAsync(String name, * } * } * - * @param name The name parameter. - * @param resource The resource instance. + * @param name A sequence of textual characters. + * + * The name parameter. + * @param resource The resource parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -610,8 +614,10 @@ private Response createOrReplaceWithResponse(String name, BinaryData * } * } * - * @param name The name parameter. - * @param resource The resource instance. + * @param name A sequence of textual characters. + * + * The name parameter. + * @param resource The resource parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -656,8 +662,10 @@ public PollerFlux beginCreateOrReplaceAsync(String name, * } * } * - * @param name The name parameter. - * @param resource The resource instance. + * @param name A sequence of textual characters. + * + * The name parameter. + * @param resource The resource parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -702,8 +710,10 @@ public SyncPoller beginCreateOrReplace(String name, Bina * } * } * - * @param name The name parameter. - * @param resource The resource instance. + * @param name A sequence of textual characters. + * + * The name parameter. + * @param resource The resource parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -748,8 +758,10 @@ public PollerFlux beginCreateOrReplaceWithModel * } * } * - * @param name The name parameter. - * @param resource The resource instance. + * @param name A sequence of textual characters. + * + * The name parameter. + * @param resource The resource parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -778,7 +790,10 @@ public SyncPoller beginCreateOrReplaceWithModel * * * - * + * *
Query Parameters
NameTypeRequiredDescription
maxresultsLongNoThe maxPageSize parameter
maxresultsLongNoAn integer that can be serialized to JSON (`−9007199254740991 + * (−(2^53 − 1))` to `9007199254740991 (2^53 − 1)` ) + * + * The maxPageSize parameter
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

@@ -815,7 +830,10 @@ private Mono> listSinglePageAsync(RequestOptions reque * * * - * + * *
Query Parameters
NameTypeRequiredDescription
maxresultsLongNoThe maxPageSize parameter
maxresultsLongNoAn integer that can be serialized to JSON (`−9007199254740991 + * (−(2^53 − 1))` to `9007199254740991 (2^53 − 1)` ) + * + * The maxPageSize parameter
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

@@ -870,7 +888,10 @@ public PagedFlux listAsync(RequestOptions requestOptions) { * * * - * + * *
Query Parameters
NameTypeRequiredDescription
maxresultsLongNoThe maxPageSize parameter
maxresultsLongNoAn integer that can be serialized to JSON (`−9007199254740991 + * (−(2^53 − 1))` to `9007199254740991 (2^53 − 1)` ) + * + * The maxPageSize parameter
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

@@ -905,7 +926,10 @@ private PagedResponse listSinglePage(RequestOptions requestOptions) * * * - * + * *
Query Parameters
NameTypeRequiredDescription
maxresultsLongNoThe maxPageSize parameter
maxresultsLongNoAn integer that can be serialized to JSON (`−9007199254740991 + * (−(2^53 − 1))` to `9007199254740991 (2^53 − 1)` ) + * + * The maxPageSize parameter
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

diff --git a/typespec-tests/src/main/java/com/cadl/response/models/OperationDetails1.java b/typespec-tests/src/main/java/com/cadl/response/models/OperationDetails1.java index 59a22e5ad3..a3ae62c50b 100644 --- a/typespec-tests/src/main/java/com/cadl/response/models/OperationDetails1.java +++ b/typespec-tests/src/main/java/com/cadl/response/models/OperationDetails1.java @@ -19,21 +19,19 @@ @Immutable public final class OperationDetails1 implements JsonSerializable { /* - * Universally Unique Identifier - * * Operation ID */ @Generated private final String operationId; /* - * The status property. + * Enum describing allowed operation states. */ @Generated private final OperationState status; /* - * The error property. + * The error object. */ @Generated private ResponseError error; @@ -57,9 +55,7 @@ private OperationDetails1(String operationId, OperationState status) { } /** - * Get the operationId property: Universally Unique Identifier - * - * Operation ID. + * Get the operationId property: Operation ID. * * @return the operationId value. */ @@ -69,7 +65,7 @@ public String getOperationId() { } /** - * Get the status property: The status property. + * Get the status property: Enum describing allowed operation states. * * @return the status value. */ @@ -79,7 +75,7 @@ public OperationState getStatus() { } /** - * Get the error property: The error property. + * Get the error property: The error object. * * @return the error value. */ diff --git a/typespec-tests/src/main/java/com/cadl/response/models/OperationDetails2.java b/typespec-tests/src/main/java/com/cadl/response/models/OperationDetails2.java index c04590092c..fbf46bb1fd 100644 --- a/typespec-tests/src/main/java/com/cadl/response/models/OperationDetails2.java +++ b/typespec-tests/src/main/java/com/cadl/response/models/OperationDetails2.java @@ -19,21 +19,19 @@ @Immutable public final class OperationDetails2 implements JsonSerializable { /* - * Universally Unique Identifier - * * Operation ID */ @Generated private final String id; /* - * The status property. + * Enum describing allowed operation states. */ @Generated private final OperationState status; /* - * The error property. + * The error object. */ @Generated private ResponseError error; @@ -57,9 +55,7 @@ private OperationDetails2(String id, OperationState status) { } /** - * Get the id property: Universally Unique Identifier - * - * Operation ID. + * Get the id property: Operation ID. * * @return the id value. */ @@ -69,7 +65,7 @@ public String getId() { } /** - * Get the status property: The status property. + * Get the status property: Enum describing allowed operation states. * * @return the status value. */ @@ -79,7 +75,7 @@ public OperationState getStatus() { } /** - * Get the error property: The error property. + * Get the error property: The error object. * * @return the error value. */ diff --git a/typespec-tests/src/main/java/com/cadl/server/ContosoAsyncClient.java b/typespec-tests/src/main/java/com/cadl/server/ContosoAsyncClient.java index b228cdc643..327a3d0dc5 100644 --- a/typespec-tests/src/main/java/com/cadl/server/ContosoAsyncClient.java +++ b/typespec-tests/src/main/java/com/cadl/server/ContosoAsyncClient.java @@ -39,7 +39,9 @@ public final class ContosoAsyncClient { /** * The get operation. * - * @param group The group parameter. + * @param group Represent a URL string as described by https://url.spec.whatwg.org/ + * + * The group parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -56,7 +58,9 @@ public Mono> getWithResponse(String group, RequestOptions request /** * The get operation. * - * @param group The group parameter. + * @param group Represent a URL string as described by https://url.spec.whatwg.org/ + * + * The group parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/cadl/server/ContosoClient.java b/typespec-tests/src/main/java/com/cadl/server/ContosoClient.java index cf8d274aa8..a4ce8c133f 100644 --- a/typespec-tests/src/main/java/com/cadl/server/ContosoClient.java +++ b/typespec-tests/src/main/java/com/cadl/server/ContosoClient.java @@ -37,7 +37,9 @@ public final class ContosoClient { /** * The get operation. * - * @param group The group parameter. + * @param group Represent a URL string as described by https://url.spec.whatwg.org/ + * + * The group parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -54,7 +56,9 @@ public Response getWithResponse(String group, RequestOptions requestOption /** * The get operation. * - * @param group The group parameter. + * @param group Represent a URL string as described by https://url.spec.whatwg.org/ + * + * The group parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/cadl/server/HttpbinAsyncClient.java b/typespec-tests/src/main/java/com/cadl/server/HttpbinAsyncClient.java index 41a954aa39..f55838f67b 100644 --- a/typespec-tests/src/main/java/com/cadl/server/HttpbinAsyncClient.java +++ b/typespec-tests/src/main/java/com/cadl/server/HttpbinAsyncClient.java @@ -39,7 +39,9 @@ public final class HttpbinAsyncClient { /** * The status operation. * - * @param code The code parameter. + * @param code A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) + * + * The code parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -56,7 +58,9 @@ public Mono> statusWithResponse(int code, RequestOptions requestO /** * The status operation. * - * @param code The code parameter. + * @param code A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) + * + * The code parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/cadl/server/HttpbinClient.java b/typespec-tests/src/main/java/com/cadl/server/HttpbinClient.java index 27908f7947..692b81ee96 100644 --- a/typespec-tests/src/main/java/com/cadl/server/HttpbinClient.java +++ b/typespec-tests/src/main/java/com/cadl/server/HttpbinClient.java @@ -37,7 +37,9 @@ public final class HttpbinClient { /** * The status operation. * - * @param code The code parameter. + * @param code A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) + * + * The code parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -54,7 +56,9 @@ public Response statusWithResponse(int code, RequestOptions requestOptions /** * The status operation. * - * @param code The code parameter. + * @param code A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) + * + * The code parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/cadl/server/implementation/ContosoClientImpl.java b/typespec-tests/src/main/java/com/cadl/server/implementation/ContosoClientImpl.java index ef7a6aa8f1..68038e0530 100644 --- a/typespec-tests/src/main/java/com/cadl/server/implementation/ContosoClientImpl.java +++ b/typespec-tests/src/main/java/com/cadl/server/implementation/ContosoClientImpl.java @@ -166,7 +166,9 @@ Response getSync(@HostParam("Endpoint") String endpoint, @HostParam("ApiVe /** * The get operation. * - * @param group The group parameter. + * @param group Represent a URL string as described by https://url.spec.whatwg.org/ + * + * The group parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -184,7 +186,9 @@ public Mono> getWithResponseAsync(String group, RequestOptions re /** * The get operation. * - * @param group The group parameter. + * @param group Represent a URL string as described by https://url.spec.whatwg.org/ + * + * The group parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/cadl/server/implementation/HttpbinClientImpl.java b/typespec-tests/src/main/java/com/cadl/server/implementation/HttpbinClientImpl.java index c7d90a1864..14edfc92d1 100644 --- a/typespec-tests/src/main/java/com/cadl/server/implementation/HttpbinClientImpl.java +++ b/typespec-tests/src/main/java/com/cadl/server/implementation/HttpbinClientImpl.java @@ -165,7 +165,9 @@ Response statusSync(@HostParam("domain") String domain, @HostParam("tld") /** * The status operation. * - * @param code The code parameter. + * @param code A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) + * + * The code parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -183,7 +185,9 @@ public Mono> statusWithResponseAsync(int code, RequestOptions req /** * The status operation. * - * @param code The code parameter. + * @param code A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) + * + * The code parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/cadl/specialchars/models/Resource.java b/typespec-tests/src/main/java/com/cadl/specialchars/models/Resource.java index 4f5706c71a..08f453b063 100644 --- a/typespec-tests/src/main/java/com/cadl/specialchars/models/Resource.java +++ b/typespec-tests/src/main/java/com/cadl/specialchars/models/Resource.java @@ -18,16 +18,12 @@ @Immutable public final class Resource implements JsonSerializable { /* - * A sequence of textual characters. - * * id */ @Generated private final String id; /* - * A sequence of textual characters. - * * The aggregation function to be applied on the client metric. Allowed functions * - ‘percentage’ - for error metric , ‘avg’, ‘p50’, ‘p90’, ‘p95’, ‘p99’, ‘min’, * ‘max’ - for response_time_ms and latency metric, ‘avg’ - for requests_per_sec, @@ -37,24 +33,18 @@ public final class Resource implements JsonSerializable { private String aggregate; /* - * A sequence of textual characters. - * * The comparison operator. Supported types ‘>’, ‘<’ */ @Generated private String condition; /* - * A sequence of textual characters. - * * Request name for which the Pass fail criteria has to be applied */ @Generated private String requestName; /* - * A 32 bit floating point number. (`±5.0 × 10^−324` to `±1.7 × 10^308`) - * * The value to compare with the client metric. Allowed values - ‘error : [0.0 , * 100.0] unit- % ’, response_time_ms and latency : any integer value unit- ms. */ @@ -72,9 +62,7 @@ private Resource(String id) { } /** - * Get the id property: A sequence of textual characters. - * - * id. + * Get the id property: id. * * @return the id value. */ @@ -84,9 +72,7 @@ public String getId() { } /** - * Get the aggregate property: A sequence of textual characters. - * - * The aggregation function to be applied on the client metric. Allowed functions + * Get the aggregate property: The aggregation function to be applied on the client metric. Allowed functions * - ‘percentage’ - for error metric , ‘avg’, ‘p50’, ‘p90’, ‘p95’, ‘p99’, ‘min’, * ‘max’ - for response_time_ms and latency metric, ‘avg’ - for requests_per_sec, * ‘count’ - for requests. @@ -99,9 +85,7 @@ public String getAggregate() { } /** - * Get the condition property: A sequence of textual characters. - * - * The comparison operator. Supported types ‘>’, ‘<’. + * Get the condition property: The comparison operator. Supported types ‘>’, ‘<’. * * @return the condition value. */ @@ -111,9 +95,7 @@ public String getCondition() { } /** - * Get the requestName property: A sequence of textual characters. - * - * Request name for which the Pass fail criteria has to be applied. + * Get the requestName property: Request name for which the Pass fail criteria has to be applied. * * @return the requestName value. */ @@ -123,9 +105,7 @@ public String getRequestName() { } /** - * Get the value property: A 32 bit floating point number. (`±5.0 × 10^−324` to `±1.7 × 10^308`) - * - * The value to compare with the client metric. Allowed values - ‘error : [0.0 , + * Get the value property: The value to compare with the client metric. Allowed values - ‘error : [0.0 , * 100.0] unit- % ’, response_time_ms and latency : any integer value unit- ms. * * @return the value value. diff --git a/typespec-tests/src/main/java/com/cadl/specialheaders/EtagHeadersAsyncClient.java b/typespec-tests/src/main/java/com/cadl/specialheaders/EtagHeadersAsyncClient.java index 7225fc9abf..701d32af5f 100644 --- a/typespec-tests/src/main/java/com/cadl/specialheaders/EtagHeadersAsyncClient.java +++ b/typespec-tests/src/main/java/com/cadl/specialheaders/EtagHeadersAsyncClient.java @@ -55,14 +55,14 @@ public final class EtagHeadersAsyncClient { * * * - * - * - * - * + * + * + * + * *
Header Parameters
NameTypeRequiredDescription
If-MatchStringNoThe request should only proceed if an entity matches this - * string.
If-None-MatchStringNoThe request should only proceed if no entity matches this - * string.
If-Unmodified-SinceOffsetDateTimeNoThe request should only proceed if the - * entity was not modified after this time.
If-Modified-SinceOffsetDateTimeNoThe request should only proceed if the entity - * was modified after this time.
If-MatchStringNoA sequence of textual characters. + * + * The ifMatch parameter
If-None-MatchStringNoA sequence of textual characters. + * + * The ifNoneMatch parameter
If-Unmodified-SinceOffsetDateTimeNoThe ifUnmodifiedSince parameter
If-Modified-SinceOffsetDateTimeNoThe ifModifiedSince parameter
* You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

@@ -87,8 +87,10 @@ public final class EtagHeadersAsyncClient { * } * } * - * @param name The name parameter. - * @param resource The resource instance. + * @param name A sequence of textual characters. + * + * The name parameter. + * @param resource The resource parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -109,10 +111,12 @@ public Mono> putWithRequestHeadersWithResponse(String name, * * * - * - * + * + * *
Header Parameters
NameTypeRequiredDescription
If-MatchStringNoThe request should only proceed if an entity matches this - * string.
If-None-MatchStringNoThe request should only proceed if no entity matches this - * string.
If-MatchStringNoA sequence of textual characters. + * + * The ifMatch parameter
If-None-MatchStringNoA sequence of textual characters. + * + * The ifNoneMatch parameter
* You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

@@ -137,8 +141,10 @@ public Mono> putWithRequestHeadersWithResponse(String name, * } * } * - * @param name The name parameter. - * @param resource The resource instance. + * @param name A sequence of textual characters. + * + * The name parameter. + * @param resource The resource parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -182,8 +188,10 @@ public PagedFlux listWithEtag(RequestOptions requestOptions) { /** * Create or replace operation template. * - * @param name The name parameter. - * @param resource The resource instance. + * @param name A sequence of textual characters. + * + * The name parameter. + * @param resource The resource parameter. * @param requestConditions Specifies HTTP options for conditional requests based on modification time. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -224,8 +232,10 @@ public Mono putWithRequestHeaders(String name, Resource resource, Requ /** * Create or replace operation template. * - * @param name The name parameter. - * @param resource The resource instance. + * @param name A sequence of textual characters. + * + * The name parameter. + * @param resource The resource parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -247,8 +257,10 @@ public Mono putWithRequestHeaders(String name, Resource resource) { /** * Create or update operation template. * - * @param name The name parameter. - * @param resource The resource instance. + * @param name A sequence of textual characters. + * + * The name parameter. + * @param resource The resource parameter. * @param matchConditions Specifies HTTP options for conditional requests. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -281,8 +293,10 @@ public Mono patchWithMatchHeaders(String name, Resource resource, Matc /** * Create or update operation template. * - * @param name The name parameter. - * @param resource The resource instance. + * @param name A sequence of textual characters. + * + * The name parameter. + * @param resource The resource parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/cadl/specialheaders/EtagHeadersClient.java b/typespec-tests/src/main/java/com/cadl/specialheaders/EtagHeadersClient.java index 63037044ee..f49ea46245 100644 --- a/typespec-tests/src/main/java/com/cadl/specialheaders/EtagHeadersClient.java +++ b/typespec-tests/src/main/java/com/cadl/specialheaders/EtagHeadersClient.java @@ -49,14 +49,14 @@ public final class EtagHeadersClient { * * * - * - * - * - * + * + * + * + * *
Header Parameters
NameTypeRequiredDescription
If-MatchStringNoThe request should only proceed if an entity matches this - * string.
If-None-MatchStringNoThe request should only proceed if no entity matches this - * string.
If-Unmodified-SinceOffsetDateTimeNoThe request should only proceed if the - * entity was not modified after this time.
If-Modified-SinceOffsetDateTimeNoThe request should only proceed if the entity - * was modified after this time.
If-MatchStringNoA sequence of textual characters. + * + * The ifMatch parameter
If-None-MatchStringNoA sequence of textual characters. + * + * The ifNoneMatch parameter
If-Unmodified-SinceOffsetDateTimeNoThe ifUnmodifiedSince parameter
If-Modified-SinceOffsetDateTimeNoThe ifModifiedSince parameter
* You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

@@ -81,8 +81,10 @@ public final class EtagHeadersClient { * } * } * - * @param name The name parameter. - * @param resource The resource instance. + * @param name A sequence of textual characters. + * + * The name parameter. + * @param resource The resource parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -103,10 +105,12 @@ public Response putWithRequestHeadersWithResponse(String name, Binar * * * - * - * + * + * *
Header Parameters
NameTypeRequiredDescription
If-MatchStringNoThe request should only proceed if an entity matches this - * string.
If-None-MatchStringNoThe request should only proceed if no entity matches this - * string.
If-MatchStringNoA sequence of textual characters. + * + * The ifMatch parameter
If-None-MatchStringNoA sequence of textual characters. + * + * The ifNoneMatch parameter
* You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

@@ -131,8 +135,10 @@ public Response putWithRequestHeadersWithResponse(String name, Binar * } * } * - * @param name The name parameter. - * @param resource The resource instance. + * @param name A sequence of textual characters. + * + * The name parameter. + * @param resource The resource parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -176,8 +182,10 @@ public PagedIterable listWithEtag(RequestOptions requestOptions) { /** * Create or replace operation template. * - * @param name The name parameter. - * @param resource The resource instance. + * @param name A sequence of textual characters. + * + * The name parameter. + * @param resource The resource parameter. * @param requestConditions Specifies HTTP options for conditional requests based on modification time. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -217,8 +225,10 @@ public Resource putWithRequestHeaders(String name, Resource resource, RequestCon /** * Create or replace operation template. * - * @param name The name parameter. - * @param resource The resource instance. + * @param name A sequence of textual characters. + * + * The name parameter. + * @param resource The resource parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -239,8 +249,10 @@ public Resource putWithRequestHeaders(String name, Resource resource) { /** * Create or update operation template. * - * @param name The name parameter. - * @param resource The resource instance. + * @param name A sequence of textual characters. + * + * The name parameter. + * @param resource The resource parameter. * @param matchConditions Specifies HTTP options for conditional requests. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -273,8 +285,10 @@ public Resource patchWithMatchHeaders(String name, Resource resource, MatchCondi /** * Create or update operation template. * - * @param name The name parameter. - * @param resource The resource instance. + * @param name A sequence of textual characters. + * + * The name parameter. + * @param resource The resource parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/cadl/specialheaders/EtagHeadersOptionalBodyAsyncClient.java b/typespec-tests/src/main/java/com/cadl/specialheaders/EtagHeadersOptionalBodyAsyncClient.java index ab66a8d62b..bcaf4c7c96 100644 --- a/typespec-tests/src/main/java/com/cadl/specialheaders/EtagHeadersOptionalBodyAsyncClient.java +++ b/typespec-tests/src/main/java/com/cadl/specialheaders/EtagHeadersOptionalBodyAsyncClient.java @@ -48,21 +48,23 @@ public final class EtagHeadersOptionalBodyAsyncClient { * * * - * + * *
Query Parameters
NameTypeRequiredDescription
filterStringNoThe filter parameter
filterStringNoA sequence of textual characters. + * + * The filter parameter
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Header Parameters

* * * - * - * - * - * + * + * + * + * * *
Header Parameters
NameTypeRequiredDescription
If-MatchStringNoThe request should only proceed if an entity matches this - * string.
If-None-MatchStringNoThe request should only proceed if no entity matches this - * string.
If-Unmodified-SinceOffsetDateTimeNoThe request should only proceed if the - * entity was not modified after this time.
If-Modified-SinceOffsetDateTimeNoThe request should only proceed if the entity - * was modified after this time.
If-MatchStringNoA sequence of textual characters. + * + * The ifMatch parameter
If-None-MatchStringNoA sequence of textual characters. + * + * The ifNoneMatch parameter
If-Unmodified-SinceOffsetDateTimeNoThe ifUnmodifiedSince parameter
If-Modified-SinceOffsetDateTimeNoThe ifModifiedSince parameter
timestampOffsetDateTimeNoThe timestamp parameter
* You can add these to a request with {@link RequestOptions#addHeader} @@ -88,7 +90,9 @@ public final class EtagHeadersOptionalBodyAsyncClient { * } * } * - * @param format The format parameter. + * @param format A sequence of textual characters. + * + * The format parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -105,8 +109,12 @@ public Mono> putWithOptionalBodyWithResponse(String format, /** * etag headers among other optional query/header/body parameters. * - * @param format The format parameter. - * @param filter The filter parameter. + * @param format A sequence of textual characters. + * + * The format parameter. + * @param filter A sequence of textual characters. + * + * The filter parameter. * @param timestamp The timestamp parameter. * @param body The body parameter. * @param requestConditions Specifies HTTP options for conditional requests based on modification time. @@ -158,7 +166,9 @@ public Mono putWithOptionalBody(String format, String filter, OffsetDa /** * etag headers among other optional query/header/body parameters. * - * @param format The format parameter. + * @param format A sequence of textual characters. + * + * The format parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/cadl/specialheaders/EtagHeadersOptionalBodyClient.java b/typespec-tests/src/main/java/com/cadl/specialheaders/EtagHeadersOptionalBodyClient.java index c811a07301..2430a5024d 100644 --- a/typespec-tests/src/main/java/com/cadl/specialheaders/EtagHeadersOptionalBodyClient.java +++ b/typespec-tests/src/main/java/com/cadl/specialheaders/EtagHeadersOptionalBodyClient.java @@ -46,21 +46,23 @@ public final class EtagHeadersOptionalBodyClient { * * * - * + * *
Query Parameters
NameTypeRequiredDescription
filterStringNoThe filter parameter
filterStringNoA sequence of textual characters. + * + * The filter parameter
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Header Parameters

* * * - * - * - * - * + * + * + * + * * *
Header Parameters
NameTypeRequiredDescription
If-MatchStringNoThe request should only proceed if an entity matches this - * string.
If-None-MatchStringNoThe request should only proceed if no entity matches this - * string.
If-Unmodified-SinceOffsetDateTimeNoThe request should only proceed if the - * entity was not modified after this time.
If-Modified-SinceOffsetDateTimeNoThe request should only proceed if the entity - * was modified after this time.
If-MatchStringNoA sequence of textual characters. + * + * The ifMatch parameter
If-None-MatchStringNoA sequence of textual characters. + * + * The ifNoneMatch parameter
If-Unmodified-SinceOffsetDateTimeNoThe ifUnmodifiedSince parameter
If-Modified-SinceOffsetDateTimeNoThe ifModifiedSince parameter
timestampOffsetDateTimeNoThe timestamp parameter
* You can add these to a request with {@link RequestOptions#addHeader} @@ -86,7 +88,9 @@ public final class EtagHeadersOptionalBodyClient { * } * } * - * @param format The format parameter. + * @param format A sequence of textual characters. + * + * The format parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -103,8 +107,12 @@ public Response putWithOptionalBodyWithResponse(String format, Reque /** * etag headers among other optional query/header/body parameters. * - * @param format The format parameter. - * @param filter The filter parameter. + * @param format A sequence of textual characters. + * + * The format parameter. + * @param filter A sequence of textual characters. + * + * The filter parameter. * @param timestamp The timestamp parameter. * @param body The body parameter. * @param requestConditions Specifies HTTP options for conditional requests based on modification time. @@ -155,7 +163,9 @@ public Resource putWithOptionalBody(String format, String filter, OffsetDateTime /** * etag headers among other optional query/header/body parameters. * - * @param format The format parameter. + * @param format A sequence of textual characters. + * + * The format parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/cadl/specialheaders/RepeatabilityHeadersAsyncClient.java b/typespec-tests/src/main/java/com/cadl/specialheaders/RepeatabilityHeadersAsyncClient.java index 359861f1f9..3dbf828ac4 100644 --- a/typespec-tests/src/main/java/com/cadl/specialheaders/RepeatabilityHeadersAsyncClient.java +++ b/typespec-tests/src/main/java/com/cadl/specialheaders/RepeatabilityHeadersAsyncClient.java @@ -54,7 +54,9 @@ public final class RepeatabilityHeadersAsyncClient { * } * } * - * @param name The name parameter. + * @param name A sequence of textual characters. + * + * The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -101,8 +103,10 @@ public Mono> getWithResponse(String name, RequestOptions re * } * } * - * @param name The name parameter. - * @param resource The resource instance. + * @param name A sequence of textual characters. + * + * The name parameter. + * @param resource The resource parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -138,7 +142,9 @@ public Mono> putWithResponse(String name, BinaryData resour * } * } * - * @param name The name parameter. + * @param name A sequence of textual characters. + * + * The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -185,8 +191,10 @@ public Mono> postWithResponse(String name, RequestOptions r * } * } * - * @param name The name parameter. - * @param resource The resource instance. + * @param name A sequence of textual characters. + * + * The name parameter. + * @param resource The resource parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -204,7 +212,9 @@ public PollerFlux beginCreateLro(String name, BinaryData /** * Resource read operation template. * - * @param name The name parameter. + * @param name A sequence of textual characters. + * + * The name parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -225,8 +235,10 @@ public Mono get(String name) { /** * Send a put request with header Repeatability-Request-ID and Repeatability-First-Sent. * - * @param name The name parameter. - * @param resource The resource instance. + * @param name A sequence of textual characters. + * + * The name parameter. + * @param resource The resource parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -247,7 +259,9 @@ public Mono put(String name, Resource resource) { /** * Send a post request with header Repeatability-Request-ID and Repeatability-First-Sent. * - * @param name The name parameter. + * @param name A sequence of textual characters. + * + * The name parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -268,8 +282,10 @@ public Mono post(String name) { /** * Send a LRO request with header Repeatability-Request-ID and Repeatability-First-Sent. * - * @param name The name parameter. - * @param resource The resource instance. + * @param name A sequence of textual characters. + * + * The name parameter. + * @param resource The resource parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/cadl/specialheaders/RepeatabilityHeadersClient.java b/typespec-tests/src/main/java/com/cadl/specialheaders/RepeatabilityHeadersClient.java index b2b6128f8c..88ab124658 100644 --- a/typespec-tests/src/main/java/com/cadl/specialheaders/RepeatabilityHeadersClient.java +++ b/typespec-tests/src/main/java/com/cadl/specialheaders/RepeatabilityHeadersClient.java @@ -52,7 +52,9 @@ public final class RepeatabilityHeadersClient { * } * } * - * @param name The name parameter. + * @param name A sequence of textual characters. + * + * The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -99,8 +101,10 @@ public Response getWithResponse(String name, RequestOptions requestO * } * } * - * @param name The name parameter. - * @param resource The resource instance. + * @param name A sequence of textual characters. + * + * The name parameter. + * @param resource The resource parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -136,7 +140,9 @@ public Response putWithResponse(String name, BinaryData resource, Re * } * } * - * @param name The name parameter. + * @param name A sequence of textual characters. + * + * The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -183,8 +189,10 @@ public Response postWithResponse(String name, RequestOptions request * } * } * - * @param name The name parameter. - * @param resource The resource instance. + * @param name A sequence of textual characters. + * + * The name parameter. + * @param resource The resource parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -202,7 +210,9 @@ public SyncPoller beginCreateLro(String name, BinaryData /** * Resource read operation template. * - * @param name The name parameter. + * @param name A sequence of textual characters. + * + * The name parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -222,8 +232,10 @@ public Resource get(String name) { /** * Send a put request with header Repeatability-Request-ID and Repeatability-First-Sent. * - * @param name The name parameter. - * @param resource The resource instance. + * @param name A sequence of textual characters. + * + * The name parameter. + * @param resource The resource parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -244,7 +256,9 @@ public Resource put(String name, Resource resource) { /** * Send a post request with header Repeatability-Request-ID and Repeatability-First-Sent. * - * @param name The name parameter. + * @param name A sequence of textual characters. + * + * The name parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -264,8 +278,10 @@ public Resource post(String name) { /** * Send a LRO request with header Repeatability-Request-ID and Repeatability-First-Sent. * - * @param name The name parameter. - * @param resource The resource instance. + * @param name A sequence of textual characters. + * + * The name parameter. + * @param resource The resource parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/cadl/specialheaders/SkipSpecialHeadersAsyncClient.java b/typespec-tests/src/main/java/com/cadl/specialheaders/SkipSpecialHeadersAsyncClient.java index aac583b74c..88acae177b 100644 --- a/typespec-tests/src/main/java/com/cadl/specialheaders/SkipSpecialHeadersAsyncClient.java +++ b/typespec-tests/src/main/java/com/cadl/specialheaders/SkipSpecialHeadersAsyncClient.java @@ -39,8 +39,12 @@ public final class SkipSpecialHeadersAsyncClient { /** * skip special headers. * - * @param name The name parameter. - * @param foo The foo parameter. + * @param name A sequence of textual characters. + * + * The name parameter. + * @param foo A sequence of textual characters. + * + * The foo parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -58,8 +62,12 @@ public Mono> deleteWithSpecialHeadersWithResponse(String name, St /** * skip special headers. * - * @param name The name parameter. - * @param foo The foo parameter. + * @param name A sequence of textual characters. + * + * The name parameter. + * @param foo A sequence of textual characters. + * + * The foo parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/cadl/specialheaders/SkipSpecialHeadersClient.java b/typespec-tests/src/main/java/com/cadl/specialheaders/SkipSpecialHeadersClient.java index 40043ed829..2229b8d8e0 100644 --- a/typespec-tests/src/main/java/com/cadl/specialheaders/SkipSpecialHeadersClient.java +++ b/typespec-tests/src/main/java/com/cadl/specialheaders/SkipSpecialHeadersClient.java @@ -37,8 +37,12 @@ public final class SkipSpecialHeadersClient { /** * skip special headers. * - * @param name The name parameter. - * @param foo The foo parameter. + * @param name A sequence of textual characters. + * + * The name parameter. + * @param foo A sequence of textual characters. + * + * The foo parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -55,8 +59,12 @@ public Response deleteWithSpecialHeadersWithResponse(String name, String f /** * skip special headers. * - * @param name The name parameter. - * @param foo The foo parameter. + * @param name A sequence of textual characters. + * + * The name parameter. + * @param foo A sequence of textual characters. + * + * The foo parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/cadl/specialheaders/implementation/EtagHeadersImpl.java b/typespec-tests/src/main/java/com/cadl/specialheaders/implementation/EtagHeadersImpl.java index 57967b3d50..dc0e69ebc4 100644 --- a/typespec-tests/src/main/java/com/cadl/specialheaders/implementation/EtagHeadersImpl.java +++ b/typespec-tests/src/main/java/com/cadl/specialheaders/implementation/EtagHeadersImpl.java @@ -172,14 +172,14 @@ Response listWithEtagNextSync(@PathParam(value = "nextLink", encoded * * * - * - * - * - * + * + * + * + * *
Header Parameters
NameTypeRequiredDescription
If-MatchStringNoThe request should only proceed if an entity matches this - * string.
If-None-MatchStringNoThe request should only proceed if no entity matches this - * string.
If-Unmodified-SinceOffsetDateTimeNoThe request should only proceed if the - * entity was not modified after this time.
If-Modified-SinceOffsetDateTimeNoThe request should only proceed if the entity - * was modified after this time.
If-MatchStringNoA sequence of textual characters. + * + * The ifMatch parameter
If-None-MatchStringNoA sequence of textual characters. + * + * The ifNoneMatch parameter
If-Unmodified-SinceOffsetDateTimeNoThe ifUnmodifiedSince parameter
If-Modified-SinceOffsetDateTimeNoThe ifModifiedSince parameter
* You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

@@ -204,8 +204,10 @@ Response listWithEtagNextSync(@PathParam(value = "nextLink", encoded * } * } * - * @param name The name parameter. - * @param resource The resource instance. + * @param name A sequence of textual characters. + * + * The name parameter. + * @param resource The resource parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -227,14 +229,14 @@ public Mono> putWithRequestHeadersWithResponseAsync(String * * * - * - * - * - * + * + * + * + * *
Header Parameters
NameTypeRequiredDescription
If-MatchStringNoThe request should only proceed if an entity matches this - * string.
If-None-MatchStringNoThe request should only proceed if no entity matches this - * string.
If-Unmodified-SinceOffsetDateTimeNoThe request should only proceed if the - * entity was not modified after this time.
If-Modified-SinceOffsetDateTimeNoThe request should only proceed if the entity - * was modified after this time.
If-MatchStringNoA sequence of textual characters. + * + * The ifMatch parameter
If-None-MatchStringNoA sequence of textual characters. + * + * The ifNoneMatch parameter
If-Unmodified-SinceOffsetDateTimeNoThe ifUnmodifiedSince parameter
If-Modified-SinceOffsetDateTimeNoThe ifModifiedSince parameter
* You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

@@ -259,8 +261,10 @@ public Mono> putWithRequestHeadersWithResponseAsync(String * } * } * - * @param name The name parameter. - * @param resource The resource instance. + * @param name A sequence of textual characters. + * + * The name parameter. + * @param resource The resource parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -282,10 +286,12 @@ public Response putWithRequestHeadersWithResponse(String name, Binar * * * - * - * + * + * *
Header Parameters
NameTypeRequiredDescription
If-MatchStringNoThe request should only proceed if an entity matches this - * string.
If-None-MatchStringNoThe request should only proceed if no entity matches this - * string.
If-MatchStringNoA sequence of textual characters. + * + * The ifMatch parameter
If-None-MatchStringNoA sequence of textual characters. + * + * The ifNoneMatch parameter
* You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

@@ -310,8 +316,10 @@ public Response putWithRequestHeadersWithResponse(String name, Binar * } * } * - * @param name The name parameter. - * @param resource The resource instance. + * @param name A sequence of textual characters. + * + * The name parameter. + * @param resource The resource parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -335,10 +343,12 @@ public Mono> patchWithMatchHeadersWithResponseAsync(String * * * - * - * + * + * *
Header Parameters
NameTypeRequiredDescription
If-MatchStringNoThe request should only proceed if an entity matches this - * string.
If-None-MatchStringNoThe request should only proceed if no entity matches this - * string.
If-MatchStringNoA sequence of textual characters. + * + * The ifMatch parameter
If-None-MatchStringNoA sequence of textual characters. + * + * The ifNoneMatch parameter
* You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

@@ -363,8 +373,10 @@ public Mono> patchWithMatchHeadersWithResponseAsync(String * } * } * - * @param name The name parameter. - * @param resource The resource instance. + * @param name A sequence of textual characters. + * + * The name parameter. + * @param resource The resource parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/cadl/specialheaders/implementation/EtagHeadersOptionalBodiesImpl.java b/typespec-tests/src/main/java/com/cadl/specialheaders/implementation/EtagHeadersOptionalBodiesImpl.java index b1420900f1..8415dfeb1e 100644 --- a/typespec-tests/src/main/java/com/cadl/specialheaders/implementation/EtagHeadersOptionalBodiesImpl.java +++ b/typespec-tests/src/main/java/com/cadl/specialheaders/implementation/EtagHeadersOptionalBodiesImpl.java @@ -96,21 +96,23 @@ Response putWithOptionalBodySync(@HostParam("endpoint") String endpo * * * - * + * *
Query Parameters
NameTypeRequiredDescription
filterStringNoThe filter parameter
filterStringNoA sequence of textual characters. + * + * The filter parameter
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Header Parameters

* * * - * - * - * - * + * + * + * + * * *
Header Parameters
NameTypeRequiredDescription
If-MatchStringNoThe request should only proceed if an entity matches this - * string.
If-None-MatchStringNoThe request should only proceed if no entity matches this - * string.
If-Unmodified-SinceOffsetDateTimeNoThe request should only proceed if the - * entity was not modified after this time.
If-Modified-SinceOffsetDateTimeNoThe request should only proceed if the entity - * was modified after this time.
If-MatchStringNoA sequence of textual characters. + * + * The ifMatch parameter
If-None-MatchStringNoA sequence of textual characters. + * + * The ifNoneMatch parameter
If-Unmodified-SinceOffsetDateTimeNoThe ifUnmodifiedSince parameter
If-Modified-SinceOffsetDateTimeNoThe ifModifiedSince parameter
timestampOffsetDateTimeNoThe timestamp parameter
* You can add these to a request with {@link RequestOptions#addHeader} @@ -136,7 +138,9 @@ Response putWithOptionalBodySync(@HostParam("endpoint") String endpo * } * } * - * @param format The format parameter. + * @param format A sequence of textual characters. + * + * The format parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -164,21 +168,23 @@ public Mono> putWithOptionalBodyWithResponseAsync(String fo * * * - * + * *
Query Parameters
NameTypeRequiredDescription
filterStringNoThe filter parameter
filterStringNoA sequence of textual characters. + * + * The filter parameter
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Header Parameters

* * * - * - * - * - * + * + * + * + * * *
Header Parameters
NameTypeRequiredDescription
If-MatchStringNoThe request should only proceed if an entity matches this - * string.
If-None-MatchStringNoThe request should only proceed if no entity matches this - * string.
If-Unmodified-SinceOffsetDateTimeNoThe request should only proceed if the - * entity was not modified after this time.
If-Modified-SinceOffsetDateTimeNoThe request should only proceed if the entity - * was modified after this time.
If-MatchStringNoA sequence of textual characters. + * + * The ifMatch parameter
If-None-MatchStringNoA sequence of textual characters. + * + * The ifNoneMatch parameter
If-Unmodified-SinceOffsetDateTimeNoThe ifUnmodifiedSince parameter
If-Modified-SinceOffsetDateTimeNoThe ifModifiedSince parameter
timestampOffsetDateTimeNoThe timestamp parameter
* You can add these to a request with {@link RequestOptions#addHeader} @@ -204,7 +210,9 @@ public Mono> putWithOptionalBodyWithResponseAsync(String fo * } * } * - * @param format The format parameter. + * @param format A sequence of textual characters. + * + * The format parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/cadl/specialheaders/implementation/RepeatabilityHeadersImpl.java b/typespec-tests/src/main/java/com/cadl/specialheaders/implementation/RepeatabilityHeadersImpl.java index b8486a15e9..4ac3f489b9 100644 --- a/typespec-tests/src/main/java/com/cadl/specialheaders/implementation/RepeatabilityHeadersImpl.java +++ b/typespec-tests/src/main/java/com/cadl/specialheaders/implementation/RepeatabilityHeadersImpl.java @@ -184,7 +184,9 @@ Response createLroSync(@HostParam("endpoint") String endpoint, * } * } * - * @param name The name parameter. + * @param name A sequence of textual characters. + * + * The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -212,7 +214,9 @@ public Mono> getWithResponseAsync(String name, RequestOptio * } * } * - * @param name The name parameter. + * @param name A sequence of textual characters. + * + * The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -260,8 +264,10 @@ public Response getWithResponse(String name, RequestOptions requestO * } * } * - * @param name The name parameter. - * @param resource The resource instance. + * @param name A sequence of textual characters. + * + * The name parameter. + * @param resource The resource parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -325,8 +331,10 @@ public Mono> putWithResponseAsync(String name, BinaryData r * } * } * - * @param name The name parameter. - * @param resource The resource instance. + * @param name A sequence of textual characters. + * + * The name parameter. + * @param resource The resource parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -378,7 +386,9 @@ public Response putWithResponse(String name, BinaryData resource, Re * } * } * - * @param name The name parameter. + * @param name A sequence of textual characters. + * + * The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -430,7 +440,9 @@ public Mono> postWithResponseAsync(String name, RequestOpti * } * } * - * @param name The name parameter. + * @param name A sequence of textual characters. + * + * The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -493,8 +505,10 @@ public Response postWithResponse(String name, RequestOptions request * } * } * - * @param name The name parameter. - * @param resource The resource instance. + * @param name A sequence of textual characters. + * + * The name parameter. + * @param resource The resource parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -560,8 +574,10 @@ private Mono> createLroWithResponseAsync(String name, Binar * } * } * - * @param name The name parameter. - * @param resource The resource instance. + * @param name A sequence of textual characters. + * + * The name parameter. + * @param resource The resource parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -626,8 +642,10 @@ private Response createLroWithResponse(String name, BinaryData resou * } * } * - * @param name The name parameter. - * @param resource The resource instance. + * @param name A sequence of textual characters. + * + * The name parameter. + * @param resource The resource parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -683,8 +701,10 @@ public PollerFlux beginCreateLroAsync(String name, Binar * } * } * - * @param name The name parameter. - * @param resource The resource instance. + * @param name A sequence of textual characters. + * + * The name parameter. + * @param resource The resource parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -740,8 +760,10 @@ public SyncPoller beginCreateLro(String name, BinaryData * } * } * - * @param name The name parameter. - * @param resource The resource instance. + * @param name A sequence of textual characters. + * + * The name parameter. + * @param resource The resource parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -797,8 +819,10 @@ public PollerFlux beginCreateLroWithModelAsync(S * } * } * - * @param name The name parameter. - * @param resource The resource instance. + * @param name A sequence of textual characters. + * + * The name parameter. + * @param resource The resource parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/cadl/specialheaders/implementation/SkipSpecialHeadersImpl.java b/typespec-tests/src/main/java/com/cadl/specialheaders/implementation/SkipSpecialHeadersImpl.java index fe882ab8ec..f21d3d4f51 100644 --- a/typespec-tests/src/main/java/com/cadl/specialheaders/implementation/SkipSpecialHeadersImpl.java +++ b/typespec-tests/src/main/java/com/cadl/specialheaders/implementation/SkipSpecialHeadersImpl.java @@ -94,8 +94,12 @@ Response deleteWithSpecialHeadersSync(@HostParam("endpoint") String endpoi /** * skip special headers. * - * @param name The name parameter. - * @param foo The foo parameter. + * @param name A sequence of textual characters. + * + * The name parameter. + * @param foo A sequence of textual characters. + * + * The foo parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -114,8 +118,12 @@ public Mono> deleteWithSpecialHeadersWithResponseAsync(String nam /** * skip special headers. * - * @param name The name parameter. - * @param foo The foo parameter. + * @param name A sequence of textual characters. + * + * The name parameter. + * @param foo A sequence of textual characters. + * + * The foo parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/cadl/union/UnionAsyncClient.java b/typespec-tests/src/main/java/com/cadl/union/UnionAsyncClient.java index d940c46a99..d46fec0cdf 100644 --- a/typespec-tests/src/main/java/com/cadl/union/UnionAsyncClient.java +++ b/typespec-tests/src/main/java/com/cadl/union/UnionAsyncClient.java @@ -57,7 +57,9 @@ public final class UnionAsyncClient { * } * } * - * @param id The id parameter. + * @param id A sequence of textual characters. + * + * The id parameter. * @param request The request parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -78,7 +80,9 @@ public Mono> sendWithResponse(String id, BinaryData request, Requ * * * - * + * *
Query Parameters
NameTypeRequiredDescription
filterStringNoThe filter parameter
filterStringNoA sequence of textual characters. + * + * The filter parameter
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Request Body Schema

@@ -96,7 +100,9 @@ public Mono> sendWithResponse(String id, BinaryData request, Requ * } * } * - * @param id The id parameter. + * @param id A sequence of textual characters. + * + * The id parameter. * @param request The request parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -169,7 +175,9 @@ public PollerFlux beginGenerate(RequestOptions requestOp /** * The send operation. * - * @param id The id parameter. + * @param id A sequence of textual characters. + * + * The id parameter. * @param input The input parameter. * @param user The user parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -193,7 +201,9 @@ public Mono send(String id, BinaryData input, User user) { /** * The send operation. * - * @param id The id parameter. + * @param id A sequence of textual characters. + * + * The id parameter. * @param input The input parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. diff --git a/typespec-tests/src/main/java/com/cadl/union/UnionClient.java b/typespec-tests/src/main/java/com/cadl/union/UnionClient.java index 4879a6a3ef..631b57fa69 100644 --- a/typespec-tests/src/main/java/com/cadl/union/UnionClient.java +++ b/typespec-tests/src/main/java/com/cadl/union/UnionClient.java @@ -55,7 +55,9 @@ public final class UnionClient { * } * } * - * @param id The id parameter. + * @param id A sequence of textual characters. + * + * The id parameter. * @param request The request parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -76,7 +78,9 @@ public Response sendWithResponse(String id, BinaryData request, RequestOpt * * * - * + * *
Query Parameters
NameTypeRequiredDescription
filterStringNoThe filter parameter
filterStringNoA sequence of textual characters. + * + * The filter parameter
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Request Body Schema

@@ -94,7 +98,9 @@ public Response sendWithResponse(String id, BinaryData request, RequestOpt * } * } * - * @param id The id parameter. + * @param id A sequence of textual characters. + * + * The id parameter. * @param request The request parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -167,7 +173,9 @@ public SyncPoller beginGenerate(RequestOptions requestOp /** * The send operation. * - * @param id The id parameter. + * @param id A sequence of textual characters. + * + * The id parameter. * @param input The input parameter. * @param user The user parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -190,7 +198,9 @@ public void send(String id, BinaryData input, User user) { /** * The send operation. * - * @param id The id parameter. + * @param id A sequence of textual characters. + * + * The id parameter. * @param input The input parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. diff --git a/typespec-tests/src/main/java/com/cadl/union/implementation/UnionFlattenOpsImpl.java b/typespec-tests/src/main/java/com/cadl/union/implementation/UnionFlattenOpsImpl.java index d45e304ded..cd806d061a 100644 --- a/typespec-tests/src/main/java/com/cadl/union/implementation/UnionFlattenOpsImpl.java +++ b/typespec-tests/src/main/java/com/cadl/union/implementation/UnionFlattenOpsImpl.java @@ -169,7 +169,9 @@ Response generateSync(@HostParam("endpoint") String endpoint, * } * } * - * @param id The id parameter. + * @param id A sequence of textual characters. + * + * The id parameter. * @param request The request parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -198,7 +200,9 @@ public Mono> sendWithResponseAsync(String id, BinaryData request, * } * } * - * @param id The id parameter. + * @param id A sequence of textual characters. + * + * The id parameter. * @param request The request parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -220,7 +224,9 @@ public Response sendWithResponse(String id, BinaryData request, RequestOpt * * * - * + * *
Query Parameters
NameTypeRequiredDescription
filterStringNoThe filter parameter
filterStringNoA sequence of textual characters. + * + * The filter parameter
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Request Body Schema

@@ -238,7 +244,9 @@ public Response sendWithResponse(String id, BinaryData request, RequestOpt * } * } * - * @param id The id parameter. + * @param id A sequence of textual characters. + * + * The id parameter. * @param request The request parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -261,7 +269,9 @@ public Mono> sendLongWithResponseAsync(String id, BinaryData requ * * * - * + * *
Query Parameters
NameTypeRequiredDescription
filterStringNoThe filter parameter
filterStringNoA sequence of textual characters. + * + * The filter parameter
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Request Body Schema

@@ -279,7 +289,9 @@ public Mono> sendLongWithResponseAsync(String id, BinaryData requ * } * } * - * @param id The id parameter. + * @param id A sequence of textual characters. + * + * The id parameter. * @param request The request parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. diff --git a/typespec-tests/src/main/java/com/cadl/versioning/VersioningAsyncClient.java b/typespec-tests/src/main/java/com/cadl/versioning/VersioningAsyncClient.java index 0b975328bf..a8e0626a62 100644 --- a/typespec-tests/src/main/java/com/cadl/versioning/VersioningAsyncClient.java +++ b/typespec-tests/src/main/java/com/cadl/versioning/VersioningAsyncClient.java @@ -50,7 +50,9 @@ public final class VersioningAsyncClient { * * * - * + * *
Query Parameters
NameTypeRequiredDescription
projectFileVersionStringNoThe projectFileVersion parameter
projectFileVersionStringNoA sequence of textual characters. + * + * The projectFileVersion parameter
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

@@ -70,7 +72,9 @@ public final class VersioningAsyncClient { * } * } * - * @param name The name parameter. + * @param name A sequence of textual characters. + * + * The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -90,9 +94,11 @@ public PollerFlux beginExport(String name, RequestOption * * * - * - * + * + * *
Query Parameters
NameTypeRequiredDescription
selectList<String>NoSelect the specified fields to be included in the - * response. Call {@link RequestOptions#addQueryParam} to add string to array.
expandStringNoThe expand parameter
selectList<String>NoThe select parameter. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expandStringNoA sequence of textual characters. + * + * The expand parameter
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

@@ -140,8 +146,10 @@ public PagedFlux list(RequestOptions requestOptions) { * } * } * - * @param name The name parameter. - * @param resource The resource instance. + * @param name A sequence of textual characters. + * + * The name parameter. + * @param resource The resource parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -159,8 +167,12 @@ public PollerFlux beginCreateLongRunning(String name, Bi /** * Long-running resource action operation template. * - * @param name The name parameter. - * @param projectFileVersion The projectFileVersion parameter. + * @param name A sequence of textual characters. + * + * The name parameter. + * @param projectFileVersion A sequence of textual characters. + * + * The projectFileVersion parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -183,7 +195,9 @@ public PollerFlux beginExport(String nam /** * Long-running resource action operation template. * - * @param name The name parameter. + * @param name A sequence of textual characters. + * + * The name parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -203,8 +217,10 @@ public PollerFlux beginExport(String nam /** * Resource list operation template. * - * @param select Select the specified fields to be included in the response. - * @param expand The expand parameter. + * @param select The select parameter. + * @param expand A sequence of textual characters. + * + * The expand parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -276,8 +292,10 @@ public PagedFlux list() { /** * Long-running resource create or replace operation template. * - * @param name The name parameter. - * @param resource The resource instance. + * @param name A sequence of textual characters. + * + * The name parameter. + * @param resource The resource parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/cadl/versioning/VersioningClient.java b/typespec-tests/src/main/java/com/cadl/versioning/VersioningClient.java index b54431b58a..fc555c22a2 100644 --- a/typespec-tests/src/main/java/com/cadl/versioning/VersioningClient.java +++ b/typespec-tests/src/main/java/com/cadl/versioning/VersioningClient.java @@ -46,7 +46,9 @@ public final class VersioningClient { * * * - * + * *
Query Parameters
NameTypeRequiredDescription
projectFileVersionStringNoThe projectFileVersion parameter
projectFileVersionStringNoA sequence of textual characters. + * + * The projectFileVersion parameter
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

@@ -66,7 +68,9 @@ public final class VersioningClient { * } * } * - * @param name The name parameter. + * @param name A sequence of textual characters. + * + * The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -86,9 +90,11 @@ public SyncPoller beginExport(String name, RequestOption * * * - * - * + * + * *
Query Parameters
NameTypeRequiredDescription
selectList<String>NoSelect the specified fields to be included in the - * response. Call {@link RequestOptions#addQueryParam} to add string to array.
expandStringNoThe expand parameter
selectList<String>NoThe select parameter. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expandStringNoA sequence of textual characters. + * + * The expand parameter
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

@@ -136,8 +142,10 @@ public PagedIterable list(RequestOptions requestOptions) { * } * } * - * @param name The name parameter. - * @param resource The resource instance. + * @param name A sequence of textual characters. + * + * The name parameter. + * @param resource The resource parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -155,8 +163,12 @@ public SyncPoller beginCreateLongRunning(String name, Bi /** * Long-running resource action operation template. * - * @param name The name parameter. - * @param projectFileVersion The projectFileVersion parameter. + * @param name A sequence of textual characters. + * + * The name parameter. + * @param projectFileVersion A sequence of textual characters. + * + * The projectFileVersion parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -179,7 +191,9 @@ public SyncPoller beginExport(String nam /** * Long-running resource action operation template. * - * @param name The name parameter. + * @param name A sequence of textual characters. + * + * The name parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -199,8 +213,10 @@ public SyncPoller beginExport(String nam /** * Resource list operation template. * - * @param select Select the specified fields to be included in the response. - * @param expand The expand parameter. + * @param select The select parameter. + * @param expand A sequence of textual characters. + * + * The expand parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -248,8 +264,10 @@ public PagedIterable list() { /** * Long-running resource create or replace operation template. * - * @param name The name parameter. - * @param resource The resource instance. + * @param name A sequence of textual characters. + * + * The name parameter. + * @param resource The resource parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/cadl/versioning/implementation/VersioningOpsImpl.java b/typespec-tests/src/main/java/com/cadl/versioning/implementation/VersioningOpsImpl.java index 2df1c46cda..f448ba5fe0 100644 --- a/typespec-tests/src/main/java/com/cadl/versioning/implementation/VersioningOpsImpl.java +++ b/typespec-tests/src/main/java/com/cadl/versioning/implementation/VersioningOpsImpl.java @@ -176,7 +176,9 @@ Response listNextSync(@PathParam(value = "nextLink", encoded = true) * * * - * + * *
Query Parameters
NameTypeRequiredDescription
projectFileVersionStringNoThe projectFileVersion parameter
projectFileVersionStringNoA sequence of textual characters. + * + * The projectFileVersion parameter
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

@@ -196,7 +198,9 @@ Response listNextSync(@PathParam(value = "nextLink", encoded = true) * } * } * - * @param name The name parameter. + * @param name A sequence of textual characters. + * + * The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -218,7 +222,9 @@ private Mono> exportWithResponseAsync(String name, RequestO * * * - * + * *
Query Parameters
NameTypeRequiredDescription
projectFileVersionStringNoThe projectFileVersion parameter
projectFileVersionStringNoA sequence of textual characters. + * + * The projectFileVersion parameter
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

@@ -238,7 +244,9 @@ private Mono> exportWithResponseAsync(String name, RequestO * } * } * - * @param name The name parameter. + * @param name A sequence of textual characters. + * + * The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -259,7 +267,9 @@ private Response exportWithResponse(String name, RequestOptions requ * * * - * + * *
Query Parameters
NameTypeRequiredDescription
projectFileVersionStringNoThe projectFileVersion parameter
projectFileVersionStringNoA sequence of textual characters. + * + * The projectFileVersion parameter
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

@@ -279,7 +289,9 @@ private Response exportWithResponse(String name, RequestOptions requ * } * } * - * @param name The name parameter. + * @param name A sequence of textual characters. + * + * The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -306,7 +318,9 @@ public PollerFlux beginExportAsync(String name, RequestO * * * - * + * *
Query Parameters
NameTypeRequiredDescription
projectFileVersionStringNoThe projectFileVersion parameter
projectFileVersionStringNoA sequence of textual characters. + * + * The projectFileVersion parameter
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

@@ -326,7 +340,9 @@ public PollerFlux beginExportAsync(String name, RequestO * } * } * - * @param name The name parameter. + * @param name A sequence of textual characters. + * + * The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -353,7 +369,9 @@ public SyncPoller beginExport(String name, RequestOption * * * - * + * *
Query Parameters
NameTypeRequiredDescription
projectFileVersionStringNoThe projectFileVersion parameter
projectFileVersionStringNoA sequence of textual characters. + * + * The projectFileVersion parameter
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

@@ -373,7 +391,9 @@ public SyncPoller beginExport(String name, RequestOption * } * } * - * @param name The name parameter. + * @param name A sequence of textual characters. + * + * The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -402,7 +422,9 @@ public PollerFlux beginExportWithModelAs * * * - * + * *
Query Parameters
NameTypeRequiredDescription
projectFileVersionStringNoThe projectFileVersion parameter
projectFileVersionStringNoA sequence of textual characters. + * + * The projectFileVersion parameter
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

@@ -422,7 +444,9 @@ public PollerFlux beginExportWithModelAs * } * } * - * @param name The name parameter. + * @param name A sequence of textual characters. + * + * The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -451,9 +475,11 @@ public SyncPoller beginExportWithModel(S * * * - * - * + * + * *
Query Parameters
NameTypeRequiredDescription
selectList<String>NoSelect the specified fields to be included in the - * response. Call {@link RequestOptions#addQueryParam} to add string to array.
expandStringNoThe expand parameter
selectList<String>NoThe select parameter. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expandStringNoA sequence of textual characters. + * + * The expand parameter
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

@@ -490,9 +516,11 @@ private Mono> listSinglePageAsync(RequestOptions reque * * * - * - * + * + * *
Query Parameters
NameTypeRequiredDescription
selectList<String>NoSelect the specified fields to be included in the - * response. Call {@link RequestOptions#addQueryParam} to add string to array.
expandStringNoThe expand parameter
selectList<String>NoThe select parameter. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expandStringNoA sequence of textual characters. + * + * The expand parameter
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

@@ -527,9 +555,11 @@ public PagedFlux listAsync(RequestOptions requestOptions) { * * * - * - * + * + * *
Query Parameters
NameTypeRequiredDescription
selectList<String>NoSelect the specified fields to be included in the - * response. Call {@link RequestOptions#addQueryParam} to add string to array.
expandStringNoThe expand parameter
selectList<String>NoThe select parameter. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expandStringNoA sequence of textual characters. + * + * The expand parameter
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

@@ -564,9 +594,11 @@ private PagedResponse listSinglePage(RequestOptions requestOptions) * * * - * - * + * + * *
Query Parameters
NameTypeRequiredDescription
selectList<String>NoSelect the specified fields to be included in the - * response. Call {@link RequestOptions#addQueryParam} to add string to array.
expandStringNoThe expand parameter
selectList<String>NoThe select parameter. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expandStringNoA sequence of textual characters. + * + * The expand parameter
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

@@ -617,8 +649,10 @@ public PagedIterable list(RequestOptions requestOptions) { * } * } * - * @param name The name parameter. - * @param resource The resource instance. + * @param name A sequence of textual characters. + * + * The name parameter. + * @param resource The resource parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -656,8 +690,10 @@ private Mono> createLongRunningWithResponseAsync(String nam * } * } * - * @param name The name parameter. - * @param resource The resource instance. + * @param name A sequence of textual characters. + * + * The name parameter. + * @param resource The resource parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -695,8 +731,10 @@ private Response createLongRunningWithResponse(String name, BinaryDa * } * } * - * @param name The name parameter. - * @param resource The resource instance. + * @param name A sequence of textual characters. + * + * The name parameter. + * @param resource The resource parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -741,8 +779,10 @@ public PollerFlux beginCreateLongRunningAsync(String nam * } * } * - * @param name The name parameter. - * @param resource The resource instance. + * @param name A sequence of textual characters. + * + * The name parameter. + * @param resource The resource parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -787,8 +827,10 @@ public SyncPoller beginCreateLongRunning(String name, Bi * } * } * - * @param name The name parameter. - * @param resource The resource instance. + * @param name A sequence of textual characters. + * + * The name parameter. + * @param resource The resource parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -833,8 +875,10 @@ public PollerFlux beginCreateLongRunningWithMode * } * } * - * @param name The name parameter. - * @param resource The resource instance. + * @param name A sequence of textual characters. + * + * The name parameter. + * @param resource The resource parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/client/naming/NamingAsyncClient.java b/typespec-tests/src/main/java/com/client/naming/NamingAsyncClient.java index 5d50c24175..2b82721cf0 100644 --- a/typespec-tests/src/main/java/com/client/naming/NamingAsyncClient.java +++ b/typespec-tests/src/main/java/com/client/naming/NamingAsyncClient.java @@ -59,7 +59,9 @@ public Mono> clientNameWithResponse(RequestOptions requestOptions /** * The parameter operation. * - * @param clientName The clientName parameter. + * @param clientName A sequence of textual characters. + * + * The clientName parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -151,7 +153,9 @@ public Mono> compatibleWithEncodedNameWithResponse(BinaryData cli /** * The request operation. * - * @param clientName The clientName parameter. + * @param clientName A sequence of textual characters. + * + * The clientName parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -202,7 +206,9 @@ public Mono clientName() { /** * The parameter operation. * - * @param clientName The clientName parameter. + * @param clientName A sequence of textual characters. + * + * The clientName parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -284,7 +290,9 @@ public Mono compatibleWithEncodedName(ClientNameAndJsonEncodedNameModel cl /** * The request operation. * - * @param clientName The clientName parameter. + * @param clientName A sequence of textual characters. + * + * The clientName parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/client/naming/NamingClient.java b/typespec-tests/src/main/java/com/client/naming/NamingClient.java index 25f5ff2233..5f7c1e48bd 100644 --- a/typespec-tests/src/main/java/com/client/naming/NamingClient.java +++ b/typespec-tests/src/main/java/com/client/naming/NamingClient.java @@ -57,7 +57,9 @@ public Response clientNameWithResponse(RequestOptions requestOptions) { /** * The parameter operation. * - * @param clientName The clientName parameter. + * @param clientName A sequence of textual characters. + * + * The clientName parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -148,7 +150,9 @@ public Response compatibleWithEncodedNameWithResponse(BinaryData clientNam /** * The request operation. * - * @param clientName The clientName parameter. + * @param clientName A sequence of textual characters. + * + * The clientName parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -198,7 +202,9 @@ public void clientName() { /** * The parameter operation. * - * @param clientName The clientName parameter. + * @param clientName A sequence of textual characters. + * + * The clientName parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -275,7 +281,9 @@ public void compatibleWithEncodedName(ClientNameAndJsonEncodedNameModel clientNa /** * The request operation. * - * @param clientName The clientName parameter. + * @param clientName A sequence of textual characters. + * + * The clientName parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/client/naming/implementation/NamingClientImpl.java b/typespec-tests/src/main/java/com/client/naming/implementation/NamingClientImpl.java index 9ed5aa375d..f2c8676abb 100644 --- a/typespec-tests/src/main/java/com/client/naming/implementation/NamingClientImpl.java +++ b/typespec-tests/src/main/java/com/client/naming/implementation/NamingClientImpl.java @@ -301,7 +301,9 @@ public Response clientNameWithResponse(RequestOptions requestOptions) { /** * The parameter operation. * - * @param clientName The clientName parameter. + * @param clientName A sequence of textual characters. + * + * The clientName parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -318,7 +320,9 @@ public Mono> parameterWithResponseAsync(String clientName, Reques /** * The parameter operation. * - * @param clientName The clientName parameter. + * @param clientName A sequence of textual characters. + * + * The clientName parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -485,7 +489,9 @@ public Response compatibleWithEncodedNameWithResponse(BinaryData clientNam /** * The request operation. * - * @param clientName The clientName parameter. + * @param clientName A sequence of textual characters. + * + * The clientName parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -502,7 +508,9 @@ public Mono> requestWithResponseAsync(String clientName, RequestO /** * The request operation. * - * @param clientName The clientName parameter. + * @param clientName A sequence of textual characters. + * + * The clientName parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/client/naming/models/ClientModel.java b/typespec-tests/src/main/java/com/client/naming/models/ClientModel.java index 3b6a3e5214..daf4056ec6 100644 --- a/typespec-tests/src/main/java/com/client/naming/models/ClientModel.java +++ b/typespec-tests/src/main/java/com/client/naming/models/ClientModel.java @@ -18,8 +18,6 @@ @Immutable public final class ClientModel implements JsonSerializable { /* - * Boolean with `true` and `false` values. - * * Pass in true */ @Generated @@ -36,9 +34,7 @@ public ClientModel(boolean defaultName) { } /** - * Get the defaultName property: Boolean with `true` and `false` values. - * - * Pass in true. + * Get the defaultName property: Pass in true. * * @return the defaultName value. */ diff --git a/typespec-tests/src/main/java/com/client/naming/models/ClientNameAndJsonEncodedNameModel.java b/typespec-tests/src/main/java/com/client/naming/models/ClientNameAndJsonEncodedNameModel.java index 5cf396d4dc..1a67dec7e1 100644 --- a/typespec-tests/src/main/java/com/client/naming/models/ClientNameAndJsonEncodedNameModel.java +++ b/typespec-tests/src/main/java/com/client/naming/models/ClientNameAndJsonEncodedNameModel.java @@ -18,8 +18,6 @@ @Immutable public final class ClientNameAndJsonEncodedNameModel implements JsonSerializable { /* - * Boolean with `true` and `false` values. - * * Pass in true */ @Generated @@ -36,9 +34,7 @@ public ClientNameAndJsonEncodedNameModel(boolean clientName) { } /** - * Get the clientName property: Boolean with `true` and `false` values. - * - * Pass in true. + * Get the clientName property: Pass in true. * * @return the clientName value. */ diff --git a/typespec-tests/src/main/java/com/client/naming/models/ClientNameModel.java b/typespec-tests/src/main/java/com/client/naming/models/ClientNameModel.java index 772074645a..474a310f6f 100644 --- a/typespec-tests/src/main/java/com/client/naming/models/ClientNameModel.java +++ b/typespec-tests/src/main/java/com/client/naming/models/ClientNameModel.java @@ -18,8 +18,6 @@ @Immutable public final class ClientNameModel implements JsonSerializable { /* - * Boolean with `true` and `false` values. - * * Pass in true */ @Generated @@ -36,9 +34,7 @@ public ClientNameModel(boolean clientName) { } /** - * Get the clientName property: Boolean with `true` and `false` values. - * - * Pass in true. + * Get the clientName property: Pass in true. * * @return the clientName value. */ diff --git a/typespec-tests/src/main/java/com/client/naming/models/JavaModel.java b/typespec-tests/src/main/java/com/client/naming/models/JavaModel.java index 87b004458b..ab0de3bd9e 100644 --- a/typespec-tests/src/main/java/com/client/naming/models/JavaModel.java +++ b/typespec-tests/src/main/java/com/client/naming/models/JavaModel.java @@ -18,8 +18,6 @@ @Immutable public final class JavaModel implements JsonSerializable { /* - * Boolean with `true` and `false` values. - * * Pass in true */ @Generated @@ -36,9 +34,7 @@ public JavaModel(boolean defaultName) { } /** - * Get the defaultName property: Boolean with `true` and `false` values. - * - * Pass in true. + * Get the defaultName property: Pass in true. * * @return the defaultName value. */ diff --git a/typespec-tests/src/main/java/com/client/naming/models/LanguageClientNameModel.java b/typespec-tests/src/main/java/com/client/naming/models/LanguageClientNameModel.java index bac41fd2bd..a993d18b5d 100644 --- a/typespec-tests/src/main/java/com/client/naming/models/LanguageClientNameModel.java +++ b/typespec-tests/src/main/java/com/client/naming/models/LanguageClientNameModel.java @@ -18,8 +18,6 @@ @Immutable public final class LanguageClientNameModel implements JsonSerializable { /* - * Boolean with `true` and `false` values. - * * Pass in true */ @Generated @@ -36,9 +34,7 @@ public LanguageClientNameModel(boolean javaName) { } /** - * Get the javaName property: Boolean with `true` and `false` values. - * - * Pass in true. + * Get the javaName property: Pass in true. * * @return the javaName value. */ diff --git a/typespec-tests/src/main/java/com/encode/bytes/HeaderAsyncClient.java b/typespec-tests/src/main/java/com/encode/bytes/HeaderAsyncClient.java index 1c6f4aa3d2..8450227528 100644 --- a/typespec-tests/src/main/java/com/encode/bytes/HeaderAsyncClient.java +++ b/typespec-tests/src/main/java/com/encode/bytes/HeaderAsyncClient.java @@ -40,7 +40,9 @@ public final class HeaderAsyncClient { /** * The defaultMethod operation. * - * @param value The value parameter. + * @param value Represent a byte array + * + * The value parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -57,7 +59,9 @@ public Mono> defaultMethodWithResponse(byte[] value, RequestOptio /** * The base64 operation. * - * @param value The value parameter. + * @param value Represent a byte array + * + * The value parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -74,7 +78,9 @@ public Mono> base64WithResponse(byte[] value, RequestOptions requ /** * The base64url operation. * - * @param value The value parameter. + * @param value Represent a byte array + * + * The value parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -108,7 +114,9 @@ public Mono> base64urlArrayWithResponse(List value, Reque /** * The defaultMethod operation. * - * @param value The value parameter. + * @param value Represent a byte array + * + * The value parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -128,7 +136,9 @@ public Mono defaultMethod(byte[] value) { /** * The base64 operation. * - * @param value The value parameter. + * @param value Represent a byte array + * + * The value parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -148,7 +158,9 @@ public Mono base64(byte[] value) { /** * The base64url operation. * - * @param value The value parameter. + * @param value Represent a byte array + * + * The value parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/encode/bytes/HeaderClient.java b/typespec-tests/src/main/java/com/encode/bytes/HeaderClient.java index ebcfef71e0..a91d1cc266 100644 --- a/typespec-tests/src/main/java/com/encode/bytes/HeaderClient.java +++ b/typespec-tests/src/main/java/com/encode/bytes/HeaderClient.java @@ -38,7 +38,9 @@ public final class HeaderClient { /** * The defaultMethod operation. * - * @param value The value parameter. + * @param value Represent a byte array + * + * The value parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -55,7 +57,9 @@ public Response defaultMethodWithResponse(byte[] value, RequestOptions req /** * The base64 operation. * - * @param value The value parameter. + * @param value Represent a byte array + * + * The value parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -72,7 +76,9 @@ public Response base64WithResponse(byte[] value, RequestOptions requestOpt /** * The base64url operation. * - * @param value The value parameter. + * @param value Represent a byte array + * + * The value parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -106,7 +112,9 @@ public Response base64urlArrayWithResponse(List value, RequestOpti /** * The defaultMethod operation. * - * @param value The value parameter. + * @param value Represent a byte array + * + * The value parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -125,7 +133,9 @@ public void defaultMethod(byte[] value) { /** * The base64 operation. * - * @param value The value parameter. + * @param value Represent a byte array + * + * The value parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -144,7 +154,9 @@ public void base64(byte[] value) { /** * The base64url operation. * - * @param value The value parameter. + * @param value Represent a byte array + * + * The value parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/encode/bytes/QueryAsyncClient.java b/typespec-tests/src/main/java/com/encode/bytes/QueryAsyncClient.java index f1d8148e14..0571c42dc4 100644 --- a/typespec-tests/src/main/java/com/encode/bytes/QueryAsyncClient.java +++ b/typespec-tests/src/main/java/com/encode/bytes/QueryAsyncClient.java @@ -40,7 +40,9 @@ public final class QueryAsyncClient { /** * The defaultMethod operation. * - * @param value The value parameter. + * @param value Represent a byte array + * + * The value parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -57,7 +59,9 @@ public Mono> defaultMethodWithResponse(byte[] value, RequestOptio /** * The base64 operation. * - * @param value The value parameter. + * @param value Represent a byte array + * + * The value parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -74,7 +78,9 @@ public Mono> base64WithResponse(byte[] value, RequestOptions requ /** * The base64url operation. * - * @param value The value parameter. + * @param value Represent a byte array + * + * The value parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -108,7 +114,9 @@ public Mono> base64urlArrayWithResponse(List value, Reque /** * The defaultMethod operation. * - * @param value The value parameter. + * @param value Represent a byte array + * + * The value parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -128,7 +136,9 @@ public Mono defaultMethod(byte[] value) { /** * The base64 operation. * - * @param value The value parameter. + * @param value Represent a byte array + * + * The value parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -148,7 +158,9 @@ public Mono base64(byte[] value) { /** * The base64url operation. * - * @param value The value parameter. + * @param value Represent a byte array + * + * The value parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/encode/bytes/QueryClient.java b/typespec-tests/src/main/java/com/encode/bytes/QueryClient.java index 3f6c8ea6df..fcb92c3890 100644 --- a/typespec-tests/src/main/java/com/encode/bytes/QueryClient.java +++ b/typespec-tests/src/main/java/com/encode/bytes/QueryClient.java @@ -38,7 +38,9 @@ public final class QueryClient { /** * The defaultMethod operation. * - * @param value The value parameter. + * @param value Represent a byte array + * + * The value parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -55,7 +57,9 @@ public Response defaultMethodWithResponse(byte[] value, RequestOptions req /** * The base64 operation. * - * @param value The value parameter. + * @param value Represent a byte array + * + * The value parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -72,7 +76,9 @@ public Response base64WithResponse(byte[] value, RequestOptions requestOpt /** * The base64url operation. * - * @param value The value parameter. + * @param value Represent a byte array + * + * The value parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -106,7 +112,9 @@ public Response base64urlArrayWithResponse(List value, RequestOpti /** * The defaultMethod operation. * - * @param value The value parameter. + * @param value Represent a byte array + * + * The value parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -125,7 +133,9 @@ public void defaultMethod(byte[] value) { /** * The base64 operation. * - * @param value The value parameter. + * @param value Represent a byte array + * + * The value parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -144,7 +154,9 @@ public void base64(byte[] value) { /** * The base64url operation. * - * @param value The value parameter. + * @param value Represent a byte array + * + * The value parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/encode/bytes/RequestBodyAsyncClient.java b/typespec-tests/src/main/java/com/encode/bytes/RequestBodyAsyncClient.java index e63cb80cb2..bb0c70d019 100644 --- a/typespec-tests/src/main/java/com/encode/bytes/RequestBodyAsyncClient.java +++ b/typespec-tests/src/main/java/com/encode/bytes/RequestBodyAsyncClient.java @@ -46,7 +46,9 @@ public final class RequestBodyAsyncClient { * byte[] * } * - * @param value The value parameter. + * @param value Represent a byte array + * + * The value parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -112,7 +114,9 @@ public Mono> customContentTypeWithResponse(BinaryData value, Requ * byte[] * } * - * @param value The value parameter. + * @param value Represent a byte array + * + * The value parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -134,7 +138,9 @@ public Mono> base64WithResponse(BinaryData value, RequestOptions * Base64Url * } * - * @param value The value parameter. + * @param value Represent a byte array + * + * The value parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -151,7 +157,9 @@ public Mono> base64urlWithResponse(BinaryData value, RequestOptio /** * The defaultMethod operation. * - * @param value The value parameter. + * @param value Represent a byte array + * + * The value parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -211,7 +219,9 @@ public Mono customContentType(BinaryData value) { /** * The base64 operation. * - * @param value The value parameter. + * @param value Represent a byte array + * + * The value parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -231,7 +241,9 @@ public Mono base64(byte[] value) { /** * The base64url operation. * - * @param value The value parameter. + * @param value Represent a byte array + * + * The value parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/encode/bytes/RequestBodyClient.java b/typespec-tests/src/main/java/com/encode/bytes/RequestBodyClient.java index bf394ef87a..618dc342bf 100644 --- a/typespec-tests/src/main/java/com/encode/bytes/RequestBodyClient.java +++ b/typespec-tests/src/main/java/com/encode/bytes/RequestBodyClient.java @@ -44,7 +44,9 @@ public final class RequestBodyClient { * byte[] * } * - * @param value The value parameter. + * @param value Represent a byte array + * + * The value parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -110,7 +112,9 @@ public Response customContentTypeWithResponse(BinaryData value, RequestOpt * byte[] * } * - * @param value The value parameter. + * @param value Represent a byte array + * + * The value parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -132,7 +136,9 @@ public Response base64WithResponse(BinaryData value, RequestOptions reques * Base64Url * } * - * @param value The value parameter. + * @param value Represent a byte array + * + * The value parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -149,7 +155,9 @@ public Response base64urlWithResponse(BinaryData value, RequestOptions req /** * The defaultMethod operation. * - * @param value The value parameter. + * @param value Represent a byte array + * + * The value parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -206,7 +214,9 @@ public void customContentType(BinaryData value) { /** * The base64 operation. * - * @param value The value parameter. + * @param value Represent a byte array + * + * The value parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -225,7 +235,9 @@ public void base64(byte[] value) { /** * The base64url operation. * - * @param value The value parameter. + * @param value Represent a byte array + * + * The value parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/encode/bytes/implementation/HeadersImpl.java b/typespec-tests/src/main/java/com/encode/bytes/implementation/HeadersImpl.java index ade2fdb28e..609336504a 100644 --- a/typespec-tests/src/main/java/com/encode/bytes/implementation/HeadersImpl.java +++ b/typespec-tests/src/main/java/com/encode/bytes/implementation/HeadersImpl.java @@ -136,7 +136,9 @@ Response base64urlArraySync(@HeaderParam("value") String value, @HeaderPar /** * The defaultMethod operation. * - * @param value The value parameter. + * @param value Represent a byte array + * + * The value parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -154,7 +156,9 @@ public Mono> defaultMethodWithResponseAsync(byte[] value, Request /** * The defaultMethod operation. * - * @param value The value parameter. + * @param value Represent a byte array + * + * The value parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -172,7 +176,9 @@ public Response defaultMethodWithResponse(byte[] value, RequestOptions req /** * The base64 operation. * - * @param value The value parameter. + * @param value Represent a byte array + * + * The value parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -190,7 +196,9 @@ public Mono> base64WithResponseAsync(byte[] value, RequestOptions /** * The base64 operation. * - * @param value The value parameter. + * @param value Represent a byte array + * + * The value parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -208,7 +216,9 @@ public Response base64WithResponse(byte[] value, RequestOptions requestOpt /** * The base64url operation. * - * @param value The value parameter. + * @param value Represent a byte array + * + * The value parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -226,7 +236,9 @@ public Mono> base64urlWithResponseAsync(byte[] value, RequestOpti /** * The base64url operation. * - * @param value The value parameter. + * @param value Represent a byte array + * + * The value parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/encode/bytes/implementation/QueriesImpl.java b/typespec-tests/src/main/java/com/encode/bytes/implementation/QueriesImpl.java index a902ff21d0..9dba21f373 100644 --- a/typespec-tests/src/main/java/com/encode/bytes/implementation/QueriesImpl.java +++ b/typespec-tests/src/main/java/com/encode/bytes/implementation/QueriesImpl.java @@ -137,7 +137,9 @@ Response base64urlArraySync(@QueryParam("value") String value, @HeaderPara /** * The defaultMethod operation. * - * @param value The value parameter. + * @param value Represent a byte array + * + * The value parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -155,7 +157,9 @@ public Mono> defaultMethodWithResponseAsync(byte[] value, Request /** * The defaultMethod operation. * - * @param value The value parameter. + * @param value Represent a byte array + * + * The value parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -173,7 +177,9 @@ public Response defaultMethodWithResponse(byte[] value, RequestOptions req /** * The base64 operation. * - * @param value The value parameter. + * @param value Represent a byte array + * + * The value parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -191,7 +197,9 @@ public Mono> base64WithResponseAsync(byte[] value, RequestOptions /** * The base64 operation. * - * @param value The value parameter. + * @param value Represent a byte array + * + * The value parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -209,7 +217,9 @@ public Response base64WithResponse(byte[] value, RequestOptions requestOpt /** * The base64url operation. * - * @param value The value parameter. + * @param value Represent a byte array + * + * The value parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -227,7 +237,9 @@ public Mono> base64urlWithResponseAsync(byte[] value, RequestOpti /** * The base64url operation. * - * @param value The value parameter. + * @param value Represent a byte array + * + * The value parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/encode/bytes/implementation/RequestBodiesImpl.java b/typespec-tests/src/main/java/com/encode/bytes/implementation/RequestBodiesImpl.java index 343d584f91..d15d345d7c 100644 --- a/typespec-tests/src/main/java/com/encode/bytes/implementation/RequestBodiesImpl.java +++ b/typespec-tests/src/main/java/com/encode/bytes/implementation/RequestBodiesImpl.java @@ -160,7 +160,9 @@ Response base64urlSync(@HeaderParam("accept") String accept, * byte[] * } * - * @param value The value parameter. + * @param value Represent a byte array + * + * The value parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -182,7 +184,9 @@ public Mono> defaultMethodWithResponseAsync(BinaryData value, Req * byte[] * } * - * @param value The value parameter. + * @param value Represent a byte array + * + * The value parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -298,7 +302,9 @@ public Response customContentTypeWithResponse(BinaryData value, RequestOpt * byte[] * } * - * @param value The value parameter. + * @param value Represent a byte array + * + * The value parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -320,7 +326,9 @@ public Mono> base64WithResponseAsync(BinaryData value, RequestOpt * byte[] * } * - * @param value The value parameter. + * @param value Represent a byte array + * + * The value parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -342,7 +350,9 @@ public Response base64WithResponse(BinaryData value, RequestOptions reques * Base64Url * } * - * @param value The value parameter. + * @param value Represent a byte array + * + * The value parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -364,7 +374,9 @@ public Mono> base64urlWithResponseAsync(BinaryData value, Request * Base64Url * } * - * @param value The value parameter. + * @param value Represent a byte array + * + * The value parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/parameters/basic/ExplicitBodyAsyncClient.java b/typespec-tests/src/main/java/com/parameters/basic/ExplicitBodyAsyncClient.java index f7665a1c10..951ac158c2 100644 --- a/typespec-tests/src/main/java/com/parameters/basic/ExplicitBodyAsyncClient.java +++ b/typespec-tests/src/main/java/com/parameters/basic/ExplicitBodyAsyncClient.java @@ -49,6 +49,8 @@ public final class ExplicitBodyAsyncClient { * } * * @param body This is a simple model. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -66,6 +68,8 @@ public Mono> simpleWithResponse(BinaryData body, RequestOptions r * The simple operation. * * @param body This is a simple model. + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/parameters/basic/ExplicitBodyClient.java b/typespec-tests/src/main/java/com/parameters/basic/ExplicitBodyClient.java index 1930fe32f0..936f0bb0f3 100644 --- a/typespec-tests/src/main/java/com/parameters/basic/ExplicitBodyClient.java +++ b/typespec-tests/src/main/java/com/parameters/basic/ExplicitBodyClient.java @@ -47,6 +47,8 @@ public final class ExplicitBodyClient { * } * * @param body This is a simple model. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -64,6 +66,8 @@ public Response simpleWithResponse(BinaryData body, RequestOptions request * The simple operation. * * @param body This is a simple model. + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/parameters/basic/implementation/ExplicitBodiesImpl.java b/typespec-tests/src/main/java/com/parameters/basic/implementation/ExplicitBodiesImpl.java index 8542c193be..a19e859193 100644 --- a/typespec-tests/src/main/java/com/parameters/basic/implementation/ExplicitBodiesImpl.java +++ b/typespec-tests/src/main/java/com/parameters/basic/implementation/ExplicitBodiesImpl.java @@ -87,6 +87,8 @@ Response simpleSync(@HeaderParam("accept") String accept, @BodyParam("appl * } * * @param body This is a simple model. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -111,6 +113,8 @@ public Mono> simpleWithResponseAsync(BinaryData body, RequestOpti * } * * @param body This is a simple model. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/parameters/collectionformat/HeaderAsyncClient.java b/typespec-tests/src/main/java/com/parameters/collectionformat/HeaderAsyncClient.java index 42b4000180..4a5fad17e9 100644 --- a/typespec-tests/src/main/java/com/parameters/collectionformat/HeaderAsyncClient.java +++ b/typespec-tests/src/main/java/com/parameters/collectionformat/HeaderAsyncClient.java @@ -40,7 +40,7 @@ public final class HeaderAsyncClient { /** * The csv operation. * - * @param colors Possible values for colors are [blue,red,green]. + * @param colors The colors parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -57,7 +57,7 @@ public Mono> csvWithResponse(List colors, RequestOptions /** * The csv operation. * - * @param colors Possible values for colors are [blue,red,green]. + * @param colors The colors parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/parameters/collectionformat/HeaderClient.java b/typespec-tests/src/main/java/com/parameters/collectionformat/HeaderClient.java index 4bbb7951ae..36562f761b 100644 --- a/typespec-tests/src/main/java/com/parameters/collectionformat/HeaderClient.java +++ b/typespec-tests/src/main/java/com/parameters/collectionformat/HeaderClient.java @@ -38,7 +38,7 @@ public final class HeaderClient { /** * The csv operation. * - * @param colors Possible values for colors are [blue,red,green]. + * @param colors The colors parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -55,7 +55,7 @@ public Response csvWithResponse(List colors, RequestOptions reques /** * The csv operation. * - * @param colors Possible values for colors are [blue,red,green]. + * @param colors The colors parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/parameters/collectionformat/QueryAsyncClient.java b/typespec-tests/src/main/java/com/parameters/collectionformat/QueryAsyncClient.java index f7edbab0e7..0958121ebd 100644 --- a/typespec-tests/src/main/java/com/parameters/collectionformat/QueryAsyncClient.java +++ b/typespec-tests/src/main/java/com/parameters/collectionformat/QueryAsyncClient.java @@ -40,7 +40,7 @@ public final class QueryAsyncClient { /** * The multi operation. * - * @param colors Possible values for colors are [blue,red,green]. + * @param colors The colors parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -57,7 +57,7 @@ public Mono> multiWithResponse(List colors, RequestOption /** * The ssv operation. * - * @param colors Possible values for colors are [blue,red,green]. + * @param colors The colors parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -74,7 +74,7 @@ public Mono> ssvWithResponse(List colors, RequestOptions /** * The tsv operation. * - * @param colors Possible values for colors are [blue,red,green]. + * @param colors The colors parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -91,7 +91,7 @@ public Mono> tsvWithResponse(List colors, RequestOptions /** * The pipes operation. * - * @param colors Possible values for colors are [blue,red,green]. + * @param colors The colors parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -108,7 +108,7 @@ public Mono> pipesWithResponse(List colors, RequestOption /** * The csv operation. * - * @param colors Possible values for colors are [blue,red,green]. + * @param colors The colors parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -125,7 +125,7 @@ public Mono> csvWithResponse(List colors, RequestOptions /** * The multi operation. * - * @param colors Possible values for colors are [blue,red,green]. + * @param colors The colors parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -145,7 +145,7 @@ public Mono multi(List colors) { /** * The ssv operation. * - * @param colors Possible values for colors are [blue,red,green]. + * @param colors The colors parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -165,7 +165,7 @@ public Mono ssv(List colors) { /** * The tsv operation. * - * @param colors Possible values for colors are [blue,red,green]. + * @param colors The colors parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -185,7 +185,7 @@ public Mono tsv(List colors) { /** * The pipes operation. * - * @param colors Possible values for colors are [blue,red,green]. + * @param colors The colors parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -205,7 +205,7 @@ public Mono pipes(List colors) { /** * The csv operation. * - * @param colors Possible values for colors are [blue,red,green]. + * @param colors The colors parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/parameters/collectionformat/QueryClient.java b/typespec-tests/src/main/java/com/parameters/collectionformat/QueryClient.java index e6fb8f8d9d..ed8bab2468 100644 --- a/typespec-tests/src/main/java/com/parameters/collectionformat/QueryClient.java +++ b/typespec-tests/src/main/java/com/parameters/collectionformat/QueryClient.java @@ -38,7 +38,7 @@ public final class QueryClient { /** * The multi operation. * - * @param colors Possible values for colors are [blue,red,green]. + * @param colors The colors parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -55,7 +55,7 @@ public Response multiWithResponse(List colors, RequestOptions requ /** * The ssv operation. * - * @param colors Possible values for colors are [blue,red,green]. + * @param colors The colors parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -72,7 +72,7 @@ public Response ssvWithResponse(List colors, RequestOptions reques /** * The tsv operation. * - * @param colors Possible values for colors are [blue,red,green]. + * @param colors The colors parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -89,7 +89,7 @@ public Response tsvWithResponse(List colors, RequestOptions reques /** * The pipes operation. * - * @param colors Possible values for colors are [blue,red,green]. + * @param colors The colors parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -106,7 +106,7 @@ public Response pipesWithResponse(List colors, RequestOptions requ /** * The csv operation. * - * @param colors Possible values for colors are [blue,red,green]. + * @param colors The colors parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -123,7 +123,7 @@ public Response csvWithResponse(List colors, RequestOptions reques /** * The multi operation. * - * @param colors Possible values for colors are [blue,red,green]. + * @param colors The colors parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -142,7 +142,7 @@ public void multi(List colors) { /** * The ssv operation. * - * @param colors Possible values for colors are [blue,red,green]. + * @param colors The colors parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -161,7 +161,7 @@ public void ssv(List colors) { /** * The tsv operation. * - * @param colors Possible values for colors are [blue,red,green]. + * @param colors The colors parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -180,7 +180,7 @@ public void tsv(List colors) { /** * The pipes operation. * - * @param colors Possible values for colors are [blue,red,green]. + * @param colors The colors parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -199,7 +199,7 @@ public void pipes(List colors) { /** * The csv operation. * - * @param colors Possible values for colors are [blue,red,green]. + * @param colors The colors parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/parameters/collectionformat/implementation/HeadersImpl.java b/typespec-tests/src/main/java/com/parameters/collectionformat/implementation/HeadersImpl.java index 267582535c..346c3b8a48 100644 --- a/typespec-tests/src/main/java/com/parameters/collectionformat/implementation/HeadersImpl.java +++ b/typespec-tests/src/main/java/com/parameters/collectionformat/implementation/HeadersImpl.java @@ -79,7 +79,7 @@ Response csvSync(@HeaderParam("colors") String colors, @HeaderParam("accep /** * The csv operation. * - * @param colors Possible values for colors are [blue,red,green]. + * @param colors The colors parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -99,7 +99,7 @@ public Mono> csvWithResponseAsync(List colors, RequestOpt /** * The csv operation. * - * @param colors Possible values for colors are [blue,red,green]. + * @param colors The colors parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/parameters/collectionformat/implementation/QueriesImpl.java b/typespec-tests/src/main/java/com/parameters/collectionformat/implementation/QueriesImpl.java index b55f7842f8..f8c5d700c1 100644 --- a/typespec-tests/src/main/java/com/parameters/collectionformat/implementation/QueriesImpl.java +++ b/typespec-tests/src/main/java/com/parameters/collectionformat/implementation/QueriesImpl.java @@ -152,7 +152,7 @@ Response csvSync(@QueryParam("colors") String colors, @HeaderParam("accept /** * The multi operation. * - * @param colors Possible values for colors are [blue,red,green]. + * @param colors The colors parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -171,7 +171,7 @@ public Mono> multiWithResponseAsync(List colors, RequestO /** * The multi operation. * - * @param colors Possible values for colors are [blue,red,green]. + * @param colors The colors parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -190,7 +190,7 @@ public Response multiWithResponse(List colors, RequestOptions requ /** * The ssv operation. * - * @param colors Possible values for colors are [blue,red,green]. + * @param colors The colors parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -210,7 +210,7 @@ public Mono> ssvWithResponseAsync(List colors, RequestOpt /** * The ssv operation. * - * @param colors Possible values for colors are [blue,red,green]. + * @param colors The colors parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -230,7 +230,7 @@ public Response ssvWithResponse(List colors, RequestOptions reques /** * The tsv operation. * - * @param colors Possible values for colors are [blue,red,green]. + * @param colors The colors parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -250,7 +250,7 @@ public Mono> tsvWithResponseAsync(List colors, RequestOpt /** * The tsv operation. * - * @param colors Possible values for colors are [blue,red,green]. + * @param colors The colors parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -270,7 +270,7 @@ public Response tsvWithResponse(List colors, RequestOptions reques /** * The pipes operation. * - * @param colors Possible values for colors are [blue,red,green]. + * @param colors The colors parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -290,7 +290,7 @@ public Mono> pipesWithResponseAsync(List colors, RequestO /** * The pipes operation. * - * @param colors Possible values for colors are [blue,red,green]. + * @param colors The colors parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -310,7 +310,7 @@ public Response pipesWithResponse(List colors, RequestOptions requ /** * The csv operation. * - * @param colors Possible values for colors are [blue,red,green]. + * @param colors The colors parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -330,7 +330,7 @@ public Mono> csvWithResponseAsync(List colors, RequestOpt /** * The csv operation. * - * @param colors Possible values for colors are [blue,red,green]. + * @param colors The colors parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/parameters/spread/AliasAsyncClient.java b/typespec-tests/src/main/java/com/parameters/spread/AliasAsyncClient.java index cda79335d6..6457953cfd 100644 --- a/typespec-tests/src/main/java/com/parameters/spread/AliasAsyncClient.java +++ b/typespec-tests/src/main/java/com/parameters/spread/AliasAsyncClient.java @@ -75,8 +75,12 @@ public Mono> spreadAsRequestBodyWithResponse(BinaryData request, * } * } * - * @param id The id parameter. - * @param xMsTestHeader The xMsTestHeader parameter. + * @param id A sequence of textual characters. + * + * The id parameter. + * @param xMsTestHeader A sequence of textual characters. + * + * The xMsTestHeader parameter. * @param request The request parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -107,8 +111,12 @@ public Mono> spreadAsRequestParameterWithResponse(String id, Stri * } * } * - * @param id The id parameter. - * @param xMsTestHeader The xMsTestHeader parameter. + * @param id A sequence of textual characters. + * + * The id parameter. + * @param xMsTestHeader A sequence of textual characters. + * + * The xMsTestHeader parameter. * @param request The request parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -150,8 +158,12 @@ public Mono spreadAsRequestBody(String name) { /** * The spreadAsRequestParameter operation. * - * @param id The id parameter. - * @param xMsTestHeader The xMsTestHeader parameter. + * @param id A sequence of textual characters. + * + * The id parameter. + * @param xMsTestHeader A sequence of textual characters. + * + * The xMsTestHeader parameter. * @param name The name parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. diff --git a/typespec-tests/src/main/java/com/parameters/spread/AliasClient.java b/typespec-tests/src/main/java/com/parameters/spread/AliasClient.java index 79e59192e5..70b6aa2132 100644 --- a/typespec-tests/src/main/java/com/parameters/spread/AliasClient.java +++ b/typespec-tests/src/main/java/com/parameters/spread/AliasClient.java @@ -73,8 +73,12 @@ public Response spreadAsRequestBodyWithResponse(BinaryData request, Reques * } * } * - * @param id The id parameter. - * @param xMsTestHeader The xMsTestHeader parameter. + * @param id A sequence of textual characters. + * + * The id parameter. + * @param xMsTestHeader A sequence of textual characters. + * + * The xMsTestHeader parameter. * @param request The request parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -105,8 +109,12 @@ public Response spreadAsRequestParameterWithResponse(String id, String xMs * } * } * - * @param id The id parameter. - * @param xMsTestHeader The xMsTestHeader parameter. + * @param id A sequence of textual characters. + * + * The id parameter. + * @param xMsTestHeader A sequence of textual characters. + * + * The xMsTestHeader parameter. * @param request The request parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -146,8 +154,12 @@ public void spreadAsRequestBody(String name) { /** * The spreadAsRequestParameter operation. * - * @param id The id parameter. - * @param xMsTestHeader The xMsTestHeader parameter. + * @param id A sequence of textual characters. + * + * The id parameter. + * @param xMsTestHeader A sequence of textual characters. + * + * The xMsTestHeader parameter. * @param name The name parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. diff --git a/typespec-tests/src/main/java/com/parameters/spread/ModelAsyncClient.java b/typespec-tests/src/main/java/com/parameters/spread/ModelAsyncClient.java index 0e560c91d0..109bfc9c90 100644 --- a/typespec-tests/src/main/java/com/parameters/spread/ModelAsyncClient.java +++ b/typespec-tests/src/main/java/com/parameters/spread/ModelAsyncClient.java @@ -50,6 +50,8 @@ public final class ModelAsyncClient { * } * * @param bodyParameter This is a simple model. + * + * The bodyParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -75,6 +77,8 @@ public Mono> spreadAsRequestBodyWithResponse(BinaryData bodyParam * } * * @param body This is a simple model. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -92,8 +96,12 @@ public Mono> spreadCompositeRequestOnlyWithBodyWithResponse(Binar /** * The spreadCompositeRequestWithoutBody operation. * - * @param name The name parameter. - * @param testHeader The testHeader parameter. + * @param name A sequence of textual characters. + * + * The name parameter. + * @param testHeader A sequence of textual characters. + * + * The testHeader parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -118,9 +126,15 @@ public Mono> spreadCompositeRequestWithoutBodyWithResponse(String * } * } * - * @param name The name parameter. - * @param testHeader The testHeader parameter. + * @param name A sequence of textual characters. + * + * The name parameter. + * @param testHeader A sequence of textual characters. + * + * The testHeader parameter. * @param body This is a simple model. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -145,9 +159,15 @@ public Mono> spreadCompositeRequestWithResponse(String name, Stri * } * } * - * @param name The name parameter. - * @param testHeader The testHeader parameter. + * @param name A sequence of textual characters. + * + * The name parameter. + * @param testHeader A sequence of textual characters. + * + * The testHeader parameter. * @param compositeRequestMix This is a model with non-body http request decorator. + * + * The compositeRequestMix parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -167,6 +187,8 @@ public Mono> spreadCompositeRequestMixWithResponse(String name, S * The spreadAsRequestBody operation. * * @param bodyParameter This is a simple model. + * + * The bodyParameter parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -188,6 +210,8 @@ public Mono spreadAsRequestBody(BodyParameter bodyParameter) { * The spreadCompositeRequestOnlyWithBody operation. * * @param body This is a simple model. + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -208,8 +232,12 @@ public Mono spreadCompositeRequestOnlyWithBody(BodyParameter body) { /** * The spreadCompositeRequestWithoutBody operation. * - * @param name The name parameter. - * @param testHeader The testHeader parameter. + * @param name A sequence of textual characters. + * + * The name parameter. + * @param testHeader A sequence of textual characters. + * + * The testHeader parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -230,9 +258,15 @@ public Mono spreadCompositeRequestWithoutBody(String name, String testHead /** * The spreadCompositeRequest operation. * - * @param name The name parameter. - * @param testHeader The testHeader parameter. + * @param name A sequence of textual characters. + * + * The name parameter. + * @param testHeader A sequence of textual characters. + * + * The testHeader parameter. * @param body This is a simple model. + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -253,9 +287,15 @@ public Mono spreadCompositeRequest(String name, String testHeader, BodyPar /** * The spreadCompositeRequestMix operation. * - * @param name The name parameter. - * @param testHeader The testHeader parameter. + * @param name A sequence of textual characters. + * + * The name parameter. + * @param testHeader A sequence of textual characters. + * + * The testHeader parameter. * @param compositeRequestMix This is a model with non-body http request decorator. + * + * The compositeRequestMix parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/parameters/spread/ModelClient.java b/typespec-tests/src/main/java/com/parameters/spread/ModelClient.java index 1e31ec6477..c8d673e80e 100644 --- a/typespec-tests/src/main/java/com/parameters/spread/ModelClient.java +++ b/typespec-tests/src/main/java/com/parameters/spread/ModelClient.java @@ -48,6 +48,8 @@ public final class ModelClient { * } * * @param bodyParameter This is a simple model. + * + * The bodyParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -72,6 +74,8 @@ public Response spreadAsRequestBodyWithResponse(BinaryData bodyParameter, * } * * @param body This is a simple model. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -89,8 +93,12 @@ public Response spreadCompositeRequestOnlyWithBodyWithResponse(BinaryData /** * The spreadCompositeRequestWithoutBody operation. * - * @param name The name parameter. - * @param testHeader The testHeader parameter. + * @param name A sequence of textual characters. + * + * The name parameter. + * @param testHeader A sequence of textual characters. + * + * The testHeader parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -115,9 +123,15 @@ public Response spreadCompositeRequestWithoutBodyWithResponse(String name, * } * } * - * @param name The name parameter. - * @param testHeader The testHeader parameter. + * @param name A sequence of textual characters. + * + * The name parameter. + * @param testHeader A sequence of textual characters. + * + * The testHeader parameter. * @param body This is a simple model. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -142,9 +156,15 @@ public Response spreadCompositeRequestWithResponse(String name, String tes * } * } * - * @param name The name parameter. - * @param testHeader The testHeader parameter. + * @param name A sequence of textual characters. + * + * The name parameter. + * @param testHeader A sequence of textual characters. + * + * The testHeader parameter. * @param compositeRequestMix This is a model with non-body http request decorator. + * + * The compositeRequestMix parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -164,6 +184,8 @@ public Response spreadCompositeRequestMixWithResponse(String name, String * The spreadAsRequestBody operation. * * @param bodyParameter This is a simple model. + * + * The bodyParameter parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -183,6 +205,8 @@ public void spreadAsRequestBody(BodyParameter bodyParameter) { * The spreadCompositeRequestOnlyWithBody operation. * * @param body This is a simple model. + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -201,8 +225,12 @@ public void spreadCompositeRequestOnlyWithBody(BodyParameter body) { /** * The spreadCompositeRequestWithoutBody operation. * - * @param name The name parameter. - * @param testHeader The testHeader parameter. + * @param name A sequence of textual characters. + * + * The name parameter. + * @param testHeader A sequence of textual characters. + * + * The testHeader parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -221,9 +249,15 @@ public void spreadCompositeRequestWithoutBody(String name, String testHeader) { /** * The spreadCompositeRequest operation. * - * @param name The name parameter. - * @param testHeader The testHeader parameter. + * @param name A sequence of textual characters. + * + * The name parameter. + * @param testHeader A sequence of textual characters. + * + * The testHeader parameter. * @param body This is a simple model. + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -242,9 +276,15 @@ public void spreadCompositeRequest(String name, String testHeader, BodyParameter /** * The spreadCompositeRequestMix operation. * - * @param name The name parameter. - * @param testHeader The testHeader parameter. + * @param name A sequence of textual characters. + * + * The name parameter. + * @param testHeader A sequence of textual characters. + * + * The testHeader parameter. * @param compositeRequestMix This is a model with non-body http request decorator. + * + * The compositeRequestMix parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/parameters/spread/implementation/AliasImpl.java b/typespec-tests/src/main/java/com/parameters/spread/implementation/AliasImpl.java index f42b4bc4e2..cb9ce2f330 100644 --- a/typespec-tests/src/main/java/com/parameters/spread/implementation/AliasImpl.java +++ b/typespec-tests/src/main/java/com/parameters/spread/implementation/AliasImpl.java @@ -175,8 +175,12 @@ public Response spreadAsRequestBodyWithResponse(BinaryData request, Reques * } * } * - * @param id The id parameter. - * @param xMsTestHeader The xMsTestHeader parameter. + * @param id A sequence of textual characters. + * + * The id parameter. + * @param xMsTestHeader A sequence of textual characters. + * + * The xMsTestHeader parameter. * @param request The request parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -203,8 +207,12 @@ public Mono> spreadAsRequestParameterWithResponseAsync(String id, * } * } * - * @param id The id parameter. - * @param xMsTestHeader The xMsTestHeader parameter. + * @param id A sequence of textual characters. + * + * The id parameter. + * @param xMsTestHeader A sequence of textual characters. + * + * The xMsTestHeader parameter. * @param request The request parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -235,8 +243,12 @@ public Response spreadAsRequestParameterWithResponse(String id, String xMs * } * } * - * @param id The id parameter. - * @param xMsTestHeader The xMsTestHeader parameter. + * @param id A sequence of textual characters. + * + * The id parameter. + * @param xMsTestHeader A sequence of textual characters. + * + * The xMsTestHeader parameter. * @param request The request parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -268,8 +280,12 @@ public Mono> spreadWithMultipleParametersWithResponseAsync(String * } * } * - * @param id The id parameter. - * @param xMsTestHeader The xMsTestHeader parameter. + * @param id A sequence of textual characters. + * + * The id parameter. + * @param xMsTestHeader A sequence of textual characters. + * + * The xMsTestHeader parameter. * @param request The request parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. diff --git a/typespec-tests/src/main/java/com/parameters/spread/implementation/ModelsImpl.java b/typespec-tests/src/main/java/com/parameters/spread/implementation/ModelsImpl.java index b02a3d3cdb..681ea80f0f 100644 --- a/typespec-tests/src/main/java/com/parameters/spread/implementation/ModelsImpl.java +++ b/typespec-tests/src/main/java/com/parameters/spread/implementation/ModelsImpl.java @@ -167,6 +167,8 @@ Response spreadCompositeRequestMixSync(@PathParam("name") String name, * } * * @param bodyParameter This is a simple model. + * + * The bodyParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -193,6 +195,8 @@ public Mono> spreadAsRequestBodyWithResponseAsync(BinaryData body * } * * @param bodyParameter This is a simple model. + * + * The bodyParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -217,6 +221,8 @@ public Response spreadAsRequestBodyWithResponse(BinaryData bodyParameter, * } * * @param body This is a simple model. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -243,6 +249,8 @@ public Mono> spreadCompositeRequestOnlyWithBodyWithResponseAsync( * } * * @param body This is a simple model. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -260,8 +268,12 @@ public Response spreadCompositeRequestOnlyWithBodyWithResponse(BinaryData /** * The spreadCompositeRequestWithoutBody operation. * - * @param name The name parameter. - * @param testHeader The testHeader parameter. + * @param name A sequence of textual characters. + * + * The name parameter. + * @param testHeader A sequence of textual characters. + * + * The testHeader parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -280,8 +292,12 @@ public Mono> spreadCompositeRequestWithoutBodyWithResponseAsync(S /** * The spreadCompositeRequestWithoutBody operation. * - * @param name The name parameter. - * @param testHeader The testHeader parameter. + * @param name A sequence of textual characters. + * + * The name parameter. + * @param testHeader A sequence of textual characters. + * + * The testHeader parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -306,9 +322,15 @@ public Response spreadCompositeRequestWithoutBodyWithResponse(String name, * } * } * - * @param name The name parameter. - * @param testHeader The testHeader parameter. + * @param name A sequence of textual characters. + * + * The name parameter. + * @param testHeader A sequence of textual characters. + * + * The testHeader parameter. * @param body This is a simple model. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -334,9 +356,15 @@ public Mono> spreadCompositeRequestWithResponseAsync(String name, * } * } * - * @param name The name parameter. - * @param testHeader The testHeader parameter. + * @param name A sequence of textual characters. + * + * The name parameter. + * @param testHeader A sequence of textual characters. + * + * The testHeader parameter. * @param body This is a simple model. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -361,9 +389,15 @@ public Response spreadCompositeRequestWithResponse(String name, String tes * } * } * - * @param name The name parameter. - * @param testHeader The testHeader parameter. + * @param name A sequence of textual characters. + * + * The name parameter. + * @param testHeader A sequence of textual characters. + * + * The testHeader parameter. * @param compositeRequestMix This is a model with non-body http request decorator. + * + * The compositeRequestMix parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -389,9 +423,15 @@ public Mono> spreadCompositeRequestMixWithResponseAsync(String na * } * } * - * @param name The name parameter. - * @param testHeader The testHeader parameter. + * @param name A sequence of textual characters. + * + * The name parameter. + * @param testHeader A sequence of textual characters. + * + * The testHeader parameter. * @param compositeRequestMix This is a model with non-body http request decorator. + * + * The compositeRequestMix parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/payload/jsonmergepatch/JsonMergePatchAsyncClient.java b/typespec-tests/src/main/java/com/payload/jsonmergepatch/JsonMergePatchAsyncClient.java index 6472063356..8dd074894b 100644 --- a/typespec-tests/src/main/java/com/payload/jsonmergepatch/JsonMergePatchAsyncClient.java +++ b/typespec-tests/src/main/java/com/payload/jsonmergepatch/JsonMergePatchAsyncClient.java @@ -91,6 +91,8 @@ public final class JsonMergePatchAsyncClient { * } * * @param body Details about a resource. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -154,6 +156,8 @@ public Mono> createResourceWithResponse(BinaryData body, Re * } * * @param body Details about a resource for patch operation. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -233,6 +237,8 @@ public Mono> updateOptionalResourceWithResponse(RequestOpti * Test content-type: application/merge-patch+json with required body. * * @param body Details about a resource. + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -254,6 +260,8 @@ public Mono createResource(Resource body) { * Test content-type: application/merge-patch+json with required body. * * @param body Details about a resource for patch operation. + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -278,6 +286,8 @@ public Mono updateResource(ResourcePatch body) { * Test content-type: application/merge-patch+json with optional body. * * @param body Details about a resource for patch operation. + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/payload/jsonmergepatch/JsonMergePatchClient.java b/typespec-tests/src/main/java/com/payload/jsonmergepatch/JsonMergePatchClient.java index 13fdadee8c..4b50e59583 100644 --- a/typespec-tests/src/main/java/com/payload/jsonmergepatch/JsonMergePatchClient.java +++ b/typespec-tests/src/main/java/com/payload/jsonmergepatch/JsonMergePatchClient.java @@ -89,6 +89,8 @@ public final class JsonMergePatchClient { * } * * @param body Details about a resource. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -152,6 +154,8 @@ public Response createResourceWithResponse(BinaryData body, RequestO * } * * @param body Details about a resource for patch operation. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -231,6 +235,8 @@ public Response updateOptionalResourceWithResponse(RequestOptions re * Test content-type: application/merge-patch+json with required body. * * @param body Details about a resource. + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -252,6 +258,8 @@ public Resource createResource(Resource body) { * Test content-type: application/merge-patch+json with required body. * * @param body Details about a resource for patch operation. + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -275,6 +283,8 @@ public Resource updateResource(ResourcePatch body) { * Test content-type: application/merge-patch+json with optional body. * * @param body Details about a resource for patch operation. + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/payload/jsonmergepatch/implementation/JsonMergePatchClientImpl.java b/typespec-tests/src/main/java/com/payload/jsonmergepatch/implementation/JsonMergePatchClientImpl.java index 8e572006e0..0a76f4f623 100644 --- a/typespec-tests/src/main/java/com/payload/jsonmergepatch/implementation/JsonMergePatchClientImpl.java +++ b/typespec-tests/src/main/java/com/payload/jsonmergepatch/implementation/JsonMergePatchClientImpl.java @@ -215,6 +215,8 @@ Response updateOptionalResourceSync(@HeaderParam("content-type") Str * } * * @param body Details about a resource. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -279,6 +281,8 @@ public Mono> createResourceWithResponseAsync(BinaryData bod * } * * @param body Details about a resource. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -342,6 +346,8 @@ public Response createResourceWithResponse(BinaryData body, RequestO * } * * @param body Details about a resource for patch operation. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -407,6 +413,8 @@ public Mono> updateResourceWithResponseAsync(BinaryData bod * } * * @param body Details about a resource for patch operation. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/payload/jsonmergepatch/models/Resource.java b/typespec-tests/src/main/java/com/payload/jsonmergepatch/models/Resource.java index e00d44d396..c3fd734418 100644 --- a/typespec-tests/src/main/java/com/payload/jsonmergepatch/models/Resource.java +++ b/typespec-tests/src/main/java/com/payload/jsonmergepatch/models/Resource.java @@ -56,7 +56,7 @@ public final class Resource implements JsonSerializable { private Double floatValue; /* - * The innerModel property. + * It is the model used by Resource model */ @Generated private InnerModel innerModel; @@ -198,7 +198,7 @@ public Resource setFloatValue(Double floatValue) { } /** - * Get the innerModel property: The innerModel property. + * Get the innerModel property: It is the model used by Resource model. * * @return the innerModel value. */ @@ -208,7 +208,7 @@ public InnerModel getInnerModel() { } /** - * Set the innerModel property: The innerModel property. + * Set the innerModel property: It is the model used by Resource model. * * @param innerModel the innerModel value to set. * @return the Resource object itself. diff --git a/typespec-tests/src/main/java/com/payload/jsonmergepatch/models/ResourcePatch.java b/typespec-tests/src/main/java/com/payload/jsonmergepatch/models/ResourcePatch.java index fcb313fda8..14d4f80181 100644 --- a/typespec-tests/src/main/java/com/payload/jsonmergepatch/models/ResourcePatch.java +++ b/typespec-tests/src/main/java/com/payload/jsonmergepatch/models/ResourcePatch.java @@ -53,7 +53,7 @@ public final class ResourcePatch implements JsonSerializable { private Double floatValue; /* - * The innerModel property. + * It is the model used by Resource model */ @Generated private InnerModel innerModel; @@ -208,7 +208,7 @@ public ResourcePatch setFloatValue(Double floatValue) { } /** - * Get the innerModel property: The innerModel property. + * Get the innerModel property: It is the model used by Resource model. * * @return the innerModel value. */ @@ -218,7 +218,7 @@ public InnerModel getInnerModel() { } /** - * Set the innerModel property: The innerModel property. + * Set the innerModel property: It is the model used by Resource model. * * @param innerModel the innerModel value to set. * @return the ResourcePatch object itself. diff --git a/typespec-tests/src/main/java/com/payload/mediatype/MediaTypeAsyncClient.java b/typespec-tests/src/main/java/com/payload/mediatype/MediaTypeAsyncClient.java index 5efbab2649..580a96c773 100644 --- a/typespec-tests/src/main/java/com/payload/mediatype/MediaTypeAsyncClient.java +++ b/typespec-tests/src/main/java/com/payload/mediatype/MediaTypeAsyncClient.java @@ -45,7 +45,9 @@ public final class MediaTypeAsyncClient { * String * } * - * @param text The text parameter. + * @param text A sequence of textual characters. + * + * The text parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -88,7 +90,9 @@ public Mono> getAsTextWithResponse(RequestOptions requestOp * String * } * - * @param text The text parameter. + * @param text A sequence of textual characters. + * + * The text parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -126,7 +130,9 @@ public Mono> getAsJsonWithResponse(RequestOptions requestOp /** * The sendAsText operation. * - * @param text The text parameter. + * @param text A sequence of textual characters. + * + * The text parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -165,7 +171,9 @@ public Mono getAsText() { /** * The sendAsJson operation. * - * @param text The text parameter. + * @param text A sequence of textual characters. + * + * The text parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/payload/mediatype/MediaTypeClient.java b/typespec-tests/src/main/java/com/payload/mediatype/MediaTypeClient.java index c228fb2862..fce9c4abef 100644 --- a/typespec-tests/src/main/java/com/payload/mediatype/MediaTypeClient.java +++ b/typespec-tests/src/main/java/com/payload/mediatype/MediaTypeClient.java @@ -43,7 +43,9 @@ public final class MediaTypeClient { * String * } * - * @param text The text parameter. + * @param text A sequence of textual characters. + * + * The text parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -86,7 +88,9 @@ public Response getAsTextWithResponse(RequestOptions requestOptions) * String * } * - * @param text The text parameter. + * @param text A sequence of textual characters. + * + * The text parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -124,7 +128,9 @@ public Response getAsJsonWithResponse(RequestOptions requestOptions) /** * The sendAsText operation. * - * @param text The text parameter. + * @param text A sequence of textual characters. + * + * The text parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -161,7 +167,9 @@ public String getAsText() { /** * The sendAsJson operation. * - * @param text The text parameter. + * @param text A sequence of textual characters. + * + * The text parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/payload/mediatype/implementation/StringBodiesImpl.java b/typespec-tests/src/main/java/com/payload/mediatype/implementation/StringBodiesImpl.java index 6514b25f96..fb5118e085 100644 --- a/typespec-tests/src/main/java/com/payload/mediatype/implementation/StringBodiesImpl.java +++ b/typespec-tests/src/main/java/com/payload/mediatype/implementation/StringBodiesImpl.java @@ -143,7 +143,9 @@ Response getAsJsonSync(@HeaderParam("accept") String accept, Request * String * } * - * @param text The text parameter. + * @param text A sequence of textual characters. + * + * The text parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -166,7 +168,9 @@ public Mono> sendAsTextWithResponseAsync(BinaryData text, Request * String * } * - * @param text The text parameter. + * @param text A sequence of textual characters. + * + * The text parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -231,7 +235,9 @@ public Response getAsTextWithResponse(RequestOptions requestOptions) * String * } * - * @param text The text parameter. + * @param text A sequence of textual characters. + * + * The text parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -254,7 +260,9 @@ public Mono> sendAsJsonWithResponseAsync(BinaryData text, Request * String * } * - * @param text The text parameter. + * @param text A sequence of textual characters. + * + * The text parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/payload/pageable/PageableAsyncClient.java b/typespec-tests/src/main/java/com/payload/pageable/PageableAsyncClient.java index 8ccb1f5ac4..6e37182faa 100644 --- a/typespec-tests/src/main/java/com/payload/pageable/PageableAsyncClient.java +++ b/typespec-tests/src/main/java/com/payload/pageable/PageableAsyncClient.java @@ -46,7 +46,9 @@ public final class PageableAsyncClient { * * * - * + * *
Query Parameters
NameTypeRequiredDescription
maxpagesizeIntegerNoThe maximum number of result items per page.
maxpagesizeIntegerNoA 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) + * + * The maxPageSize parameter
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

diff --git a/typespec-tests/src/main/java/com/payload/pageable/PageableClient.java b/typespec-tests/src/main/java/com/payload/pageable/PageableClient.java index 2f81f2ef11..2a2e266a2e 100644 --- a/typespec-tests/src/main/java/com/payload/pageable/PageableClient.java +++ b/typespec-tests/src/main/java/com/payload/pageable/PageableClient.java @@ -42,7 +42,9 @@ public final class PageableClient { * * * - * + * *
Query Parameters
NameTypeRequiredDescription
maxpagesizeIntegerNoThe maximum number of result items per page.
maxpagesizeIntegerNoA 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) + * + * The maxPageSize parameter
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

diff --git a/typespec-tests/src/main/java/com/payload/pageable/implementation/PageableClientImpl.java b/typespec-tests/src/main/java/com/payload/pageable/implementation/PageableClientImpl.java index fc909cf355..2ec022bcf2 100644 --- a/typespec-tests/src/main/java/com/payload/pageable/implementation/PageableClientImpl.java +++ b/typespec-tests/src/main/java/com/payload/pageable/implementation/PageableClientImpl.java @@ -154,7 +154,9 @@ Response listNextSync(@PathParam(value = "nextLink", encoded = true) * * * - * + * *
Query Parameters
NameTypeRequiredDescription
maxpagesizeIntegerNoThe maximum number of result items per page.
maxpagesizeIntegerNoA 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) + * + * The maxPageSize parameter
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

@@ -186,7 +188,9 @@ private Mono> listSinglePageAsync(RequestOptions reque * * * - * + * *
Query Parameters
NameTypeRequiredDescription
maxpagesizeIntegerNoThe maximum number of result items per page.
maxpagesizeIntegerNoA 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) + * + * The maxPageSize parameter
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

@@ -239,7 +243,9 @@ public PagedFlux listAsync(RequestOptions requestOptions) { * * * - * + * *
Query Parameters
NameTypeRequiredDescription
maxpagesizeIntegerNoThe maximum number of result items per page.
maxpagesizeIntegerNoA 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) + * + * The maxPageSize parameter
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

@@ -271,7 +277,9 @@ private PagedResponse listSinglePage(RequestOptions requestOptions) * * * - * + * *
Query Parameters
NameTypeRequiredDescription
maxpagesizeIntegerNoThe maximum number of result items per page.
maxpagesizeIntegerNoA 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) + * + * The maxPageSize parameter
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

diff --git a/typespec-tests/src/main/java/com/payload/pageable/models/User.java b/typespec-tests/src/main/java/com/payload/pageable/models/User.java index 4262494723..ab7f1b0b84 100644 --- a/typespec-tests/src/main/java/com/payload/pageable/models/User.java +++ b/typespec-tests/src/main/java/com/payload/pageable/models/User.java @@ -18,8 +18,6 @@ @Immutable public final class User implements JsonSerializable { /* - * A sequence of textual characters. - * * User name */ @Generated @@ -36,9 +34,7 @@ private User(String name) { } /** - * Get the name property: A sequence of textual characters. - * - * User name. + * Get the name property: User name. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/resiliency/servicedriven/ResiliencyServiceDrivenAsyncClient.java b/typespec-tests/src/main/java/com/resiliency/servicedriven/ResiliencyServiceDrivenAsyncClient.java index 1de4a54974..7403ab0740 100644 --- a/typespec-tests/src/main/java/com/resiliency/servicedriven/ResiliencyServiceDrivenAsyncClient.java +++ b/typespec-tests/src/main/java/com/resiliency/servicedriven/ResiliencyServiceDrivenAsyncClient.java @@ -59,7 +59,9 @@ public Mono> addOperationWithResponse(RequestOptions requestOptio * * * - * + * *
Query Parameters
NameTypeRequiredDescription
new-parameterStringNoI'm a new input optional parameter
new-parameterStringNoA sequence of textual characters. + * + * The newParameter parameter
* You can add these to a request with {@link RequestOptions#addQueryParam} * @@ -83,11 +85,15 @@ public Mono> fromNoneWithResponse(RequestOptions requestOptions) * * * - * + * *
Query Parameters
NameTypeRequiredDescription
new-parameterStringNoI'm a new input optional parameter
new-parameterStringNoA sequence of textual characters. + * + * The newParameter parameter
* You can add these to a request with {@link RequestOptions#addQueryParam} * - * @param parameter I am a required parameter. + * @param parameter A sequence of textual characters. + * + * The parameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -108,8 +114,12 @@ public Mono> fromOneRequiredWithResponse(String parameter, Reques * * * - * - * + * + * *
Query Parameters
NameTypeRequiredDescription
parameterStringNoI am an optional parameter
new-parameterStringNoI'm a new input optional parameter
parameterStringNoA sequence of textual characters. + * + * The parameter parameter
new-parameterStringNoA sequence of textual characters. + * + * The newParameter parameter
* You can add these to a request with {@link RequestOptions#addQueryParam} * @@ -147,7 +157,9 @@ public Mono addOperation() { /** * Test that grew up from accepting no parameters to an optional input parameter. * - * @param newParameter I'm a new input optional parameter. + * @param newParameter A sequence of textual characters. + * + * The newParameter parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -193,8 +205,12 @@ public Mono fromNone() { * Operation that grew up from accepting one required parameter to accepting a required parameter and an optional * parameter. * - * @param parameter I am a required parameter. - * @param newParameter I'm a new input optional parameter. + * @param parameter A sequence of textual characters. + * + * The parameter parameter. + * @param newParameter A sequence of textual characters. + * + * The newParameter parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -222,7 +238,9 @@ public Mono fromOneRequired(String parameter, String newParameter) { * Operation that grew up from accepting one required parameter to accepting a required parameter and an optional * parameter. * - * @param parameter I am a required parameter. + * @param parameter A sequence of textual characters. + * + * The parameter parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -243,8 +261,12 @@ public Mono fromOneRequired(String parameter) { * Tests that we can grow up an operation from accepting one optional parameter to accepting two optional * parameters. * - * @param parameter I am an optional parameter. - * @param newParameter I'm a new input optional parameter. + * @param parameter A sequence of textual characters. + * + * The parameter parameter. + * @param newParameter A sequence of textual characters. + * + * The newParameter parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -275,7 +297,9 @@ public Mono fromOneOptional(String parameter, String newParameter) { * Tests that we can grow up an operation from accepting one optional parameter to accepting two optional * parameters. * - * @param parameter I am an optional parameter. + * @param parameter A sequence of textual characters. + * + * The parameter parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/resiliency/servicedriven/ResiliencyServiceDrivenClient.java b/typespec-tests/src/main/java/com/resiliency/servicedriven/ResiliencyServiceDrivenClient.java index 91835d22fb..25472c354c 100644 --- a/typespec-tests/src/main/java/com/resiliency/servicedriven/ResiliencyServiceDrivenClient.java +++ b/typespec-tests/src/main/java/com/resiliency/servicedriven/ResiliencyServiceDrivenClient.java @@ -58,7 +58,9 @@ public Response addOperationWithResponse(RequestOptions requestOptions) { * * * - * + * *
Query Parameters
NameTypeRequiredDescription
new-parameterStringNoI'm a new input optional parameter
new-parameterStringNoA sequence of textual characters. + * + * The newParameter parameter
* You can add these to a request with {@link RequestOptions#addQueryParam} * @@ -82,11 +84,15 @@ public Response fromNoneWithResponse(RequestOptions requestOptions) { * * * - * + * *
Query Parameters
NameTypeRequiredDescription
new-parameterStringNoI'm a new input optional parameter
new-parameterStringNoA sequence of textual characters. + * + * The newParameter parameter
* You can add these to a request with {@link RequestOptions#addQueryParam} * - * @param parameter I am a required parameter. + * @param parameter A sequence of textual characters. + * + * The parameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -107,8 +113,12 @@ public Response fromOneRequiredWithResponse(String parameter, RequestOptio * * * - * - * + * + * *
Query Parameters
NameTypeRequiredDescription
parameterStringNoI am an optional parameter
new-parameterStringNoI'm a new input optional parameter
parameterStringNoA sequence of textual characters. + * + * The parameter parameter
new-parameterStringNoA sequence of textual characters. + * + * The newParameter parameter
* You can add these to a request with {@link RequestOptions#addQueryParam} * @@ -145,7 +155,9 @@ public void addOperation() { /** * Test that grew up from accepting no parameters to an optional input parameter. * - * @param newParameter I'm a new input optional parameter. + * @param newParameter A sequence of textual characters. + * + * The newParameter parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -189,8 +201,12 @@ public void fromNone() { * Operation that grew up from accepting one required parameter to accepting a required parameter and an optional * parameter. * - * @param parameter I am a required parameter. - * @param newParameter I'm a new input optional parameter. + * @param parameter A sequence of textual characters. + * + * The parameter parameter. + * @param newParameter A sequence of textual characters. + * + * The newParameter parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -217,7 +233,9 @@ public void fromOneRequired(String parameter, String newParameter) { * Operation that grew up from accepting one required parameter to accepting a required parameter and an optional * parameter. * - * @param parameter I am a required parameter. + * @param parameter A sequence of textual characters. + * + * The parameter parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -237,8 +255,12 @@ public void fromOneRequired(String parameter) { * Tests that we can grow up an operation from accepting one optional parameter to accepting two optional * parameters. * - * @param parameter I am an optional parameter. - * @param newParameter I'm a new input optional parameter. + * @param parameter A sequence of textual characters. + * + * The parameter parameter. + * @param newParameter A sequence of textual characters. + * + * The newParameter parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -268,7 +290,9 @@ public void fromOneOptional(String parameter, String newParameter) { * Tests that we can grow up an operation from accepting one optional parameter to accepting two optional * parameters. * - * @param parameter I am an optional parameter. + * @param parameter A sequence of textual characters. + * + * The parameter parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/resiliency/servicedriven/implementation/ResiliencyServiceDrivenClientImpl.java b/typespec-tests/src/main/java/com/resiliency/servicedriven/implementation/ResiliencyServiceDrivenClientImpl.java index 0ab9638406..7a998b2cde 100644 --- a/typespec-tests/src/main/java/com/resiliency/servicedriven/implementation/ResiliencyServiceDrivenClientImpl.java +++ b/typespec-tests/src/main/java/com/resiliency/servicedriven/implementation/ResiliencyServiceDrivenClientImpl.java @@ -307,7 +307,9 @@ public Response addOperationWithResponse(RequestOptions requestOptions) { * * * - * + * *
Query Parameters
NameTypeRequiredDescription
new-parameterStringNoI'm a new input optional parameter
new-parameterStringNoA sequence of textual characters. + * + * The newParameter parameter
* You can add these to a request with {@link RequestOptions#addQueryParam} * @@ -331,7 +333,9 @@ public Mono> fromNoneWithResponseAsync(RequestOptions requestOpti * * * - * + * *
Query Parameters
NameTypeRequiredDescription
new-parameterStringNoI'm a new input optional parameter
new-parameterStringNoA sequence of textual characters. + * + * The newParameter parameter
* You can add these to a request with {@link RequestOptions#addQueryParam} * @@ -356,11 +360,15 @@ public Response fromNoneWithResponse(RequestOptions requestOptions) { * * * - * + * *
Query Parameters
NameTypeRequiredDescription
new-parameterStringNoI'm a new input optional parameter
new-parameterStringNoA sequence of textual characters. + * + * The newParameter parameter
* You can add these to a request with {@link RequestOptions#addQueryParam} * - * @param parameter I am a required parameter. + * @param parameter A sequence of textual characters. + * + * The parameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -383,11 +391,15 @@ public Mono> fromOneRequiredWithResponseAsync(String parameter, R * * * - * + * *
Query Parameters
NameTypeRequiredDescription
new-parameterStringNoI'm a new input optional parameter
new-parameterStringNoA sequence of textual characters. + * + * The newParameter parameter
* You can add these to a request with {@link RequestOptions#addQueryParam} * - * @param parameter I am a required parameter. + * @param parameter A sequence of textual characters. + * + * The parameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -409,8 +421,12 @@ public Response fromOneRequiredWithResponse(String parameter, RequestOptio * * * - * - * + * + * *
Query Parameters
NameTypeRequiredDescription
parameterStringNoI am an optional parameter
new-parameterStringNoI'm a new input optional parameter
parameterStringNoA sequence of textual characters. + * + * The parameter parameter
new-parameterStringNoA sequence of textual characters. + * + * The newParameter parameter
* You can add these to a request with {@link RequestOptions#addQueryParam} * @@ -436,8 +452,12 @@ public Mono> fromOneOptionalWithResponseAsync(RequestOptions requ * * * - * - * + * + * *
Query Parameters
NameTypeRequiredDescription
parameterStringNoI am an optional parameter
new-parameterStringNoI'm a new input optional parameter
parameterStringNoA sequence of textual characters. + * + * The parameter parameter
new-parameterStringNoA sequence of textual characters. + * + * The newParameter parameter
* You can add these to a request with {@link RequestOptions#addQueryParam} * diff --git a/typespec-tests/src/main/java/com/resiliency/servicedriven/v1/ResiliencyServiceDrivenAsyncClient.java b/typespec-tests/src/main/java/com/resiliency/servicedriven/v1/ResiliencyServiceDrivenAsyncClient.java index 43fa06b144..c0035bb1d6 100644 --- a/typespec-tests/src/main/java/com/resiliency/servicedriven/v1/ResiliencyServiceDrivenAsyncClient.java +++ b/typespec-tests/src/main/java/com/resiliency/servicedriven/v1/ResiliencyServiceDrivenAsyncClient.java @@ -57,7 +57,9 @@ public Mono> fromNoneWithResponse(RequestOptions requestOptions) * Test that currently accepts one required parameter, will be updated in next spec to accept a new optional * parameter as well. * - * @param parameter I am a required parameter. + * @param parameter A sequence of textual characters. + * + * The parameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -78,7 +80,9 @@ public Mono> fromOneRequiredWithResponse(String parameter, Reques * * * - * + * *
Query Parameters
NameTypeRequiredDescription
parameterStringNoI am an optional parameter
parameterStringNoA sequence of textual characters. + * + * The parameter parameter
* You can add these to a request with {@link RequestOptions#addQueryParam} * @@ -118,7 +122,9 @@ public Mono fromNone() { * Test that currently accepts one required parameter, will be updated in next spec to accept a new optional * parameter as well. * - * @param parameter I am a required parameter. + * @param parameter A sequence of textual characters. + * + * The parameter parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -139,7 +145,9 @@ public Mono fromOneRequired(String parameter) { * Test that currently accepts one optional parameter, will be updated in next spec to accept a new optional * parameter as well. * - * @param parameter I am an optional parameter. + * @param parameter A sequence of textual characters. + * + * The parameter parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/resiliency/servicedriven/v1/ResiliencyServiceDrivenClient.java b/typespec-tests/src/main/java/com/resiliency/servicedriven/v1/ResiliencyServiceDrivenClient.java index 4a0ec64809..c0d7b4476d 100644 --- a/typespec-tests/src/main/java/com/resiliency/servicedriven/v1/ResiliencyServiceDrivenClient.java +++ b/typespec-tests/src/main/java/com/resiliency/servicedriven/v1/ResiliencyServiceDrivenClient.java @@ -55,7 +55,9 @@ public Response fromNoneWithResponse(RequestOptions requestOptions) { * Test that currently accepts one required parameter, will be updated in next spec to accept a new optional * parameter as well. * - * @param parameter I am a required parameter. + * @param parameter A sequence of textual characters. + * + * The parameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -76,7 +78,9 @@ public Response fromOneRequiredWithResponse(String parameter, RequestOptio * * * - * + * *
Query Parameters
NameTypeRequiredDescription
parameterStringNoI am an optional parameter
parameterStringNoA sequence of textual characters. + * + * The parameter parameter
* You can add these to a request with {@link RequestOptions#addQueryParam} * @@ -115,7 +119,9 @@ public void fromNone() { * Test that currently accepts one required parameter, will be updated in next spec to accept a new optional * parameter as well. * - * @param parameter I am a required parameter. + * @param parameter A sequence of textual characters. + * + * The parameter parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -135,7 +141,9 @@ public void fromOneRequired(String parameter) { * Test that currently accepts one optional parameter, will be updated in next spec to accept a new optional * parameter as well. * - * @param parameter I am an optional parameter. + * @param parameter A sequence of textual characters. + * + * The parameter parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/resiliency/servicedriven/v1/implementation/ResiliencyServiceDrivenClientImpl.java b/typespec-tests/src/main/java/com/resiliency/servicedriven/v1/implementation/ResiliencyServiceDrivenClientImpl.java index e52308a2ad..a656d1dd73 100644 --- a/typespec-tests/src/main/java/com/resiliency/servicedriven/v1/implementation/ResiliencyServiceDrivenClientImpl.java +++ b/typespec-tests/src/main/java/com/resiliency/servicedriven/v1/implementation/ResiliencyServiceDrivenClientImpl.java @@ -283,7 +283,9 @@ public Response fromNoneWithResponse(RequestOptions requestOptions) { * Test that currently accepts one required parameter, will be updated in next spec to accept a new optional * parameter as well. * - * @param parameter I am a required parameter. + * @param parameter A sequence of textual characters. + * + * The parameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -303,7 +305,9 @@ public Mono> fromOneRequiredWithResponseAsync(String parameter, R * Test that currently accepts one required parameter, will be updated in next spec to accept a new optional * parameter as well. * - * @param parameter I am a required parameter. + * @param parameter A sequence of textual characters. + * + * The parameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -325,7 +329,9 @@ public Response fromOneRequiredWithResponse(String parameter, RequestOptio * * * - * + * *
Query Parameters
NameTypeRequiredDescription
parameterStringNoI am an optional parameter
parameterStringNoA sequence of textual characters. + * + * The parameter parameter
* You can add these to a request with {@link RequestOptions#addQueryParam} * @@ -351,7 +357,9 @@ public Mono> fromOneOptionalWithResponseAsync(RequestOptions requ * * * - * + * *
Query Parameters
NameTypeRequiredDescription
parameterStringNoI am an optional parameter
parameterStringNoA sequence of textual characters. + * + * The parameter parameter
* You can add these to a request with {@link RequestOptions#addQueryParam} * diff --git a/typespec-tests/src/main/java/com/serialization/encodedname/json/models/JsonEncodedNameModel.java b/typespec-tests/src/main/java/com/serialization/encodedname/json/models/JsonEncodedNameModel.java index da8919d6cb..3a7293ea14 100644 --- a/typespec-tests/src/main/java/com/serialization/encodedname/json/models/JsonEncodedNameModel.java +++ b/typespec-tests/src/main/java/com/serialization/encodedname/json/models/JsonEncodedNameModel.java @@ -18,8 +18,6 @@ @Immutable public final class JsonEncodedNameModel implements JsonSerializable { /* - * Boolean with `true` and `false` values. - * * Pass in true */ @Generated @@ -36,9 +34,7 @@ public JsonEncodedNameModel(boolean defaultName) { } /** - * Get the defaultName property: Boolean with `true` and `false` values. - * - * Pass in true. + * Get the defaultName property: Pass in true. * * @return the defaultName value. */ diff --git a/typespec-tests/src/main/java/com/server/path/multiple/MultipleAsyncClient.java b/typespec-tests/src/main/java/com/server/path/multiple/MultipleAsyncClient.java index f11d8697d6..7cbe26fac3 100644 --- a/typespec-tests/src/main/java/com/server/path/multiple/MultipleAsyncClient.java +++ b/typespec-tests/src/main/java/com/server/path/multiple/MultipleAsyncClient.java @@ -55,7 +55,9 @@ public Mono> noOperationParamsWithResponse(RequestOptions request /** * The withOperationPathParam operation. * - * @param keyword The keyword parameter. + * @param keyword A sequence of textual characters. + * + * The keyword parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -90,7 +92,9 @@ public Mono noOperationParams() { /** * The withOperationPathParam operation. * - * @param keyword The keyword parameter. + * @param keyword A sequence of textual characters. + * + * The keyword parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/server/path/multiple/MultipleClient.java b/typespec-tests/src/main/java/com/server/path/multiple/MultipleClient.java index ca2694f10f..6b61e03394 100644 --- a/typespec-tests/src/main/java/com/server/path/multiple/MultipleClient.java +++ b/typespec-tests/src/main/java/com/server/path/multiple/MultipleClient.java @@ -53,7 +53,9 @@ public Response noOperationParamsWithResponse(RequestOptions requestOption /** * The withOperationPathParam operation. * - * @param keyword The keyword parameter. + * @param keyword A sequence of textual characters. + * + * The keyword parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -87,7 +89,9 @@ public void noOperationParams() { /** * The withOperationPathParam operation. * - * @param keyword The keyword parameter. + * @param keyword A sequence of textual characters. + * + * The keyword parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/server/path/multiple/implementation/MultipleClientImpl.java b/typespec-tests/src/main/java/com/server/path/multiple/implementation/MultipleClientImpl.java index 93144cb321..21b469191c 100644 --- a/typespec-tests/src/main/java/com/server/path/multiple/implementation/MultipleClientImpl.java +++ b/typespec-tests/src/main/java/com/server/path/multiple/implementation/MultipleClientImpl.java @@ -220,7 +220,9 @@ public Response noOperationParamsWithResponse(RequestOptions requestOption /** * The withOperationPathParam operation. * - * @param keyword The keyword parameter. + * @param keyword A sequence of textual characters. + * + * The keyword parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -238,7 +240,9 @@ public Mono> withOperationPathParamWithResponseAsync(String keywo /** * The withOperationPathParam operation. * - * @param keyword The keyword parameter. + * @param keyword A sequence of textual characters. + * + * The keyword parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/server/versions/notversioned/NotVersionedAsyncClient.java b/typespec-tests/src/main/java/com/server/versions/notversioned/NotVersionedAsyncClient.java index 9b8a616fab..f8e9035b27 100644 --- a/typespec-tests/src/main/java/com/server/versions/notversioned/NotVersionedAsyncClient.java +++ b/typespec-tests/src/main/java/com/server/versions/notversioned/NotVersionedAsyncClient.java @@ -55,7 +55,9 @@ public Mono> withoutApiVersionWithResponse(RequestOptions request /** * The withQueryApiVersion operation. * - * @param apiVersion The apiVersion parameter. + * @param apiVersion A sequence of textual characters. + * + * The apiVersion parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -72,7 +74,9 @@ public Mono> withQueryApiVersionWithResponse(String apiVersion, R /** * The withPathApiVersion operation. * - * @param apiVersion The apiVersion parameter. + * @param apiVersion A sequence of textual characters. + * + * The apiVersion parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -107,7 +111,9 @@ public Mono withoutApiVersion() { /** * The withQueryApiVersion operation. * - * @param apiVersion The apiVersion parameter. + * @param apiVersion A sequence of textual characters. + * + * The apiVersion parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -127,7 +133,9 @@ public Mono withQueryApiVersion(String apiVersion) { /** * The withPathApiVersion operation. * - * @param apiVersion The apiVersion parameter. + * @param apiVersion A sequence of textual characters. + * + * The apiVersion parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/server/versions/notversioned/NotVersionedClient.java b/typespec-tests/src/main/java/com/server/versions/notversioned/NotVersionedClient.java index 291982cfa0..176cf4a19c 100644 --- a/typespec-tests/src/main/java/com/server/versions/notversioned/NotVersionedClient.java +++ b/typespec-tests/src/main/java/com/server/versions/notversioned/NotVersionedClient.java @@ -53,7 +53,9 @@ public Response withoutApiVersionWithResponse(RequestOptions requestOption /** * The withQueryApiVersion operation. * - * @param apiVersion The apiVersion parameter. + * @param apiVersion A sequence of textual characters. + * + * The apiVersion parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -70,7 +72,9 @@ public Response withQueryApiVersionWithResponse(String apiVersion, Request /** * The withPathApiVersion operation. * - * @param apiVersion The apiVersion parameter. + * @param apiVersion A sequence of textual characters. + * + * The apiVersion parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -104,7 +108,9 @@ public void withoutApiVersion() { /** * The withQueryApiVersion operation. * - * @param apiVersion The apiVersion parameter. + * @param apiVersion A sequence of textual characters. + * + * The apiVersion parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -123,7 +129,9 @@ public void withQueryApiVersion(String apiVersion) { /** * The withPathApiVersion operation. * - * @param apiVersion The apiVersion parameter. + * @param apiVersion A sequence of textual characters. + * + * The apiVersion parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/server/versions/notversioned/implementation/NotVersionedClientImpl.java b/typespec-tests/src/main/java/com/server/versions/notversioned/implementation/NotVersionedClientImpl.java index 25d41d2449..ca4105e9d0 100644 --- a/typespec-tests/src/main/java/com/server/versions/notversioned/implementation/NotVersionedClientImpl.java +++ b/typespec-tests/src/main/java/com/server/versions/notversioned/implementation/NotVersionedClientImpl.java @@ -220,7 +220,9 @@ public Response withoutApiVersionWithResponse(RequestOptions requestOption /** * The withQueryApiVersion operation. * - * @param apiVersion The apiVersion parameter. + * @param apiVersion A sequence of textual characters. + * + * The apiVersion parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -238,7 +240,9 @@ public Mono> withQueryApiVersionWithResponseAsync(String apiVersi /** * The withQueryApiVersion operation. * - * @param apiVersion The apiVersion parameter. + * @param apiVersion A sequence of textual characters. + * + * The apiVersion parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -255,7 +259,9 @@ public Response withQueryApiVersionWithResponse(String apiVersion, Request /** * The withPathApiVersion operation. * - * @param apiVersion The apiVersion parameter. + * @param apiVersion A sequence of textual characters. + * + * The apiVersion parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -273,7 +279,9 @@ public Mono> withPathApiVersionWithResponseAsync(String apiVersio /** * The withPathApiVersion operation. * - * @param apiVersion The apiVersion parameter. + * @param apiVersion A sequence of textual characters. + * + * The apiVersion parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/specialheaders/conditionalrequest/ConditionalRequestAsyncClient.java b/typespec-tests/src/main/java/com/specialheaders/conditionalrequest/ConditionalRequestAsyncClient.java index fc214ad0cb..e97787f536 100644 --- a/typespec-tests/src/main/java/com/specialheaders/conditionalrequest/ConditionalRequestAsyncClient.java +++ b/typespec-tests/src/main/java/com/specialheaders/conditionalrequest/ConditionalRequestAsyncClient.java @@ -43,8 +43,9 @@ public final class ConditionalRequestAsyncClient { * * * - * + * *
Header Parameters
NameTypeRequiredDescription
If-MatchStringNoThe request should only proceed if an entity matches this - * string.
If-MatchStringNoA sequence of textual characters. + * + * The ifMatch parameter
* You can add these to a request with {@link RequestOptions#addHeader} * @@ -67,8 +68,9 @@ public Mono> postIfMatchWithResponse(RequestOptions requestOption * * * - * + * *
Header Parameters
NameTypeRequiredDescription
If-None-MatchStringNoThe request should only proceed if no entity matches this - * string.
If-None-MatchStringNoA sequence of textual characters. + * + * The ifNoneMatch parameter
* You can add these to a request with {@link RequestOptions#addHeader} * @@ -88,7 +90,9 @@ public Mono> postIfNoneMatchWithResponse(RequestOptions requestOp /** * Check when only If-Match in header is defined. * - * @param ifMatch The request should only proceed if an entity matches this string. + * @param ifMatch A sequence of textual characters. + * + * The ifMatch parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -129,7 +133,9 @@ public Mono postIfMatch() { /** * Check when only If-None-Match in header is defined. * - * @param ifNoneMatch The request should only proceed if no entity matches this string. + * @param ifNoneMatch A sequence of textual characters. + * + * The ifNoneMatch parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/specialheaders/conditionalrequest/ConditionalRequestClient.java b/typespec-tests/src/main/java/com/specialheaders/conditionalrequest/ConditionalRequestClient.java index 4629ed4d3d..6313ecde49 100644 --- a/typespec-tests/src/main/java/com/specialheaders/conditionalrequest/ConditionalRequestClient.java +++ b/typespec-tests/src/main/java/com/specialheaders/conditionalrequest/ConditionalRequestClient.java @@ -41,8 +41,9 @@ public final class ConditionalRequestClient { * * * - * + * *
Header Parameters
NameTypeRequiredDescription
If-MatchStringNoThe request should only proceed if an entity matches this - * string.
If-MatchStringNoA sequence of textual characters. + * + * The ifMatch parameter
* You can add these to a request with {@link RequestOptions#addHeader} * @@ -65,8 +66,9 @@ public Response postIfMatchWithResponse(RequestOptions requestOptions) { * * * - * + * *
Header Parameters
NameTypeRequiredDescription
If-None-MatchStringNoThe request should only proceed if no entity matches this - * string.
If-None-MatchStringNoA sequence of textual characters. + * + * The ifNoneMatch parameter
* You can add these to a request with {@link RequestOptions#addHeader} * @@ -86,7 +88,9 @@ public Response postIfNoneMatchWithResponse(RequestOptions requestOptions) /** * Check when only If-Match in header is defined. * - * @param ifMatch The request should only proceed if an entity matches this string. + * @param ifMatch A sequence of textual characters. + * + * The ifMatch parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -125,7 +129,9 @@ public void postIfMatch() { /** * Check when only If-None-Match in header is defined. * - * @param ifNoneMatch The request should only proceed if no entity matches this string. + * @param ifNoneMatch A sequence of textual characters. + * + * The ifNoneMatch parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/specialheaders/conditionalrequest/implementation/ConditionalRequestClientImpl.java b/typespec-tests/src/main/java/com/specialheaders/conditionalrequest/implementation/ConditionalRequestClientImpl.java index b5b4d489a0..efe141a045 100644 --- a/typespec-tests/src/main/java/com/specialheaders/conditionalrequest/implementation/ConditionalRequestClientImpl.java +++ b/typespec-tests/src/main/java/com/specialheaders/conditionalrequest/implementation/ConditionalRequestClientImpl.java @@ -146,8 +146,9 @@ Response postIfNoneMatchSync(@HeaderParam("accept") String accept, Request * * * - * + * *
Header Parameters
NameTypeRequiredDescription
If-MatchStringNoThe request should only proceed if an entity matches this - * string.
If-MatchStringNoA sequence of textual characters. + * + * The ifMatch parameter
* You can add these to a request with {@link RequestOptions#addHeader} * @@ -170,8 +171,9 @@ public Mono> postIfMatchWithResponseAsync(RequestOptions requestO * * * - * + * *
Header Parameters
NameTypeRequiredDescription
If-MatchStringNoThe request should only proceed if an entity matches this - * string.
If-MatchStringNoA sequence of textual characters. + * + * The ifMatch parameter
* You can add these to a request with {@link RequestOptions#addHeader} * @@ -194,8 +196,9 @@ public Response postIfMatchWithResponse(RequestOptions requestOptions) { * * * - * + * *
Header Parameters
NameTypeRequiredDescription
If-None-MatchStringNoThe request should only proceed if no entity matches this - * string.
If-None-MatchStringNoA sequence of textual characters. + * + * The ifNoneMatch parameter
* You can add these to a request with {@link RequestOptions#addHeader} * @@ -218,8 +221,9 @@ public Mono> postIfNoneMatchWithResponseAsync(RequestOptions requ * * * - * + * *
Header Parameters
NameTypeRequiredDescription
If-None-MatchStringNoThe request should only proceed if no entity matches this - * string.
If-None-MatchStringNoA sequence of textual characters. + * + * The ifNoneMatch parameter
* You can add these to a request with {@link RequestOptions#addHeader} * diff --git a/typespec-tests/src/main/java/com/specialwords/ParametersAsyncClient.java b/typespec-tests/src/main/java/com/specialwords/ParametersAsyncClient.java index 458637eb97..ff52e15497 100644 --- a/typespec-tests/src/main/java/com/specialwords/ParametersAsyncClient.java +++ b/typespec-tests/src/main/java/com/specialwords/ParametersAsyncClient.java @@ -39,7 +39,9 @@ public final class ParametersAsyncClient { /** * The withAnd operation. * - * @param and The and parameter. + * @param and A sequence of textual characters. + * + * The and parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -56,7 +58,9 @@ public Mono> withAndWithResponse(String and, RequestOptions reque /** * The withAs operation. * - * @param as The as parameter. + * @param as A sequence of textual characters. + * + * The as parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -73,7 +77,9 @@ public Mono> withAsWithResponse(String as, RequestOptions request /** * The withAssert operation. * - * @param assertParameter The assertParameter parameter. + * @param assertParameter A sequence of textual characters. + * + * The assertParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -90,7 +96,9 @@ public Mono> withAssertWithResponse(String assertParameter, Reque /** * The withAsync operation. * - * @param async The async parameter. + * @param async A sequence of textual characters. + * + * The async parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -107,7 +115,9 @@ public Mono> withAsyncWithResponse(String async, RequestOptions r /** * The withAwait operation. * - * @param await The await parameter. + * @param await A sequence of textual characters. + * + * The await parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -124,7 +134,9 @@ public Mono> withAwaitWithResponse(String await, RequestOptions r /** * The withBreak operation. * - * @param breakParameter The breakParameter parameter. + * @param breakParameter A sequence of textual characters. + * + * The breakParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -141,7 +153,9 @@ public Mono> withBreakWithResponse(String breakParameter, Request /** * The withClass operation. * - * @param classParameter The classParameter parameter. + * @param classParameter A sequence of textual characters. + * + * The classParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -158,7 +172,9 @@ public Mono> withClassWithResponse(String classParameter, Request /** * The withConstructor operation. * - * @param constructor The constructor parameter. + * @param constructor A sequence of textual characters. + * + * The constructor parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -175,7 +191,9 @@ public Mono> withConstructorWithResponse(String constructor, Requ /** * The withContinue operation. * - * @param continueParameter The continueParameter parameter. + * @param continueParameter A sequence of textual characters. + * + * The continueParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -192,7 +210,9 @@ public Mono> withContinueWithResponse(String continueParameter, R /** * The withDef operation. * - * @param def The def parameter. + * @param def A sequence of textual characters. + * + * The def parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -209,7 +229,9 @@ public Mono> withDefWithResponse(String def, RequestOptions reque /** * The withDel operation. * - * @param del The del parameter. + * @param del A sequence of textual characters. + * + * The del parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -226,7 +248,9 @@ public Mono> withDelWithResponse(String del, RequestOptions reque /** * The withElif operation. * - * @param elif The elif parameter. + * @param elif A sequence of textual characters. + * + * The elif parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -243,7 +267,9 @@ public Mono> withElifWithResponse(String elif, RequestOptions req /** * The withElse operation. * - * @param elseParameter The elseParameter parameter. + * @param elseParameter A sequence of textual characters. + * + * The elseParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -260,7 +286,9 @@ public Mono> withElseWithResponse(String elseParameter, RequestOp /** * The withExcept operation. * - * @param except The except parameter. + * @param except A sequence of textual characters. + * + * The except parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -277,7 +305,9 @@ public Mono> withExceptWithResponse(String except, RequestOptions /** * The withExec operation. * - * @param exec The exec parameter. + * @param exec A sequence of textual characters. + * + * The exec parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -294,7 +324,9 @@ public Mono> withExecWithResponse(String exec, RequestOptions req /** * The withFinally operation. * - * @param finallyParameter The finallyParameter parameter. + * @param finallyParameter A sequence of textual characters. + * + * The finallyParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -311,7 +343,9 @@ public Mono> withFinallyWithResponse(String finallyParameter, Req /** * The withFor operation. * - * @param forParameter The forParameter parameter. + * @param forParameter A sequence of textual characters. + * + * The forParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -328,7 +362,9 @@ public Mono> withForWithResponse(String forParameter, RequestOpti /** * The withFrom operation. * - * @param from The from parameter. + * @param from A sequence of textual characters. + * + * The from parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -345,7 +381,9 @@ public Mono> withFromWithResponse(String from, RequestOptions req /** * The withGlobal operation. * - * @param global The global parameter. + * @param global A sequence of textual characters. + * + * The global parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -362,7 +400,9 @@ public Mono> withGlobalWithResponse(String global, RequestOptions /** * The withIf operation. * - * @param ifParameter The ifParameter parameter. + * @param ifParameter A sequence of textual characters. + * + * The ifParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -379,7 +419,9 @@ public Mono> withIfWithResponse(String ifParameter, RequestOption /** * The withImport operation. * - * @param importParameter The importParameter parameter. + * @param importParameter A sequence of textual characters. + * + * The importParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -396,7 +438,9 @@ public Mono> withImportWithResponse(String importParameter, Reque /** * The withIn operation. * - * @param in The in parameter. + * @param in A sequence of textual characters. + * + * The in parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -413,7 +457,9 @@ public Mono> withInWithResponse(String in, RequestOptions request /** * The withIs operation. * - * @param is The is parameter. + * @param is A sequence of textual characters. + * + * The is parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -430,7 +476,9 @@ public Mono> withIsWithResponse(String is, RequestOptions request /** * The withLambda operation. * - * @param lambda The lambda parameter. + * @param lambda A sequence of textual characters. + * + * The lambda parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -447,7 +495,9 @@ public Mono> withLambdaWithResponse(String lambda, RequestOptions /** * The withNot operation. * - * @param not The not parameter. + * @param not A sequence of textual characters. + * + * The not parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -464,7 +514,9 @@ public Mono> withNotWithResponse(String not, RequestOptions reque /** * The withOr operation. * - * @param or The or parameter. + * @param or A sequence of textual characters. + * + * The or parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -481,7 +533,9 @@ public Mono> withOrWithResponse(String or, RequestOptions request /** * The withPass operation. * - * @param pass The pass parameter. + * @param pass A sequence of textual characters. + * + * The pass parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -498,7 +552,9 @@ public Mono> withPassWithResponse(String pass, RequestOptions req /** * The withRaise operation. * - * @param raise The raise parameter. + * @param raise A sequence of textual characters. + * + * The raise parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -515,7 +571,9 @@ public Mono> withRaiseWithResponse(String raise, RequestOptions r /** * The withReturn operation. * - * @param returnParameter The returnParameter parameter. + * @param returnParameter A sequence of textual characters. + * + * The returnParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -532,7 +590,9 @@ public Mono> withReturnWithResponse(String returnParameter, Reque /** * The withTry operation. * - * @param tryParameter The tryParameter parameter. + * @param tryParameter A sequence of textual characters. + * + * The tryParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -549,7 +609,9 @@ public Mono> withTryWithResponse(String tryParameter, RequestOpti /** * The withWhile operation. * - * @param whileParameter The whileParameter parameter. + * @param whileParameter A sequence of textual characters. + * + * The whileParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -566,7 +628,9 @@ public Mono> withWhileWithResponse(String whileParameter, Request /** * The withWith operation. * - * @param with The with parameter. + * @param with A sequence of textual characters. + * + * The with parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -583,7 +647,9 @@ public Mono> withWithWithResponse(String with, RequestOptions req /** * The withYield operation. * - * @param yield The yield parameter. + * @param yield A sequence of textual characters. + * + * The yield parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -600,7 +666,9 @@ public Mono> withYieldWithResponse(String yield, RequestOptions r /** * The withCancellationToken operation. * - * @param cancellationToken The cancellationToken parameter. + * @param cancellationToken A sequence of textual characters. + * + * The cancellationToken parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -618,7 +686,9 @@ public Mono> withCancellationTokenWithResponse(String cancellatio /** * The withAnd operation. * - * @param and The and parameter. + * @param and A sequence of textual characters. + * + * The and parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -638,7 +708,9 @@ public Mono withAnd(String and) { /** * The withAs operation. * - * @param as The as parameter. + * @param as A sequence of textual characters. + * + * The as parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -658,7 +730,9 @@ public Mono withAs(String as) { /** * The withAssert operation. * - * @param assertParameter The assertParameter parameter. + * @param assertParameter A sequence of textual characters. + * + * The assertParameter parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -678,7 +752,9 @@ public Mono withAssert(String assertParameter) { /** * The withAsync operation. * - * @param async The async parameter. + * @param async A sequence of textual characters. + * + * The async parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -698,7 +774,9 @@ public Mono withAsync(String async) { /** * The withAwait operation. * - * @param await The await parameter. + * @param await A sequence of textual characters. + * + * The await parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -718,7 +796,9 @@ public Mono withAwait(String await) { /** * The withBreak operation. * - * @param breakParameter The breakParameter parameter. + * @param breakParameter A sequence of textual characters. + * + * The breakParameter parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -738,7 +818,9 @@ public Mono withBreak(String breakParameter) { /** * The withClass operation. * - * @param classParameter The classParameter parameter. + * @param classParameter A sequence of textual characters. + * + * The classParameter parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -758,7 +840,9 @@ public Mono withClass(String classParameter) { /** * The withConstructor operation. * - * @param constructor The constructor parameter. + * @param constructor A sequence of textual characters. + * + * The constructor parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -778,7 +862,9 @@ public Mono withConstructor(String constructor) { /** * The withContinue operation. * - * @param continueParameter The continueParameter parameter. + * @param continueParameter A sequence of textual characters. + * + * The continueParameter parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -798,7 +884,9 @@ public Mono withContinue(String continueParameter) { /** * The withDef operation. * - * @param def The def parameter. + * @param def A sequence of textual characters. + * + * The def parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -818,7 +906,9 @@ public Mono withDef(String def) { /** * The withDel operation. * - * @param del The del parameter. + * @param del A sequence of textual characters. + * + * The del parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -838,7 +928,9 @@ public Mono withDel(String del) { /** * The withElif operation. * - * @param elif The elif parameter. + * @param elif A sequence of textual characters. + * + * The elif parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -858,7 +950,9 @@ public Mono withElif(String elif) { /** * The withElse operation. * - * @param elseParameter The elseParameter parameter. + * @param elseParameter A sequence of textual characters. + * + * The elseParameter parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -878,7 +972,9 @@ public Mono withElse(String elseParameter) { /** * The withExcept operation. * - * @param except The except parameter. + * @param except A sequence of textual characters. + * + * The except parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -898,7 +994,9 @@ public Mono withExcept(String except) { /** * The withExec operation. * - * @param exec The exec parameter. + * @param exec A sequence of textual characters. + * + * The exec parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -918,7 +1016,9 @@ public Mono withExec(String exec) { /** * The withFinally operation. * - * @param finallyParameter The finallyParameter parameter. + * @param finallyParameter A sequence of textual characters. + * + * The finallyParameter parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -938,7 +1038,9 @@ public Mono withFinally(String finallyParameter) { /** * The withFor operation. * - * @param forParameter The forParameter parameter. + * @param forParameter A sequence of textual characters. + * + * The forParameter parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -958,7 +1060,9 @@ public Mono withFor(String forParameter) { /** * The withFrom operation. * - * @param from The from parameter. + * @param from A sequence of textual characters. + * + * The from parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -978,7 +1082,9 @@ public Mono withFrom(String from) { /** * The withGlobal operation. * - * @param global The global parameter. + * @param global A sequence of textual characters. + * + * The global parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -998,7 +1104,9 @@ public Mono withGlobal(String global) { /** * The withIf operation. * - * @param ifParameter The ifParameter parameter. + * @param ifParameter A sequence of textual characters. + * + * The ifParameter parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1018,7 +1126,9 @@ public Mono withIf(String ifParameter) { /** * The withImport operation. * - * @param importParameter The importParameter parameter. + * @param importParameter A sequence of textual characters. + * + * The importParameter parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1038,7 +1148,9 @@ public Mono withImport(String importParameter) { /** * The withIn operation. * - * @param in The in parameter. + * @param in A sequence of textual characters. + * + * The in parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1058,7 +1170,9 @@ public Mono withIn(String in) { /** * The withIs operation. * - * @param is The is parameter. + * @param is A sequence of textual characters. + * + * The is parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1078,7 +1192,9 @@ public Mono withIs(String is) { /** * The withLambda operation. * - * @param lambda The lambda parameter. + * @param lambda A sequence of textual characters. + * + * The lambda parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1098,7 +1214,9 @@ public Mono withLambda(String lambda) { /** * The withNot operation. * - * @param not The not parameter. + * @param not A sequence of textual characters. + * + * The not parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1118,7 +1236,9 @@ public Mono withNot(String not) { /** * The withOr operation. * - * @param or The or parameter. + * @param or A sequence of textual characters. + * + * The or parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1138,7 +1258,9 @@ public Mono withOr(String or) { /** * The withPass operation. * - * @param pass The pass parameter. + * @param pass A sequence of textual characters. + * + * The pass parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1158,7 +1280,9 @@ public Mono withPass(String pass) { /** * The withRaise operation. * - * @param raise The raise parameter. + * @param raise A sequence of textual characters. + * + * The raise parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1178,7 +1302,9 @@ public Mono withRaise(String raise) { /** * The withReturn operation. * - * @param returnParameter The returnParameter parameter. + * @param returnParameter A sequence of textual characters. + * + * The returnParameter parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1198,7 +1324,9 @@ public Mono withReturn(String returnParameter) { /** * The withTry operation. * - * @param tryParameter The tryParameter parameter. + * @param tryParameter A sequence of textual characters. + * + * The tryParameter parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1218,7 +1346,9 @@ public Mono withTry(String tryParameter) { /** * The withWhile operation. * - * @param whileParameter The whileParameter parameter. + * @param whileParameter A sequence of textual characters. + * + * The whileParameter parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1238,7 +1368,9 @@ public Mono withWhile(String whileParameter) { /** * The withWith operation. * - * @param with The with parameter. + * @param with A sequence of textual characters. + * + * The with parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1258,7 +1390,9 @@ public Mono withWith(String with) { /** * The withYield operation. * - * @param yield The yield parameter. + * @param yield A sequence of textual characters. + * + * The yield parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1278,7 +1412,9 @@ public Mono withYield(String yield) { /** * The withCancellationToken operation. * - * @param cancellationToken The cancellationToken parameter. + * @param cancellationToken A sequence of textual characters. + * + * The cancellationToken parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/specialwords/ParametersClient.java b/typespec-tests/src/main/java/com/specialwords/ParametersClient.java index c71cd7a558..cd9d6ff467 100644 --- a/typespec-tests/src/main/java/com/specialwords/ParametersClient.java +++ b/typespec-tests/src/main/java/com/specialwords/ParametersClient.java @@ -37,7 +37,9 @@ public final class ParametersClient { /** * The withAnd operation. * - * @param and The and parameter. + * @param and A sequence of textual characters. + * + * The and parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -54,7 +56,9 @@ public Response withAndWithResponse(String and, RequestOptions requestOpti /** * The withAs operation. * - * @param as The as parameter. + * @param as A sequence of textual characters. + * + * The as parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -71,7 +75,9 @@ public Response withAsWithResponse(String as, RequestOptions requestOption /** * The withAssert operation. * - * @param assertParameter The assertParameter parameter. + * @param assertParameter A sequence of textual characters. + * + * The assertParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -88,7 +94,9 @@ public Response withAssertWithResponse(String assertParameter, RequestOpti /** * The withAsync operation. * - * @param async The async parameter. + * @param async A sequence of textual characters. + * + * The async parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -105,7 +113,9 @@ public Response withAsyncWithResponse(String async, RequestOptions request /** * The withAwait operation. * - * @param await The await parameter. + * @param await A sequence of textual characters. + * + * The await parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -122,7 +132,9 @@ public Response withAwaitWithResponse(String await, RequestOptions request /** * The withBreak operation. * - * @param breakParameter The breakParameter parameter. + * @param breakParameter A sequence of textual characters. + * + * The breakParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -139,7 +151,9 @@ public Response withBreakWithResponse(String breakParameter, RequestOption /** * The withClass operation. * - * @param classParameter The classParameter parameter. + * @param classParameter A sequence of textual characters. + * + * The classParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -156,7 +170,9 @@ public Response withClassWithResponse(String classParameter, RequestOption /** * The withConstructor operation. * - * @param constructor The constructor parameter. + * @param constructor A sequence of textual characters. + * + * The constructor parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -173,7 +189,9 @@ public Response withConstructorWithResponse(String constructor, RequestOpt /** * The withContinue operation. * - * @param continueParameter The continueParameter parameter. + * @param continueParameter A sequence of textual characters. + * + * The continueParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -190,7 +208,9 @@ public Response withContinueWithResponse(String continueParameter, Request /** * The withDef operation. * - * @param def The def parameter. + * @param def A sequence of textual characters. + * + * The def parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -207,7 +227,9 @@ public Response withDefWithResponse(String def, RequestOptions requestOpti /** * The withDel operation. * - * @param del The del parameter. + * @param del A sequence of textual characters. + * + * The del parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -224,7 +246,9 @@ public Response withDelWithResponse(String del, RequestOptions requestOpti /** * The withElif operation. * - * @param elif The elif parameter. + * @param elif A sequence of textual characters. + * + * The elif parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -241,7 +265,9 @@ public Response withElifWithResponse(String elif, RequestOptions requestOp /** * The withElse operation. * - * @param elseParameter The elseParameter parameter. + * @param elseParameter A sequence of textual characters. + * + * The elseParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -258,7 +284,9 @@ public Response withElseWithResponse(String elseParameter, RequestOptions /** * The withExcept operation. * - * @param except The except parameter. + * @param except A sequence of textual characters. + * + * The except parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -275,7 +303,9 @@ public Response withExceptWithResponse(String except, RequestOptions reque /** * The withExec operation. * - * @param exec The exec parameter. + * @param exec A sequence of textual characters. + * + * The exec parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -292,7 +322,9 @@ public Response withExecWithResponse(String exec, RequestOptions requestOp /** * The withFinally operation. * - * @param finallyParameter The finallyParameter parameter. + * @param finallyParameter A sequence of textual characters. + * + * The finallyParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -309,7 +341,9 @@ public Response withFinallyWithResponse(String finallyParameter, RequestOp /** * The withFor operation. * - * @param forParameter The forParameter parameter. + * @param forParameter A sequence of textual characters. + * + * The forParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -326,7 +360,9 @@ public Response withForWithResponse(String forParameter, RequestOptions re /** * The withFrom operation. * - * @param from The from parameter. + * @param from A sequence of textual characters. + * + * The from parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -343,7 +379,9 @@ public Response withFromWithResponse(String from, RequestOptions requestOp /** * The withGlobal operation. * - * @param global The global parameter. + * @param global A sequence of textual characters. + * + * The global parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -360,7 +398,9 @@ public Response withGlobalWithResponse(String global, RequestOptions reque /** * The withIf operation. * - * @param ifParameter The ifParameter parameter. + * @param ifParameter A sequence of textual characters. + * + * The ifParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -377,7 +417,9 @@ public Response withIfWithResponse(String ifParameter, RequestOptions requ /** * The withImport operation. * - * @param importParameter The importParameter parameter. + * @param importParameter A sequence of textual characters. + * + * The importParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -394,7 +436,9 @@ public Response withImportWithResponse(String importParameter, RequestOpti /** * The withIn operation. * - * @param in The in parameter. + * @param in A sequence of textual characters. + * + * The in parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -411,7 +455,9 @@ public Response withInWithResponse(String in, RequestOptions requestOption /** * The withIs operation. * - * @param is The is parameter. + * @param is A sequence of textual characters. + * + * The is parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -428,7 +474,9 @@ public Response withIsWithResponse(String is, RequestOptions requestOption /** * The withLambda operation. * - * @param lambda The lambda parameter. + * @param lambda A sequence of textual characters. + * + * The lambda parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -445,7 +493,9 @@ public Response withLambdaWithResponse(String lambda, RequestOptions reque /** * The withNot operation. * - * @param not The not parameter. + * @param not A sequence of textual characters. + * + * The not parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -462,7 +512,9 @@ public Response withNotWithResponse(String not, RequestOptions requestOpti /** * The withOr operation. * - * @param or The or parameter. + * @param or A sequence of textual characters. + * + * The or parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -479,7 +531,9 @@ public Response withOrWithResponse(String or, RequestOptions requestOption /** * The withPass operation. * - * @param pass The pass parameter. + * @param pass A sequence of textual characters. + * + * The pass parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -496,7 +550,9 @@ public Response withPassWithResponse(String pass, RequestOptions requestOp /** * The withRaise operation. * - * @param raise The raise parameter. + * @param raise A sequence of textual characters. + * + * The raise parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -513,7 +569,9 @@ public Response withRaiseWithResponse(String raise, RequestOptions request /** * The withReturn operation. * - * @param returnParameter The returnParameter parameter. + * @param returnParameter A sequence of textual characters. + * + * The returnParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -530,7 +588,9 @@ public Response withReturnWithResponse(String returnParameter, RequestOpti /** * The withTry operation. * - * @param tryParameter The tryParameter parameter. + * @param tryParameter A sequence of textual characters. + * + * The tryParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -547,7 +607,9 @@ public Response withTryWithResponse(String tryParameter, RequestOptions re /** * The withWhile operation. * - * @param whileParameter The whileParameter parameter. + * @param whileParameter A sequence of textual characters. + * + * The whileParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -564,7 +626,9 @@ public Response withWhileWithResponse(String whileParameter, RequestOption /** * The withWith operation. * - * @param with The with parameter. + * @param with A sequence of textual characters. + * + * The with parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -581,7 +645,9 @@ public Response withWithWithResponse(String with, RequestOptions requestOp /** * The withYield operation. * - * @param yield The yield parameter. + * @param yield A sequence of textual characters. + * + * The yield parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -598,7 +664,9 @@ public Response withYieldWithResponse(String yield, RequestOptions request /** * The withCancellationToken operation. * - * @param cancellationToken The cancellationToken parameter. + * @param cancellationToken A sequence of textual characters. + * + * The cancellationToken parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -615,7 +683,9 @@ public Response withCancellationTokenWithResponse(String cancellationToken /** * The withAnd operation. * - * @param and The and parameter. + * @param and A sequence of textual characters. + * + * The and parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -634,7 +704,9 @@ public void withAnd(String and) { /** * The withAs operation. * - * @param as The as parameter. + * @param as A sequence of textual characters. + * + * The as parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -653,7 +725,9 @@ public void withAs(String as) { /** * The withAssert operation. * - * @param assertParameter The assertParameter parameter. + * @param assertParameter A sequence of textual characters. + * + * The assertParameter parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -672,7 +746,9 @@ public void withAssert(String assertParameter) { /** * The withAsync operation. * - * @param async The async parameter. + * @param async A sequence of textual characters. + * + * The async parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -691,7 +767,9 @@ public void withAsync(String async) { /** * The withAwait operation. * - * @param await The await parameter. + * @param await A sequence of textual characters. + * + * The await parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -710,7 +788,9 @@ public void withAwait(String await) { /** * The withBreak operation. * - * @param breakParameter The breakParameter parameter. + * @param breakParameter A sequence of textual characters. + * + * The breakParameter parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -729,7 +809,9 @@ public void withBreak(String breakParameter) { /** * The withClass operation. * - * @param classParameter The classParameter parameter. + * @param classParameter A sequence of textual characters. + * + * The classParameter parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -748,7 +830,9 @@ public void withClass(String classParameter) { /** * The withConstructor operation. * - * @param constructor The constructor parameter. + * @param constructor A sequence of textual characters. + * + * The constructor parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -767,7 +851,9 @@ public void withConstructor(String constructor) { /** * The withContinue operation. * - * @param continueParameter The continueParameter parameter. + * @param continueParameter A sequence of textual characters. + * + * The continueParameter parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -786,7 +872,9 @@ public void withContinue(String continueParameter) { /** * The withDef operation. * - * @param def The def parameter. + * @param def A sequence of textual characters. + * + * The def parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -805,7 +893,9 @@ public void withDef(String def) { /** * The withDel operation. * - * @param del The del parameter. + * @param del A sequence of textual characters. + * + * The del parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -824,7 +914,9 @@ public void withDel(String del) { /** * The withElif operation. * - * @param elif The elif parameter. + * @param elif A sequence of textual characters. + * + * The elif parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -843,7 +935,9 @@ public void withElif(String elif) { /** * The withElse operation. * - * @param elseParameter The elseParameter parameter. + * @param elseParameter A sequence of textual characters. + * + * The elseParameter parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -862,7 +956,9 @@ public void withElse(String elseParameter) { /** * The withExcept operation. * - * @param except The except parameter. + * @param except A sequence of textual characters. + * + * The except parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -881,7 +977,9 @@ public void withExcept(String except) { /** * The withExec operation. * - * @param exec The exec parameter. + * @param exec A sequence of textual characters. + * + * The exec parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -900,7 +998,9 @@ public void withExec(String exec) { /** * The withFinally operation. * - * @param finallyParameter The finallyParameter parameter. + * @param finallyParameter A sequence of textual characters. + * + * The finallyParameter parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -919,7 +1019,9 @@ public void withFinally(String finallyParameter) { /** * The withFor operation. * - * @param forParameter The forParameter parameter. + * @param forParameter A sequence of textual characters. + * + * The forParameter parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -938,7 +1040,9 @@ public void withFor(String forParameter) { /** * The withFrom operation. * - * @param from The from parameter. + * @param from A sequence of textual characters. + * + * The from parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -957,7 +1061,9 @@ public void withFrom(String from) { /** * The withGlobal operation. * - * @param global The global parameter. + * @param global A sequence of textual characters. + * + * The global parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -976,7 +1082,9 @@ public void withGlobal(String global) { /** * The withIf operation. * - * @param ifParameter The ifParameter parameter. + * @param ifParameter A sequence of textual characters. + * + * The ifParameter parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -995,7 +1103,9 @@ public void withIf(String ifParameter) { /** * The withImport operation. * - * @param importParameter The importParameter parameter. + * @param importParameter A sequence of textual characters. + * + * The importParameter parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1014,7 +1124,9 @@ public void withImport(String importParameter) { /** * The withIn operation. * - * @param in The in parameter. + * @param in A sequence of textual characters. + * + * The in parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1033,7 +1145,9 @@ public void withIn(String in) { /** * The withIs operation. * - * @param is The is parameter. + * @param is A sequence of textual characters. + * + * The is parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1052,7 +1166,9 @@ public void withIs(String is) { /** * The withLambda operation. * - * @param lambda The lambda parameter. + * @param lambda A sequence of textual characters. + * + * The lambda parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1071,7 +1187,9 @@ public void withLambda(String lambda) { /** * The withNot operation. * - * @param not The not parameter. + * @param not A sequence of textual characters. + * + * The not parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1090,7 +1208,9 @@ public void withNot(String not) { /** * The withOr operation. * - * @param or The or parameter. + * @param or A sequence of textual characters. + * + * The or parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1109,7 +1229,9 @@ public void withOr(String or) { /** * The withPass operation. * - * @param pass The pass parameter. + * @param pass A sequence of textual characters. + * + * The pass parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1128,7 +1250,9 @@ public void withPass(String pass) { /** * The withRaise operation. * - * @param raise The raise parameter. + * @param raise A sequence of textual characters. + * + * The raise parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1147,7 +1271,9 @@ public void withRaise(String raise) { /** * The withReturn operation. * - * @param returnParameter The returnParameter parameter. + * @param returnParameter A sequence of textual characters. + * + * The returnParameter parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1166,7 +1292,9 @@ public void withReturn(String returnParameter) { /** * The withTry operation. * - * @param tryParameter The tryParameter parameter. + * @param tryParameter A sequence of textual characters. + * + * The tryParameter parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1185,7 +1313,9 @@ public void withTry(String tryParameter) { /** * The withWhile operation. * - * @param whileParameter The whileParameter parameter. + * @param whileParameter A sequence of textual characters. + * + * The whileParameter parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1204,7 +1334,9 @@ public void withWhile(String whileParameter) { /** * The withWith operation. * - * @param with The with parameter. + * @param with A sequence of textual characters. + * + * The with parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1223,7 +1355,9 @@ public void withWith(String with) { /** * The withYield operation. * - * @param yield The yield parameter. + * @param yield A sequence of textual characters. + * + * The yield parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1242,7 +1376,9 @@ public void withYield(String yield) { /** * The withCancellationToken operation. * - * @param cancellationToken The cancellationToken parameter. + * @param cancellationToken A sequence of textual characters. + * + * The cancellationToken parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/specialwords/implementation/ParametersImpl.java b/typespec-tests/src/main/java/com/specialwords/implementation/ParametersImpl.java index 40e40e0a6a..6f16928e79 100644 --- a/typespec-tests/src/main/java/com/specialwords/implementation/ParametersImpl.java +++ b/typespec-tests/src/main/java/com/specialwords/implementation/ParametersImpl.java @@ -672,7 +672,9 @@ Response withCancellationTokenSync(@QueryParam("cancellationToken") String /** * The withAnd operation. * - * @param and The and parameter. + * @param and A sequence of textual characters. + * + * The and parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -689,7 +691,9 @@ public Mono> withAndWithResponseAsync(String and, RequestOptions /** * The withAnd operation. * - * @param and The and parameter. + * @param and A sequence of textual characters. + * + * The and parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -706,7 +710,9 @@ public Response withAndWithResponse(String and, RequestOptions requestOpti /** * The withAs operation. * - * @param as The as parameter. + * @param as A sequence of textual characters. + * + * The as parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -723,7 +729,9 @@ public Mono> withAsWithResponseAsync(String as, RequestOptions re /** * The withAs operation. * - * @param as The as parameter. + * @param as A sequence of textual characters. + * + * The as parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -740,7 +748,9 @@ public Response withAsWithResponse(String as, RequestOptions requestOption /** * The withAssert operation. * - * @param assertParameter The assertParameter parameter. + * @param assertParameter A sequence of textual characters. + * + * The assertParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -757,7 +767,9 @@ public Mono> withAssertWithResponseAsync(String assertParameter, /** * The withAssert operation. * - * @param assertParameter The assertParameter parameter. + * @param assertParameter A sequence of textual characters. + * + * The assertParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -774,7 +786,9 @@ public Response withAssertWithResponse(String assertParameter, RequestOpti /** * The withAsync operation. * - * @param async The async parameter. + * @param async A sequence of textual characters. + * + * The async parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -791,7 +805,9 @@ public Mono> withAsyncWithResponseAsync(String async, RequestOpti /** * The withAsync operation. * - * @param async The async parameter. + * @param async A sequence of textual characters. + * + * The async parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -808,7 +824,9 @@ public Response withAsyncWithResponse(String async, RequestOptions request /** * The withAwait operation. * - * @param await The await parameter. + * @param await A sequence of textual characters. + * + * The await parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -825,7 +843,9 @@ public Mono> withAwaitWithResponseAsync(String await, RequestOpti /** * The withAwait operation. * - * @param await The await parameter. + * @param await A sequence of textual characters. + * + * The await parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -842,7 +862,9 @@ public Response withAwaitWithResponse(String await, RequestOptions request /** * The withBreak operation. * - * @param breakParameter The breakParameter parameter. + * @param breakParameter A sequence of textual characters. + * + * The breakParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -859,7 +881,9 @@ public Mono> withBreakWithResponseAsync(String breakParameter, Re /** * The withBreak operation. * - * @param breakParameter The breakParameter parameter. + * @param breakParameter A sequence of textual characters. + * + * The breakParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -876,7 +900,9 @@ public Response withBreakWithResponse(String breakParameter, RequestOption /** * The withClass operation. * - * @param classParameter The classParameter parameter. + * @param classParameter A sequence of textual characters. + * + * The classParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -893,7 +919,9 @@ public Mono> withClassWithResponseAsync(String classParameter, Re /** * The withClass operation. * - * @param classParameter The classParameter parameter. + * @param classParameter A sequence of textual characters. + * + * The classParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -910,7 +938,9 @@ public Response withClassWithResponse(String classParameter, RequestOption /** * The withConstructor operation. * - * @param constructor The constructor parameter. + * @param constructor A sequence of textual characters. + * + * The constructor parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -927,7 +957,9 @@ public Mono> withConstructorWithResponseAsync(String constructor, /** * The withConstructor operation. * - * @param constructor The constructor parameter. + * @param constructor A sequence of textual characters. + * + * The constructor parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -944,7 +976,9 @@ public Response withConstructorWithResponse(String constructor, RequestOpt /** * The withContinue operation. * - * @param continueParameter The continueParameter parameter. + * @param continueParameter A sequence of textual characters. + * + * The continueParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -962,7 +996,9 @@ public Mono> withContinueWithResponseAsync(String continueParamet /** * The withContinue operation. * - * @param continueParameter The continueParameter parameter. + * @param continueParameter A sequence of textual characters. + * + * The continueParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -979,7 +1015,9 @@ public Response withContinueWithResponse(String continueParameter, Request /** * The withDef operation. * - * @param def The def parameter. + * @param def A sequence of textual characters. + * + * The def parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -996,7 +1034,9 @@ public Mono> withDefWithResponseAsync(String def, RequestOptions /** * The withDef operation. * - * @param def The def parameter. + * @param def A sequence of textual characters. + * + * The def parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1013,7 +1053,9 @@ public Response withDefWithResponse(String def, RequestOptions requestOpti /** * The withDel operation. * - * @param del The del parameter. + * @param del A sequence of textual characters. + * + * The del parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1030,7 +1072,9 @@ public Mono> withDelWithResponseAsync(String del, RequestOptions /** * The withDel operation. * - * @param del The del parameter. + * @param del A sequence of textual characters. + * + * The del parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1047,7 +1091,9 @@ public Response withDelWithResponse(String del, RequestOptions requestOpti /** * The withElif operation. * - * @param elif The elif parameter. + * @param elif A sequence of textual characters. + * + * The elif parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1064,7 +1110,9 @@ public Mono> withElifWithResponseAsync(String elif, RequestOption /** * The withElif operation. * - * @param elif The elif parameter. + * @param elif A sequence of textual characters. + * + * The elif parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1081,7 +1129,9 @@ public Response withElifWithResponse(String elif, RequestOptions requestOp /** * The withElse operation. * - * @param elseParameter The elseParameter parameter. + * @param elseParameter A sequence of textual characters. + * + * The elseParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1098,7 +1148,9 @@ public Mono> withElseWithResponseAsync(String elseParameter, Requ /** * The withElse operation. * - * @param elseParameter The elseParameter parameter. + * @param elseParameter A sequence of textual characters. + * + * The elseParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1115,7 +1167,9 @@ public Response withElseWithResponse(String elseParameter, RequestOptions /** * The withExcept operation. * - * @param except The except parameter. + * @param except A sequence of textual characters. + * + * The except parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1132,7 +1186,9 @@ public Mono> withExceptWithResponseAsync(String except, RequestOp /** * The withExcept operation. * - * @param except The except parameter. + * @param except A sequence of textual characters. + * + * The except parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1149,7 +1205,9 @@ public Response withExceptWithResponse(String except, RequestOptions reque /** * The withExec operation. * - * @param exec The exec parameter. + * @param exec A sequence of textual characters. + * + * The exec parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1166,7 +1224,9 @@ public Mono> withExecWithResponseAsync(String exec, RequestOption /** * The withExec operation. * - * @param exec The exec parameter. + * @param exec A sequence of textual characters. + * + * The exec parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1183,7 +1243,9 @@ public Response withExecWithResponse(String exec, RequestOptions requestOp /** * The withFinally operation. * - * @param finallyParameter The finallyParameter parameter. + * @param finallyParameter A sequence of textual characters. + * + * The finallyParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1200,7 +1262,9 @@ public Mono> withFinallyWithResponseAsync(String finallyParameter /** * The withFinally operation. * - * @param finallyParameter The finallyParameter parameter. + * @param finallyParameter A sequence of textual characters. + * + * The finallyParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1217,7 +1281,9 @@ public Response withFinallyWithResponse(String finallyParameter, RequestOp /** * The withFor operation. * - * @param forParameter The forParameter parameter. + * @param forParameter A sequence of textual characters. + * + * The forParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1234,7 +1300,9 @@ public Mono> withForWithResponseAsync(String forParameter, Reques /** * The withFor operation. * - * @param forParameter The forParameter parameter. + * @param forParameter A sequence of textual characters. + * + * The forParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1251,7 +1319,9 @@ public Response withForWithResponse(String forParameter, RequestOptions re /** * The withFrom operation. * - * @param from The from parameter. + * @param from A sequence of textual characters. + * + * The from parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1268,7 +1338,9 @@ public Mono> withFromWithResponseAsync(String from, RequestOption /** * The withFrom operation. * - * @param from The from parameter. + * @param from A sequence of textual characters. + * + * The from parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1285,7 +1357,9 @@ public Response withFromWithResponse(String from, RequestOptions requestOp /** * The withGlobal operation. * - * @param global The global parameter. + * @param global A sequence of textual characters. + * + * The global parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1302,7 +1376,9 @@ public Mono> withGlobalWithResponseAsync(String global, RequestOp /** * The withGlobal operation. * - * @param global The global parameter. + * @param global A sequence of textual characters. + * + * The global parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1319,7 +1395,9 @@ public Response withGlobalWithResponse(String global, RequestOptions reque /** * The withIf operation. * - * @param ifParameter The ifParameter parameter. + * @param ifParameter A sequence of textual characters. + * + * The ifParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1336,7 +1414,9 @@ public Mono> withIfWithResponseAsync(String ifParameter, RequestO /** * The withIf operation. * - * @param ifParameter The ifParameter parameter. + * @param ifParameter A sequence of textual characters. + * + * The ifParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1353,7 +1433,9 @@ public Response withIfWithResponse(String ifParameter, RequestOptions requ /** * The withImport operation. * - * @param importParameter The importParameter parameter. + * @param importParameter A sequence of textual characters. + * + * The importParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1370,7 +1452,9 @@ public Mono> withImportWithResponseAsync(String importParameter, /** * The withImport operation. * - * @param importParameter The importParameter parameter. + * @param importParameter A sequence of textual characters. + * + * The importParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1387,7 +1471,9 @@ public Response withImportWithResponse(String importParameter, RequestOpti /** * The withIn operation. * - * @param in The in parameter. + * @param in A sequence of textual characters. + * + * The in parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1404,7 +1490,9 @@ public Mono> withInWithResponseAsync(String in, RequestOptions re /** * The withIn operation. * - * @param in The in parameter. + * @param in A sequence of textual characters. + * + * The in parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1421,7 +1509,9 @@ public Response withInWithResponse(String in, RequestOptions requestOption /** * The withIs operation. * - * @param is The is parameter. + * @param is A sequence of textual characters. + * + * The is parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1438,7 +1528,9 @@ public Mono> withIsWithResponseAsync(String is, RequestOptions re /** * The withIs operation. * - * @param is The is parameter. + * @param is A sequence of textual characters. + * + * The is parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1455,7 +1547,9 @@ public Response withIsWithResponse(String is, RequestOptions requestOption /** * The withLambda operation. * - * @param lambda The lambda parameter. + * @param lambda A sequence of textual characters. + * + * The lambda parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1472,7 +1566,9 @@ public Mono> withLambdaWithResponseAsync(String lambda, RequestOp /** * The withLambda operation. * - * @param lambda The lambda parameter. + * @param lambda A sequence of textual characters. + * + * The lambda parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1489,7 +1585,9 @@ public Response withLambdaWithResponse(String lambda, RequestOptions reque /** * The withNot operation. * - * @param not The not parameter. + * @param not A sequence of textual characters. + * + * The not parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1506,7 +1604,9 @@ public Mono> withNotWithResponseAsync(String not, RequestOptions /** * The withNot operation. * - * @param not The not parameter. + * @param not A sequence of textual characters. + * + * The not parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1523,7 +1623,9 @@ public Response withNotWithResponse(String not, RequestOptions requestOpti /** * The withOr operation. * - * @param or The or parameter. + * @param or A sequence of textual characters. + * + * The or parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1540,7 +1642,9 @@ public Mono> withOrWithResponseAsync(String or, RequestOptions re /** * The withOr operation. * - * @param or The or parameter. + * @param or A sequence of textual characters. + * + * The or parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1557,7 +1661,9 @@ public Response withOrWithResponse(String or, RequestOptions requestOption /** * The withPass operation. * - * @param pass The pass parameter. + * @param pass A sequence of textual characters. + * + * The pass parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1574,7 +1680,9 @@ public Mono> withPassWithResponseAsync(String pass, RequestOption /** * The withPass operation. * - * @param pass The pass parameter. + * @param pass A sequence of textual characters. + * + * The pass parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1591,7 +1699,9 @@ public Response withPassWithResponse(String pass, RequestOptions requestOp /** * The withRaise operation. * - * @param raise The raise parameter. + * @param raise A sequence of textual characters. + * + * The raise parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1608,7 +1718,9 @@ public Mono> withRaiseWithResponseAsync(String raise, RequestOpti /** * The withRaise operation. * - * @param raise The raise parameter. + * @param raise A sequence of textual characters. + * + * The raise parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1625,7 +1737,9 @@ public Response withRaiseWithResponse(String raise, RequestOptions request /** * The withReturn operation. * - * @param returnParameter The returnParameter parameter. + * @param returnParameter A sequence of textual characters. + * + * The returnParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1642,7 +1756,9 @@ public Mono> withReturnWithResponseAsync(String returnParameter, /** * The withReturn operation. * - * @param returnParameter The returnParameter parameter. + * @param returnParameter A sequence of textual characters. + * + * The returnParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1659,7 +1775,9 @@ public Response withReturnWithResponse(String returnParameter, RequestOpti /** * The withTry operation. * - * @param tryParameter The tryParameter parameter. + * @param tryParameter A sequence of textual characters. + * + * The tryParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1676,7 +1794,9 @@ public Mono> withTryWithResponseAsync(String tryParameter, Reques /** * The withTry operation. * - * @param tryParameter The tryParameter parameter. + * @param tryParameter A sequence of textual characters. + * + * The tryParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1693,7 +1813,9 @@ public Response withTryWithResponse(String tryParameter, RequestOptions re /** * The withWhile operation. * - * @param whileParameter The whileParameter parameter. + * @param whileParameter A sequence of textual characters. + * + * The whileParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1710,7 +1832,9 @@ public Mono> withWhileWithResponseAsync(String whileParameter, Re /** * The withWhile operation. * - * @param whileParameter The whileParameter parameter. + * @param whileParameter A sequence of textual characters. + * + * The whileParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1727,7 +1851,9 @@ public Response withWhileWithResponse(String whileParameter, RequestOption /** * The withWith operation. * - * @param with The with parameter. + * @param with A sequence of textual characters. + * + * The with parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1744,7 +1870,9 @@ public Mono> withWithWithResponseAsync(String with, RequestOption /** * The withWith operation. * - * @param with The with parameter. + * @param with A sequence of textual characters. + * + * The with parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1761,7 +1889,9 @@ public Response withWithWithResponse(String with, RequestOptions requestOp /** * The withYield operation. * - * @param yield The yield parameter. + * @param yield A sequence of textual characters. + * + * The yield parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1778,7 +1908,9 @@ public Mono> withYieldWithResponseAsync(String yield, RequestOpti /** * The withYield operation. * - * @param yield The yield parameter. + * @param yield A sequence of textual characters. + * + * The yield parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1795,7 +1927,9 @@ public Response withYieldWithResponse(String yield, RequestOptions request /** * The withCancellationToken operation. * - * @param cancellationToken The cancellationToken parameter. + * @param cancellationToken A sequence of textual characters. + * + * The cancellationToken parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1814,7 +1948,9 @@ public Mono> withCancellationTokenWithResponseAsync(String cancel /** * The withCancellationToken operation. * - * @param cancellationToken The cancellationToken parameter. + * @param cancellationToken A sequence of textual characters. + * + * The cancellationToken parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/array/models/InnerModel.java b/typespec-tests/src/main/java/com/type/array/models/InnerModel.java index 1b67916f50..8241707787 100644 --- a/typespec-tests/src/main/java/com/type/array/models/InnerModel.java +++ b/typespec-tests/src/main/java/com/type/array/models/InnerModel.java @@ -19,8 +19,6 @@ @Fluent public final class InnerModel implements JsonSerializable { /* - * A sequence of textual characters. - * * Required string property */ @Generated @@ -43,9 +41,7 @@ public InnerModel(String property) { } /** - * Get the property property: A sequence of textual characters. - * - * Required string property. + * Get the property property: Required string property. * * @return the property value. */ diff --git a/typespec-tests/src/main/java/com/type/dictionary/models/InnerModel.java b/typespec-tests/src/main/java/com/type/dictionary/models/InnerModel.java index 51a140feb6..c5383b592f 100644 --- a/typespec-tests/src/main/java/com/type/dictionary/models/InnerModel.java +++ b/typespec-tests/src/main/java/com/type/dictionary/models/InnerModel.java @@ -19,8 +19,6 @@ @Fluent public final class InnerModel implements JsonSerializable { /* - * A sequence of textual characters. - * * Required string property */ @Generated @@ -43,9 +41,7 @@ public InnerModel(String property) { } /** - * Get the property property: A sequence of textual characters. - * - * Required string property. + * Get the property property: Required string property. * * @return the property value. */ diff --git a/typespec-tests/src/main/java/com/type/enums/extensible/ExtensibleAsyncClient.java b/typespec-tests/src/main/java/com/type/enums/extensible/ExtensibleAsyncClient.java index a0bd6e5260..5a16e7cbd8 100644 --- a/typespec-tests/src/main/java/com/type/enums/extensible/ExtensibleAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/enums/extensible/ExtensibleAsyncClient.java @@ -88,7 +88,9 @@ public Mono> getUnknownValueWithResponse(RequestOptions req * String(Monday / Tuesday / Wednesday / Thursday / Friday / Saturday / Sunday) * } * - * @param body Days of the week. + * @param body Days of the week + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -110,7 +112,9 @@ public Mono> putKnownValueWithResponse(BinaryData body, RequestOp * String(Monday / Tuesday / Wednesday / Thursday / Friday / Saturday / Sunday) * } * - * @param body Days of the week. + * @param body Days of the week + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -165,7 +169,9 @@ public Mono getUnknownValue() { /** * The putKnownValue operation. * - * @param body Days of the week. + * @param body Days of the week + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -186,7 +192,9 @@ public Mono putKnownValue(DaysOfWeekExtensibleEnum body) { /** * The putUnknownValue operation. * - * @param body Days of the week. + * @param body Days of the week + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/enums/extensible/ExtensibleClient.java b/typespec-tests/src/main/java/com/type/enums/extensible/ExtensibleClient.java index 2e8cdfd1c3..24ea4d7d8b 100644 --- a/typespec-tests/src/main/java/com/type/enums/extensible/ExtensibleClient.java +++ b/typespec-tests/src/main/java/com/type/enums/extensible/ExtensibleClient.java @@ -86,7 +86,9 @@ public Response getUnknownValueWithResponse(RequestOptions requestOp * String(Monday / Tuesday / Wednesday / Thursday / Friday / Saturday / Sunday) * } * - * @param body Days of the week. + * @param body Days of the week + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -108,7 +110,9 @@ public Response putKnownValueWithResponse(BinaryData body, RequestOptions * String(Monday / Tuesday / Wednesday / Thursday / Friday / Saturday / Sunday) * } * - * @param body Days of the week. + * @param body Days of the week + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -163,7 +167,9 @@ public DaysOfWeekExtensibleEnum getUnknownValue() { /** * The putKnownValue operation. * - * @param body Days of the week. + * @param body Days of the week + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -183,7 +189,9 @@ public void putKnownValue(DaysOfWeekExtensibleEnum body) { /** * The putUnknownValue operation. * - * @param body Days of the week. + * @param body Days of the week + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/enums/extensible/implementation/StringOperationsImpl.java b/typespec-tests/src/main/java/com/type/enums/extensible/implementation/StringOperationsImpl.java index b807b40746..49faf9cf70 100644 --- a/typespec-tests/src/main/java/com/type/enums/extensible/implementation/StringOperationsImpl.java +++ b/typespec-tests/src/main/java/com/type/enums/extensible/implementation/StringOperationsImpl.java @@ -223,7 +223,9 @@ public Response getUnknownValueWithResponse(RequestOptions requestOp * String(Monday / Tuesday / Wednesday / Thursday / Friday / Saturday / Sunday) * } * - * @param body Days of the week. + * @param body Days of the week + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -245,7 +247,9 @@ public Mono> putKnownValueWithResponseAsync(BinaryData body, Requ * String(Monday / Tuesday / Wednesday / Thursday / Friday / Saturday / Sunday) * } * - * @param body Days of the week. + * @param body Days of the week + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -267,7 +271,9 @@ public Response putKnownValueWithResponse(BinaryData body, RequestOptions * String(Monday / Tuesday / Wednesday / Thursday / Friday / Saturday / Sunday) * } * - * @param body Days of the week. + * @param body Days of the week + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -289,7 +295,9 @@ public Mono> putUnknownValueWithResponseAsync(BinaryData body, Re * String(Monday / Tuesday / Wednesday / Thursday / Friday / Saturday / Sunday) * } * - * @param body Days of the week. + * @param body Days of the week + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/enums/fixed/FixedAsyncClient.java b/typespec-tests/src/main/java/com/type/enums/fixed/FixedAsyncClient.java index 6fce7b873e..df6bd576f6 100644 --- a/typespec-tests/src/main/java/com/type/enums/fixed/FixedAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/enums/fixed/FixedAsyncClient.java @@ -67,7 +67,9 @@ public Mono> getKnownValueWithResponse(RequestOptions reque * String(Monday / Tuesday / Wednesday / Thursday / Friday / Saturday / Sunday) * } * - * @param body _. + * @param body Days of the week + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -89,7 +91,9 @@ public Mono> putKnownValueWithResponse(BinaryData body, RequestOp * String(Monday / Tuesday / Wednesday / Thursday / Friday / Saturday / Sunday) * } * - * @param body _. + * @param body Days of the week + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -125,7 +129,9 @@ public Mono getKnownValue() { /** * putKnownValue. * - * @param body _. + * @param body Days of the week + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -146,7 +152,9 @@ public Mono putKnownValue(DaysOfWeekEnum body) { /** * putUnknownValue. * - * @param body _. + * @param body Days of the week + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/enums/fixed/FixedClient.java b/typespec-tests/src/main/java/com/type/enums/fixed/FixedClient.java index 3831007ca0..283962a244 100644 --- a/typespec-tests/src/main/java/com/type/enums/fixed/FixedClient.java +++ b/typespec-tests/src/main/java/com/type/enums/fixed/FixedClient.java @@ -65,7 +65,9 @@ public Response getKnownValueWithResponse(RequestOptions requestOpti * String(Monday / Tuesday / Wednesday / Thursday / Friday / Saturday / Sunday) * } * - * @param body _. + * @param body Days of the week + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -87,7 +89,9 @@ public Response putKnownValueWithResponse(BinaryData body, RequestOptions * String(Monday / Tuesday / Wednesday / Thursday / Friday / Saturday / Sunday) * } * - * @param body _. + * @param body Days of the week + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -122,7 +126,9 @@ public DaysOfWeekEnum getKnownValue() { /** * putKnownValue. * - * @param body _. + * @param body Days of the week + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -142,7 +148,9 @@ public void putKnownValue(DaysOfWeekEnum body) { /** * putUnknownValue. * - * @param body _. + * @param body Days of the week + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/enums/fixed/implementation/StringOperationsImpl.java b/typespec-tests/src/main/java/com/type/enums/fixed/implementation/StringOperationsImpl.java index 62604da0a7..cb074ca429 100644 --- a/typespec-tests/src/main/java/com/type/enums/fixed/implementation/StringOperationsImpl.java +++ b/typespec-tests/src/main/java/com/type/enums/fixed/implementation/StringOperationsImpl.java @@ -163,7 +163,9 @@ public Response getKnownValueWithResponse(RequestOptions requestOpti * String(Monday / Tuesday / Wednesday / Thursday / Friday / Saturday / Sunday) * } * - * @param body _. + * @param body Days of the week + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -185,7 +187,9 @@ public Mono> putKnownValueWithResponseAsync(BinaryData body, Requ * String(Monday / Tuesday / Wednesday / Thursday / Friday / Saturday / Sunday) * } * - * @param body _. + * @param body Days of the week + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -207,7 +211,9 @@ public Response putKnownValueWithResponse(BinaryData body, RequestOptions * String(Monday / Tuesday / Wednesday / Thursday / Friday / Saturday / Sunday) * } * - * @param body _. + * @param body Days of the week + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -229,7 +235,9 @@ public Mono> putUnknownValueWithResponseAsync(BinaryData body, Re * String(Monday / Tuesday / Wednesday / Thursday / Friday / Saturday / Sunday) * } * - * @param body _. + * @param body Days of the week + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/model/empty/EmptyAsyncClient.java b/typespec-tests/src/main/java/com/type/model/empty/EmptyAsyncClient.java index e06a881294..b115e67717 100644 --- a/typespec-tests/src/main/java/com/type/model/empty/EmptyAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/model/empty/EmptyAsyncClient.java @@ -48,7 +48,9 @@ public final class EmptyAsyncClient { * { } * } * - * @param input Empty model used in operation parameters. + * @param input Empty model used in operation parameters + * + * The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -98,7 +100,9 @@ public Mono> getEmptyWithResponse(RequestOptions requestOpt * { } * } * - * @param body Empty model used in both parameter and return type. + * @param body Empty model used in both parameter and return type + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -116,7 +120,9 @@ public Mono> postRoundTripEmptyWithResponse(BinaryData body /** * The putEmpty operation. * - * @param input Empty model used in operation parameters. + * @param input Empty model used in operation parameters + * + * The input parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -155,7 +161,9 @@ public Mono getEmpty() { /** * The postRoundTripEmpty operation. * - * @param body Empty model used in both parameter and return type. + * @param body Empty model used in both parameter and return type + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/model/empty/EmptyClient.java b/typespec-tests/src/main/java/com/type/model/empty/EmptyClient.java index 48569ad2bc..f45be1b130 100644 --- a/typespec-tests/src/main/java/com/type/model/empty/EmptyClient.java +++ b/typespec-tests/src/main/java/com/type/model/empty/EmptyClient.java @@ -46,7 +46,9 @@ public final class EmptyClient { * { } * } * - * @param input Empty model used in operation parameters. + * @param input Empty model used in operation parameters + * + * The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -95,7 +97,9 @@ public Response getEmptyWithResponse(RequestOptions requestOptions) * { } * } * - * @param body Empty model used in both parameter and return type. + * @param body Empty model used in both parameter and return type + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -112,7 +116,9 @@ public Response postRoundTripEmptyWithResponse(BinaryData body, Requ /** * The putEmpty operation. * - * @param input Empty model used in operation parameters. + * @param input Empty model used in operation parameters + * + * The input parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -149,7 +155,9 @@ public EmptyOutput getEmpty() { /** * The postRoundTripEmpty operation. * - * @param body Empty model used in both parameter and return type. + * @param body Empty model used in both parameter and return type + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/model/empty/implementation/EmptyClientImpl.java b/typespec-tests/src/main/java/com/type/model/empty/implementation/EmptyClientImpl.java index 5dbd1206ab..ff46d23838 100644 --- a/typespec-tests/src/main/java/com/type/model/empty/implementation/EmptyClientImpl.java +++ b/typespec-tests/src/main/java/com/type/model/empty/implementation/EmptyClientImpl.java @@ -168,7 +168,9 @@ Response postRoundTripEmptySync(@HeaderParam("accept") String accept * { } * } * - * @param input Empty model used in operation parameters. + * @param input Empty model used in operation parameters + * + * The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -190,7 +192,9 @@ public Mono> putEmptyWithResponseAsync(BinaryData input, RequestO * { } * } * - * @param input Empty model used in operation parameters. + * @param input Empty model used in operation parameters + * + * The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -261,7 +265,9 @@ public Response getEmptyWithResponse(RequestOptions requestOptions) * { } * } * - * @param body Empty model used in both parameter and return type. + * @param body Empty model used in both parameter and return type + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -291,7 +297,9 @@ public Mono> postRoundTripEmptyWithResponseAsync(BinaryData * { } * } * - * @param body Empty model used in both parameter and return type. + * @param body Empty model used in both parameter and return type + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/model/flatten/FlattenAsyncClient.java b/typespec-tests/src/main/java/com/type/model/flatten/FlattenAsyncClient.java index 093cda534e..f4fe5014dc 100644 --- a/typespec-tests/src/main/java/com/type/model/flatten/FlattenAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/model/flatten/FlattenAsyncClient.java @@ -66,6 +66,8 @@ public final class FlattenAsyncClient { * } * * @param input This is the model with one level of flattening. + * + * The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -113,6 +115,8 @@ public Mono> putFlattenModelWithResponse(BinaryData input, * } * * @param input This is the model with two levels of flattening. + * + * The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -132,6 +136,8 @@ public Mono> putNestedFlattenModelWithResponse(BinaryData i * The putFlattenModel operation. * * @param input This is the model with one level of flattening. + * + * The input parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -153,6 +159,8 @@ public Mono putFlattenModel(FlattenModel input) { * The putNestedFlattenModel operation. * * @param input This is the model with two levels of flattening. + * + * The input parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/model/flatten/FlattenClient.java b/typespec-tests/src/main/java/com/type/model/flatten/FlattenClient.java index beceabd6c8..890568747e 100644 --- a/typespec-tests/src/main/java/com/type/model/flatten/FlattenClient.java +++ b/typespec-tests/src/main/java/com/type/model/flatten/FlattenClient.java @@ -64,6 +64,8 @@ public final class FlattenClient { * } * * @param input This is the model with one level of flattening. + * + * The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -110,6 +112,8 @@ public Response putFlattenModelWithResponse(BinaryData input, Reques * } * * @param input This is the model with two levels of flattening. + * + * The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -127,6 +131,8 @@ public Response putNestedFlattenModelWithResponse(BinaryData input, * The putFlattenModel operation. * * @param input This is the model with one level of flattening. + * + * The input parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -148,6 +154,8 @@ public FlattenModel putFlattenModel(FlattenModel input) { * The putNestedFlattenModel operation. * * @param input This is the model with two levels of flattening. + * + * The input parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/model/flatten/implementation/FlattenClientImpl.java b/typespec-tests/src/main/java/com/type/model/flatten/implementation/FlattenClientImpl.java index 228ffd37fd..eab8ec2953 100644 --- a/typespec-tests/src/main/java/com/type/model/flatten/implementation/FlattenClientImpl.java +++ b/typespec-tests/src/main/java/com/type/model/flatten/implementation/FlattenClientImpl.java @@ -167,6 +167,8 @@ Response putNestedFlattenModelSync(@HeaderParam("accept") String acc * } * * @param input This is the model with one level of flattening. + * + * The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -209,6 +211,8 @@ public Mono> putFlattenModelWithResponseAsync(BinaryData in * } * * @param input This is the model with one level of flattening. + * + * The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -255,6 +259,8 @@ public Response putFlattenModelWithResponse(BinaryData input, Reques * } * * @param input This is the model with two levels of flattening. + * + * The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -303,6 +309,8 @@ public Mono> putNestedFlattenModelWithResponseAsync(BinaryD * } * * @param input This is the model with two levels of flattening. + * + * The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/model/flatten/models/ChildFlattenModel.java b/typespec-tests/src/main/java/com/type/model/flatten/models/ChildFlattenModel.java index 63ba62290d..50890676a4 100644 --- a/typespec-tests/src/main/java/com/type/model/flatten/models/ChildFlattenModel.java +++ b/typespec-tests/src/main/java/com/type/model/flatten/models/ChildFlattenModel.java @@ -24,7 +24,7 @@ public final class ChildFlattenModel implements JsonSerializable { private final String name; /* - * The properties property. + * This is the child model to be flattened. */ @Generated private final ChildModel properties; @@ -52,7 +52,7 @@ public String getName() { } /** - * Get the properties property: The properties property. + * Get the properties property: This is the child model to be flattened. * * @return the properties value. */ diff --git a/typespec-tests/src/main/java/com/type/model/flatten/models/NestedFlattenModel.java b/typespec-tests/src/main/java/com/type/model/flatten/models/NestedFlattenModel.java index 8e6ebf3e1f..cc6cfba0a7 100644 --- a/typespec-tests/src/main/java/com/type/model/flatten/models/NestedFlattenModel.java +++ b/typespec-tests/src/main/java/com/type/model/flatten/models/NestedFlattenModel.java @@ -24,7 +24,7 @@ public final class NestedFlattenModel implements JsonSerializable> getExtensibleModelWithResponse(RequestOptions * } * } * - * @param input Dog to create. + * @param input Test extensible enum type for discriminator + * + * The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -175,7 +177,9 @@ public Mono> getFixedModelWithResponse(RequestOptions reque * } * } * - * @param input Snake to create. + * @param input Test fixed enum type for discriminator + * + * The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -260,7 +264,9 @@ public Mono getExtensibleModel() { /** * Send model with extensible enum discriminator type. * - * @param input Dog to create. + * @param input Test extensible enum type for discriminator + * + * The input parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -337,7 +343,9 @@ public Mono getFixedModel() { /** * Send model with fixed enum discriminator type. * - * @param input Snake to create. + * @param input Test fixed enum type for discriminator + * + * The input parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/model/inheritance/enumdiscriminator/EnumDiscriminatorClient.java b/typespec-tests/src/main/java/com/type/model/inheritance/enumdiscriminator/EnumDiscriminatorClient.java index 5ab61e86e0..4a26240798 100644 --- a/typespec-tests/src/main/java/com/type/model/inheritance/enumdiscriminator/EnumDiscriminatorClient.java +++ b/typespec-tests/src/main/java/com/type/model/inheritance/enumdiscriminator/EnumDiscriminatorClient.java @@ -72,7 +72,9 @@ public Response getExtensibleModelWithResponse(RequestOptions reques * } * } * - * @param input Dog to create. + * @param input Test extensible enum type for discriminator + * + * The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -169,7 +171,9 @@ public Response getFixedModelWithResponse(RequestOptions requestOpti * } * } * - * @param input Snake to create. + * @param input Test fixed enum type for discriminator + * + * The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -252,7 +256,9 @@ public Dog getExtensibleModel() { /** * Send model with extensible enum discriminator type. * - * @param input Dog to create. + * @param input Test extensible enum type for discriminator + * + * The input parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -325,7 +331,9 @@ public Snake getFixedModel() { /** * Send model with fixed enum discriminator type. * - * @param input Snake to create. + * @param input Test fixed enum type for discriminator + * + * The input parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/model/inheritance/enumdiscriminator/implementation/EnumDiscriminatorClientImpl.java b/typespec-tests/src/main/java/com/type/model/inheritance/enumdiscriminator/implementation/EnumDiscriminatorClientImpl.java index fd4879ceef..263b3953bb 100644 --- a/typespec-tests/src/main/java/com/type/model/inheritance/enumdiscriminator/implementation/EnumDiscriminatorClientImpl.java +++ b/typespec-tests/src/main/java/com/type/model/inheritance/enumdiscriminator/implementation/EnumDiscriminatorClientImpl.java @@ -311,7 +311,9 @@ public Response getExtensibleModelWithResponse(RequestOptions reques * } * } * - * @param input Dog to create. + * @param input Test extensible enum type for discriminator + * + * The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -336,7 +338,9 @@ public Mono> putExtensibleModelWithResponseAsync(BinaryData input * } * } * - * @param input Dog to create. + * @param input Test extensible enum type for discriminator + * + * The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -511,7 +515,9 @@ public Response getFixedModelWithResponse(RequestOptions requestOpti * } * } * - * @param input Snake to create. + * @param input Test fixed enum type for discriminator + * + * The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -536,7 +542,9 @@ public Mono> putFixedModelWithResponseAsync(BinaryData input, Req * } * } * - * @param input Snake to create. + * @param input Test fixed enum type for discriminator + * + * The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/model/inheritance/enumdiscriminator/models/Dog.java b/typespec-tests/src/main/java/com/type/model/inheritance/enumdiscriminator/models/Dog.java index a4291707da..ac0b2b191b 100644 --- a/typespec-tests/src/main/java/com/type/model/inheritance/enumdiscriminator/models/Dog.java +++ b/typespec-tests/src/main/java/com/type/model/inheritance/enumdiscriminator/models/Dog.java @@ -24,8 +24,6 @@ public class Dog implements JsonSerializable { private DogKind kind; /* - * A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) - * * Weight of the dog */ @Generated @@ -53,9 +51,7 @@ public DogKind getKind() { } /** - * Get the weight property: A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) - * - * Weight of the dog. + * Get the weight property: Weight of the dog. * * @return the weight value. */ diff --git a/typespec-tests/src/main/java/com/type/model/inheritance/enumdiscriminator/models/Snake.java b/typespec-tests/src/main/java/com/type/model/inheritance/enumdiscriminator/models/Snake.java index 881f08d5be..74c84ff808 100644 --- a/typespec-tests/src/main/java/com/type/model/inheritance/enumdiscriminator/models/Snake.java +++ b/typespec-tests/src/main/java/com/type/model/inheritance/enumdiscriminator/models/Snake.java @@ -24,8 +24,6 @@ public class Snake implements JsonSerializable { private SnakeKind kind; /* - * A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) - * * Length of the snake */ @Generated @@ -53,9 +51,7 @@ public SnakeKind getKind() { } /** - * Get the length property: A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) - * - * Length of the snake. + * Get the length property: Length of the snake. * * @return the length value. */ diff --git a/typespec-tests/src/main/java/com/type/model/inheritance/nesteddiscriminator/NestedDiscriminatorAsyncClient.java b/typespec-tests/src/main/java/com/type/model/inheritance/nesteddiscriminator/NestedDiscriminatorAsyncClient.java index bba1266eeb..73e135e39c 100644 --- a/typespec-tests/src/main/java/com/type/model/inheritance/nesteddiscriminator/NestedDiscriminatorAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/model/inheritance/nesteddiscriminator/NestedDiscriminatorAsyncClient.java @@ -75,6 +75,8 @@ public Mono> getModelWithResponse(RequestOptions requestOpt * } * * @param input This is base model for polymorphic multiple levels inheritance with a discriminator. + * + * The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -125,6 +127,8 @@ public Mono> getRecursiveModelWithResponse(RequestOptions r * } * * @param input This is base model for polymorphic multiple levels inheritance with a discriminator. + * + * The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -212,6 +216,8 @@ public Mono getModel() { * The putModel operation. * * @param input This is base model for polymorphic multiple levels inheritance with a discriminator. + * + * The input parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -252,6 +258,8 @@ public Mono getRecursiveModel() { * The putRecursiveModel operation. * * @param input This is base model for polymorphic multiple levels inheritance with a discriminator. + * + * The input parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/model/inheritance/nesteddiscriminator/NestedDiscriminatorClient.java b/typespec-tests/src/main/java/com/type/model/inheritance/nesteddiscriminator/NestedDiscriminatorClient.java index ba6f2e0250..bf5254352b 100644 --- a/typespec-tests/src/main/java/com/type/model/inheritance/nesteddiscriminator/NestedDiscriminatorClient.java +++ b/typespec-tests/src/main/java/com/type/model/inheritance/nesteddiscriminator/NestedDiscriminatorClient.java @@ -73,6 +73,8 @@ public Response getModelWithResponse(RequestOptions requestOptions) * } * * @param input This is base model for polymorphic multiple levels inheritance with a discriminator. + * + * The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -123,6 +125,8 @@ public Response getRecursiveModelWithResponse(RequestOptions request * } * * @param input This is base model for polymorphic multiple levels inheritance with a discriminator. + * + * The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -208,6 +212,8 @@ public Fish getModel() { * The putModel operation. * * @param input This is base model for polymorphic multiple levels inheritance with a discriminator. + * + * The input parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -245,6 +251,8 @@ public Fish getRecursiveModel() { * The putRecursiveModel operation. * * @param input This is base model for polymorphic multiple levels inheritance with a discriminator. + * + * The input parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/model/inheritance/nesteddiscriminator/implementation/NestedDiscriminatorClientImpl.java b/typespec-tests/src/main/java/com/type/model/inheritance/nesteddiscriminator/implementation/NestedDiscriminatorClientImpl.java index 1f0e5c19eb..cb0a2f9b5b 100644 --- a/typespec-tests/src/main/java/com/type/model/inheritance/nesteddiscriminator/implementation/NestedDiscriminatorClientImpl.java +++ b/typespec-tests/src/main/java/com/type/model/inheritance/nesteddiscriminator/implementation/NestedDiscriminatorClientImpl.java @@ -277,6 +277,8 @@ public Response getModelWithResponse(RequestOptions requestOptions) * } * * @param input This is base model for polymorphic multiple levels inheritance with a discriminator. + * + * The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -302,6 +304,8 @@ public Mono> putModelWithResponseAsync(BinaryData input, RequestO * } * * @param input This is base model for polymorphic multiple levels inheritance with a discriminator. + * + * The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -377,6 +381,8 @@ public Response getRecursiveModelWithResponse(RequestOptions request * } * * @param input This is base model for polymorphic multiple levels inheritance with a discriminator. + * + * The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -402,6 +408,8 @@ public Mono> putRecursiveModelWithResponseAsync(BinaryData input, * } * * @param input This is base model for polymorphic multiple levels inheritance with a discriminator. + * + * The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/model/inheritance/nesteddiscriminator/models/Salmon.java b/typespec-tests/src/main/java/com/type/model/inheritance/nesteddiscriminator/models/Salmon.java index d1472a035e..4ce4ff6aea 100644 --- a/typespec-tests/src/main/java/com/type/model/inheritance/nesteddiscriminator/models/Salmon.java +++ b/typespec-tests/src/main/java/com/type/model/inheritance/nesteddiscriminator/models/Salmon.java @@ -38,7 +38,7 @@ public final class Salmon extends Fish { private Map hate; /* - * The partner property. + * This is base model for polymorphic multiple levels inheritance with a discriminator. */ @Generated private Fish partner; @@ -109,7 +109,7 @@ public Salmon setHate(Map hate) { } /** - * Get the partner property: The partner property. + * Get the partner property: This is base model for polymorphic multiple levels inheritance with a discriminator. * * @return the partner value. */ @@ -119,7 +119,7 @@ public Fish getPartner() { } /** - * Set the partner property: The partner property. + * Set the partner property: This is base model for polymorphic multiple levels inheritance with a discriminator. * * @param partner the partner value to set. * @return the Salmon object itself. diff --git a/typespec-tests/src/main/java/com/type/model/inheritance/notdiscriminated/NotDiscriminatedAsyncClient.java b/typespec-tests/src/main/java/com/type/model/inheritance/notdiscriminated/NotDiscriminatedAsyncClient.java index 0144f13b0f..cd2fdeb68e 100644 --- a/typespec-tests/src/main/java/com/type/model/inheritance/notdiscriminated/NotDiscriminatedAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/model/inheritance/notdiscriminated/NotDiscriminatedAsyncClient.java @@ -51,6 +51,8 @@ public final class NotDiscriminatedAsyncClient { * } * * @param input The third level model in the normal multiple levels inheritance. + * + * The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -113,6 +115,8 @@ public Mono> getValidWithResponse(RequestOptions requestOpt * } * * @param input The third level model in the normal multiple levels inheritance. + * + * The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -131,6 +135,8 @@ public Mono> putValidWithResponse(BinaryData input, Request * The postValid operation. * * @param input The third level model in the normal multiple levels inheritance. + * + * The input parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -170,6 +176,8 @@ public Mono getValid() { * The putValid operation. * * @param input The third level model in the normal multiple levels inheritance. + * + * The input parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/model/inheritance/notdiscriminated/NotDiscriminatedClient.java b/typespec-tests/src/main/java/com/type/model/inheritance/notdiscriminated/NotDiscriminatedClient.java index 9029612180..baf6f03e75 100644 --- a/typespec-tests/src/main/java/com/type/model/inheritance/notdiscriminated/NotDiscriminatedClient.java +++ b/typespec-tests/src/main/java/com/type/model/inheritance/notdiscriminated/NotDiscriminatedClient.java @@ -49,6 +49,8 @@ public final class NotDiscriminatedClient { * } * * @param input The third level model in the normal multiple levels inheritance. + * + * The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -110,6 +112,8 @@ public Response getValidWithResponse(RequestOptions requestOptions) * } * * @param input The third level model in the normal multiple levels inheritance. + * + * The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -127,6 +131,8 @@ public Response putValidWithResponse(BinaryData input, RequestOption * The postValid operation. * * @param input The third level model in the normal multiple levels inheritance. + * + * The input parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -164,6 +170,8 @@ public Siamese getValid() { * The putValid operation. * * @param input The third level model in the normal multiple levels inheritance. + * + * The input parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/model/inheritance/notdiscriminated/implementation/NotDiscriminatedClientImpl.java b/typespec-tests/src/main/java/com/type/model/inheritance/notdiscriminated/implementation/NotDiscriminatedClientImpl.java index f690512d2a..721101e9e2 100644 --- a/typespec-tests/src/main/java/com/type/model/inheritance/notdiscriminated/implementation/NotDiscriminatedClientImpl.java +++ b/typespec-tests/src/main/java/com/type/model/inheritance/notdiscriminated/implementation/NotDiscriminatedClientImpl.java @@ -175,6 +175,8 @@ Response putValidSync(@HeaderParam("accept") String accept, * } * * @param input The third level model in the normal multiple levels inheritance. + * + * The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -201,6 +203,8 @@ public Mono> postValidWithResponseAsync(BinaryData input, Request * } * * @param input The third level model in the normal multiple levels inheritance. + * + * The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -288,6 +292,8 @@ public Response getValidWithResponse(RequestOptions requestOptions) * } * * @param input The third level model in the normal multiple levels inheritance. + * + * The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -325,6 +331,8 @@ public Mono> putValidWithResponseAsync(BinaryData input, Re * } * * @param input The third level model in the normal multiple levels inheritance. + * + * The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/model/inheritance/recursive/RecursiveAsyncClient.java b/typespec-tests/src/main/java/com/type/model/inheritance/recursive/RecursiveAsyncClient.java index c6e87c3772..f831fae619 100644 --- a/typespec-tests/src/main/java/com/type/model/inheritance/recursive/RecursiveAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/model/inheritance/recursive/RecursiveAsyncClient.java @@ -51,7 +51,9 @@ public final class RecursiveAsyncClient { * } * } * - * @param input extension. + * @param input extension + * + * The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -94,7 +96,9 @@ public Mono> getWithResponse(RequestOptions requestOptions) /** * The put operation. * - * @param input extension. + * @param input extension + * + * The input parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/model/inheritance/recursive/RecursiveClient.java b/typespec-tests/src/main/java/com/type/model/inheritance/recursive/RecursiveClient.java index c61ef98757..0141fbfb6a 100644 --- a/typespec-tests/src/main/java/com/type/model/inheritance/recursive/RecursiveClient.java +++ b/typespec-tests/src/main/java/com/type/model/inheritance/recursive/RecursiveClient.java @@ -49,7 +49,9 @@ public final class RecursiveClient { * } * } * - * @param input extension. + * @param input extension + * + * The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -92,7 +94,9 @@ public Response getWithResponse(RequestOptions requestOptions) { /** * The put operation. * - * @param input extension. + * @param input extension + * + * The input parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/model/inheritance/recursive/implementation/RecursiveClientImpl.java b/typespec-tests/src/main/java/com/type/model/inheritance/recursive/implementation/RecursiveClientImpl.java index deabd59fe9..9ebf1d13fd 100644 --- a/typespec-tests/src/main/java/com/type/model/inheritance/recursive/implementation/RecursiveClientImpl.java +++ b/typespec-tests/src/main/java/com/type/model/inheritance/recursive/implementation/RecursiveClientImpl.java @@ -155,7 +155,9 @@ Response getSync(@HeaderParam("accept") String accept, RequestOption * } * } * - * @param input extension. + * @param input extension + * + * The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -182,7 +184,9 @@ public Mono> putWithResponseAsync(BinaryData input, RequestOption * } * } * - * @param input extension. + * @param input extension + * + * The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/model/inheritance/singlediscriminator/SingleDiscriminatorAsyncClient.java b/typespec-tests/src/main/java/com/type/model/inheritance/singlediscriminator/SingleDiscriminatorAsyncClient.java index ad25e0abc4..44632d8a70 100644 --- a/typespec-tests/src/main/java/com/type/model/inheritance/singlediscriminator/SingleDiscriminatorAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/model/inheritance/singlediscriminator/SingleDiscriminatorAsyncClient.java @@ -76,6 +76,8 @@ public Mono> getModelWithResponse(RequestOptions requestOpt * } * * @param input This is base model for polymorphic single level inheritance with a discriminator. + * + * The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -126,6 +128,8 @@ public Mono> getRecursiveModelWithResponse(RequestOptions r * } * * @param input This is base model for polymorphic single level inheritance with a discriminator. + * + * The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -238,6 +242,8 @@ public Mono getModel() { * The putModel operation. * * @param input This is base model for polymorphic single level inheritance with a discriminator. + * + * The input parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -278,6 +284,8 @@ public Mono getRecursiveModel() { * The putRecursiveModel operation. * * @param input This is base model for polymorphic single level inheritance with a discriminator. + * + * The input parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/model/inheritance/singlediscriminator/SingleDiscriminatorClient.java b/typespec-tests/src/main/java/com/type/model/inheritance/singlediscriminator/SingleDiscriminatorClient.java index d65048120f..138f588860 100644 --- a/typespec-tests/src/main/java/com/type/model/inheritance/singlediscriminator/SingleDiscriminatorClient.java +++ b/typespec-tests/src/main/java/com/type/model/inheritance/singlediscriminator/SingleDiscriminatorClient.java @@ -74,6 +74,8 @@ public Response getModelWithResponse(RequestOptions requestOptions) * } * * @param input This is base model for polymorphic single level inheritance with a discriminator. + * + * The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -124,6 +126,8 @@ public Response getRecursiveModelWithResponse(RequestOptions request * } * * @param input This is base model for polymorphic single level inheritance with a discriminator. + * + * The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -233,6 +237,8 @@ public Bird getModel() { * The putModel operation. * * @param input This is base model for polymorphic single level inheritance with a discriminator. + * + * The input parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -270,6 +276,8 @@ public Bird getRecursiveModel() { * The putRecursiveModel operation. * * @param input This is base model for polymorphic single level inheritance with a discriminator. + * + * The input parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/model/inheritance/singlediscriminator/implementation/SingleDiscriminatorClientImpl.java b/typespec-tests/src/main/java/com/type/model/inheritance/singlediscriminator/implementation/SingleDiscriminatorClientImpl.java index e9440cee5a..ba48194fc9 100644 --- a/typespec-tests/src/main/java/com/type/model/inheritance/singlediscriminator/implementation/SingleDiscriminatorClientImpl.java +++ b/typespec-tests/src/main/java/com/type/model/inheritance/singlediscriminator/implementation/SingleDiscriminatorClientImpl.java @@ -295,6 +295,8 @@ public Response getModelWithResponse(RequestOptions requestOptions) * } * * @param input This is base model for polymorphic single level inheritance with a discriminator. + * + * The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -320,6 +322,8 @@ public Mono> putModelWithResponseAsync(BinaryData input, RequestO * } * * @param input This is base model for polymorphic single level inheritance with a discriminator. + * + * The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -395,6 +399,8 @@ public Response getRecursiveModelWithResponse(RequestOptions request * } * * @param input This is base model for polymorphic single level inheritance with a discriminator. + * + * The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -420,6 +426,8 @@ public Mono> putRecursiveModelWithResponseAsync(BinaryData input, * } * * @param input This is base model for polymorphic single level inheritance with a discriminator. + * + * The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/model/inheritance/singlediscriminator/models/Eagle.java b/typespec-tests/src/main/java/com/type/model/inheritance/singlediscriminator/models/Eagle.java index 9298a50b40..bf2cfa3fc4 100644 --- a/typespec-tests/src/main/java/com/type/model/inheritance/singlediscriminator/models/Eagle.java +++ b/typespec-tests/src/main/java/com/type/model/inheritance/singlediscriminator/models/Eagle.java @@ -38,7 +38,7 @@ public final class Eagle extends Bird { private Map hate; /* - * The partner property. + * This is base model for polymorphic single level inheritance with a discriminator. */ @Generated private Bird partner; @@ -109,7 +109,7 @@ public Eagle setHate(Map hate) { } /** - * Get the partner property: The partner property. + * Get the partner property: This is base model for polymorphic single level inheritance with a discriminator. * * @return the partner value. */ @@ -119,7 +119,7 @@ public Bird getPartner() { } /** - * Set the partner property: The partner property. + * Set the partner property: This is base model for polymorphic single level inheritance with a discriminator. * * @param partner the partner value to set. * @return the Eagle object itself. diff --git a/typespec-tests/src/main/java/com/type/model/usage/UsageAsyncClient.java b/typespec-tests/src/main/java/com/type/model/usage/UsageAsyncClient.java index c2c1065941..8af89ff3e7 100644 --- a/typespec-tests/src/main/java/com/type/model/usage/UsageAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/model/usage/UsageAsyncClient.java @@ -50,7 +50,9 @@ public final class UsageAsyncClient { * } * } * - * @param input Record used in operation parameters. + * @param input Record used in operation parameters + * + * The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -106,7 +108,9 @@ public Mono> outputWithResponse(RequestOptions requestOptio * } * } * - * @param body Record used both as operation parameter and return type. + * @param body Record used both as operation parameter and return type + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -124,7 +128,9 @@ public Mono> inputAndOutputWithResponse(BinaryData body, Re /** * The input operation. * - * @param input Record used in operation parameters. + * @param input Record used in operation parameters + * + * The input parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -163,7 +169,9 @@ public Mono output() { /** * The inputAndOutput operation. * - * @param body Record used both as operation parameter and return type. + * @param body Record used both as operation parameter and return type + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/model/usage/UsageClient.java b/typespec-tests/src/main/java/com/type/model/usage/UsageClient.java index 5d9326464d..ec6d48f74b 100644 --- a/typespec-tests/src/main/java/com/type/model/usage/UsageClient.java +++ b/typespec-tests/src/main/java/com/type/model/usage/UsageClient.java @@ -48,7 +48,9 @@ public final class UsageClient { * } * } * - * @param input Record used in operation parameters. + * @param input Record used in operation parameters + * + * The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -103,7 +105,9 @@ public Response outputWithResponse(RequestOptions requestOptions) { * } * } * - * @param body Record used both as operation parameter and return type. + * @param body Record used both as operation parameter and return type + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -120,7 +124,9 @@ public Response inputAndOutputWithResponse(BinaryData body, RequestO /** * The input operation. * - * @param input Record used in operation parameters. + * @param input Record used in operation parameters + * + * The input parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -157,7 +163,9 @@ public OutputRecord output() { /** * The inputAndOutput operation. * - * @param body Record used both as operation parameter and return type. + * @param body Record used both as operation parameter and return type + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/model/usage/implementation/UsageClientImpl.java b/typespec-tests/src/main/java/com/type/model/usage/implementation/UsageClientImpl.java index 2fb068492e..dbafbc9728 100644 --- a/typespec-tests/src/main/java/com/type/model/usage/implementation/UsageClientImpl.java +++ b/typespec-tests/src/main/java/com/type/model/usage/implementation/UsageClientImpl.java @@ -169,7 +169,9 @@ Response inputAndOutputSync(@HeaderParam("accept") String accept, * } * } * - * @param input Record used in operation parameters. + * @param input Record used in operation parameters + * + * The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -193,7 +195,9 @@ public Mono> inputWithResponseAsync(BinaryData input, RequestOpti * } * } * - * @param input Record used in operation parameters. + * @param input Record used in operation parameters + * + * The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -272,7 +276,9 @@ public Response outputWithResponse(RequestOptions requestOptions) { * } * } * - * @param body Record used both as operation parameter and return type. + * @param body Record used both as operation parameter and return type + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -305,7 +311,9 @@ public Mono> inputAndOutputWithResponseAsync(BinaryData bod * } * } * - * @param body Record used both as operation parameter and return type. + * @param body Record used both as operation parameter and return type + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/model/visibility/VisibilityAsyncClient.java b/typespec-tests/src/main/java/com/type/model/visibility/VisibilityAsyncClient.java index 4961adfe0d..93c09dc8fc 100644 --- a/typespec-tests/src/main/java/com/type/model/visibility/VisibilityAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/model/visibility/VisibilityAsyncClient.java @@ -73,6 +73,8 @@ public final class VisibilityAsyncClient { * } * * @param input Output model with visibility properties. + * + * The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -106,6 +108,8 @@ public Mono> getModelWithResponse(BinaryData input, Request * } * * @param input Output model with visibility properties. + * + * The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -138,6 +142,8 @@ public Mono> headModelWithResponse(BinaryData input, RequestOptio * } * * @param input Output model with visibility properties. + * + * The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -170,6 +176,8 @@ public Mono> putModelWithResponse(BinaryData input, RequestOption * } * * @param input Output model with visibility properties. + * + * The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -202,6 +210,8 @@ public Mono> patchModelWithResponse(BinaryData input, RequestOpti * } * * @param input Output model with visibility properties. + * + * The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -234,6 +244,8 @@ public Mono> postModelWithResponse(BinaryData input, RequestOptio * } * * @param input Output model with visibility properties. + * + * The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -251,6 +263,8 @@ public Mono> deleteModelWithResponse(BinaryData input, RequestOpt * The getModel operation. * * @param input Output model with visibility properties. + * + * The input parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -272,6 +286,8 @@ public Mono getModel(VisibilityModel input) { * The headModel operation. * * @param input Output model with visibility properties. + * + * The input parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -292,6 +308,8 @@ public Mono headModel(VisibilityModel input) { * The putModel operation. * * @param input Output model with visibility properties. + * + * The input parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -312,6 +330,8 @@ public Mono putModel(VisibilityModel input) { * The patchModel operation. * * @param input Output model with visibility properties. + * + * The input parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -332,6 +352,8 @@ public Mono patchModel(VisibilityModel input) { * The postModel operation. * * @param input Output model with visibility properties. + * + * The input parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -352,6 +374,8 @@ public Mono postModel(VisibilityModel input) { * The deleteModel operation. * * @param input Output model with visibility properties. + * + * The input parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/model/visibility/VisibilityClient.java b/typespec-tests/src/main/java/com/type/model/visibility/VisibilityClient.java index f840ebe813..f65383a728 100644 --- a/typespec-tests/src/main/java/com/type/model/visibility/VisibilityClient.java +++ b/typespec-tests/src/main/java/com/type/model/visibility/VisibilityClient.java @@ -71,6 +71,8 @@ public final class VisibilityClient { * } * * @param input Output model with visibility properties. + * + * The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -103,6 +105,8 @@ public Response getModelWithResponse(BinaryData input, RequestOption * } * * @param input Output model with visibility properties. + * + * The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -135,6 +139,8 @@ public Response headModelWithResponse(BinaryData input, RequestOptions req * } * * @param input Output model with visibility properties. + * + * The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -167,6 +173,8 @@ public Response putModelWithResponse(BinaryData input, RequestOptions requ * } * * @param input Output model with visibility properties. + * + * The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -199,6 +207,8 @@ public Response patchModelWithResponse(BinaryData input, RequestOptions re * } * * @param input Output model with visibility properties. + * + * The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -231,6 +241,8 @@ public Response postModelWithResponse(BinaryData input, RequestOptions req * } * * @param input Output model with visibility properties. + * + * The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -248,6 +260,8 @@ public Response deleteModelWithResponse(BinaryData input, RequestOptions r * The getModel operation. * * @param input Output model with visibility properties. + * + * The input parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -269,6 +283,8 @@ public VisibilityModel getModel(VisibilityModel input) { * The headModel operation. * * @param input Output model with visibility properties. + * + * The input parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -288,6 +304,8 @@ public void headModel(VisibilityModel input) { * The putModel operation. * * @param input Output model with visibility properties. + * + * The input parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -307,6 +325,8 @@ public void putModel(VisibilityModel input) { * The patchModel operation. * * @param input Output model with visibility properties. + * + * The input parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -326,6 +346,8 @@ public void patchModel(VisibilityModel input) { * The postModel operation. * * @param input Output model with visibility properties. + * + * The input parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -345,6 +367,8 @@ public void postModel(VisibilityModel input) { * The deleteModel operation. * * @param input Output model with visibility properties. + * + * The input parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/model/visibility/implementation/VisibilityClientImpl.java b/typespec-tests/src/main/java/com/type/model/visibility/implementation/VisibilityClientImpl.java index 497dedec9b..487e7a599c 100644 --- a/typespec-tests/src/main/java/com/type/model/visibility/implementation/VisibilityClientImpl.java +++ b/typespec-tests/src/main/java/com/type/model/visibility/implementation/VisibilityClientImpl.java @@ -253,6 +253,8 @@ Response deleteModelSync(@HeaderParam("accept") String accept, * } * * @param input Output model with visibility properties. + * + * The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -302,6 +304,8 @@ public Mono> getModelWithResponseAsync(BinaryData input, Re * } * * @param input Output model with visibility properties. + * + * The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -334,6 +338,8 @@ public Response getModelWithResponse(BinaryData input, RequestOption * } * * @param input Output model with visibility properties. + * + * The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -366,6 +372,8 @@ public Mono> headModelWithResponseAsync(BinaryData input, Request * } * * @param input Output model with visibility properties. + * + * The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -398,6 +406,8 @@ public Response headModelWithResponse(BinaryData input, RequestOptions req * } * * @param input Output model with visibility properties. + * + * The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -430,6 +440,8 @@ public Mono> putModelWithResponseAsync(BinaryData input, RequestO * } * * @param input Output model with visibility properties. + * + * The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -462,6 +474,8 @@ public Response putModelWithResponse(BinaryData input, RequestOptions requ * } * * @param input Output model with visibility properties. + * + * The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -494,6 +508,8 @@ public Mono> patchModelWithResponseAsync(BinaryData input, Reques * } * * @param input Output model with visibility properties. + * + * The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -526,6 +542,8 @@ public Response patchModelWithResponse(BinaryData input, RequestOptions re * } * * @param input Output model with visibility properties. + * + * The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -558,6 +576,8 @@ public Mono> postModelWithResponseAsync(BinaryData input, Request * } * * @param input Output model with visibility properties. + * + * The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -590,6 +610,8 @@ public Response postModelWithResponse(BinaryData input, RequestOptions req * } * * @param input Output model with visibility properties. + * + * The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -622,6 +644,8 @@ public Mono> deleteModelWithResponseAsync(BinaryData input, Reque * } * * @param input Output model with visibility properties. + * + * The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/model/visibility/models/VisibilityModel.java b/typespec-tests/src/main/java/com/type/model/visibility/models/VisibilityModel.java index fc5b7bd056..3ab6046134 100644 --- a/typespec-tests/src/main/java/com/type/model/visibility/models/VisibilityModel.java +++ b/typespec-tests/src/main/java/com/type/model/visibility/models/VisibilityModel.java @@ -19,16 +19,12 @@ @Immutable public final class VisibilityModel implements JsonSerializable { /* - * A sequence of textual characters. - * * Required string, illustrating a readonly property. */ @Generated private String readProp; /* - * A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) - * * Required int32, illustrating a query property. */ @Generated @@ -47,8 +43,6 @@ public final class VisibilityModel implements JsonSerializable private final List updateProp; /* - * Boolean with `true` and `false` values. - * * Required bool, illustrating a delete property. */ @Generated @@ -71,9 +65,7 @@ public VisibilityModel(Integer queryProp, List createProp, List } /** - * Get the readProp property: A sequence of textual characters. - * - * Required string, illustrating a readonly property. + * Get the readProp property: Required string, illustrating a readonly property. * * @return the readProp value. */ @@ -83,9 +75,7 @@ public String getReadProp() { } /** - * Get the queryProp property: A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) - * - * Required int32, illustrating a query property. + * Get the queryProp property: Required int32, illustrating a query property. * * @return the queryProp value. */ @@ -115,9 +105,7 @@ public List getUpdateProp() { } /** - * Get the deleteProp property: Boolean with `true` and `false` values. - * - * Required bool, illustrating a delete property. + * Get the deleteProp property: Required bool, illustrating a delete property. * * @return the deleteProp value. */ diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsDifferentSpreadFloatAsyncClient.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsDifferentSpreadFloatAsyncClient.java index 0a77172f15..6ba1e06254 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsDifferentSpreadFloatAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsDifferentSpreadFloatAsyncClient.java @@ -79,7 +79,10 @@ public Mono> getWithResponse(RequestOptions requestOptions) * } * } * - * @param body body. + * @param body The model extends from a model that spread Record<float32> with the different known property + * type + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -115,7 +118,10 @@ public Mono get() { /** * Put operation. * - * @param body body. + * @param body The model extends from a model that spread Record<float32> with the different known property + * type + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsDifferentSpreadFloatClient.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsDifferentSpreadFloatClient.java index a18b3d3fc5..f40282e538 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsDifferentSpreadFloatClient.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsDifferentSpreadFloatClient.java @@ -77,7 +77,10 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body body. + * @param body The model extends from a model that spread Record<float32> with the different known property + * type + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -112,7 +115,10 @@ public DifferentSpreadFloatDerived get() { /** * Put operation. * - * @param body body. + * @param body The model extends from a model that spread Record<float32> with the different known property + * type + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsDifferentSpreadModelArrayAsyncClient.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsDifferentSpreadModelArrayAsyncClient.java index 8e539dc46c..4121f54f30 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsDifferentSpreadModelArrayAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsDifferentSpreadModelArrayAsyncClient.java @@ -91,7 +91,10 @@ public Mono> getWithResponse(RequestOptions requestOptions) * } * } * - * @param body body. + * @param body The model extends from a model that spread Record<ModelForRecord[]> with the different known + * property type + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -127,7 +130,10 @@ public Mono get() { /** * Put operation. * - * @param body body. + * @param body The model extends from a model that spread Record<ModelForRecord[]> with the different known + * property type + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsDifferentSpreadModelArrayClient.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsDifferentSpreadModelArrayClient.java index c9341fbd75..cea68c5d03 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsDifferentSpreadModelArrayClient.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsDifferentSpreadModelArrayClient.java @@ -89,7 +89,10 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body body. + * @param body The model extends from a model that spread Record<ModelForRecord[]> with the different known + * property type + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -124,7 +127,10 @@ public DifferentSpreadModelArrayDerived get() { /** * Put operation. * - * @param body body. + * @param body The model extends from a model that spread Record<ModelForRecord[]> with the different known + * property type + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsDifferentSpreadModelAsyncClient.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsDifferentSpreadModelAsyncClient.java index edeaef6e63..1bdc8f0bd5 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsDifferentSpreadModelAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsDifferentSpreadModelAsyncClient.java @@ -83,7 +83,10 @@ public Mono> getWithResponse(RequestOptions requestOptions) * } * } * - * @param body body. + * @param body The model extends from a model that spread Record<ModelForRecord> with the different known + * property type + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -119,7 +122,10 @@ public Mono get() { /** * Put operation. * - * @param body body. + * @param body The model extends from a model that spread Record<ModelForRecord> with the different known + * property type + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsDifferentSpreadModelClient.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsDifferentSpreadModelClient.java index 3ef771373b..76313bbe04 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsDifferentSpreadModelClient.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsDifferentSpreadModelClient.java @@ -81,7 +81,10 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body body. + * @param body The model extends from a model that spread Record<ModelForRecord> with the different known + * property type + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -116,7 +119,10 @@ public DifferentSpreadModelDerived get() { /** * Put operation. * - * @param body body. + * @param body The model extends from a model that spread Record<ModelForRecord> with the different known + * property type + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsDifferentSpreadStringAsyncClient.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsDifferentSpreadStringAsyncClient.java index 79c7ee9f46..aad670c1f1 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsDifferentSpreadStringAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsDifferentSpreadStringAsyncClient.java @@ -79,7 +79,10 @@ public Mono> getWithResponse(RequestOptions requestOptions) * } * } * - * @param body body. + * @param body The model extends from a model that spread Record<string> with the different known property + * type + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -115,7 +118,10 @@ public Mono get() { /** * Put operation. * - * @param body body. + * @param body The model extends from a model that spread Record<string> with the different known property + * type + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsDifferentSpreadStringClient.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsDifferentSpreadStringClient.java index c110a4e66e..53255e36ed 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsDifferentSpreadStringClient.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsDifferentSpreadStringClient.java @@ -77,7 +77,10 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body body. + * @param body The model extends from a model that spread Record<string> with the different known property + * type + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -112,7 +115,10 @@ public DifferentSpreadStringDerived get() { /** * Put operation. * - * @param body body. + * @param body The model extends from a model that spread Record<string> with the different known property + * type + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsFloatAsyncClient.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsFloatAsyncClient.java index 165efe0962..ac824dc288 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsFloatAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsFloatAsyncClient.java @@ -77,7 +77,9 @@ public Mono> getWithResponse(RequestOptions requestOptions) * } * } * - * @param body body. + * @param body The model extends from Record<float32> type. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -113,7 +115,9 @@ public Mono get() { /** * Put operation. * - * @param body body. + * @param body The model extends from Record<float32> type. + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsFloatClient.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsFloatClient.java index 2344a7bcc7..586f3c4f0c 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsFloatClient.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsFloatClient.java @@ -75,7 +75,9 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body body. + * @param body The model extends from Record<float32> type. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -110,7 +112,9 @@ public ExtendsFloatAdditionalProperties get() { /** * Put operation. * - * @param body body. + * @param body The model extends from Record<float32> type. + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsModelArrayAsyncClient.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsModelArrayAsyncClient.java index aee6c3bdfc..e03ba2767b 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsModelArrayAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsModelArrayAsyncClient.java @@ -89,7 +89,9 @@ public Mono> getWithResponse(RequestOptions requestOptions) * } * } * - * @param body body. + * @param body The model extends from Record<ModelForRecord[]> type. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -125,7 +127,9 @@ public Mono get() { /** * Put operation. * - * @param body body. + * @param body The model extends from Record<ModelForRecord[]> type. + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsModelArrayClient.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsModelArrayClient.java index 112640784b..492215aeb7 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsModelArrayClient.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsModelArrayClient.java @@ -87,7 +87,9 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body body. + * @param body The model extends from Record<ModelForRecord[]> type. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -122,7 +124,9 @@ public ExtendsModelArrayAdditionalProperties get() { /** * Put operation. * - * @param body body. + * @param body The model extends from Record<ModelForRecord[]> type. + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsModelAsyncClient.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsModelAsyncClient.java index 3e2c8a262b..4dbfcade6c 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsModelAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsModelAsyncClient.java @@ -81,7 +81,9 @@ public Mono> getWithResponse(RequestOptions requestOptions) * } * } * - * @param body body. + * @param body The model extends from Record<ModelForRecord> type. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -117,7 +119,9 @@ public Mono get() { /** * Put operation. * - * @param body body. + * @param body The model extends from Record<ModelForRecord> type. + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsModelClient.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsModelClient.java index 350b125c5b..73520ac382 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsModelClient.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsModelClient.java @@ -79,7 +79,9 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body body. + * @param body The model extends from Record<ModelForRecord> type. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -114,7 +116,9 @@ public ExtendsModelAdditionalProperties get() { /** * Put operation. * - * @param body body. + * @param body The model extends from Record<ModelForRecord> type. + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsStringAsyncClient.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsStringAsyncClient.java index 631556ec37..73a522c3c2 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsStringAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsStringAsyncClient.java @@ -77,7 +77,9 @@ public Mono> getWithResponse(RequestOptions requestOptions) * } * } * - * @param body body. + * @param body The model extends from Record<string> type. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -113,7 +115,9 @@ public Mono get() { /** * Put operation. * - * @param body body. + * @param body The model extends from Record<string> type. + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsStringClient.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsStringClient.java index 18ef0b0b98..56098d0ec9 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsStringClient.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsStringClient.java @@ -75,7 +75,9 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body body. + * @param body The model extends from Record<string> type. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -110,7 +112,9 @@ public ExtendsStringAdditionalProperties get() { /** * Put operation. * - * @param body body. + * @param body The model extends from Record<string> type. + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsUnknownAsyncClient.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsUnknownAsyncClient.java index a3971293d0..49866032c2 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsUnknownAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsUnknownAsyncClient.java @@ -77,7 +77,9 @@ public Mono> getWithResponse(RequestOptions requestOptions) * } * } * - * @param body body. + * @param body The model extends from Record<unknown> type. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -113,7 +115,9 @@ public Mono get() { /** * Put operation. * - * @param body body. + * @param body The model extends from Record<unknown> type. + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsUnknownClient.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsUnknownClient.java index d1223a9711..442e1dc97c 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsUnknownClient.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsUnknownClient.java @@ -75,7 +75,9 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body body. + * @param body The model extends from Record<unknown> type. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -110,7 +112,9 @@ public ExtendsUnknownAdditionalProperties get() { /** * Put operation. * - * @param body body. + * @param body The model extends from Record<unknown> type. + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsUnknownDerivedAsyncClient.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsUnknownDerivedAsyncClient.java index 47555089a1..57da8f9cba 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsUnknownDerivedAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsUnknownDerivedAsyncClient.java @@ -81,7 +81,9 @@ public Mono> getWithResponse(RequestOptions requestOptions) * } * } * - * @param body body. + * @param body The model extends from a type that extends from Record<unknown>. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -117,7 +119,9 @@ public Mono get() { /** * Put operation. * - * @param body body. + * @param body The model extends from a type that extends from Record<unknown>. + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsUnknownDerivedClient.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsUnknownDerivedClient.java index a711f89a99..81aa7b7470 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsUnknownDerivedClient.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsUnknownDerivedClient.java @@ -79,7 +79,9 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body body. + * @param body The model extends from a type that extends from Record<unknown>. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -114,7 +116,9 @@ public ExtendsUnknownAdditionalPropertiesDerived get() { /** * Put operation. * - * @param body body. + * @param body The model extends from a type that extends from Record<unknown>. + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsUnknownDiscriminatedAsyncClient.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsUnknownDiscriminatedAsyncClient.java index 2996ebdb51..3cf52e1fab 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsUnknownDiscriminatedAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsUnknownDiscriminatedAsyncClient.java @@ -79,7 +79,9 @@ public Mono> getWithResponse(RequestOptions requestOptions) * } * } * - * @param body body. + * @param body The model extends from Record<unknown> with a discriminator. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -116,7 +118,9 @@ public Mono get() { /** * Put operation. * - * @param body body. + * @param body The model extends from Record<unknown> with a discriminator. + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsUnknownDiscriminatedClient.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsUnknownDiscriminatedClient.java index 8c65533253..6d32e8138d 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsUnknownDiscriminatedClient.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsUnknownDiscriminatedClient.java @@ -77,7 +77,9 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body body. + * @param body The model extends from Record<unknown> with a discriminator. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -113,7 +115,9 @@ public ExtendsUnknownAdditionalPropertiesDiscriminated get() { /** * Put operation. * - * @param body body. + * @param body The model extends from Record<unknown> with a discriminator. + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/IsFloatAsyncClient.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/IsFloatAsyncClient.java index f0b5bec866..a0cf8adbea 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/IsFloatAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/IsFloatAsyncClient.java @@ -77,7 +77,9 @@ public Mono> getWithResponse(RequestOptions requestOptions) * } * } * - * @param body body. + * @param body The model is from Record<float32> type. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -113,7 +115,9 @@ public Mono get() { /** * Put operation. * - * @param body body. + * @param body The model is from Record<float32> type. + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/IsFloatClient.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/IsFloatClient.java index 59f59264a0..7a904011c2 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/IsFloatClient.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/IsFloatClient.java @@ -75,7 +75,9 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body body. + * @param body The model is from Record<float32> type. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -110,7 +112,9 @@ public IsFloatAdditionalProperties get() { /** * Put operation. * - * @param body body. + * @param body The model is from Record<float32> type. + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/IsModelArrayAsyncClient.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/IsModelArrayAsyncClient.java index dc5b7a138c..1ec8537267 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/IsModelArrayAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/IsModelArrayAsyncClient.java @@ -89,7 +89,9 @@ public Mono> getWithResponse(RequestOptions requestOptions) * } * } * - * @param body body. + * @param body The model is from Record<ModelForRecord[]> type. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -125,7 +127,9 @@ public Mono get() { /** * Put operation. * - * @param body body. + * @param body The model is from Record<ModelForRecord[]> type. + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/IsModelArrayClient.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/IsModelArrayClient.java index ed99323bec..7eb9443892 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/IsModelArrayClient.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/IsModelArrayClient.java @@ -87,7 +87,9 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body body. + * @param body The model is from Record<ModelForRecord[]> type. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -122,7 +124,9 @@ public IsModelArrayAdditionalProperties get() { /** * Put operation. * - * @param body body. + * @param body The model is from Record<ModelForRecord[]> type. + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/IsModelAsyncClient.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/IsModelAsyncClient.java index 245ff40887..5e779f1afe 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/IsModelAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/IsModelAsyncClient.java @@ -81,7 +81,9 @@ public Mono> getWithResponse(RequestOptions requestOptions) * } * } * - * @param body body. + * @param body The model is from Record<ModelForRecord> type. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -117,7 +119,9 @@ public Mono get() { /** * Put operation. * - * @param body body. + * @param body The model is from Record<ModelForRecord> type. + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/IsModelClient.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/IsModelClient.java index cb9bb36ef3..4402333ee4 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/IsModelClient.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/IsModelClient.java @@ -79,7 +79,9 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body body. + * @param body The model is from Record<ModelForRecord> type. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -114,7 +116,9 @@ public IsModelAdditionalProperties get() { /** * Put operation. * - * @param body body. + * @param body The model is from Record<ModelForRecord> type. + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/IsStringAsyncClient.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/IsStringAsyncClient.java index 4388e9f9a7..68439ab864 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/IsStringAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/IsStringAsyncClient.java @@ -77,7 +77,9 @@ public Mono> getWithResponse(RequestOptions requestOptions) * } * } * - * @param body body. + * @param body The model is from Record<string> type. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -113,7 +115,9 @@ public Mono get() { /** * Put operation. * - * @param body body. + * @param body The model is from Record<string> type. + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/IsStringClient.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/IsStringClient.java index 54f77899d5..eead7e85e3 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/IsStringClient.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/IsStringClient.java @@ -75,7 +75,9 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body body. + * @param body The model is from Record<string> type. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -110,7 +112,9 @@ public IsStringAdditionalProperties get() { /** * Put operation. * - * @param body body. + * @param body The model is from Record<string> type. + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/IsUnknownAsyncClient.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/IsUnknownAsyncClient.java index 56fb6113f7..b0213cda4e 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/IsUnknownAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/IsUnknownAsyncClient.java @@ -77,7 +77,9 @@ public Mono> getWithResponse(RequestOptions requestOptions) * } * } * - * @param body body. + * @param body The model is from Record<unknown> type. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -113,7 +115,9 @@ public Mono get() { /** * Put operation. * - * @param body body. + * @param body The model is from Record<unknown> type. + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/IsUnknownClient.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/IsUnknownClient.java index e5fde6da37..1a64986abf 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/IsUnknownClient.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/IsUnknownClient.java @@ -75,7 +75,9 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body body. + * @param body The model is from Record<unknown> type. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -110,7 +112,9 @@ public IsUnknownAdditionalProperties get() { /** * Put operation. * - * @param body body. + * @param body The model is from Record<unknown> type. + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/IsUnknownDerivedAsyncClient.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/IsUnknownDerivedAsyncClient.java index 6527d2fd23..ab2168c7b0 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/IsUnknownDerivedAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/IsUnknownDerivedAsyncClient.java @@ -81,7 +81,9 @@ public Mono> getWithResponse(RequestOptions requestOptions) * } * } * - * @param body body. + * @param body The model extends from a type that is Record<unknown> type + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -117,7 +119,9 @@ public Mono get() { /** * Put operation. * - * @param body body. + * @param body The model extends from a type that is Record<unknown> type + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/IsUnknownDerivedClient.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/IsUnknownDerivedClient.java index ff945769c1..3110bf228b 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/IsUnknownDerivedClient.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/IsUnknownDerivedClient.java @@ -79,7 +79,9 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body body. + * @param body The model extends from a type that is Record<unknown> type + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -114,7 +116,9 @@ public IsUnknownAdditionalPropertiesDerived get() { /** * Put operation. * - * @param body body. + * @param body The model extends from a type that is Record<unknown> type + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/IsUnknownDiscriminatedAsyncClient.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/IsUnknownDiscriminatedAsyncClient.java index 33cd143e8a..203bb21ced 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/IsUnknownDiscriminatedAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/IsUnknownDiscriminatedAsyncClient.java @@ -79,7 +79,9 @@ public Mono> getWithResponse(RequestOptions requestOptions) * } * } * - * @param body body. + * @param body The model is Record<unknown> with a discriminator. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -115,7 +117,9 @@ public Mono get() { /** * Put operation. * - * @param body body. + * @param body The model is Record<unknown> with a discriminator. + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/IsUnknownDiscriminatedClient.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/IsUnknownDiscriminatedClient.java index 8d336689cc..221ebad196 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/IsUnknownDiscriminatedClient.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/IsUnknownDiscriminatedClient.java @@ -77,7 +77,9 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body body. + * @param body The model is Record<unknown> with a discriminator. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -112,7 +114,9 @@ public IsUnknownAdditionalPropertiesDiscriminated get() { /** * Put operation. * - * @param body body. + * @param body The model is Record<unknown> with a discriminator. + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/MultipleSpreadAsyncClient.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/MultipleSpreadAsyncClient.java index 4a7f13d101..206a65c8db 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/MultipleSpreadAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/MultipleSpreadAsyncClient.java @@ -77,7 +77,9 @@ public Mono> getWithResponse(RequestOptions requestOptions) * } * } * - * @param body body. + * @param body The model spread Record<string> and Record<float32> + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -113,7 +115,9 @@ public Mono get() { /** * Put operation. * - * @param body body. + * @param body The model spread Record<string> and Record<float32> + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/MultipleSpreadClient.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/MultipleSpreadClient.java index 695adb7ab4..15006e056d 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/MultipleSpreadClient.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/MultipleSpreadClient.java @@ -75,7 +75,9 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body body. + * @param body The model spread Record<string> and Record<float32> + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -110,7 +112,9 @@ public MultipleSpreadRecord get() { /** * Put operation. * - * @param body body. + * @param body The model spread Record<string> and Record<float32> + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadDifferentFloatAsyncClient.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadDifferentFloatAsyncClient.java index 52c264e60c..432ebbab78 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadDifferentFloatAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadDifferentFloatAsyncClient.java @@ -77,7 +77,9 @@ public Mono> getWithResponse(RequestOptions requestOptions) * } * } * - * @param body body. + * @param body The model spread Record<float32> with the different known property type + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -113,7 +115,9 @@ public Mono get() { /** * Put operation. * - * @param body body. + * @param body The model spread Record<float32> with the different known property type + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadDifferentFloatClient.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadDifferentFloatClient.java index cf800c43fe..58ae7b20b0 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadDifferentFloatClient.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadDifferentFloatClient.java @@ -75,7 +75,9 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body body. + * @param body The model spread Record<float32> with the different known property type + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -110,7 +112,9 @@ public DifferentSpreadFloatRecord get() { /** * Put operation. * - * @param body body. + * @param body The model spread Record<float32> with the different known property type + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadDifferentModelArrayAsyncClient.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadDifferentModelArrayAsyncClient.java index 90fbf5a45e..b70f73ec2c 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadDifferentModelArrayAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadDifferentModelArrayAsyncClient.java @@ -85,7 +85,9 @@ public Mono> getWithResponse(RequestOptions requestOptions) * } * } * - * @param body body. + * @param body The model spread Record<ModelForRecord[]> with the different known property type + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -121,7 +123,9 @@ public Mono get() { /** * Put operation. * - * @param body body. + * @param body The model spread Record<ModelForRecord[]> with the different known property type + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadDifferentModelArrayClient.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadDifferentModelArrayClient.java index 75c931ef47..b736bd6c8b 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadDifferentModelArrayClient.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadDifferentModelArrayClient.java @@ -83,7 +83,9 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body body. + * @param body The model spread Record<ModelForRecord[]> with the different known property type + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -118,7 +120,9 @@ public DifferentSpreadModelArrayRecord get() { /** * Put operation. * - * @param body body. + * @param body The model spread Record<ModelForRecord[]> with the different known property type + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadDifferentModelAsyncClient.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadDifferentModelAsyncClient.java index dd78d0eafa..c14feba78b 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadDifferentModelAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadDifferentModelAsyncClient.java @@ -81,7 +81,9 @@ public Mono> getWithResponse(RequestOptions requestOptions) * } * } * - * @param body body. + * @param body The model spread Record<ModelForRecord> with the different known property type + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -117,7 +119,9 @@ public Mono get() { /** * Put operation. * - * @param body body. + * @param body The model spread Record<ModelForRecord> with the different known property type + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadDifferentModelClient.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadDifferentModelClient.java index 2de9b57e67..e4972912d2 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadDifferentModelClient.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadDifferentModelClient.java @@ -79,7 +79,9 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body body. + * @param body The model spread Record<ModelForRecord> with the different known property type + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -114,7 +116,9 @@ public DifferentSpreadModelRecord get() { /** * Put operation. * - * @param body body. + * @param body The model spread Record<ModelForRecord> with the different known property type + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadDifferentStringAsyncClient.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadDifferentStringAsyncClient.java index 9a5b404239..efa888ebfb 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadDifferentStringAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadDifferentStringAsyncClient.java @@ -77,7 +77,9 @@ public Mono> getWithResponse(RequestOptions requestOptions) * } * } * - * @param body body. + * @param body The model spread Record<string> with the different known property type + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -113,7 +115,9 @@ public Mono get() { /** * Put operation. * - * @param body body. + * @param body The model spread Record<string> with the different known property type + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadDifferentStringClient.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadDifferentStringClient.java index c052f4d6b2..b56e541177 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadDifferentStringClient.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadDifferentStringClient.java @@ -75,7 +75,9 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body body. + * @param body The model spread Record<string> with the different known property type + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -110,7 +112,9 @@ public DifferentSpreadStringRecord get() { /** * Put operation. * - * @param body body. + * @param body The model spread Record<string> with the different known property type + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadFloatAsyncClient.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadFloatAsyncClient.java index 4491b1cea4..389ec6afeb 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadFloatAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadFloatAsyncClient.java @@ -77,7 +77,9 @@ public Mono> getWithResponse(RequestOptions requestOptions) * } * } * - * @param body body. + * @param body The model spread Record<float32> with the same known property type + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -113,7 +115,9 @@ public Mono get() { /** * Put operation. * - * @param body body. + * @param body The model spread Record<float32> with the same known property type + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadFloatClient.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadFloatClient.java index 844165116e..7317078709 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadFloatClient.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadFloatClient.java @@ -75,7 +75,9 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body body. + * @param body The model spread Record<float32> with the same known property type + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -110,7 +112,9 @@ public SpreadFloatRecord get() { /** * Put operation. * - * @param body body. + * @param body The model spread Record<float32> with the same known property type + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadModelArrayAsyncClient.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadModelArrayAsyncClient.java index bfb87faa8f..1daf263f19 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadModelArrayAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadModelArrayAsyncClient.java @@ -89,7 +89,7 @@ public Mono> getWithResponse(RequestOptions requestOptions) * } * } * - * @param body body. + * @param body The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -125,7 +125,7 @@ public Mono get() { /** * Put operation. * - * @param body body. + * @param body The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadModelArrayClient.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadModelArrayClient.java index d869e8b9df..7d147ae076 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadModelArrayClient.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadModelArrayClient.java @@ -87,7 +87,7 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body body. + * @param body The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -122,7 +122,7 @@ public SpreadModelArrayRecord get() { /** * Put operation. * - * @param body body. + * @param body The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadModelAsyncClient.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadModelAsyncClient.java index c1250d5eec..6d4fc36a63 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadModelAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadModelAsyncClient.java @@ -81,7 +81,9 @@ public Mono> getWithResponse(RequestOptions requestOptions) * } * } * - * @param body body. + * @param body The model spread Record<ModelForRecord> with the same known property type + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -117,7 +119,9 @@ public Mono get() { /** * Put operation. * - * @param body body. + * @param body The model spread Record<ModelForRecord> with the same known property type + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadModelClient.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadModelClient.java index ed489d4347..743e699f58 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadModelClient.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadModelClient.java @@ -79,7 +79,9 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body body. + * @param body The model spread Record<ModelForRecord> with the same known property type + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -114,7 +116,9 @@ public SpreadModelRecord get() { /** * Put operation. * - * @param body body. + * @param body The model spread Record<ModelForRecord> with the same known property type + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadRecordDiscriminatedUnionAsyncClient.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadRecordDiscriminatedUnionAsyncClient.java index 7baae2dcb8..021af72d9a 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadRecordDiscriminatedUnionAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadRecordDiscriminatedUnionAsyncClient.java @@ -77,7 +77,9 @@ public Mono> getWithResponse(RequestOptions requestOptions) * } * } * - * @param body body. + * @param body The model spread Record<WidgetData> + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -113,7 +115,9 @@ public Mono get() { /** * Put operation. * - * @param body body. + * @param body The model spread Record<WidgetData> + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadRecordDiscriminatedUnionClient.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadRecordDiscriminatedUnionClient.java index 641f7c8498..e24207db28 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadRecordDiscriminatedUnionClient.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadRecordDiscriminatedUnionClient.java @@ -75,7 +75,9 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body body. + * @param body The model spread Record<WidgetData> + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -110,7 +112,9 @@ public SpreadRecordForDiscriminatedUnion get() { /** * Put operation. * - * @param body body. + * @param body The model spread Record<WidgetData> + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadRecordNonDiscriminatedUnion2AsyncClient.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadRecordNonDiscriminatedUnion2AsyncClient.java index 25d072990b..738010c301 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadRecordNonDiscriminatedUnion2AsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadRecordNonDiscriminatedUnion2AsyncClient.java @@ -77,7 +77,9 @@ public Mono> getWithResponse(RequestOptions requestOptions) * } * } * - * @param body body. + * @param body The model spread Record<WidgetData2 | WidgetData1> + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -113,7 +115,9 @@ public Mono get() { /** * Put operation. * - * @param body body. + * @param body The model spread Record<WidgetData2 | WidgetData1> + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadRecordNonDiscriminatedUnion2Client.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadRecordNonDiscriminatedUnion2Client.java index 25af9e4463..6c4facd0d7 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadRecordNonDiscriminatedUnion2Client.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadRecordNonDiscriminatedUnion2Client.java @@ -75,7 +75,9 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body body. + * @param body The model spread Record<WidgetData2 | WidgetData1> + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -110,7 +112,9 @@ public SpreadRecordForNonDiscriminatedUnion2 get() { /** * Put operation. * - * @param body body. + * @param body The model spread Record<WidgetData2 | WidgetData1> + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadRecordNonDiscriminatedUnion3AsyncClient.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadRecordNonDiscriminatedUnion3AsyncClient.java index 067ee6ee43..916b3caafc 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadRecordNonDiscriminatedUnion3AsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadRecordNonDiscriminatedUnion3AsyncClient.java @@ -77,7 +77,9 @@ public Mono> getWithResponse(RequestOptions requestOptions) * } * } * - * @param body body. + * @param body The model spread Record<WidgetData2[] | WidgetData1> + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -113,7 +115,9 @@ public Mono get() { /** * Put operation. * - * @param body body. + * @param body The model spread Record<WidgetData2[] | WidgetData1> + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadRecordNonDiscriminatedUnion3Client.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadRecordNonDiscriminatedUnion3Client.java index d14844fa24..19b49a2937 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadRecordNonDiscriminatedUnion3Client.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadRecordNonDiscriminatedUnion3Client.java @@ -75,7 +75,9 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body body. + * @param body The model spread Record<WidgetData2[] | WidgetData1> + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -110,7 +112,9 @@ public SpreadRecordForNonDiscriminatedUnion3 get() { /** * Put operation. * - * @param body body. + * @param body The model spread Record<WidgetData2[] | WidgetData1> + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadRecordNonDiscriminatedUnionAsyncClient.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadRecordNonDiscriminatedUnionAsyncClient.java index 637b3d680f..759a322c1c 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadRecordNonDiscriminatedUnionAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadRecordNonDiscriminatedUnionAsyncClient.java @@ -77,7 +77,9 @@ public Mono> getWithResponse(RequestOptions requestOptions) * } * } * - * @param body body. + * @param body The model spread Record<WidgetData0 | WidgetData1> + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -113,7 +115,9 @@ public Mono get() { /** * Put operation. * - * @param body body. + * @param body The model spread Record<WidgetData0 | WidgetData1> + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadRecordNonDiscriminatedUnionClient.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadRecordNonDiscriminatedUnionClient.java index 96fda8ee04..780a397192 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadRecordNonDiscriminatedUnionClient.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadRecordNonDiscriminatedUnionClient.java @@ -75,7 +75,9 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body body. + * @param body The model spread Record<WidgetData0 | WidgetData1> + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -110,7 +112,9 @@ public SpreadRecordForNonDiscriminatedUnion get() { /** * Put operation. * - * @param body body. + * @param body The model spread Record<WidgetData0 | WidgetData1> + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadRecordUnionAsyncClient.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadRecordUnionAsyncClient.java index f59998aac8..da328afe57 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadRecordUnionAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadRecordUnionAsyncClient.java @@ -77,7 +77,9 @@ public Mono> getWithResponse(RequestOptions requestOptions) * } * } * - * @param body body. + * @param body The model spread Record<string | float32> + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -113,7 +115,9 @@ public Mono get() { /** * Put operation. * - * @param body body. + * @param body The model spread Record<string | float32> + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadRecordUnionClient.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadRecordUnionClient.java index c8eaa17b0a..ae560f3fb5 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadRecordUnionClient.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadRecordUnionClient.java @@ -75,7 +75,9 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body body. + * @param body The model spread Record<string | float32> + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -110,7 +112,9 @@ public SpreadRecordForUnion get() { /** * Put operation. * - * @param body body. + * @param body The model spread Record<string | float32> + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadStringAsyncClient.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadStringAsyncClient.java index 51c27dd0e2..0637b4a16a 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadStringAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadStringAsyncClient.java @@ -77,7 +77,9 @@ public Mono> getWithResponse(RequestOptions requestOptions) * } * } * - * @param body body. + * @param body The model spread Record<string> with the same known property type + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -113,7 +115,9 @@ public Mono get() { /** * Put operation. * - * @param body body. + * @param body The model spread Record<string> with the same known property type + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadStringClient.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadStringClient.java index ccd1774615..d00ee2ee7e 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadStringClient.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadStringClient.java @@ -75,7 +75,9 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body body. + * @param body The model spread Record<string> with the same known property type + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -110,7 +112,9 @@ public SpreadStringRecord get() { /** * Put operation. * - * @param body body. + * @param body The model spread Record<string> with the same known property type + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/ExtendsDifferentSpreadFloatsImpl.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/ExtendsDifferentSpreadFloatsImpl.java index 6fa9cb37c8..886a9acadc 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/ExtendsDifferentSpreadFloatsImpl.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/ExtendsDifferentSpreadFloatsImpl.java @@ -163,7 +163,10 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body body. + * @param body The model extends from a model that spread Record<float32> with the different known property + * type + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -191,7 +194,10 @@ public Mono> putWithResponseAsync(BinaryData body, RequestOptions * } * } * - * @param body body. + * @param body The model extends from a model that spread Record<float32> with the different known property + * type + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/ExtendsDifferentSpreadModelArraysImpl.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/ExtendsDifferentSpreadModelArraysImpl.java index e8609caff6..83e06756db 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/ExtendsDifferentSpreadModelArraysImpl.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/ExtendsDifferentSpreadModelArraysImpl.java @@ -181,7 +181,10 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body body. + * @param body The model extends from a model that spread Record<ModelForRecord[]> with the different known + * property type + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -215,7 +218,10 @@ public Mono> putWithResponseAsync(BinaryData body, RequestOptions * } * } * - * @param body body. + * @param body The model extends from a model that spread Record<ModelForRecord[]> with the different known + * property type + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/ExtendsDifferentSpreadModelsImpl.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/ExtendsDifferentSpreadModelsImpl.java index 303776b348..93e60bc18e 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/ExtendsDifferentSpreadModelsImpl.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/ExtendsDifferentSpreadModelsImpl.java @@ -169,7 +169,10 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body body. + * @param body The model extends from a model that spread Record<ModelForRecord> with the different known + * property type + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -199,7 +202,10 @@ public Mono> putWithResponseAsync(BinaryData body, RequestOptions * } * } * - * @param body body. + * @param body The model extends from a model that spread Record<ModelForRecord> with the different known + * property type + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/ExtendsDifferentSpreadStringsImpl.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/ExtendsDifferentSpreadStringsImpl.java index 29f8e4e6af..d53be0d5f8 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/ExtendsDifferentSpreadStringsImpl.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/ExtendsDifferentSpreadStringsImpl.java @@ -163,7 +163,10 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body body. + * @param body The model extends from a model that spread Record<string> with the different known property + * type + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -191,7 +194,10 @@ public Mono> putWithResponseAsync(BinaryData body, RequestOptions * } * } * - * @param body body. + * @param body The model extends from a model that spread Record<string> with the different known property + * type + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/ExtendsFloatsImpl.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/ExtendsFloatsImpl.java index 61cc2601f4..62ac3d84c2 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/ExtendsFloatsImpl.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/ExtendsFloatsImpl.java @@ -160,7 +160,9 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body body. + * @param body The model extends from Record<float32> type. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -187,7 +189,9 @@ public Mono> putWithResponseAsync(BinaryData body, RequestOptions * } * } * - * @param body body. + * @param body The model extends from Record<float32> type. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/ExtendsModelArraysImpl.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/ExtendsModelArraysImpl.java index d4037271c3..8e56bc02c8 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/ExtendsModelArraysImpl.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/ExtendsModelArraysImpl.java @@ -178,7 +178,9 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body body. + * @param body The model extends from Record<ModelForRecord[]> type. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -211,7 +213,9 @@ public Mono> putWithResponseAsync(BinaryData body, RequestOptions * } * } * - * @param body body. + * @param body The model extends from Record<ModelForRecord[]> type. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/ExtendsModelsImpl.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/ExtendsModelsImpl.java index 954e26e129..ecf082922d 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/ExtendsModelsImpl.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/ExtendsModelsImpl.java @@ -166,7 +166,9 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body body. + * @param body The model extends from Record<ModelForRecord> type. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -195,7 +197,9 @@ public Mono> putWithResponseAsync(BinaryData body, RequestOptions * } * } * - * @param body body. + * @param body The model extends from Record<ModelForRecord> type. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/ExtendsStringsImpl.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/ExtendsStringsImpl.java index 3d3cbbade3..d2053a7ded 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/ExtendsStringsImpl.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/ExtendsStringsImpl.java @@ -160,7 +160,9 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body body. + * @param body The model extends from Record<string> type. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -187,7 +189,9 @@ public Mono> putWithResponseAsync(BinaryData body, RequestOptions * } * } * - * @param body body. + * @param body The model extends from Record<string> type. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/ExtendsUnknownDerivedsImpl.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/ExtendsUnknownDerivedsImpl.java index d4a55cf5ad..0378f8159a 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/ExtendsUnknownDerivedsImpl.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/ExtendsUnknownDerivedsImpl.java @@ -166,7 +166,9 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body body. + * @param body The model extends from a type that extends from Record<unknown>. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -195,7 +197,9 @@ public Mono> putWithResponseAsync(BinaryData body, RequestOptions * } * } * - * @param body body. + * @param body The model extends from a type that extends from Record<unknown>. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/ExtendsUnknownDiscriminatedsImpl.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/ExtendsUnknownDiscriminatedsImpl.java index 96798c5a1a..51a9eb71e1 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/ExtendsUnknownDiscriminatedsImpl.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/ExtendsUnknownDiscriminatedsImpl.java @@ -163,7 +163,9 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body body. + * @param body The model extends from Record<unknown> with a discriminator. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -191,7 +193,9 @@ public Mono> putWithResponseAsync(BinaryData body, RequestOptions * } * } * - * @param body body. + * @param body The model extends from Record<unknown> with a discriminator. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/ExtendsUnknownsImpl.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/ExtendsUnknownsImpl.java index c58713b6fc..6946b556b5 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/ExtendsUnknownsImpl.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/ExtendsUnknownsImpl.java @@ -160,7 +160,9 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body body. + * @param body The model extends from Record<unknown> type. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -187,7 +189,9 @@ public Mono> putWithResponseAsync(BinaryData body, RequestOptions * } * } * - * @param body body. + * @param body The model extends from Record<unknown> type. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/IsFloatsImpl.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/IsFloatsImpl.java index e276967a22..e5482ec0c6 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/IsFloatsImpl.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/IsFloatsImpl.java @@ -159,7 +159,9 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body body. + * @param body The model is from Record<float32> type. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -186,7 +188,9 @@ public Mono> putWithResponseAsync(BinaryData body, RequestOptions * } * } * - * @param body body. + * @param body The model is from Record<float32> type. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/IsModelArraysImpl.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/IsModelArraysImpl.java index 7125390719..d54efb434f 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/IsModelArraysImpl.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/IsModelArraysImpl.java @@ -178,7 +178,9 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body body. + * @param body The model is from Record<ModelForRecord[]> type. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -211,7 +213,9 @@ public Mono> putWithResponseAsync(BinaryData body, RequestOptions * } * } * - * @param body body. + * @param body The model is from Record<ModelForRecord[]> type. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/IsModelsImpl.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/IsModelsImpl.java index 774c6d7a12..7b9e97ad2f 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/IsModelsImpl.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/IsModelsImpl.java @@ -165,7 +165,9 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body body. + * @param body The model is from Record<ModelForRecord> type. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -194,7 +196,9 @@ public Mono> putWithResponseAsync(BinaryData body, RequestOptions * } * } * - * @param body body. + * @param body The model is from Record<ModelForRecord> type. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/IsStringsImpl.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/IsStringsImpl.java index fb3f27c469..d704b14d2d 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/IsStringsImpl.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/IsStringsImpl.java @@ -160,7 +160,9 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body body. + * @param body The model is from Record<string> type. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -187,7 +189,9 @@ public Mono> putWithResponseAsync(BinaryData body, RequestOptions * } * } * - * @param body body. + * @param body The model is from Record<string> type. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/IsUnknownDerivedsImpl.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/IsUnknownDerivedsImpl.java index bc84462e01..a82662941f 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/IsUnknownDerivedsImpl.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/IsUnknownDerivedsImpl.java @@ -166,7 +166,9 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body body. + * @param body The model extends from a type that is Record<unknown> type + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -195,7 +197,9 @@ public Mono> putWithResponseAsync(BinaryData body, RequestOptions * } * } * - * @param body body. + * @param body The model extends from a type that is Record<unknown> type + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/IsUnknownDiscriminatedsImpl.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/IsUnknownDiscriminatedsImpl.java index 22e4b82f69..ff5522d0c4 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/IsUnknownDiscriminatedsImpl.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/IsUnknownDiscriminatedsImpl.java @@ -163,7 +163,9 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body body. + * @param body The model is Record<unknown> with a discriminator. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -191,7 +193,9 @@ public Mono> putWithResponseAsync(BinaryData body, RequestOptions * } * } * - * @param body body. + * @param body The model is Record<unknown> with a discriminator. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/IsUnknownsImpl.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/IsUnknownsImpl.java index 785aa71b46..d3d008896f 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/IsUnknownsImpl.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/IsUnknownsImpl.java @@ -160,7 +160,9 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body body. + * @param body The model is from Record<unknown> type. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -187,7 +189,9 @@ public Mono> putWithResponseAsync(BinaryData body, RequestOptions * } * } * - * @param body body. + * @param body The model is from Record<unknown> type. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/MultipleSpreadsImpl.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/MultipleSpreadsImpl.java index dbbfe181bc..0d16aa9f26 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/MultipleSpreadsImpl.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/MultipleSpreadsImpl.java @@ -160,7 +160,9 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body body. + * @param body The model spread Record<string> and Record<float32> + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -187,7 +189,9 @@ public Mono> putWithResponseAsync(BinaryData body, RequestOptions * } * } * - * @param body body. + * @param body The model spread Record<string> and Record<float32> + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/SpreadDifferentFloatsImpl.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/SpreadDifferentFloatsImpl.java index 656068de0d..be17c6910e 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/SpreadDifferentFloatsImpl.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/SpreadDifferentFloatsImpl.java @@ -160,7 +160,9 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body body. + * @param body The model spread Record<float32> with the different known property type + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -187,7 +189,9 @@ public Mono> putWithResponseAsync(BinaryData body, RequestOptions * } * } * - * @param body body. + * @param body The model spread Record<float32> with the different known property type + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/SpreadDifferentModelArraysImpl.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/SpreadDifferentModelArraysImpl.java index 49fc1bc88b..08aa716e0f 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/SpreadDifferentModelArraysImpl.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/SpreadDifferentModelArraysImpl.java @@ -172,7 +172,9 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body body. + * @param body The model spread Record<ModelForRecord[]> with the different known property type + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -203,7 +205,9 @@ public Mono> putWithResponseAsync(BinaryData body, RequestOptions * } * } * - * @param body body. + * @param body The model spread Record<ModelForRecord[]> with the different known property type + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/SpreadDifferentModelsImpl.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/SpreadDifferentModelsImpl.java index 26370c64d6..05a9adb1af 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/SpreadDifferentModelsImpl.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/SpreadDifferentModelsImpl.java @@ -166,7 +166,9 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body body. + * @param body The model spread Record<ModelForRecord> with the different known property type + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -195,7 +197,9 @@ public Mono> putWithResponseAsync(BinaryData body, RequestOptions * } * } * - * @param body body. + * @param body The model spread Record<ModelForRecord> with the different known property type + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/SpreadDifferentStringsImpl.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/SpreadDifferentStringsImpl.java index 99142402ab..b554af91c2 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/SpreadDifferentStringsImpl.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/SpreadDifferentStringsImpl.java @@ -160,7 +160,9 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body body. + * @param body The model spread Record<string> with the different known property type + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -187,7 +189,9 @@ public Mono> putWithResponseAsync(BinaryData body, RequestOptions * } * } * - * @param body body. + * @param body The model spread Record<string> with the different known property type + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/SpreadFloatsImpl.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/SpreadFloatsImpl.java index 6aabfef3d0..0e7745ac0d 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/SpreadFloatsImpl.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/SpreadFloatsImpl.java @@ -160,7 +160,9 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body body. + * @param body The model spread Record<float32> with the same known property type + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -187,7 +189,9 @@ public Mono> putWithResponseAsync(BinaryData body, RequestOptions * } * } * - * @param body body. + * @param body The model spread Record<float32> with the same known property type + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/SpreadModelArraysImpl.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/SpreadModelArraysImpl.java index 90f5c8d51f..4487140f88 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/SpreadModelArraysImpl.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/SpreadModelArraysImpl.java @@ -178,7 +178,7 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body body. + * @param body The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -211,7 +211,7 @@ public Mono> putWithResponseAsync(BinaryData body, RequestOptions * } * } * - * @param body body. + * @param body The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/SpreadModelsImpl.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/SpreadModelsImpl.java index 6697295534..320d19191b 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/SpreadModelsImpl.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/SpreadModelsImpl.java @@ -166,7 +166,9 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body body. + * @param body The model spread Record<ModelForRecord> with the same known property type + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -195,7 +197,9 @@ public Mono> putWithResponseAsync(BinaryData body, RequestOptions * } * } * - * @param body body. + * @param body The model spread Record<ModelForRecord> with the same known property type + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/SpreadRecordDiscriminatedUnionsImpl.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/SpreadRecordDiscriminatedUnionsImpl.java index eb6455fc95..b2a4016a90 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/SpreadRecordDiscriminatedUnionsImpl.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/SpreadRecordDiscriminatedUnionsImpl.java @@ -160,7 +160,9 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body body. + * @param body The model spread Record<WidgetData> + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -187,7 +189,9 @@ public Mono> putWithResponseAsync(BinaryData body, RequestOptions * } * } * - * @param body body. + * @param body The model spread Record<WidgetData> + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/SpreadRecordNonDiscriminatedUnion2sImpl.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/SpreadRecordNonDiscriminatedUnion2sImpl.java index f4b04508f0..ac57a27753 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/SpreadRecordNonDiscriminatedUnion2sImpl.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/SpreadRecordNonDiscriminatedUnion2sImpl.java @@ -160,7 +160,9 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body body. + * @param body The model spread Record<WidgetData2 | WidgetData1> + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -187,7 +189,9 @@ public Mono> putWithResponseAsync(BinaryData body, RequestOptions * } * } * - * @param body body. + * @param body The model spread Record<WidgetData2 | WidgetData1> + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/SpreadRecordNonDiscriminatedUnion3sImpl.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/SpreadRecordNonDiscriminatedUnion3sImpl.java index 84d395ac98..745161a485 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/SpreadRecordNonDiscriminatedUnion3sImpl.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/SpreadRecordNonDiscriminatedUnion3sImpl.java @@ -160,7 +160,9 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body body. + * @param body The model spread Record<WidgetData2[] | WidgetData1> + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -187,7 +189,9 @@ public Mono> putWithResponseAsync(BinaryData body, RequestOptions * } * } * - * @param body body. + * @param body The model spread Record<WidgetData2[] | WidgetData1> + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/SpreadRecordNonDiscriminatedUnionsImpl.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/SpreadRecordNonDiscriminatedUnionsImpl.java index c01713dd82..b27c1e16dd 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/SpreadRecordNonDiscriminatedUnionsImpl.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/SpreadRecordNonDiscriminatedUnionsImpl.java @@ -160,7 +160,9 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body body. + * @param body The model spread Record<WidgetData0 | WidgetData1> + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -187,7 +189,9 @@ public Mono> putWithResponseAsync(BinaryData body, RequestOptions * } * } * - * @param body body. + * @param body The model spread Record<WidgetData0 | WidgetData1> + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/SpreadRecordUnionsImpl.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/SpreadRecordUnionsImpl.java index 0ec58862d2..eda6482ac7 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/SpreadRecordUnionsImpl.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/SpreadRecordUnionsImpl.java @@ -160,7 +160,9 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body body. + * @param body The model spread Record<string | float32> + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -187,7 +189,9 @@ public Mono> putWithResponseAsync(BinaryData body, RequestOptions * } * } * - * @param body body. + * @param body The model spread Record<string | float32> + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/SpreadStringsImpl.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/SpreadStringsImpl.java index 71c0892436..0269f424cc 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/SpreadStringsImpl.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/SpreadStringsImpl.java @@ -160,7 +160,9 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body body. + * @param body The model spread Record<string> with the same known property type + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -187,7 +189,9 @@ public Mono> putWithResponseAsync(BinaryData body, RequestOptions * } * } * - * @param body body. + * @param body The model spread Record<string> with the same known property type + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/DifferentSpreadFloatDerived.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/DifferentSpreadFloatDerived.java index 4c41ac40fa..ed2606bf86 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/DifferentSpreadFloatDerived.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/DifferentSpreadFloatDerived.java @@ -19,8 +19,6 @@ @Immutable public final class DifferentSpreadFloatDerived extends DifferentSpreadFloatRecord { /* - * A 32 bit floating point number. (`±5.0 × 10^−324` to `±1.7 × 10^308`) - * * The index property */ @Generated @@ -39,9 +37,7 @@ public DifferentSpreadFloatDerived(String name, double derivedProp) { } /** - * Get the derivedProp property: A 32 bit floating point number. (`±5.0 × 10^−324` to `±1.7 × 10^308`) - * - * The index property. + * Get the derivedProp property: The index property. * * @return the derivedProp value. */ diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/DifferentSpreadFloatRecord.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/DifferentSpreadFloatRecord.java index d363bc7b67..27b8b865cb 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/DifferentSpreadFloatRecord.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/DifferentSpreadFloatRecord.java @@ -20,8 +20,6 @@ @Fluent public class DifferentSpreadFloatRecord implements JsonSerializable { /* - * A sequence of textual characters. - * * The id property */ @Generated @@ -46,9 +44,7 @@ public DifferentSpreadFloatRecord(String name) { } /** - * Get the name property: A sequence of textual characters. - * - * The id property. + * Get the name property: The id property. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/DifferentSpreadStringDerived.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/DifferentSpreadStringDerived.java index 8da4037bdb..af5a0eb27e 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/DifferentSpreadStringDerived.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/DifferentSpreadStringDerived.java @@ -19,8 +19,6 @@ @Immutable public final class DifferentSpreadStringDerived extends DifferentSpreadStringRecord { /* - * A sequence of textual characters. - * * The index property */ @Generated @@ -39,9 +37,7 @@ public DifferentSpreadStringDerived(double id, String derivedProp) { } /** - * Get the derivedProp property: A sequence of textual characters. - * - * The index property. + * Get the derivedProp property: The index property. * * @return the derivedProp value. */ diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/DifferentSpreadStringRecord.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/DifferentSpreadStringRecord.java index 29217cf04b..6cda8a267e 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/DifferentSpreadStringRecord.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/DifferentSpreadStringRecord.java @@ -20,8 +20,6 @@ @Fluent public class DifferentSpreadStringRecord implements JsonSerializable { /* - * A 32 bit floating point number. (`±5.0 × 10^−324` to `±1.7 × 10^308`) - * * The name property */ @Generated @@ -46,9 +44,7 @@ public DifferentSpreadStringRecord(double id) { } /** - * Get the id property: A 32 bit floating point number. (`±5.0 × 10^−324` to `±1.7 × 10^308`) - * - * The name property. + * Get the id property: The name property. * * @return the id value. */ diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/ExtendsFloatAdditionalProperties.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/ExtendsFloatAdditionalProperties.java index ecedb79b93..625f98d968 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/ExtendsFloatAdditionalProperties.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/ExtendsFloatAdditionalProperties.java @@ -20,8 +20,6 @@ @Fluent public final class ExtendsFloatAdditionalProperties implements JsonSerializable { /* - * A 32 bit floating point number. (`±5.0 × 10^−324` to `±1.7 × 10^308`) - * * The id property */ @Generated @@ -46,9 +44,7 @@ public ExtendsFloatAdditionalProperties(double id) { } /** - * Get the id property: A 32 bit floating point number. (`±5.0 × 10^−324` to `±1.7 × 10^308`) - * - * The id property. + * Get the id property: The id property. * * @return the id value. */ diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/ExtendsModelAdditionalProperties.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/ExtendsModelAdditionalProperties.java index d674dcaacd..241a062c80 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/ExtendsModelAdditionalProperties.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/ExtendsModelAdditionalProperties.java @@ -20,7 +20,7 @@ @Fluent public final class ExtendsModelAdditionalProperties implements JsonSerializable { /* - * The knownProp property. + * model for record */ @Generated private final ModelForRecord knownProp; @@ -44,7 +44,7 @@ public ExtendsModelAdditionalProperties(ModelForRecord knownProp) { } /** - * Get the knownProp property: The knownProp property. + * Get the knownProp property: model for record. * * @return the knownProp value. */ diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/ExtendsStringAdditionalProperties.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/ExtendsStringAdditionalProperties.java index 239fee123a..db02bfba4a 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/ExtendsStringAdditionalProperties.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/ExtendsStringAdditionalProperties.java @@ -20,8 +20,6 @@ @Fluent public final class ExtendsStringAdditionalProperties implements JsonSerializable { /* - * A sequence of textual characters. - * * The name property */ @Generated @@ -46,9 +44,7 @@ public ExtendsStringAdditionalProperties(String name) { } /** - * Get the name property: A sequence of textual characters. - * - * The name property. + * Get the name property: The name property. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/ExtendsUnknownAdditionalProperties.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/ExtendsUnknownAdditionalProperties.java index db8cc0aecf..2a21f86676 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/ExtendsUnknownAdditionalProperties.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/ExtendsUnknownAdditionalProperties.java @@ -20,8 +20,6 @@ @Fluent public class ExtendsUnknownAdditionalProperties implements JsonSerializable { /* - * A sequence of textual characters. - * * The name property */ @Generated @@ -46,9 +44,7 @@ public ExtendsUnknownAdditionalProperties(String name) { } /** - * Get the name property: A sequence of textual characters. - * - * The name property. + * Get the name property: The name property. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/ExtendsUnknownAdditionalPropertiesDerived.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/ExtendsUnknownAdditionalPropertiesDerived.java index f60e2e4244..76ecf7f701 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/ExtendsUnknownAdditionalPropertiesDerived.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/ExtendsUnknownAdditionalPropertiesDerived.java @@ -19,16 +19,12 @@ @Fluent public final class ExtendsUnknownAdditionalPropertiesDerived extends ExtendsUnknownAdditionalProperties { /* - * A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) - * * The index property */ @Generated private final int index; /* - * A 32 bit floating point number. (`±5.0 × 10^−324` to `±1.7 × 10^308`) - * * The age property */ @Generated @@ -47,9 +43,7 @@ public ExtendsUnknownAdditionalPropertiesDerived(String name, int index) { } /** - * Get the index property: A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) - * - * The index property. + * Get the index property: The index property. * * @return the index value. */ @@ -59,9 +53,7 @@ public int getIndex() { } /** - * Get the age property: A 32 bit floating point number. (`±5.0 × 10^−324` to `±1.7 × 10^308`) - * - * The age property. + * Get the age property: The age property. * * @return the age value. */ @@ -71,9 +63,7 @@ public Double getAge() { } /** - * Set the age property: A 32 bit floating point number. (`±5.0 × 10^−324` to `±1.7 × 10^308`) - * - * The age property. + * Set the age property: The age property. * * @param age the age value to set. * @return the ExtendsUnknownAdditionalPropertiesDerived object itself. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/ExtendsUnknownAdditionalPropertiesDiscriminated.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/ExtendsUnknownAdditionalPropertiesDiscriminated.java index 8f9dd471e8..877f500ab7 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/ExtendsUnknownAdditionalPropertiesDiscriminated.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/ExtendsUnknownAdditionalPropertiesDiscriminated.java @@ -21,16 +21,12 @@ public class ExtendsUnknownAdditionalPropertiesDiscriminated implements JsonSerializable { /* - * A sequence of textual characters. - * * The discriminator */ @Generated private String kind; /* - * A sequence of textual characters. - * * The name property */ @Generated @@ -56,9 +52,7 @@ public ExtendsUnknownAdditionalPropertiesDiscriminated(String name) { } /** - * Get the kind property: A sequence of textual characters. - * - * The discriminator. + * Get the kind property: The discriminator. * * @return the kind value. */ @@ -68,9 +62,7 @@ public String getKind() { } /** - * Get the name property: A sequence of textual characters. - * - * The name property. + * Get the name property: The name property. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/ExtendsUnknownAdditionalPropertiesDiscriminatedDerived.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/ExtendsUnknownAdditionalPropertiesDiscriminatedDerived.java index bd53362d2d..7fb248f4d3 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/ExtendsUnknownAdditionalPropertiesDiscriminatedDerived.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/ExtendsUnknownAdditionalPropertiesDiscriminatedDerived.java @@ -20,24 +20,18 @@ public final class ExtendsUnknownAdditionalPropertiesDiscriminatedDerived extends ExtendsUnknownAdditionalPropertiesDiscriminated { /* - * A sequence of textual characters. - * * The discriminator */ @Generated private String kind = "derived"; /* - * A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) - * * The index property */ @Generated private final int index; /* - * A 32 bit floating point number. (`±5.0 × 10^−324` to `±1.7 × 10^308`) - * * The age property */ @Generated @@ -56,9 +50,7 @@ public ExtendsUnknownAdditionalPropertiesDiscriminatedDerived(String name, int i } /** - * Get the kind property: A sequence of textual characters. - * - * The discriminator. + * Get the kind property: The discriminator. * * @return the kind value. */ @@ -69,9 +61,7 @@ public String getKind() { } /** - * Get the index property: A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) - * - * The index property. + * Get the index property: The index property. * * @return the index value. */ @@ -81,9 +71,7 @@ public int getIndex() { } /** - * Get the age property: A 32 bit floating point number. (`±5.0 × 10^−324` to `±1.7 × 10^308`) - * - * The age property. + * Get the age property: The age property. * * @return the age value. */ @@ -93,9 +81,7 @@ public Double getAge() { } /** - * Set the age property: A 32 bit floating point number. (`±5.0 × 10^−324` to `±1.7 × 10^308`) - * - * The age property. + * Set the age property: The age property. * * @param age the age value to set. * @return the ExtendsUnknownAdditionalPropertiesDiscriminatedDerived object itself. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/IsFloatAdditionalProperties.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/IsFloatAdditionalProperties.java index 9b09d2979d..4f55a7b5bd 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/IsFloatAdditionalProperties.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/IsFloatAdditionalProperties.java @@ -20,8 +20,6 @@ @Fluent public final class IsFloatAdditionalProperties implements JsonSerializable { /* - * A 32 bit floating point number. (`±5.0 × 10^−324` to `±1.7 × 10^308`) - * * The id property */ @Generated @@ -46,9 +44,7 @@ public IsFloatAdditionalProperties(double id) { } /** - * Get the id property: A 32 bit floating point number. (`±5.0 × 10^−324` to `±1.7 × 10^308`) - * - * The id property. + * Get the id property: The id property. * * @return the id value. */ diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/IsModelAdditionalProperties.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/IsModelAdditionalProperties.java index a4ebc15fa9..2a37696443 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/IsModelAdditionalProperties.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/IsModelAdditionalProperties.java @@ -20,7 +20,7 @@ @Fluent public final class IsModelAdditionalProperties implements JsonSerializable { /* - * The knownProp property. + * model for record */ @Generated private final ModelForRecord knownProp; @@ -44,7 +44,7 @@ public IsModelAdditionalProperties(ModelForRecord knownProp) { } /** - * Get the knownProp property: The knownProp property. + * Get the knownProp property: model for record. * * @return the knownProp value. */ diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/IsStringAdditionalProperties.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/IsStringAdditionalProperties.java index 6dc1272987..1781a79ec7 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/IsStringAdditionalProperties.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/IsStringAdditionalProperties.java @@ -20,8 +20,6 @@ @Fluent public final class IsStringAdditionalProperties implements JsonSerializable { /* - * A sequence of textual characters. - * * The name property */ @Generated @@ -46,9 +44,7 @@ public IsStringAdditionalProperties(String name) { } /** - * Get the name property: A sequence of textual characters. - * - * The name property. + * Get the name property: The name property. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/IsUnknownAdditionalProperties.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/IsUnknownAdditionalProperties.java index c9ed23a722..55a4e4a975 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/IsUnknownAdditionalProperties.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/IsUnknownAdditionalProperties.java @@ -20,8 +20,6 @@ @Fluent public class IsUnknownAdditionalProperties implements JsonSerializable { /* - * A sequence of textual characters. - * * The name property */ @Generated @@ -46,9 +44,7 @@ public IsUnknownAdditionalProperties(String name) { } /** - * Get the name property: A sequence of textual characters. - * - * The name property. + * Get the name property: The name property. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/IsUnknownAdditionalPropertiesDerived.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/IsUnknownAdditionalPropertiesDerived.java index ed017774ba..e2ef4a71af 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/IsUnknownAdditionalPropertiesDerived.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/IsUnknownAdditionalPropertiesDerived.java @@ -19,16 +19,12 @@ @Fluent public final class IsUnknownAdditionalPropertiesDerived extends IsUnknownAdditionalProperties { /* - * A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) - * * The index property */ @Generated private final int index; /* - * A 32 bit floating point number. (`±5.0 × 10^−324` to `±1.7 × 10^308`) - * * The age property */ @Generated @@ -47,9 +43,7 @@ public IsUnknownAdditionalPropertiesDerived(String name, int index) { } /** - * Get the index property: A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) - * - * The index property. + * Get the index property: The index property. * * @return the index value. */ @@ -59,9 +53,7 @@ public int getIndex() { } /** - * Get the age property: A 32 bit floating point number. (`±5.0 × 10^−324` to `±1.7 × 10^308`) - * - * The age property. + * Get the age property: The age property. * * @return the age value. */ @@ -71,9 +63,7 @@ public Double getAge() { } /** - * Set the age property: A 32 bit floating point number. (`±5.0 × 10^−324` to `±1.7 × 10^308`) - * - * The age property. + * Set the age property: The age property. * * @param age the age value to set. * @return the IsUnknownAdditionalPropertiesDerived object itself. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/IsUnknownAdditionalPropertiesDiscriminated.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/IsUnknownAdditionalPropertiesDiscriminated.java index 88d190ebd7..af90ebff52 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/IsUnknownAdditionalPropertiesDiscriminated.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/IsUnknownAdditionalPropertiesDiscriminated.java @@ -21,16 +21,12 @@ public class IsUnknownAdditionalPropertiesDiscriminated implements JsonSerializable { /* - * A sequence of textual characters. - * * The discriminator */ @Generated private String kind; /* - * A sequence of textual characters. - * * The name property */ @Generated @@ -56,9 +52,7 @@ public IsUnknownAdditionalPropertiesDiscriminated(String name) { } /** - * Get the kind property: A sequence of textual characters. - * - * The discriminator. + * Get the kind property: The discriminator. * * @return the kind value. */ @@ -68,9 +62,7 @@ public String getKind() { } /** - * Get the name property: A sequence of textual characters. - * - * The name property. + * Get the name property: The name property. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/IsUnknownAdditionalPropertiesDiscriminatedDerived.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/IsUnknownAdditionalPropertiesDiscriminatedDerived.java index 52fac1d83f..3d3c6049c1 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/IsUnknownAdditionalPropertiesDiscriminatedDerived.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/IsUnknownAdditionalPropertiesDiscriminatedDerived.java @@ -20,24 +20,18 @@ public final class IsUnknownAdditionalPropertiesDiscriminatedDerived extends IsUnknownAdditionalPropertiesDiscriminated { /* - * A sequence of textual characters. - * * The discriminator */ @Generated private String kind = "derived"; /* - * A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) - * * The index property */ @Generated private final int index; /* - * A 32 bit floating point number. (`±5.0 × 10^−324` to `±1.7 × 10^308`) - * * The age property */ @Generated @@ -56,9 +50,7 @@ public IsUnknownAdditionalPropertiesDiscriminatedDerived(String name, int index) } /** - * Get the kind property: A sequence of textual characters. - * - * The discriminator. + * Get the kind property: The discriminator. * * @return the kind value. */ @@ -69,9 +61,7 @@ public String getKind() { } /** - * Get the index property: A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) - * - * The index property. + * Get the index property: The index property. * * @return the index value. */ @@ -81,9 +71,7 @@ public int getIndex() { } /** - * Get the age property: A 32 bit floating point number. (`±5.0 × 10^−324` to `±1.7 × 10^308`) - * - * The age property. + * Get the age property: The age property. * * @return the age value. */ @@ -93,9 +81,7 @@ public Double getAge() { } /** - * Set the age property: A 32 bit floating point number. (`±5.0 × 10^−324` to `±1.7 × 10^308`) - * - * The age property. + * Set the age property: The age property. * * @param age the age value to set. * @return the IsUnknownAdditionalPropertiesDiscriminatedDerived object itself. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/ModelForRecord.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/ModelForRecord.java index 29dc2079cb..e941af2827 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/ModelForRecord.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/ModelForRecord.java @@ -18,8 +18,6 @@ @Immutable public final class ModelForRecord implements JsonSerializable { /* - * A sequence of textual characters. - * * The state property */ @Generated @@ -36,9 +34,7 @@ public ModelForRecord(String state) { } /** - * Get the state property: A sequence of textual characters. - * - * The state property. + * Get the state property: The state property. * * @return the state value. */ diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/MultipleSpreadRecord.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/MultipleSpreadRecord.java index f7dfd5eec0..6830877733 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/MultipleSpreadRecord.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/MultipleSpreadRecord.java @@ -21,8 +21,6 @@ @Fluent public final class MultipleSpreadRecord implements JsonSerializable { /* - * Boolean with `true` and `false` values. - * * The name property */ @Generated @@ -47,9 +45,7 @@ public MultipleSpreadRecord(boolean flag) { } /** - * Get the flag property: Boolean with `true` and `false` values. - * - * The name property. + * Get the flag property: The name property. * * @return the flag value. */ diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/SpreadFloatRecord.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/SpreadFloatRecord.java index 7fab9eb019..ff82f51c64 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/SpreadFloatRecord.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/SpreadFloatRecord.java @@ -20,8 +20,6 @@ @Fluent public final class SpreadFloatRecord implements JsonSerializable { /* - * A 32 bit floating point number. (`±5.0 × 10^−324` to `±1.7 × 10^308`) - * * The id property */ @Generated @@ -46,9 +44,7 @@ public SpreadFloatRecord(double id) { } /** - * Get the id property: A 32 bit floating point number. (`±5.0 × 10^−324` to `±1.7 × 10^308`) - * - * The id property. + * Get the id property: The id property. * * @return the id value. */ diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/SpreadModelRecord.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/SpreadModelRecord.java index ac95213318..872ee90e72 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/SpreadModelRecord.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/SpreadModelRecord.java @@ -20,7 +20,7 @@ @Fluent public final class SpreadModelRecord implements JsonSerializable { /* - * The knownProp property. + * model for record */ @Generated private final ModelForRecord knownProp; @@ -44,7 +44,7 @@ public SpreadModelRecord(ModelForRecord knownProp) { } /** - * Get the knownProp property: The knownProp property. + * Get the knownProp property: model for record. * * @return the knownProp value. */ diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/SpreadRecordForDiscriminatedUnion.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/SpreadRecordForDiscriminatedUnion.java index cc1df238d6..75fa1e0414 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/SpreadRecordForDiscriminatedUnion.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/SpreadRecordForDiscriminatedUnion.java @@ -21,8 +21,6 @@ @Fluent public final class SpreadRecordForDiscriminatedUnion implements JsonSerializable { /* - * A sequence of textual characters. - * * The name property */ @Generated @@ -47,9 +45,7 @@ public SpreadRecordForDiscriminatedUnion(String name) { } /** - * Get the name property: A sequence of textual characters. - * - * The name property. + * Get the name property: The name property. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/SpreadRecordForNonDiscriminatedUnion.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/SpreadRecordForNonDiscriminatedUnion.java index a41d55c18a..1b63c65fc2 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/SpreadRecordForNonDiscriminatedUnion.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/SpreadRecordForNonDiscriminatedUnion.java @@ -22,8 +22,6 @@ public final class SpreadRecordForNonDiscriminatedUnion implements JsonSerializable { /* - * A sequence of textual characters. - * * The name property */ @Generated @@ -48,9 +46,7 @@ public SpreadRecordForNonDiscriminatedUnion(String name) { } /** - * Get the name property: A sequence of textual characters. - * - * The name property. + * Get the name property: The name property. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/SpreadRecordForNonDiscriminatedUnion2.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/SpreadRecordForNonDiscriminatedUnion2.java index b52d7343a1..0dc6e2193d 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/SpreadRecordForNonDiscriminatedUnion2.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/SpreadRecordForNonDiscriminatedUnion2.java @@ -22,8 +22,6 @@ public final class SpreadRecordForNonDiscriminatedUnion2 implements JsonSerializable { /* - * A sequence of textual characters. - * * The name property */ @Generated @@ -48,9 +46,7 @@ public SpreadRecordForNonDiscriminatedUnion2(String name) { } /** - * Get the name property: A sequence of textual characters. - * - * The name property. + * Get the name property: The name property. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/SpreadRecordForNonDiscriminatedUnion3.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/SpreadRecordForNonDiscriminatedUnion3.java index 1e82353c01..98dcf000bf 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/SpreadRecordForNonDiscriminatedUnion3.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/SpreadRecordForNonDiscriminatedUnion3.java @@ -22,8 +22,6 @@ public final class SpreadRecordForNonDiscriminatedUnion3 implements JsonSerializable { /* - * A sequence of textual characters. - * * The name property */ @Generated @@ -48,9 +46,7 @@ public SpreadRecordForNonDiscriminatedUnion3(String name) { } /** - * Get the name property: A sequence of textual characters. - * - * The name property. + * Get the name property: The name property. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/SpreadRecordForUnion.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/SpreadRecordForUnion.java index 6c2c3773bc..b38825a7a7 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/SpreadRecordForUnion.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/SpreadRecordForUnion.java @@ -21,8 +21,6 @@ @Fluent public final class SpreadRecordForUnion implements JsonSerializable { /* - * Boolean with `true` and `false` values. - * * The name property */ @Generated @@ -47,9 +45,7 @@ public SpreadRecordForUnion(boolean flag) { } /** - * Get the flag property: Boolean with `true` and `false` values. - * - * The name property. + * Get the flag property: The name property. * * @return the flag value. */ diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/SpreadStringRecord.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/SpreadStringRecord.java index 5e67548746..3adba86b60 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/SpreadStringRecord.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/SpreadStringRecord.java @@ -20,8 +20,6 @@ @Fluent public final class SpreadStringRecord implements JsonSerializable { /* - * A sequence of textual characters. - * * The name property */ @Generated @@ -46,9 +44,7 @@ public SpreadStringRecord(String name) { } /** - * Get the name property: A sequence of textual characters. - * - * The name property. + * Get the name property: The name property. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/type/property/nullable/BytesAsyncClient.java b/typespec-tests/src/main/java/com/type/property/nullable/BytesAsyncClient.java index 72c545c0a3..ef6d419c07 100644 --- a/typespec-tests/src/main/java/com/type/property/nullable/BytesAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/nullable/BytesAsyncClient.java @@ -101,7 +101,9 @@ public Mono> getNullWithResponse(RequestOptions requestOpti * } * * @param body Template type for testing models with nullable property. Pass in the type of the property you are - * looking for. + * looking for + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -127,7 +129,9 @@ public Mono> patchNonNullWithResponse(BinaryData body, RequestOpt * } * * @param body Template type for testing models with nullable property. Pass in the type of the property you are - * looking for. + * looking for + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -183,7 +187,9 @@ public Mono getNull() { * Put a body with all properties present. * * @param body Template type for testing models with nullable property. Pass in the type of the property you are - * looking for. + * looking for + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -207,7 +213,9 @@ public Mono patchNonNull(BytesProperty body) { * Put a body with default properties. * * @param body Template type for testing models with nullable property. Pass in the type of the property you are - * looking for. + * looking for + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/nullable/BytesClient.java b/typespec-tests/src/main/java/com/type/property/nullable/BytesClient.java index d6b925a9ee..1bcb761ca7 100644 --- a/typespec-tests/src/main/java/com/type/property/nullable/BytesClient.java +++ b/typespec-tests/src/main/java/com/type/property/nullable/BytesClient.java @@ -97,7 +97,9 @@ public Response getNullWithResponse(RequestOptions requestOptions) { * } * * @param body Template type for testing models with nullable property. Pass in the type of the property you are - * looking for. + * looking for + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -123,7 +125,9 @@ public Response patchNonNullWithResponse(BinaryData body, RequestOptions r * } * * @param body Template type for testing models with nullable property. Pass in the type of the property you are - * looking for. + * looking for + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -177,7 +181,9 @@ public BytesProperty getNull() { * Put a body with all properties present. * * @param body Template type for testing models with nullable property. Pass in the type of the property you are - * looking for. + * looking for + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -200,7 +206,9 @@ public void patchNonNull(BytesProperty body) { * Put a body with default properties. * * @param body Template type for testing models with nullable property. Pass in the type of the property you are - * looking for. + * looking for + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/nullable/CollectionsByteAsyncClient.java b/typespec-tests/src/main/java/com/type/property/nullable/CollectionsByteAsyncClient.java index 71bfec6b42..9f84320c84 100644 --- a/typespec-tests/src/main/java/com/type/property/nullable/CollectionsByteAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/nullable/CollectionsByteAsyncClient.java @@ -106,7 +106,9 @@ public Mono> getNullWithResponse(RequestOptions requestOpti * } * } * - * @param body Model with collection bytes properties. + * @param body Model with collection bytes properties + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -133,7 +135,9 @@ public Mono> patchNonNullWithResponse(BinaryData body, RequestOpt * } * } * - * @param body Model with collection bytes properties. + * @param body Model with collection bytes properties + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -188,7 +192,9 @@ public Mono getNull() { /** * Put a body with all properties present. * - * @param body Model with collection bytes properties. + * @param body Model with collection bytes properties + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -211,7 +217,9 @@ public Mono patchNonNull(CollectionsByteProperty body) { /** * Put a body with default properties. * - * @param body Model with collection bytes properties. + * @param body Model with collection bytes properties + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/nullable/CollectionsByteClient.java b/typespec-tests/src/main/java/com/type/property/nullable/CollectionsByteClient.java index b0b3ae5ab7..e0d778c135 100644 --- a/typespec-tests/src/main/java/com/type/property/nullable/CollectionsByteClient.java +++ b/typespec-tests/src/main/java/com/type/property/nullable/CollectionsByteClient.java @@ -102,7 +102,9 @@ public Response getNullWithResponse(RequestOptions requestOptions) { * } * } * - * @param body Model with collection bytes properties. + * @param body Model with collection bytes properties + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -129,7 +131,9 @@ public Response patchNonNullWithResponse(BinaryData body, RequestOptions r * } * } * - * @param body Model with collection bytes properties. + * @param body Model with collection bytes properties + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -182,7 +186,9 @@ public CollectionsByteProperty getNull() { /** * Put a body with all properties present. * - * @param body Model with collection bytes properties. + * @param body Model with collection bytes properties + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -204,7 +210,9 @@ public void patchNonNull(CollectionsByteProperty body) { /** * Put a body with default properties. * - * @param body Model with collection bytes properties. + * @param body Model with collection bytes properties + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/nullable/CollectionsModelAsyncClient.java b/typespec-tests/src/main/java/com/type/property/nullable/CollectionsModelAsyncClient.java index 06c92231b1..5ed49c6cd0 100644 --- a/typespec-tests/src/main/java/com/type/property/nullable/CollectionsModelAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/nullable/CollectionsModelAsyncClient.java @@ -112,7 +112,9 @@ public Mono> getNullWithResponse(RequestOptions requestOpti * } * } * - * @param body Model with collection models properties. + * @param body Model with collection models properties + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -141,7 +143,9 @@ public Mono> patchNonNullWithResponse(BinaryData body, RequestOpt * } * } * - * @param body Model with collection models properties. + * @param body Model with collection models properties + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -196,7 +200,9 @@ public Mono getNull() { /** * Put a body with all properties present. * - * @param body Model with collection models properties. + * @param body Model with collection models properties + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -219,7 +225,9 @@ public Mono patchNonNull(CollectionsModelProperty body) { /** * Put a body with default properties. * - * @param body Model with collection models properties. + * @param body Model with collection models properties + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/nullable/CollectionsModelClient.java b/typespec-tests/src/main/java/com/type/property/nullable/CollectionsModelClient.java index b903129eed..8e117dde57 100644 --- a/typespec-tests/src/main/java/com/type/property/nullable/CollectionsModelClient.java +++ b/typespec-tests/src/main/java/com/type/property/nullable/CollectionsModelClient.java @@ -108,7 +108,9 @@ public Response getNullWithResponse(RequestOptions requestOptions) { * } * } * - * @param body Model with collection models properties. + * @param body Model with collection models properties + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -137,7 +139,9 @@ public Response patchNonNullWithResponse(BinaryData body, RequestOptions r * } * } * - * @param body Model with collection models properties. + * @param body Model with collection models properties + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -190,7 +194,9 @@ public CollectionsModelProperty getNull() { /** * Put a body with all properties present. * - * @param body Model with collection models properties. + * @param body Model with collection models properties + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -212,7 +218,9 @@ public void patchNonNull(CollectionsModelProperty body) { /** * Put a body with default properties. * - * @param body Model with collection models properties. + * @param body Model with collection models properties + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/nullable/DatetimeOperationAsyncClient.java b/typespec-tests/src/main/java/com/type/property/nullable/DatetimeOperationAsyncClient.java index e2415f9a13..2edc34c27b 100644 --- a/typespec-tests/src/main/java/com/type/property/nullable/DatetimeOperationAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/nullable/DatetimeOperationAsyncClient.java @@ -100,7 +100,9 @@ public Mono> getNullWithResponse(RequestOptions requestOpti * } * } * - * @param body Model with a datetime property. + * @param body Model with a datetime property + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -125,7 +127,9 @@ public Mono> patchNonNullWithResponse(BinaryData body, RequestOpt * } * } * - * @param body Model with a datetime property. + * @param body Model with a datetime property + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -180,7 +184,9 @@ public Mono getNull() { /** * Put a body with all properties present. * - * @param body Model with a datetime property. + * @param body Model with a datetime property + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -203,7 +209,9 @@ public Mono patchNonNull(DatetimeProperty body) { /** * Put a body with default properties. * - * @param body Model with a datetime property. + * @param body Model with a datetime property + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/nullable/DatetimeOperationClient.java b/typespec-tests/src/main/java/com/type/property/nullable/DatetimeOperationClient.java index a67f558f06..15f2dc5b0e 100644 --- a/typespec-tests/src/main/java/com/type/property/nullable/DatetimeOperationClient.java +++ b/typespec-tests/src/main/java/com/type/property/nullable/DatetimeOperationClient.java @@ -96,7 +96,9 @@ public Response getNullWithResponse(RequestOptions requestOptions) { * } * } * - * @param body Model with a datetime property. + * @param body Model with a datetime property + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -121,7 +123,9 @@ public Response patchNonNullWithResponse(BinaryData body, RequestOptions r * } * } * - * @param body Model with a datetime property. + * @param body Model with a datetime property + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -174,7 +178,9 @@ public DatetimeProperty getNull() { /** * Put a body with all properties present. * - * @param body Model with a datetime property. + * @param body Model with a datetime property + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -196,7 +202,9 @@ public void patchNonNull(DatetimeProperty body) { /** * Put a body with default properties. * - * @param body Model with a datetime property. + * @param body Model with a datetime property + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/nullable/DurationOperationAsyncClient.java b/typespec-tests/src/main/java/com/type/property/nullable/DurationOperationAsyncClient.java index c396de9a41..1c4c3bd735 100644 --- a/typespec-tests/src/main/java/com/type/property/nullable/DurationOperationAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/nullable/DurationOperationAsyncClient.java @@ -100,7 +100,9 @@ public Mono> getNullWithResponse(RequestOptions requestOpti * } * } * - * @param body Model with a duration property. + * @param body Model with a duration property + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -125,7 +127,9 @@ public Mono> patchNonNullWithResponse(BinaryData body, RequestOpt * } * } * - * @param body Model with a duration property. + * @param body Model with a duration property + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -180,7 +184,9 @@ public Mono getNull() { /** * Put a body with all properties present. * - * @param body Model with a duration property. + * @param body Model with a duration property + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -203,7 +209,9 @@ public Mono patchNonNull(DurationProperty body) { /** * Put a body with default properties. * - * @param body Model with a duration property. + * @param body Model with a duration property + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/nullable/DurationOperationClient.java b/typespec-tests/src/main/java/com/type/property/nullable/DurationOperationClient.java index f9ca5720d3..d08953697d 100644 --- a/typespec-tests/src/main/java/com/type/property/nullable/DurationOperationClient.java +++ b/typespec-tests/src/main/java/com/type/property/nullable/DurationOperationClient.java @@ -96,7 +96,9 @@ public Response getNullWithResponse(RequestOptions requestOptions) { * } * } * - * @param body Model with a duration property. + * @param body Model with a duration property + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -121,7 +123,9 @@ public Response patchNonNullWithResponse(BinaryData body, RequestOptions r * } * } * - * @param body Model with a duration property. + * @param body Model with a duration property + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -174,7 +178,9 @@ public DurationProperty getNull() { /** * Put a body with all properties present. * - * @param body Model with a duration property. + * @param body Model with a duration property + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -196,7 +202,9 @@ public void patchNonNull(DurationProperty body) { /** * Put a body with default properties. * - * @param body Model with a duration property. + * @param body Model with a duration property + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/nullable/StringOperationAsyncClient.java b/typespec-tests/src/main/java/com/type/property/nullable/StringOperationAsyncClient.java index 171325d915..c69a7ef891 100644 --- a/typespec-tests/src/main/java/com/type/property/nullable/StringOperationAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/nullable/StringOperationAsyncClient.java @@ -101,7 +101,9 @@ public Mono> getNullWithResponse(RequestOptions requestOpti * } * * @param body Template type for testing models with nullable property. Pass in the type of the property you are - * looking for. + * looking for + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -127,7 +129,9 @@ public Mono> patchNonNullWithResponse(BinaryData body, RequestOpt * } * * @param body Template type for testing models with nullable property. Pass in the type of the property you are - * looking for. + * looking for + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -183,7 +187,9 @@ public Mono getNull() { * Put a body with all properties present. * * @param body Template type for testing models with nullable property. Pass in the type of the property you are - * looking for. + * looking for + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -207,7 +213,9 @@ public Mono patchNonNull(StringProperty body) { * Put a body with default properties. * * @param body Template type for testing models with nullable property. Pass in the type of the property you are - * looking for. + * looking for + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/nullable/StringOperationClient.java b/typespec-tests/src/main/java/com/type/property/nullable/StringOperationClient.java index 0ea24eab72..79d2b15a4d 100644 --- a/typespec-tests/src/main/java/com/type/property/nullable/StringOperationClient.java +++ b/typespec-tests/src/main/java/com/type/property/nullable/StringOperationClient.java @@ -97,7 +97,9 @@ public Response getNullWithResponse(RequestOptions requestOptions) { * } * * @param body Template type for testing models with nullable property. Pass in the type of the property you are - * looking for. + * looking for + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -123,7 +125,9 @@ public Response patchNonNullWithResponse(BinaryData body, RequestOptions r * } * * @param body Template type for testing models with nullable property. Pass in the type of the property you are - * looking for. + * looking for + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -177,7 +181,9 @@ public StringProperty getNull() { * Put a body with all properties present. * * @param body Template type for testing models with nullable property. Pass in the type of the property you are - * looking for. + * looking for + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -200,7 +206,9 @@ public void patchNonNull(StringProperty body) { * Put a body with default properties. * * @param body Template type for testing models with nullable property. Pass in the type of the property you are - * looking for. + * looking for + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/nullable/implementation/BytesImpl.java b/typespec-tests/src/main/java/com/type/property/nullable/implementation/BytesImpl.java index 574cd230b0..623d4eb884 100644 --- a/typespec-tests/src/main/java/com/type/property/nullable/implementation/BytesImpl.java +++ b/typespec-tests/src/main/java/com/type/property/nullable/implementation/BytesImpl.java @@ -244,7 +244,9 @@ public Response getNullWithResponse(RequestOptions requestOptions) { * } * * @param body Template type for testing models with nullable property. Pass in the type of the property you are - * looking for. + * looking for + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -272,7 +274,9 @@ public Mono> patchNonNullWithResponseAsync(BinaryData body, Reque * } * * @param body Template type for testing models with nullable property. Pass in the type of the property you are - * looking for. + * looking for + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -299,7 +303,9 @@ public Response patchNonNullWithResponse(BinaryData body, RequestOptions r * } * * @param body Template type for testing models with nullable property. Pass in the type of the property you are - * looking for. + * looking for + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -326,7 +332,9 @@ public Mono> patchNullWithResponseAsync(BinaryData body, RequestO * } * * @param body Template type for testing models with nullable property. Pass in the type of the property you are - * looking for. + * looking for + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/nullable/implementation/CollectionsBytesImpl.java b/typespec-tests/src/main/java/com/type/property/nullable/implementation/CollectionsBytesImpl.java index f8bfee1f76..e8b053a419 100644 --- a/typespec-tests/src/main/java/com/type/property/nullable/implementation/CollectionsBytesImpl.java +++ b/typespec-tests/src/main/java/com/type/property/nullable/implementation/CollectionsBytesImpl.java @@ -254,7 +254,9 @@ public Response getNullWithResponse(RequestOptions requestOptions) { * } * } * - * @param body Model with collection bytes properties. + * @param body Model with collection bytes properties + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -283,7 +285,9 @@ public Mono> patchNonNullWithResponseAsync(BinaryData body, Reque * } * } * - * @param body Model with collection bytes properties. + * @param body Model with collection bytes properties + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -311,7 +315,9 @@ public Response patchNonNullWithResponse(BinaryData body, RequestOptions r * } * } * - * @param body Model with collection bytes properties. + * @param body Model with collection bytes properties + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -339,7 +345,9 @@ public Mono> patchNullWithResponseAsync(BinaryData body, RequestO * } * } * - * @param body Model with collection bytes properties. + * @param body Model with collection bytes properties + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/nullable/implementation/CollectionsModelsImpl.java b/typespec-tests/src/main/java/com/type/property/nullable/implementation/CollectionsModelsImpl.java index 31a968c3ef..cbc6ec2463 100644 --- a/typespec-tests/src/main/java/com/type/property/nullable/implementation/CollectionsModelsImpl.java +++ b/typespec-tests/src/main/java/com/type/property/nullable/implementation/CollectionsModelsImpl.java @@ -264,7 +264,9 @@ public Response getNullWithResponse(RequestOptions requestOptions) { * } * } * - * @param body Model with collection models properties. + * @param body Model with collection models properties + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -295,7 +297,9 @@ public Mono> patchNonNullWithResponseAsync(BinaryData body, Reque * } * } * - * @param body Model with collection models properties. + * @param body Model with collection models properties + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -325,7 +329,9 @@ public Response patchNonNullWithResponse(BinaryData body, RequestOptions r * } * } * - * @param body Model with collection models properties. + * @param body Model with collection models properties + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -355,7 +361,9 @@ public Mono> patchNullWithResponseAsync(BinaryData body, RequestO * } * } * - * @param body Model with collection models properties. + * @param body Model with collection models properties + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/nullable/implementation/DatetimeOperationsImpl.java b/typespec-tests/src/main/java/com/type/property/nullable/implementation/DatetimeOperationsImpl.java index 7f0f0804d8..483fe89c5d 100644 --- a/typespec-tests/src/main/java/com/type/property/nullable/implementation/DatetimeOperationsImpl.java +++ b/typespec-tests/src/main/java/com/type/property/nullable/implementation/DatetimeOperationsImpl.java @@ -244,7 +244,9 @@ public Response getNullWithResponse(RequestOptions requestOptions) { * } * } * - * @param body Model with a datetime property. + * @param body Model with a datetime property + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -271,7 +273,9 @@ public Mono> patchNonNullWithResponseAsync(BinaryData body, Reque * } * } * - * @param body Model with a datetime property. + * @param body Model with a datetime property + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -297,7 +301,9 @@ public Response patchNonNullWithResponse(BinaryData body, RequestOptions r * } * } * - * @param body Model with a datetime property. + * @param body Model with a datetime property + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -323,7 +329,9 @@ public Mono> patchNullWithResponseAsync(BinaryData body, RequestO * } * } * - * @param body Model with a datetime property. + * @param body Model with a datetime property + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/nullable/implementation/DurationOperationsImpl.java b/typespec-tests/src/main/java/com/type/property/nullable/implementation/DurationOperationsImpl.java index 90d930c1a4..394a84b702 100644 --- a/typespec-tests/src/main/java/com/type/property/nullable/implementation/DurationOperationsImpl.java +++ b/typespec-tests/src/main/java/com/type/property/nullable/implementation/DurationOperationsImpl.java @@ -244,7 +244,9 @@ public Response getNullWithResponse(RequestOptions requestOptions) { * } * } * - * @param body Model with a duration property. + * @param body Model with a duration property + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -271,7 +273,9 @@ public Mono> patchNonNullWithResponseAsync(BinaryData body, Reque * } * } * - * @param body Model with a duration property. + * @param body Model with a duration property + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -297,7 +301,9 @@ public Response patchNonNullWithResponse(BinaryData body, RequestOptions r * } * } * - * @param body Model with a duration property. + * @param body Model with a duration property + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -323,7 +329,9 @@ public Mono> patchNullWithResponseAsync(BinaryData body, RequestO * } * } * - * @param body Model with a duration property. + * @param body Model with a duration property + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/nullable/implementation/StringOperationsImpl.java b/typespec-tests/src/main/java/com/type/property/nullable/implementation/StringOperationsImpl.java index 5800bdab7d..06c47bc4ff 100644 --- a/typespec-tests/src/main/java/com/type/property/nullable/implementation/StringOperationsImpl.java +++ b/typespec-tests/src/main/java/com/type/property/nullable/implementation/StringOperationsImpl.java @@ -245,7 +245,9 @@ public Response getNullWithResponse(RequestOptions requestOptions) { * } * * @param body Template type for testing models with nullable property. Pass in the type of the property you are - * looking for. + * looking for + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -273,7 +275,9 @@ public Mono> patchNonNullWithResponseAsync(BinaryData body, Reque * } * * @param body Template type for testing models with nullable property. Pass in the type of the property you are - * looking for. + * looking for + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -300,7 +304,9 @@ public Response patchNonNullWithResponse(BinaryData body, RequestOptions r * } * * @param body Template type for testing models with nullable property. Pass in the type of the property you are - * looking for. + * looking for + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -327,7 +333,9 @@ public Mono> patchNullWithResponseAsync(BinaryData body, RequestO * } * * @param body Template type for testing models with nullable property. Pass in the type of the property you are - * looking for. + * looking for + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/nullable/models/BytesProperty.java b/typespec-tests/src/main/java/com/type/property/nullable/models/BytesProperty.java index 8218295380..538f39a1bd 100644 --- a/typespec-tests/src/main/java/com/type/property/nullable/models/BytesProperty.java +++ b/typespec-tests/src/main/java/com/type/property/nullable/models/BytesProperty.java @@ -22,16 +22,12 @@ @Fluent public final class BytesProperty implements JsonSerializable { /* - * A sequence of textual characters. - * * Required property */ @Generated private String requiredProperty; /* - * Represent a byte array - * * Property */ @Generated @@ -66,9 +62,7 @@ public BytesProperty() { } /** - * Get the requiredProperty property: A sequence of textual characters. - * - * Required property. + * Get the requiredProperty property: Required property. * * @return the requiredProperty value. */ @@ -78,9 +72,7 @@ public String getRequiredProperty() { } /** - * Set the requiredProperty property: A sequence of textual characters. - * - * Required property. + * Set the requiredProperty property: Required property. *

Required when create the resource.

* * @param requiredProperty the requiredProperty value to set. @@ -94,9 +86,7 @@ public BytesProperty setRequiredProperty(String requiredProperty) { } /** - * Get the nullableProperty property: Represent a byte array - * - * Property. + * Get the nullableProperty property: Property. * * @return the nullableProperty value. */ @@ -106,9 +96,7 @@ public byte[] getNullableProperty() { } /** - * Set the nullableProperty property: Represent a byte array - * - * Property. + * Set the nullableProperty property: Property. *

Required when create the resource.

* * @param nullableProperty the nullableProperty value to set. diff --git a/typespec-tests/src/main/java/com/type/property/nullable/models/CollectionsByteProperty.java b/typespec-tests/src/main/java/com/type/property/nullable/models/CollectionsByteProperty.java index 1494caf525..f986d5d5f3 100644 --- a/typespec-tests/src/main/java/com/type/property/nullable/models/CollectionsByteProperty.java +++ b/typespec-tests/src/main/java/com/type/property/nullable/models/CollectionsByteProperty.java @@ -22,8 +22,6 @@ @Fluent public final class CollectionsByteProperty implements JsonSerializable { /* - * A sequence of textual characters. - * * Required property */ @Generated @@ -64,9 +62,7 @@ public CollectionsByteProperty() { } /** - * Get the requiredProperty property: A sequence of textual characters. - * - * Required property. + * Get the requiredProperty property: Required property. * * @return the requiredProperty value. */ @@ -76,9 +72,7 @@ public String getRequiredProperty() { } /** - * Set the requiredProperty property: A sequence of textual characters. - * - * Required property. + * Set the requiredProperty property: Required property. *

Required when create the resource.

* * @param requiredProperty the requiredProperty value to set. diff --git a/typespec-tests/src/main/java/com/type/property/nullable/models/CollectionsModelProperty.java b/typespec-tests/src/main/java/com/type/property/nullable/models/CollectionsModelProperty.java index c2e10efdd6..3621be6222 100644 --- a/typespec-tests/src/main/java/com/type/property/nullable/models/CollectionsModelProperty.java +++ b/typespec-tests/src/main/java/com/type/property/nullable/models/CollectionsModelProperty.java @@ -22,8 +22,6 @@ @Fluent public final class CollectionsModelProperty implements JsonSerializable { /* - * A sequence of textual characters. - * * Required property */ @Generated @@ -64,9 +62,7 @@ public CollectionsModelProperty() { } /** - * Get the requiredProperty property: A sequence of textual characters. - * - * Required property. + * Get the requiredProperty property: Required property. * * @return the requiredProperty value. */ @@ -76,9 +72,7 @@ public String getRequiredProperty() { } /** - * Set the requiredProperty property: A sequence of textual characters. - * - * Required property. + * Set the requiredProperty property: Required property. *

Required when create the resource.

* * @param requiredProperty the requiredProperty value to set. diff --git a/typespec-tests/src/main/java/com/type/property/nullable/models/DatetimeProperty.java b/typespec-tests/src/main/java/com/type/property/nullable/models/DatetimeProperty.java index 44fe8d8413..65b21de2d1 100644 --- a/typespec-tests/src/main/java/com/type/property/nullable/models/DatetimeProperty.java +++ b/typespec-tests/src/main/java/com/type/property/nullable/models/DatetimeProperty.java @@ -23,8 +23,6 @@ @Fluent public final class DatetimeProperty implements JsonSerializable { /* - * A sequence of textual characters. - * * Required property */ @Generated @@ -65,9 +63,7 @@ public DatetimeProperty() { } /** - * Get the requiredProperty property: A sequence of textual characters. - * - * Required property. + * Get the requiredProperty property: Required property. * * @return the requiredProperty value. */ @@ -77,9 +73,7 @@ public String getRequiredProperty() { } /** - * Set the requiredProperty property: A sequence of textual characters. - * - * Required property. + * Set the requiredProperty property: Required property. *

Required when create the resource.

* * @param requiredProperty the requiredProperty value to set. diff --git a/typespec-tests/src/main/java/com/type/property/nullable/models/DurationProperty.java b/typespec-tests/src/main/java/com/type/property/nullable/models/DurationProperty.java index 177a5a33d8..1270e9c77d 100644 --- a/typespec-tests/src/main/java/com/type/property/nullable/models/DurationProperty.java +++ b/typespec-tests/src/main/java/com/type/property/nullable/models/DurationProperty.java @@ -23,8 +23,6 @@ @Fluent public final class DurationProperty implements JsonSerializable { /* - * A sequence of textual characters. - * * Required property */ @Generated @@ -65,9 +63,7 @@ public DurationProperty() { } /** - * Get the requiredProperty property: A sequence of textual characters. - * - * Required property. + * Get the requiredProperty property: Required property. * * @return the requiredProperty value. */ @@ -77,9 +73,7 @@ public String getRequiredProperty() { } /** - * Set the requiredProperty property: A sequence of textual characters. - * - * Required property. + * Set the requiredProperty property: Required property. *

Required when create the resource.

* * @param requiredProperty the requiredProperty value to set. diff --git a/typespec-tests/src/main/java/com/type/property/nullable/models/InnerModel.java b/typespec-tests/src/main/java/com/type/property/nullable/models/InnerModel.java index ab1fc5ac98..e58ce4b13f 100644 --- a/typespec-tests/src/main/java/com/type/property/nullable/models/InnerModel.java +++ b/typespec-tests/src/main/java/com/type/property/nullable/models/InnerModel.java @@ -21,8 +21,6 @@ @Fluent public final class InnerModel implements JsonSerializable { /* - * A sequence of textual characters. - * * Inner model property */ @Generated @@ -57,9 +55,7 @@ public InnerModel() { } /** - * Get the property property: A sequence of textual characters. - * - * Inner model property. + * Get the property property: Inner model property. * * @return the property value. */ @@ -69,9 +65,7 @@ public String getProperty() { } /** - * Set the property property: A sequence of textual characters. - * - * Inner model property. + * Set the property property: Inner model property. *

Required when create the resource.

* * @param property the property value to set. diff --git a/typespec-tests/src/main/java/com/type/property/nullable/models/StringProperty.java b/typespec-tests/src/main/java/com/type/property/nullable/models/StringProperty.java index 27e9982dc2..c9bd23655f 100644 --- a/typespec-tests/src/main/java/com/type/property/nullable/models/StringProperty.java +++ b/typespec-tests/src/main/java/com/type/property/nullable/models/StringProperty.java @@ -21,16 +21,12 @@ @Fluent public final class StringProperty implements JsonSerializable { /* - * A sequence of textual characters. - * * Required property */ @Generated private String requiredProperty; /* - * A sequence of textual characters. - * * Property */ @Generated @@ -65,9 +61,7 @@ public StringProperty() { } /** - * Get the requiredProperty property: A sequence of textual characters. - * - * Required property. + * Get the requiredProperty property: Required property. * * @return the requiredProperty value. */ @@ -77,9 +71,7 @@ public String getRequiredProperty() { } /** - * Set the requiredProperty property: A sequence of textual characters. - * - * Required property. + * Set the requiredProperty property: Required property. *

Required when create the resource.

* * @param requiredProperty the requiredProperty value to set. @@ -93,9 +85,7 @@ public StringProperty setRequiredProperty(String requiredProperty) { } /** - * Get the nullableProperty property: A sequence of textual characters. - * - * Property. + * Get the nullableProperty property: Property. * * @return the nullableProperty value. */ @@ -105,9 +95,7 @@ public String getNullableProperty() { } /** - * Set the nullableProperty property: A sequence of textual characters. - * - * Property. + * Set the nullableProperty property: Property. *

Required when create the resource.

* * @param nullableProperty the nullableProperty value to set. diff --git a/typespec-tests/src/main/java/com/type/property/optional/BooleanLiteralAsyncClient.java b/typespec-tests/src/main/java/com/type/property/optional/BooleanLiteralAsyncClient.java index 8291cb583f..9ceaa590d1 100644 --- a/typespec-tests/src/main/java/com/type/property/optional/BooleanLiteralAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/optional/BooleanLiteralAsyncClient.java @@ -96,7 +96,9 @@ public Mono> getDefaultWithResponse(RequestOptions requestO * } * } * - * @param body Model with boolean literal property. + * @param body Model with boolean literal property + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -120,7 +122,9 @@ public Mono> putAllWithResponse(BinaryData body, RequestOptions r * } * } * - * @param body Model with boolean literal property. + * @param body Model with boolean literal property + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -175,7 +179,9 @@ public Mono getDefault() { /** * Put a body with all properties present. * - * @param body Model with boolean literal property. + * @param body Model with boolean literal property + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -195,7 +201,9 @@ public Mono putAll(BooleanLiteralProperty body) { /** * Put a body with default properties. * - * @param body Model with boolean literal property. + * @param body Model with boolean literal property + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/optional/BooleanLiteralClient.java b/typespec-tests/src/main/java/com/type/property/optional/BooleanLiteralClient.java index 2e18a2e9b6..6e60c9dd84 100644 --- a/typespec-tests/src/main/java/com/type/property/optional/BooleanLiteralClient.java +++ b/typespec-tests/src/main/java/com/type/property/optional/BooleanLiteralClient.java @@ -92,7 +92,9 @@ public Response getDefaultWithResponse(RequestOptions requestOptions * } * } * - * @param body Model with boolean literal property. + * @param body Model with boolean literal property + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -116,7 +118,9 @@ public Response putAllWithResponse(BinaryData body, RequestOptions request * } * } * - * @param body Model with boolean literal property. + * @param body Model with boolean literal property + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -169,7 +173,9 @@ public BooleanLiteralProperty getDefault() { /** * Put a body with all properties present. * - * @param body Model with boolean literal property. + * @param body Model with boolean literal property + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -188,7 +194,9 @@ public void putAll(BooleanLiteralProperty body) { /** * Put a body with default properties. * - * @param body Model with boolean literal property. + * @param body Model with boolean literal property + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/optional/BytesAsyncClient.java b/typespec-tests/src/main/java/com/type/property/optional/BytesAsyncClient.java index 7fd97707dc..0ccde764c9 100644 --- a/typespec-tests/src/main/java/com/type/property/optional/BytesAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/optional/BytesAsyncClient.java @@ -97,7 +97,9 @@ public Mono> getDefaultWithResponse(RequestOptions requestO * } * * @param body Template type for testing models with optional property. Pass in the type of the property you are - * looking for. + * looking for + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -122,7 +124,9 @@ public Mono> putAllWithResponse(BinaryData body, RequestOptions r * } * * @param body Template type for testing models with optional property. Pass in the type of the property you are - * looking for. + * looking for + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -178,7 +182,9 @@ public Mono getDefault() { * Put a body with all properties present. * * @param body Template type for testing models with optional property. Pass in the type of the property you are - * looking for. + * looking for + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -199,7 +205,9 @@ public Mono putAll(BytesProperty body) { * Put a body with default properties. * * @param body Template type for testing models with optional property. Pass in the type of the property you are - * looking for. + * looking for + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/optional/BytesClient.java b/typespec-tests/src/main/java/com/type/property/optional/BytesClient.java index 77631d3946..4c9ff63b37 100644 --- a/typespec-tests/src/main/java/com/type/property/optional/BytesClient.java +++ b/typespec-tests/src/main/java/com/type/property/optional/BytesClient.java @@ -93,7 +93,9 @@ public Response getDefaultWithResponse(RequestOptions requestOptions * } * * @param body Template type for testing models with optional property. Pass in the type of the property you are - * looking for. + * looking for + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -118,7 +120,9 @@ public Response putAllWithResponse(BinaryData body, RequestOptions request * } * * @param body Template type for testing models with optional property. Pass in the type of the property you are - * looking for. + * looking for + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -172,7 +176,9 @@ public BytesProperty getDefault() { * Put a body with all properties present. * * @param body Template type for testing models with optional property. Pass in the type of the property you are - * looking for. + * looking for + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -192,7 +198,9 @@ public void putAll(BytesProperty body) { * Put a body with default properties. * * @param body Template type for testing models with optional property. Pass in the type of the property you are - * looking for. + * looking for + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/optional/CollectionsByteAsyncClient.java b/typespec-tests/src/main/java/com/type/property/optional/CollectionsByteAsyncClient.java index 9cdee291e6..03e02c79d1 100644 --- a/typespec-tests/src/main/java/com/type/property/optional/CollectionsByteAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/optional/CollectionsByteAsyncClient.java @@ -102,7 +102,9 @@ public Mono> getDefaultWithResponse(RequestOptions requestO * } * } * - * @param body Model with collection bytes properties. + * @param body Model with collection bytes properties + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -128,7 +130,9 @@ public Mono> putAllWithResponse(BinaryData body, RequestOptions r * } * } * - * @param body Model with collection bytes properties. + * @param body Model with collection bytes properties + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -183,7 +187,9 @@ public Mono getDefault() { /** * Put a body with all properties present. * - * @param body Model with collection bytes properties. + * @param body Model with collection bytes properties + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -203,7 +209,9 @@ public Mono putAll(CollectionsByteProperty body) { /** * Put a body with default properties. * - * @param body Model with collection bytes properties. + * @param body Model with collection bytes properties + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/optional/CollectionsByteClient.java b/typespec-tests/src/main/java/com/type/property/optional/CollectionsByteClient.java index 851aa2002c..eb9382e9e5 100644 --- a/typespec-tests/src/main/java/com/type/property/optional/CollectionsByteClient.java +++ b/typespec-tests/src/main/java/com/type/property/optional/CollectionsByteClient.java @@ -98,7 +98,9 @@ public Response getDefaultWithResponse(RequestOptions requestOptions * } * } * - * @param body Model with collection bytes properties. + * @param body Model with collection bytes properties + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -124,7 +126,9 @@ public Response putAllWithResponse(BinaryData body, RequestOptions request * } * } * - * @param body Model with collection bytes properties. + * @param body Model with collection bytes properties + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -177,7 +181,9 @@ public CollectionsByteProperty getDefault() { /** * Put a body with all properties present. * - * @param body Model with collection bytes properties. + * @param body Model with collection bytes properties + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -196,7 +202,9 @@ public void putAll(CollectionsByteProperty body) { /** * Put a body with default properties. * - * @param body Model with collection bytes properties. + * @param body Model with collection bytes properties + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/optional/CollectionsModelAsyncClient.java b/typespec-tests/src/main/java/com/type/property/optional/CollectionsModelAsyncClient.java index 9fcc8f6325..a58dcbbbd7 100644 --- a/typespec-tests/src/main/java/com/type/property/optional/CollectionsModelAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/optional/CollectionsModelAsyncClient.java @@ -108,7 +108,9 @@ public Mono> getDefaultWithResponse(RequestOptions requestO * } * } * - * @param body Model with collection models properties. + * @param body Model with collection models properties + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -136,7 +138,9 @@ public Mono> putAllWithResponse(BinaryData body, RequestOptions r * } * } * - * @param body Model with collection models properties. + * @param body Model with collection models properties + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -191,7 +195,9 @@ public Mono getDefault() { /** * Put a body with all properties present. * - * @param body Model with collection models properties. + * @param body Model with collection models properties + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -211,7 +217,9 @@ public Mono putAll(CollectionsModelProperty body) { /** * Put a body with default properties. * - * @param body Model with collection models properties. + * @param body Model with collection models properties + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/optional/CollectionsModelClient.java b/typespec-tests/src/main/java/com/type/property/optional/CollectionsModelClient.java index 068abe9a05..15ae677e9b 100644 --- a/typespec-tests/src/main/java/com/type/property/optional/CollectionsModelClient.java +++ b/typespec-tests/src/main/java/com/type/property/optional/CollectionsModelClient.java @@ -104,7 +104,9 @@ public Response getDefaultWithResponse(RequestOptions requestOptions * } * } * - * @param body Model with collection models properties. + * @param body Model with collection models properties + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -132,7 +134,9 @@ public Response putAllWithResponse(BinaryData body, RequestOptions request * } * } * - * @param body Model with collection models properties. + * @param body Model with collection models properties + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -185,7 +189,9 @@ public CollectionsModelProperty getDefault() { /** * Put a body with all properties present. * - * @param body Model with collection models properties. + * @param body Model with collection models properties + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -204,7 +210,9 @@ public void putAll(CollectionsModelProperty body) { /** * Put a body with default properties. * - * @param body Model with collection models properties. + * @param body Model with collection models properties + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/optional/DatetimeOperationAsyncClient.java b/typespec-tests/src/main/java/com/type/property/optional/DatetimeOperationAsyncClient.java index 37145a1c07..1dbdd66f5c 100644 --- a/typespec-tests/src/main/java/com/type/property/optional/DatetimeOperationAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/optional/DatetimeOperationAsyncClient.java @@ -96,7 +96,9 @@ public Mono> getDefaultWithResponse(RequestOptions requestO * } * } * - * @param body Model with a datetime property. + * @param body Model with a datetime property + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -120,7 +122,9 @@ public Mono> putAllWithResponse(BinaryData body, RequestOptions r * } * } * - * @param body Model with a datetime property. + * @param body Model with a datetime property + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -175,7 +179,9 @@ public Mono getDefault() { /** * Put a body with all properties present. * - * @param body Model with a datetime property. + * @param body Model with a datetime property + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -195,7 +201,9 @@ public Mono putAll(DatetimeProperty body) { /** * Put a body with default properties. * - * @param body Model with a datetime property. + * @param body Model with a datetime property + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/optional/DatetimeOperationClient.java b/typespec-tests/src/main/java/com/type/property/optional/DatetimeOperationClient.java index f2dc4ea8f0..15d5efc727 100644 --- a/typespec-tests/src/main/java/com/type/property/optional/DatetimeOperationClient.java +++ b/typespec-tests/src/main/java/com/type/property/optional/DatetimeOperationClient.java @@ -92,7 +92,9 @@ public Response getDefaultWithResponse(RequestOptions requestOptions * } * } * - * @param body Model with a datetime property. + * @param body Model with a datetime property + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -116,7 +118,9 @@ public Response putAllWithResponse(BinaryData body, RequestOptions request * } * } * - * @param body Model with a datetime property. + * @param body Model with a datetime property + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -169,7 +173,9 @@ public DatetimeProperty getDefault() { /** * Put a body with all properties present. * - * @param body Model with a datetime property. + * @param body Model with a datetime property + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -188,7 +194,9 @@ public void putAll(DatetimeProperty body) { /** * Put a body with default properties. * - * @param body Model with a datetime property. + * @param body Model with a datetime property + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/optional/DurationOperationAsyncClient.java b/typespec-tests/src/main/java/com/type/property/optional/DurationOperationAsyncClient.java index 924f5f4627..dfad1389cc 100644 --- a/typespec-tests/src/main/java/com/type/property/optional/DurationOperationAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/optional/DurationOperationAsyncClient.java @@ -96,7 +96,9 @@ public Mono> getDefaultWithResponse(RequestOptions requestO * } * } * - * @param body Model with a duration property. + * @param body Model with a duration property + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -120,7 +122,9 @@ public Mono> putAllWithResponse(BinaryData body, RequestOptions r * } * } * - * @param body Model with a duration property. + * @param body Model with a duration property + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -175,7 +179,9 @@ public Mono getDefault() { /** * Put a body with all properties present. * - * @param body Model with a duration property. + * @param body Model with a duration property + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -195,7 +201,9 @@ public Mono putAll(DurationProperty body) { /** * Put a body with default properties. * - * @param body Model with a duration property. + * @param body Model with a duration property + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/optional/DurationOperationClient.java b/typespec-tests/src/main/java/com/type/property/optional/DurationOperationClient.java index 3f012b049f..bd1628e540 100644 --- a/typespec-tests/src/main/java/com/type/property/optional/DurationOperationClient.java +++ b/typespec-tests/src/main/java/com/type/property/optional/DurationOperationClient.java @@ -92,7 +92,9 @@ public Response getDefaultWithResponse(RequestOptions requestOptions * } * } * - * @param body Model with a duration property. + * @param body Model with a duration property + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -116,7 +118,9 @@ public Response putAllWithResponse(BinaryData body, RequestOptions request * } * } * - * @param body Model with a duration property. + * @param body Model with a duration property + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -169,7 +173,9 @@ public DurationProperty getDefault() { /** * Put a body with all properties present. * - * @param body Model with a duration property. + * @param body Model with a duration property + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -188,7 +194,9 @@ public void putAll(DurationProperty body) { /** * Put a body with default properties. * - * @param body Model with a duration property. + * @param body Model with a duration property + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/optional/FloatLiteralAsyncClient.java b/typespec-tests/src/main/java/com/type/property/optional/FloatLiteralAsyncClient.java index 7f750ba7ea..b7545445b6 100644 --- a/typespec-tests/src/main/java/com/type/property/optional/FloatLiteralAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/optional/FloatLiteralAsyncClient.java @@ -96,7 +96,9 @@ public Mono> getDefaultWithResponse(RequestOptions requestO * } * } * - * @param body Model with float literal property. + * @param body Model with float literal property + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -120,7 +122,9 @@ public Mono> putAllWithResponse(BinaryData body, RequestOptions r * } * } * - * @param body Model with float literal property. + * @param body Model with float literal property + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -175,7 +179,9 @@ public Mono getDefault() { /** * Put a body with all properties present. * - * @param body Model with float literal property. + * @param body Model with float literal property + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -195,7 +201,9 @@ public Mono putAll(FloatLiteralProperty body) { /** * Put a body with default properties. * - * @param body Model with float literal property. + * @param body Model with float literal property + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/optional/FloatLiteralClient.java b/typespec-tests/src/main/java/com/type/property/optional/FloatLiteralClient.java index b2f87e193d..848e0d4338 100644 --- a/typespec-tests/src/main/java/com/type/property/optional/FloatLiteralClient.java +++ b/typespec-tests/src/main/java/com/type/property/optional/FloatLiteralClient.java @@ -92,7 +92,9 @@ public Response getDefaultWithResponse(RequestOptions requestOptions * } * } * - * @param body Model with float literal property. + * @param body Model with float literal property + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -116,7 +118,9 @@ public Response putAllWithResponse(BinaryData body, RequestOptions request * } * } * - * @param body Model with float literal property. + * @param body Model with float literal property + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -169,7 +173,9 @@ public FloatLiteralProperty getDefault() { /** * Put a body with all properties present. * - * @param body Model with float literal property. + * @param body Model with float literal property + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -188,7 +194,9 @@ public void putAll(FloatLiteralProperty body) { /** * Put a body with default properties. * - * @param body Model with float literal property. + * @param body Model with float literal property + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/optional/IntLiteralAsyncClient.java b/typespec-tests/src/main/java/com/type/property/optional/IntLiteralAsyncClient.java index 73ccdd2889..9f83e3aa81 100644 --- a/typespec-tests/src/main/java/com/type/property/optional/IntLiteralAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/optional/IntLiteralAsyncClient.java @@ -96,7 +96,9 @@ public Mono> getDefaultWithResponse(RequestOptions requestO * } * } * - * @param body Model with int literal property. + * @param body Model with int literal property + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -120,7 +122,9 @@ public Mono> putAllWithResponse(BinaryData body, RequestOptions r * } * } * - * @param body Model with int literal property. + * @param body Model with int literal property + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -175,7 +179,9 @@ public Mono getDefault() { /** * Put a body with all properties present. * - * @param body Model with int literal property. + * @param body Model with int literal property + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -195,7 +201,9 @@ public Mono putAll(IntLiteralProperty body) { /** * Put a body with default properties. * - * @param body Model with int literal property. + * @param body Model with int literal property + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/optional/IntLiteralClient.java b/typespec-tests/src/main/java/com/type/property/optional/IntLiteralClient.java index 61d7d8b923..5890289cbe 100644 --- a/typespec-tests/src/main/java/com/type/property/optional/IntLiteralClient.java +++ b/typespec-tests/src/main/java/com/type/property/optional/IntLiteralClient.java @@ -92,7 +92,9 @@ public Response getDefaultWithResponse(RequestOptions requestOptions * } * } * - * @param body Model with int literal property. + * @param body Model with int literal property + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -116,7 +118,9 @@ public Response putAllWithResponse(BinaryData body, RequestOptions request * } * } * - * @param body Model with int literal property. + * @param body Model with int literal property + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -169,7 +173,9 @@ public IntLiteralProperty getDefault() { /** * Put a body with all properties present. * - * @param body Model with int literal property. + * @param body Model with int literal property + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -188,7 +194,9 @@ public void putAll(IntLiteralProperty body) { /** * Put a body with default properties. * - * @param body Model with int literal property. + * @param body Model with int literal property + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/optional/RequiredAndOptionalAsyncClient.java b/typespec-tests/src/main/java/com/type/property/optional/RequiredAndOptionalAsyncClient.java index 8d35fa8bb2..8a4670d2c8 100644 --- a/typespec-tests/src/main/java/com/type/property/optional/RequiredAndOptionalAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/optional/RequiredAndOptionalAsyncClient.java @@ -99,7 +99,9 @@ public Mono> getRequiredOnlyWithResponse(RequestOptions req * } * } * - * @param body Model with required and optional properties. + * @param body Model with required and optional properties + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -124,7 +126,9 @@ public Mono> putAllWithResponse(BinaryData body, RequestOptions r * } * } * - * @param body Model with required and optional properties. + * @param body Model with required and optional properties + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -179,7 +183,9 @@ public Mono getRequiredOnly() { /** * Put a body with all properties present. * - * @param body Model with required and optional properties. + * @param body Model with required and optional properties + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -199,7 +205,9 @@ public Mono putAll(RequiredAndOptionalProperty body) { /** * Put a body with only required properties. * - * @param body Model with required and optional properties. + * @param body Model with required and optional properties + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/optional/RequiredAndOptionalClient.java b/typespec-tests/src/main/java/com/type/property/optional/RequiredAndOptionalClient.java index b3e525209f..6d8f57b89c 100644 --- a/typespec-tests/src/main/java/com/type/property/optional/RequiredAndOptionalClient.java +++ b/typespec-tests/src/main/java/com/type/property/optional/RequiredAndOptionalClient.java @@ -95,7 +95,9 @@ public Response getRequiredOnlyWithResponse(RequestOptions requestOp * } * } * - * @param body Model with required and optional properties. + * @param body Model with required and optional properties + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -120,7 +122,9 @@ public Response putAllWithResponse(BinaryData body, RequestOptions request * } * } * - * @param body Model with required and optional properties. + * @param body Model with required and optional properties + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -173,7 +177,9 @@ public RequiredAndOptionalProperty getRequiredOnly() { /** * Put a body with all properties present. * - * @param body Model with required and optional properties. + * @param body Model with required and optional properties + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -192,7 +198,9 @@ public void putAll(RequiredAndOptionalProperty body) { /** * Put a body with only required properties. * - * @param body Model with required and optional properties. + * @param body Model with required and optional properties + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/optional/StringLiteralAsyncClient.java b/typespec-tests/src/main/java/com/type/property/optional/StringLiteralAsyncClient.java index a9fa01dda3..22e929ffce 100644 --- a/typespec-tests/src/main/java/com/type/property/optional/StringLiteralAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/optional/StringLiteralAsyncClient.java @@ -96,7 +96,9 @@ public Mono> getDefaultWithResponse(RequestOptions requestO * } * } * - * @param body Model with string literal property. + * @param body Model with string literal property + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -120,7 +122,9 @@ public Mono> putAllWithResponse(BinaryData body, RequestOptions r * } * } * - * @param body Model with string literal property. + * @param body Model with string literal property + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -175,7 +179,9 @@ public Mono getDefault() { /** * Put a body with all properties present. * - * @param body Model with string literal property. + * @param body Model with string literal property + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -195,7 +201,9 @@ public Mono putAll(StringLiteralProperty body) { /** * Put a body with default properties. * - * @param body Model with string literal property. + * @param body Model with string literal property + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/optional/StringLiteralClient.java b/typespec-tests/src/main/java/com/type/property/optional/StringLiteralClient.java index 05fea87481..2d397302be 100644 --- a/typespec-tests/src/main/java/com/type/property/optional/StringLiteralClient.java +++ b/typespec-tests/src/main/java/com/type/property/optional/StringLiteralClient.java @@ -92,7 +92,9 @@ public Response getDefaultWithResponse(RequestOptions requestOptions * } * } * - * @param body Model with string literal property. + * @param body Model with string literal property + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -116,7 +118,9 @@ public Response putAllWithResponse(BinaryData body, RequestOptions request * } * } * - * @param body Model with string literal property. + * @param body Model with string literal property + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -169,7 +173,9 @@ public StringLiteralProperty getDefault() { /** * Put a body with all properties present. * - * @param body Model with string literal property. + * @param body Model with string literal property + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -188,7 +194,9 @@ public void putAll(StringLiteralProperty body) { /** * Put a body with default properties. * - * @param body Model with string literal property. + * @param body Model with string literal property + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/optional/StringOperationAsyncClient.java b/typespec-tests/src/main/java/com/type/property/optional/StringOperationAsyncClient.java index 9d1ae0a213..1dbc494ec1 100644 --- a/typespec-tests/src/main/java/com/type/property/optional/StringOperationAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/optional/StringOperationAsyncClient.java @@ -97,7 +97,9 @@ public Mono> getDefaultWithResponse(RequestOptions requestO * } * * @param body Template type for testing models with optional property. Pass in the type of the property you are - * looking for. + * looking for + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -122,7 +124,9 @@ public Mono> putAllWithResponse(BinaryData body, RequestOptions r * } * * @param body Template type for testing models with optional property. Pass in the type of the property you are - * looking for. + * looking for + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -178,7 +182,9 @@ public Mono getDefault() { * Put a body with all properties present. * * @param body Template type for testing models with optional property. Pass in the type of the property you are - * looking for. + * looking for + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -199,7 +205,9 @@ public Mono putAll(StringProperty body) { * Put a body with default properties. * * @param body Template type for testing models with optional property. Pass in the type of the property you are - * looking for. + * looking for + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/optional/StringOperationClient.java b/typespec-tests/src/main/java/com/type/property/optional/StringOperationClient.java index 7317db1040..e867b3237e 100644 --- a/typespec-tests/src/main/java/com/type/property/optional/StringOperationClient.java +++ b/typespec-tests/src/main/java/com/type/property/optional/StringOperationClient.java @@ -93,7 +93,9 @@ public Response getDefaultWithResponse(RequestOptions requestOptions * } * * @param body Template type for testing models with optional property. Pass in the type of the property you are - * looking for. + * looking for + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -118,7 +120,9 @@ public Response putAllWithResponse(BinaryData body, RequestOptions request * } * * @param body Template type for testing models with optional property. Pass in the type of the property you are - * looking for. + * looking for + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -172,7 +176,9 @@ public StringProperty getDefault() { * Put a body with all properties present. * * @param body Template type for testing models with optional property. Pass in the type of the property you are - * looking for. + * looking for + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -192,7 +198,9 @@ public void putAll(StringProperty body) { * Put a body with default properties. * * @param body Template type for testing models with optional property. Pass in the type of the property you are - * looking for. + * looking for + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/optional/UnionFloatLiteralAsyncClient.java b/typespec-tests/src/main/java/com/type/property/optional/UnionFloatLiteralAsyncClient.java index 35e2d5b20b..2f57be0b4c 100644 --- a/typespec-tests/src/main/java/com/type/property/optional/UnionFloatLiteralAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/optional/UnionFloatLiteralAsyncClient.java @@ -96,7 +96,9 @@ public Mono> getDefaultWithResponse(RequestOptions requestO * } * } * - * @param body Model with union of float literal property. + * @param body Model with union of float literal property + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -120,7 +122,9 @@ public Mono> putAllWithResponse(BinaryData body, RequestOptions r * } * } * - * @param body Model with union of float literal property. + * @param body Model with union of float literal property + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -175,7 +179,9 @@ public Mono getDefault() { /** * Put a body with all properties present. * - * @param body Model with union of float literal property. + * @param body Model with union of float literal property + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -195,7 +201,9 @@ public Mono putAll(UnionFloatLiteralProperty body) { /** * Put a body with default properties. * - * @param body Model with union of float literal property. + * @param body Model with union of float literal property + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/optional/UnionFloatLiteralClient.java b/typespec-tests/src/main/java/com/type/property/optional/UnionFloatLiteralClient.java index 9096e212a0..69b4eff173 100644 --- a/typespec-tests/src/main/java/com/type/property/optional/UnionFloatLiteralClient.java +++ b/typespec-tests/src/main/java/com/type/property/optional/UnionFloatLiteralClient.java @@ -92,7 +92,9 @@ public Response getDefaultWithResponse(RequestOptions requestOptions * } * } * - * @param body Model with union of float literal property. + * @param body Model with union of float literal property + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -116,7 +118,9 @@ public Response putAllWithResponse(BinaryData body, RequestOptions request * } * } * - * @param body Model with union of float literal property. + * @param body Model with union of float literal property + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -169,7 +173,9 @@ public UnionFloatLiteralProperty getDefault() { /** * Put a body with all properties present. * - * @param body Model with union of float literal property. + * @param body Model with union of float literal property + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -188,7 +194,9 @@ public void putAll(UnionFloatLiteralProperty body) { /** * Put a body with default properties. * - * @param body Model with union of float literal property. + * @param body Model with union of float literal property + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/optional/UnionIntLiteralAsyncClient.java b/typespec-tests/src/main/java/com/type/property/optional/UnionIntLiteralAsyncClient.java index da845801ae..0548abff85 100644 --- a/typespec-tests/src/main/java/com/type/property/optional/UnionIntLiteralAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/optional/UnionIntLiteralAsyncClient.java @@ -96,7 +96,9 @@ public Mono> getDefaultWithResponse(RequestOptions requestO * } * } * - * @param body Model with union of int literal property. + * @param body Model with union of int literal property + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -120,7 +122,9 @@ public Mono> putAllWithResponse(BinaryData body, RequestOptions r * } * } * - * @param body Model with union of int literal property. + * @param body Model with union of int literal property + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -175,7 +179,9 @@ public Mono getDefault() { /** * Put a body with all properties present. * - * @param body Model with union of int literal property. + * @param body Model with union of int literal property + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -195,7 +201,9 @@ public Mono putAll(UnionIntLiteralProperty body) { /** * Put a body with default properties. * - * @param body Model with union of int literal property. + * @param body Model with union of int literal property + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/optional/UnionIntLiteralClient.java b/typespec-tests/src/main/java/com/type/property/optional/UnionIntLiteralClient.java index 3fa88f853a..81f2788f22 100644 --- a/typespec-tests/src/main/java/com/type/property/optional/UnionIntLiteralClient.java +++ b/typespec-tests/src/main/java/com/type/property/optional/UnionIntLiteralClient.java @@ -92,7 +92,9 @@ public Response getDefaultWithResponse(RequestOptions requestOptions * } * } * - * @param body Model with union of int literal property. + * @param body Model with union of int literal property + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -116,7 +118,9 @@ public Response putAllWithResponse(BinaryData body, RequestOptions request * } * } * - * @param body Model with union of int literal property. + * @param body Model with union of int literal property + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -169,7 +173,9 @@ public UnionIntLiteralProperty getDefault() { /** * Put a body with all properties present. * - * @param body Model with union of int literal property. + * @param body Model with union of int literal property + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -188,7 +194,9 @@ public void putAll(UnionIntLiteralProperty body) { /** * Put a body with default properties. * - * @param body Model with union of int literal property. + * @param body Model with union of int literal property + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/optional/UnionStringLiteralAsyncClient.java b/typespec-tests/src/main/java/com/type/property/optional/UnionStringLiteralAsyncClient.java index 0f2ebf9b97..d0f16a171b 100644 --- a/typespec-tests/src/main/java/com/type/property/optional/UnionStringLiteralAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/optional/UnionStringLiteralAsyncClient.java @@ -96,7 +96,9 @@ public Mono> getDefaultWithResponse(RequestOptions requestO * } * } * - * @param body Model with union of string literal property. + * @param body Model with union of string literal property + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -120,7 +122,9 @@ public Mono> putAllWithResponse(BinaryData body, RequestOptions r * } * } * - * @param body Model with union of string literal property. + * @param body Model with union of string literal property + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -175,7 +179,9 @@ public Mono getDefault() { /** * Put a body with all properties present. * - * @param body Model with union of string literal property. + * @param body Model with union of string literal property + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -195,7 +201,9 @@ public Mono putAll(UnionStringLiteralProperty body) { /** * Put a body with default properties. * - * @param body Model with union of string literal property. + * @param body Model with union of string literal property + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/optional/UnionStringLiteralClient.java b/typespec-tests/src/main/java/com/type/property/optional/UnionStringLiteralClient.java index 30c176c7b3..f23309f82c 100644 --- a/typespec-tests/src/main/java/com/type/property/optional/UnionStringLiteralClient.java +++ b/typespec-tests/src/main/java/com/type/property/optional/UnionStringLiteralClient.java @@ -92,7 +92,9 @@ public Response getDefaultWithResponse(RequestOptions requestOptions * } * } * - * @param body Model with union of string literal property. + * @param body Model with union of string literal property + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -116,7 +118,9 @@ public Response putAllWithResponse(BinaryData body, RequestOptions request * } * } * - * @param body Model with union of string literal property. + * @param body Model with union of string literal property + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -169,7 +173,9 @@ public UnionStringLiteralProperty getDefault() { /** * Put a body with all properties present. * - * @param body Model with union of string literal property. + * @param body Model with union of string literal property + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -188,7 +194,9 @@ public void putAll(UnionStringLiteralProperty body) { /** * Put a body with default properties. * - * @param body Model with union of string literal property. + * @param body Model with union of string literal property + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/optional/implementation/BooleanLiteralsImpl.java b/typespec-tests/src/main/java/com/type/property/optional/implementation/BooleanLiteralsImpl.java index a371425ede..0da708f842 100644 --- a/typespec-tests/src/main/java/com/type/property/optional/implementation/BooleanLiteralsImpl.java +++ b/typespec-tests/src/main/java/com/type/property/optional/implementation/BooleanLiteralsImpl.java @@ -235,7 +235,9 @@ public Response getDefaultWithResponse(RequestOptions requestOptions * } * } * - * @param body Model with boolean literal property. + * @param body Model with boolean literal property + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -259,7 +261,9 @@ public Mono> putAllWithResponseAsync(BinaryData body, RequestOpti * } * } * - * @param body Model with boolean literal property. + * @param body Model with boolean literal property + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -283,7 +287,9 @@ public Response putAllWithResponse(BinaryData body, RequestOptions request * } * } * - * @param body Model with boolean literal property. + * @param body Model with boolean literal property + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -307,7 +313,9 @@ public Mono> putDefaultWithResponseAsync(BinaryData body, Request * } * } * - * @param body Model with boolean literal property. + * @param body Model with boolean literal property + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/optional/implementation/BytesImpl.java b/typespec-tests/src/main/java/com/type/property/optional/implementation/BytesImpl.java index 3d3ef8f57f..caad3dd46a 100644 --- a/typespec-tests/src/main/java/com/type/property/optional/implementation/BytesImpl.java +++ b/typespec-tests/src/main/java/com/type/property/optional/implementation/BytesImpl.java @@ -235,7 +235,9 @@ public Response getDefaultWithResponse(RequestOptions requestOptions * } * * @param body Template type for testing models with optional property. Pass in the type of the property you are - * looking for. + * looking for + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -260,7 +262,9 @@ public Mono> putAllWithResponseAsync(BinaryData body, RequestOpti * } * * @param body Template type for testing models with optional property. Pass in the type of the property you are - * looking for. + * looking for + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -285,7 +289,9 @@ public Response putAllWithResponse(BinaryData body, RequestOptions request * } * * @param body Template type for testing models with optional property. Pass in the type of the property you are - * looking for. + * looking for + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -310,7 +316,9 @@ public Mono> putDefaultWithResponseAsync(BinaryData body, Request * } * * @param body Template type for testing models with optional property. Pass in the type of the property you are - * looking for. + * looking for + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/optional/implementation/CollectionsBytesImpl.java b/typespec-tests/src/main/java/com/type/property/optional/implementation/CollectionsBytesImpl.java index 5560995bf2..bb795059da 100644 --- a/typespec-tests/src/main/java/com/type/property/optional/implementation/CollectionsBytesImpl.java +++ b/typespec-tests/src/main/java/com/type/property/optional/implementation/CollectionsBytesImpl.java @@ -245,7 +245,9 @@ public Response getDefaultWithResponse(RequestOptions requestOptions * } * } * - * @param body Model with collection bytes properties. + * @param body Model with collection bytes properties + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -271,7 +273,9 @@ public Mono> putAllWithResponseAsync(BinaryData body, RequestOpti * } * } * - * @param body Model with collection bytes properties. + * @param body Model with collection bytes properties + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -297,7 +301,9 @@ public Response putAllWithResponse(BinaryData body, RequestOptions request * } * } * - * @param body Model with collection bytes properties. + * @param body Model with collection bytes properties + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -323,7 +329,9 @@ public Mono> putDefaultWithResponseAsync(BinaryData body, Request * } * } * - * @param body Model with collection bytes properties. + * @param body Model with collection bytes properties + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/optional/implementation/CollectionsModelsImpl.java b/typespec-tests/src/main/java/com/type/property/optional/implementation/CollectionsModelsImpl.java index db2a5e0c3b..4e0437536f 100644 --- a/typespec-tests/src/main/java/com/type/property/optional/implementation/CollectionsModelsImpl.java +++ b/typespec-tests/src/main/java/com/type/property/optional/implementation/CollectionsModelsImpl.java @@ -255,7 +255,9 @@ public Response getDefaultWithResponse(RequestOptions requestOptions * } * } * - * @param body Model with collection models properties. + * @param body Model with collection models properties + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -283,7 +285,9 @@ public Mono> putAllWithResponseAsync(BinaryData body, RequestOpti * } * } * - * @param body Model with collection models properties. + * @param body Model with collection models properties + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -311,7 +315,9 @@ public Response putAllWithResponse(BinaryData body, RequestOptions request * } * } * - * @param body Model with collection models properties. + * @param body Model with collection models properties + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -339,7 +345,9 @@ public Mono> putDefaultWithResponseAsync(BinaryData body, Request * } * } * - * @param body Model with collection models properties. + * @param body Model with collection models properties + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/optional/implementation/DatetimeOperationsImpl.java b/typespec-tests/src/main/java/com/type/property/optional/implementation/DatetimeOperationsImpl.java index 84e7a47a2a..1e4ca87069 100644 --- a/typespec-tests/src/main/java/com/type/property/optional/implementation/DatetimeOperationsImpl.java +++ b/typespec-tests/src/main/java/com/type/property/optional/implementation/DatetimeOperationsImpl.java @@ -235,7 +235,9 @@ public Response getDefaultWithResponse(RequestOptions requestOptions * } * } * - * @param body Model with a datetime property. + * @param body Model with a datetime property + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -259,7 +261,9 @@ public Mono> putAllWithResponseAsync(BinaryData body, RequestOpti * } * } * - * @param body Model with a datetime property. + * @param body Model with a datetime property + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -283,7 +287,9 @@ public Response putAllWithResponse(BinaryData body, RequestOptions request * } * } * - * @param body Model with a datetime property. + * @param body Model with a datetime property + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -307,7 +313,9 @@ public Mono> putDefaultWithResponseAsync(BinaryData body, Request * } * } * - * @param body Model with a datetime property. + * @param body Model with a datetime property + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/optional/implementation/DurationOperationsImpl.java b/typespec-tests/src/main/java/com/type/property/optional/implementation/DurationOperationsImpl.java index 53a6acc5cc..ea8e5f9744 100644 --- a/typespec-tests/src/main/java/com/type/property/optional/implementation/DurationOperationsImpl.java +++ b/typespec-tests/src/main/java/com/type/property/optional/implementation/DurationOperationsImpl.java @@ -235,7 +235,9 @@ public Response getDefaultWithResponse(RequestOptions requestOptions * } * } * - * @param body Model with a duration property. + * @param body Model with a duration property + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -259,7 +261,9 @@ public Mono> putAllWithResponseAsync(BinaryData body, RequestOpti * } * } * - * @param body Model with a duration property. + * @param body Model with a duration property + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -283,7 +287,9 @@ public Response putAllWithResponse(BinaryData body, RequestOptions request * } * } * - * @param body Model with a duration property. + * @param body Model with a duration property + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -307,7 +313,9 @@ public Mono> putDefaultWithResponseAsync(BinaryData body, Request * } * } * - * @param body Model with a duration property. + * @param body Model with a duration property + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/optional/implementation/FloatLiteralsImpl.java b/typespec-tests/src/main/java/com/type/property/optional/implementation/FloatLiteralsImpl.java index ebde36a60b..3278e424b2 100644 --- a/typespec-tests/src/main/java/com/type/property/optional/implementation/FloatLiteralsImpl.java +++ b/typespec-tests/src/main/java/com/type/property/optional/implementation/FloatLiteralsImpl.java @@ -235,7 +235,9 @@ public Response getDefaultWithResponse(RequestOptions requestOptions * } * } * - * @param body Model with float literal property. + * @param body Model with float literal property + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -259,7 +261,9 @@ public Mono> putAllWithResponseAsync(BinaryData body, RequestOpti * } * } * - * @param body Model with float literal property. + * @param body Model with float literal property + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -283,7 +287,9 @@ public Response putAllWithResponse(BinaryData body, RequestOptions request * } * } * - * @param body Model with float literal property. + * @param body Model with float literal property + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -307,7 +313,9 @@ public Mono> putDefaultWithResponseAsync(BinaryData body, Request * } * } * - * @param body Model with float literal property. + * @param body Model with float literal property + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/optional/implementation/IntLiteralsImpl.java b/typespec-tests/src/main/java/com/type/property/optional/implementation/IntLiteralsImpl.java index 8b7814c798..3018591332 100644 --- a/typespec-tests/src/main/java/com/type/property/optional/implementation/IntLiteralsImpl.java +++ b/typespec-tests/src/main/java/com/type/property/optional/implementation/IntLiteralsImpl.java @@ -235,7 +235,9 @@ public Response getDefaultWithResponse(RequestOptions requestOptions * } * } * - * @param body Model with int literal property. + * @param body Model with int literal property + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -259,7 +261,9 @@ public Mono> putAllWithResponseAsync(BinaryData body, RequestOpti * } * } * - * @param body Model with int literal property. + * @param body Model with int literal property + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -283,7 +287,9 @@ public Response putAllWithResponse(BinaryData body, RequestOptions request * } * } * - * @param body Model with int literal property. + * @param body Model with int literal property + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -307,7 +313,9 @@ public Mono> putDefaultWithResponseAsync(BinaryData body, Request * } * } * - * @param body Model with int literal property. + * @param body Model with int literal property + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/optional/implementation/RequiredAndOptionalsImpl.java b/typespec-tests/src/main/java/com/type/property/optional/implementation/RequiredAndOptionalsImpl.java index 82ad0bf455..b7c7e40ceb 100644 --- a/typespec-tests/src/main/java/com/type/property/optional/implementation/RequiredAndOptionalsImpl.java +++ b/typespec-tests/src/main/java/com/type/property/optional/implementation/RequiredAndOptionalsImpl.java @@ -240,7 +240,9 @@ public Response getRequiredOnlyWithResponse(RequestOptions requestOp * } * } * - * @param body Model with required and optional properties. + * @param body Model with required and optional properties + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -265,7 +267,9 @@ public Mono> putAllWithResponseAsync(BinaryData body, RequestOpti * } * } * - * @param body Model with required and optional properties. + * @param body Model with required and optional properties + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -290,7 +294,9 @@ public Response putAllWithResponse(BinaryData body, RequestOptions request * } * } * - * @param body Model with required and optional properties. + * @param body Model with required and optional properties + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -315,7 +321,9 @@ public Mono> putRequiredOnlyWithResponseAsync(BinaryData body, Re * } * } * - * @param body Model with required and optional properties. + * @param body Model with required and optional properties + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/optional/implementation/StringLiteralsImpl.java b/typespec-tests/src/main/java/com/type/property/optional/implementation/StringLiteralsImpl.java index 88dd8e81b1..370c8022d6 100644 --- a/typespec-tests/src/main/java/com/type/property/optional/implementation/StringLiteralsImpl.java +++ b/typespec-tests/src/main/java/com/type/property/optional/implementation/StringLiteralsImpl.java @@ -235,7 +235,9 @@ public Response getDefaultWithResponse(RequestOptions requestOptions * } * } * - * @param body Model with string literal property. + * @param body Model with string literal property + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -259,7 +261,9 @@ public Mono> putAllWithResponseAsync(BinaryData body, RequestOpti * } * } * - * @param body Model with string literal property. + * @param body Model with string literal property + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -283,7 +287,9 @@ public Response putAllWithResponse(BinaryData body, RequestOptions request * } * } * - * @param body Model with string literal property. + * @param body Model with string literal property + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -307,7 +313,9 @@ public Mono> putDefaultWithResponseAsync(BinaryData body, Request * } * } * - * @param body Model with string literal property. + * @param body Model with string literal property + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/optional/implementation/StringOperationsImpl.java b/typespec-tests/src/main/java/com/type/property/optional/implementation/StringOperationsImpl.java index 7ed6d7c1bf..c72d083d43 100644 --- a/typespec-tests/src/main/java/com/type/property/optional/implementation/StringOperationsImpl.java +++ b/typespec-tests/src/main/java/com/type/property/optional/implementation/StringOperationsImpl.java @@ -236,7 +236,9 @@ public Response getDefaultWithResponse(RequestOptions requestOptions * } * * @param body Template type for testing models with optional property. Pass in the type of the property you are - * looking for. + * looking for + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -261,7 +263,9 @@ public Mono> putAllWithResponseAsync(BinaryData body, RequestOpti * } * * @param body Template type for testing models with optional property. Pass in the type of the property you are - * looking for. + * looking for + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -286,7 +290,9 @@ public Response putAllWithResponse(BinaryData body, RequestOptions request * } * * @param body Template type for testing models with optional property. Pass in the type of the property you are - * looking for. + * looking for + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -311,7 +317,9 @@ public Mono> putDefaultWithResponseAsync(BinaryData body, Request * } * * @param body Template type for testing models with optional property. Pass in the type of the property you are - * looking for. + * looking for + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/optional/implementation/UnionFloatLiteralsImpl.java b/typespec-tests/src/main/java/com/type/property/optional/implementation/UnionFloatLiteralsImpl.java index 1c112bd52b..b950da7d8c 100644 --- a/typespec-tests/src/main/java/com/type/property/optional/implementation/UnionFloatLiteralsImpl.java +++ b/typespec-tests/src/main/java/com/type/property/optional/implementation/UnionFloatLiteralsImpl.java @@ -235,7 +235,9 @@ public Response getDefaultWithResponse(RequestOptions requestOptions * } * } * - * @param body Model with union of float literal property. + * @param body Model with union of float literal property + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -259,7 +261,9 @@ public Mono> putAllWithResponseAsync(BinaryData body, RequestOpti * } * } * - * @param body Model with union of float literal property. + * @param body Model with union of float literal property + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -283,7 +287,9 @@ public Response putAllWithResponse(BinaryData body, RequestOptions request * } * } * - * @param body Model with union of float literal property. + * @param body Model with union of float literal property + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -307,7 +313,9 @@ public Mono> putDefaultWithResponseAsync(BinaryData body, Request * } * } * - * @param body Model with union of float literal property. + * @param body Model with union of float literal property + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/optional/implementation/UnionIntLiteralsImpl.java b/typespec-tests/src/main/java/com/type/property/optional/implementation/UnionIntLiteralsImpl.java index 0ed2eb9ea7..635d6a8320 100644 --- a/typespec-tests/src/main/java/com/type/property/optional/implementation/UnionIntLiteralsImpl.java +++ b/typespec-tests/src/main/java/com/type/property/optional/implementation/UnionIntLiteralsImpl.java @@ -235,7 +235,9 @@ public Response getDefaultWithResponse(RequestOptions requestOptions * } * } * - * @param body Model with union of int literal property. + * @param body Model with union of int literal property + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -259,7 +261,9 @@ public Mono> putAllWithResponseAsync(BinaryData body, RequestOpti * } * } * - * @param body Model with union of int literal property. + * @param body Model with union of int literal property + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -283,7 +287,9 @@ public Response putAllWithResponse(BinaryData body, RequestOptions request * } * } * - * @param body Model with union of int literal property. + * @param body Model with union of int literal property + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -307,7 +313,9 @@ public Mono> putDefaultWithResponseAsync(BinaryData body, Request * } * } * - * @param body Model with union of int literal property. + * @param body Model with union of int literal property + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/optional/implementation/UnionStringLiteralsImpl.java b/typespec-tests/src/main/java/com/type/property/optional/implementation/UnionStringLiteralsImpl.java index 1d2910b6e7..ff2fa0a166 100644 --- a/typespec-tests/src/main/java/com/type/property/optional/implementation/UnionStringLiteralsImpl.java +++ b/typespec-tests/src/main/java/com/type/property/optional/implementation/UnionStringLiteralsImpl.java @@ -235,7 +235,9 @@ public Response getDefaultWithResponse(RequestOptions requestOptions * } * } * - * @param body Model with union of string literal property. + * @param body Model with union of string literal property + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -259,7 +261,9 @@ public Mono> putAllWithResponseAsync(BinaryData body, RequestOpti * } * } * - * @param body Model with union of string literal property. + * @param body Model with union of string literal property + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -283,7 +287,9 @@ public Response putAllWithResponse(BinaryData body, RequestOptions request * } * } * - * @param body Model with union of string literal property. + * @param body Model with union of string literal property + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -307,7 +313,9 @@ public Mono> putDefaultWithResponseAsync(BinaryData body, Request * } * } * - * @param body Model with union of string literal property. + * @param body Model with union of string literal property + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/optional/models/BytesProperty.java b/typespec-tests/src/main/java/com/type/property/optional/models/BytesProperty.java index f19a10f2e3..78a54d588a 100644 --- a/typespec-tests/src/main/java/com/type/property/optional/models/BytesProperty.java +++ b/typespec-tests/src/main/java/com/type/property/optional/models/BytesProperty.java @@ -19,8 +19,6 @@ @Fluent public final class BytesProperty implements JsonSerializable { /* - * Represent a byte array - * * Property */ @Generated @@ -34,9 +32,7 @@ public BytesProperty() { } /** - * Get the property property: Represent a byte array - * - * Property. + * Get the property property: Property. * * @return the property value. */ @@ -46,9 +42,7 @@ public byte[] getProperty() { } /** - * Set the property property: Represent a byte array - * - * Property. + * Set the property property: Property. * * @param property the property value to set. * @return the BytesProperty object itself. diff --git a/typespec-tests/src/main/java/com/type/property/optional/models/RequiredAndOptionalProperty.java b/typespec-tests/src/main/java/com/type/property/optional/models/RequiredAndOptionalProperty.java index 3ec814601d..e98c83a5b7 100644 --- a/typespec-tests/src/main/java/com/type/property/optional/models/RequiredAndOptionalProperty.java +++ b/typespec-tests/src/main/java/com/type/property/optional/models/RequiredAndOptionalProperty.java @@ -18,16 +18,12 @@ @Fluent public final class RequiredAndOptionalProperty implements JsonSerializable { /* - * A sequence of textual characters. - * * optional string property */ @Generated private String optionalProperty; /* - * A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) - * * required int property */ @Generated @@ -44,9 +40,7 @@ public RequiredAndOptionalProperty(int requiredProperty) { } /** - * Get the optionalProperty property: A sequence of textual characters. - * - * optional string property. + * Get the optionalProperty property: optional string property. * * @return the optionalProperty value. */ @@ -56,9 +50,7 @@ public String getOptionalProperty() { } /** - * Set the optionalProperty property: A sequence of textual characters. - * - * optional string property. + * Set the optionalProperty property: optional string property. * * @param optionalProperty the optionalProperty value to set. * @return the RequiredAndOptionalProperty object itself. @@ -70,9 +62,7 @@ public RequiredAndOptionalProperty setOptionalProperty(String optionalProperty) } /** - * Get the requiredProperty property: A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) - * - * required int property. + * Get the requiredProperty property: required int property. * * @return the requiredProperty value. */ diff --git a/typespec-tests/src/main/java/com/type/property/optional/models/StringProperty.java b/typespec-tests/src/main/java/com/type/property/optional/models/StringProperty.java index 519522a919..feb394f99d 100644 --- a/typespec-tests/src/main/java/com/type/property/optional/models/StringProperty.java +++ b/typespec-tests/src/main/java/com/type/property/optional/models/StringProperty.java @@ -18,8 +18,6 @@ @Fluent public final class StringProperty implements JsonSerializable { /* - * A sequence of textual characters. - * * Property */ @Generated @@ -33,9 +31,7 @@ public StringProperty() { } /** - * Get the property property: A sequence of textual characters. - * - * Property. + * Get the property property: Property. * * @return the property value. */ @@ -45,9 +41,7 @@ public String getProperty() { } /** - * Set the property property: A sequence of textual characters. - * - * Property. + * Set the property property: Property. * * @param property the property value to set. * @return the StringProperty object itself. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/BooleanLiteralAsyncClient.java b/typespec-tests/src/main/java/com/type/property/valuetypes/BooleanLiteralAsyncClient.java index b6af04d1cb..d9280def1d 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/BooleanLiteralAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/BooleanLiteralAsyncClient.java @@ -71,7 +71,9 @@ public Mono> getWithResponse(RequestOptions requestOptions) * } * } * - * @param body body. + * @param body Model with a boolean literal property. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -107,7 +109,9 @@ public Mono get() { /** * Put operation. * - * @param body body. + * @param body Model with a boolean literal property. + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/BooleanLiteralClient.java b/typespec-tests/src/main/java/com/type/property/valuetypes/BooleanLiteralClient.java index 6b0a528a29..f478aaa21c 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/BooleanLiteralClient.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/BooleanLiteralClient.java @@ -69,7 +69,9 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body body. + * @param body Model with a boolean literal property. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -104,7 +106,9 @@ public BooleanLiteralProperty get() { /** * Put operation. * - * @param body body. + * @param body Model with a boolean literal property. + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/BooleanOperationAsyncClient.java b/typespec-tests/src/main/java/com/type/property/valuetypes/BooleanOperationAsyncClient.java index ab3775f865..74301f87a7 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/BooleanOperationAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/BooleanOperationAsyncClient.java @@ -71,7 +71,9 @@ public Mono> getWithResponse(RequestOptions requestOptions) * } * } * - * @param body body. + * @param body Model with a boolean property + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -107,7 +109,9 @@ public Mono get() { /** * Put operation. * - * @param body body. + * @param body Model with a boolean property + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/BooleanOperationClient.java b/typespec-tests/src/main/java/com/type/property/valuetypes/BooleanOperationClient.java index d4e7f5dd02..0ebab84c38 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/BooleanOperationClient.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/BooleanOperationClient.java @@ -69,7 +69,9 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body body. + * @param body Model with a boolean property + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -104,7 +106,9 @@ public BooleanProperty get() { /** * Put operation. * - * @param body body. + * @param body Model with a boolean property + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/BytesAsyncClient.java b/typespec-tests/src/main/java/com/type/property/valuetypes/BytesAsyncClient.java index dd79a17a7b..ca5b94725c 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/BytesAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/BytesAsyncClient.java @@ -71,7 +71,9 @@ public Mono> getWithResponse(RequestOptions requestOptions) * } * } * - * @param body body. + * @param body Model with a bytes property + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -107,7 +109,9 @@ public Mono get() { /** * Put operation. * - * @param body body. + * @param body Model with a bytes property + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/BytesClient.java b/typespec-tests/src/main/java/com/type/property/valuetypes/BytesClient.java index d3615f65a8..aeeae2e350 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/BytesClient.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/BytesClient.java @@ -69,7 +69,9 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body body. + * @param body Model with a bytes property + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -104,7 +106,9 @@ public BytesProperty get() { /** * Put operation. * - * @param body body. + * @param body Model with a bytes property + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/CollectionsIntAsyncClient.java b/typespec-tests/src/main/java/com/type/property/valuetypes/CollectionsIntAsyncClient.java index 2828e55a22..2b6cf6aafa 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/CollectionsIntAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/CollectionsIntAsyncClient.java @@ -75,7 +75,9 @@ public Mono> getWithResponse(RequestOptions requestOptions) * } * } * - * @param body body. + * @param body Model with collection int properties + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -111,7 +113,9 @@ public Mono get() { /** * Put operation. * - * @param body body. + * @param body Model with collection int properties + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/CollectionsIntClient.java b/typespec-tests/src/main/java/com/type/property/valuetypes/CollectionsIntClient.java index 0d3b0442ec..66557820d5 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/CollectionsIntClient.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/CollectionsIntClient.java @@ -73,7 +73,9 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body body. + * @param body Model with collection int properties + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -108,7 +110,9 @@ public CollectionsIntProperty get() { /** * Put operation. * - * @param body body. + * @param body Model with collection int properties + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/CollectionsModelAsyncClient.java b/typespec-tests/src/main/java/com/type/property/valuetypes/CollectionsModelAsyncClient.java index b193658be3..20df9252a8 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/CollectionsModelAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/CollectionsModelAsyncClient.java @@ -79,7 +79,9 @@ public Mono> getWithResponse(RequestOptions requestOptions) * } * } * - * @param body body. + * @param body Model with collection model properties + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -115,7 +117,9 @@ public Mono get() { /** * Put operation. * - * @param body body. + * @param body Model with collection model properties + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/CollectionsModelClient.java b/typespec-tests/src/main/java/com/type/property/valuetypes/CollectionsModelClient.java index 5ba3a996dc..f66ac3f53e 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/CollectionsModelClient.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/CollectionsModelClient.java @@ -77,7 +77,9 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body body. + * @param body Model with collection model properties + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -112,7 +114,9 @@ public CollectionsModelProperty get() { /** * Put operation. * - * @param body body. + * @param body Model with collection model properties + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/CollectionsStringAsyncClient.java b/typespec-tests/src/main/java/com/type/property/valuetypes/CollectionsStringAsyncClient.java index c4d33d5d27..c576ea3c70 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/CollectionsStringAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/CollectionsStringAsyncClient.java @@ -75,7 +75,9 @@ public Mono> getWithResponse(RequestOptions requestOptions) * } * } * - * @param body body. + * @param body Model with collection string properties + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -111,7 +113,9 @@ public Mono get() { /** * Put operation. * - * @param body body. + * @param body Model with collection string properties + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/CollectionsStringClient.java b/typespec-tests/src/main/java/com/type/property/valuetypes/CollectionsStringClient.java index 18405b33ee..7cde15908a 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/CollectionsStringClient.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/CollectionsStringClient.java @@ -73,7 +73,9 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body body. + * @param body Model with collection string properties + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -108,7 +110,9 @@ public CollectionsStringProperty get() { /** * Put operation. * - * @param body body. + * @param body Model with collection string properties + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/DatetimeOperationAsyncClient.java b/typespec-tests/src/main/java/com/type/property/valuetypes/DatetimeOperationAsyncClient.java index 421c87f118..c8d0902ae2 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/DatetimeOperationAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/DatetimeOperationAsyncClient.java @@ -71,7 +71,9 @@ public Mono> getWithResponse(RequestOptions requestOptions) * } * } * - * @param body body. + * @param body Model with a datetime property + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -107,7 +109,9 @@ public Mono get() { /** * Put operation. * - * @param body body. + * @param body Model with a datetime property + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/DatetimeOperationClient.java b/typespec-tests/src/main/java/com/type/property/valuetypes/DatetimeOperationClient.java index 4c2c29ea5e..6cf51d138b 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/DatetimeOperationClient.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/DatetimeOperationClient.java @@ -69,7 +69,9 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body body. + * @param body Model with a datetime property + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -104,7 +106,9 @@ public DatetimeProperty get() { /** * Put operation. * - * @param body body. + * @param body Model with a datetime property + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/Decimal128AsyncClient.java b/typespec-tests/src/main/java/com/type/property/valuetypes/Decimal128AsyncClient.java index bbb25640c2..4abbcc03f8 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/Decimal128AsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/Decimal128AsyncClient.java @@ -71,7 +71,9 @@ public Mono> getWithResponse(RequestOptions requestOptions) * } * } * - * @param body body. + * @param body Model with a decimal128 property + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -107,7 +109,9 @@ public Mono get() { /** * Put operation. * - * @param body body. + * @param body Model with a decimal128 property + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/Decimal128Client.java b/typespec-tests/src/main/java/com/type/property/valuetypes/Decimal128Client.java index 6b2e7e0b79..f7457705df 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/Decimal128Client.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/Decimal128Client.java @@ -69,7 +69,9 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body body. + * @param body Model with a decimal128 property + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -104,7 +106,9 @@ public Decimal128Property get() { /** * Put operation. * - * @param body body. + * @param body Model with a decimal128 property + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/DecimalAsyncClient.java b/typespec-tests/src/main/java/com/type/property/valuetypes/DecimalAsyncClient.java index 10495283a2..4fd2fc4203 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/DecimalAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/DecimalAsyncClient.java @@ -71,7 +71,9 @@ public Mono> getWithResponse(RequestOptions requestOptions) * } * } * - * @param body body. + * @param body Model with a decimal property + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -107,7 +109,9 @@ public Mono get() { /** * Put operation. * - * @param body body. + * @param body Model with a decimal property + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/DecimalClient.java b/typespec-tests/src/main/java/com/type/property/valuetypes/DecimalClient.java index f3f2223231..9abebed456 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/DecimalClient.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/DecimalClient.java @@ -69,7 +69,9 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body body. + * @param body Model with a decimal property + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -104,7 +106,9 @@ public DecimalProperty get() { /** * Put operation. * - * @param body body. + * @param body Model with a decimal property + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/DictionaryStringAsyncClient.java b/typespec-tests/src/main/java/com/type/property/valuetypes/DictionaryStringAsyncClient.java index b776f2e001..a458080ec5 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/DictionaryStringAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/DictionaryStringAsyncClient.java @@ -75,7 +75,9 @@ public Mono> getWithResponse(RequestOptions requestOptions) * } * } * - * @param body body. + * @param body Model with dictionary string properties + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -111,7 +113,9 @@ public Mono get() { /** * Put operation. * - * @param body body. + * @param body Model with dictionary string properties + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/DictionaryStringClient.java b/typespec-tests/src/main/java/com/type/property/valuetypes/DictionaryStringClient.java index 0b7e9ca739..c2311a7e0b 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/DictionaryStringClient.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/DictionaryStringClient.java @@ -73,7 +73,9 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body body. + * @param body Model with dictionary string properties + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -108,7 +110,9 @@ public DictionaryStringProperty get() { /** * Put operation. * - * @param body body. + * @param body Model with dictionary string properties + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/DurationOperationAsyncClient.java b/typespec-tests/src/main/java/com/type/property/valuetypes/DurationOperationAsyncClient.java index bf23710596..b7c480f353 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/DurationOperationAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/DurationOperationAsyncClient.java @@ -71,7 +71,9 @@ public Mono> getWithResponse(RequestOptions requestOptions) * } * } * - * @param body body. + * @param body Model with a duration property + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -107,7 +109,9 @@ public Mono get() { /** * Put operation. * - * @param body body. + * @param body Model with a duration property + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/DurationOperationClient.java b/typespec-tests/src/main/java/com/type/property/valuetypes/DurationOperationClient.java index f8452ab301..d4e6c2a42e 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/DurationOperationClient.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/DurationOperationClient.java @@ -69,7 +69,9 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body body. + * @param body Model with a duration property + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -104,7 +106,9 @@ public DurationProperty get() { /** * Put operation. * - * @param body body. + * @param body Model with a duration property + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/EnumAsyncClient.java b/typespec-tests/src/main/java/com/type/property/valuetypes/EnumAsyncClient.java index 6c8d1e4a54..fa6069cb99 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/EnumAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/EnumAsyncClient.java @@ -71,7 +71,9 @@ public Mono> getWithResponse(RequestOptions requestOptions) * } * } * - * @param body body. + * @param body Model with enum properties + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -107,7 +109,9 @@ public Mono get() { /** * Put operation. * - * @param body body. + * @param body Model with enum properties + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/EnumClient.java b/typespec-tests/src/main/java/com/type/property/valuetypes/EnumClient.java index a80ef76bef..4d011a7f87 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/EnumClient.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/EnumClient.java @@ -69,7 +69,9 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body body. + * @param body Model with enum properties + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -104,7 +106,9 @@ public EnumProperty get() { /** * Put operation. * - * @param body body. + * @param body Model with enum properties + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/ExtensibleEnumAsyncClient.java b/typespec-tests/src/main/java/com/type/property/valuetypes/ExtensibleEnumAsyncClient.java index f7dec5b955..041ae11a9f 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/ExtensibleEnumAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/ExtensibleEnumAsyncClient.java @@ -71,7 +71,9 @@ public Mono> getWithResponse(RequestOptions requestOptions) * } * } * - * @param body body. + * @param body Model with extensible enum properties + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -107,7 +109,9 @@ public Mono get() { /** * Put operation. * - * @param body body. + * @param body Model with extensible enum properties + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/ExtensibleEnumClient.java b/typespec-tests/src/main/java/com/type/property/valuetypes/ExtensibleEnumClient.java index d5085c2041..b5c25bb73c 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/ExtensibleEnumClient.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/ExtensibleEnumClient.java @@ -69,7 +69,9 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body body. + * @param body Model with extensible enum properties + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -104,7 +106,9 @@ public ExtensibleEnumProperty get() { /** * Put operation. * - * @param body body. + * @param body Model with extensible enum properties + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/FloatLiteralAsyncClient.java b/typespec-tests/src/main/java/com/type/property/valuetypes/FloatLiteralAsyncClient.java index 8079183e5b..209f4b6927 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/FloatLiteralAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/FloatLiteralAsyncClient.java @@ -71,7 +71,9 @@ public Mono> getWithResponse(RequestOptions requestOptions) * } * } * - * @param body body. + * @param body Model with a float literal property. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -107,7 +109,9 @@ public Mono get() { /** * Put operation. * - * @param body body. + * @param body Model with a float literal property. + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/FloatLiteralClient.java b/typespec-tests/src/main/java/com/type/property/valuetypes/FloatLiteralClient.java index 2ff74c5840..f0d49b4ba2 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/FloatLiteralClient.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/FloatLiteralClient.java @@ -69,7 +69,9 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body body. + * @param body Model with a float literal property. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -104,7 +106,9 @@ public FloatLiteralProperty get() { /** * Put operation. * - * @param body body. + * @param body Model with a float literal property. + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/FloatOperationAsyncClient.java b/typespec-tests/src/main/java/com/type/property/valuetypes/FloatOperationAsyncClient.java index a2ce50e823..aa3d460ae7 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/FloatOperationAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/FloatOperationAsyncClient.java @@ -71,7 +71,9 @@ public Mono> getWithResponse(RequestOptions requestOptions) * } * } * - * @param body body. + * @param body Model with a float property + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -107,7 +109,9 @@ public Mono get() { /** * Put operation. * - * @param body body. + * @param body Model with a float property + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/FloatOperationClient.java b/typespec-tests/src/main/java/com/type/property/valuetypes/FloatOperationClient.java index fb2acae468..a26a2dbe7a 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/FloatOperationClient.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/FloatOperationClient.java @@ -69,7 +69,9 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body body. + * @param body Model with a float property + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -104,7 +106,9 @@ public FloatProperty get() { /** * Put operation. * - * @param body body. + * @param body Model with a float property + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/IntAsyncClient.java b/typespec-tests/src/main/java/com/type/property/valuetypes/IntAsyncClient.java index 58bfa7d20b..dc2ab5a1c0 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/IntAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/IntAsyncClient.java @@ -71,7 +71,9 @@ public Mono> getWithResponse(RequestOptions requestOptions) * } * } * - * @param body body. + * @param body Model with a int property + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -107,7 +109,9 @@ public Mono get() { /** * Put operation. * - * @param body body. + * @param body Model with a int property + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/IntClient.java b/typespec-tests/src/main/java/com/type/property/valuetypes/IntClient.java index 5af2cc2da9..43f9245691 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/IntClient.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/IntClient.java @@ -69,7 +69,9 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body body. + * @param body Model with a int property + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -104,7 +106,9 @@ public IntProperty get() { /** * Put operation. * - * @param body body. + * @param body Model with a int property + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/IntLiteralAsyncClient.java b/typespec-tests/src/main/java/com/type/property/valuetypes/IntLiteralAsyncClient.java index 5e47bc9325..46d2a9f6c7 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/IntLiteralAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/IntLiteralAsyncClient.java @@ -71,7 +71,9 @@ public Mono> getWithResponse(RequestOptions requestOptions) * } * } * - * @param body body. + * @param body Model with a int literal property. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -107,7 +109,9 @@ public Mono get() { /** * Put operation. * - * @param body body. + * @param body Model with a int literal property. + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/IntLiteralClient.java b/typespec-tests/src/main/java/com/type/property/valuetypes/IntLiteralClient.java index 60d67a57bf..92b770d5cd 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/IntLiteralClient.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/IntLiteralClient.java @@ -69,7 +69,9 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body body. + * @param body Model with a int literal property. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -104,7 +106,9 @@ public IntLiteralProperty get() { /** * Put operation. * - * @param body body. + * @param body Model with a int literal property. + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/ModelAsyncClient.java b/typespec-tests/src/main/java/com/type/property/valuetypes/ModelAsyncClient.java index c75310c16e..127d252b47 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/ModelAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/ModelAsyncClient.java @@ -75,7 +75,9 @@ public Mono> getWithResponse(RequestOptions requestOptions) * } * } * - * @param body body. + * @param body Model with model properties + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -111,7 +113,9 @@ public Mono get() { /** * Put operation. * - * @param body body. + * @param body Model with model properties + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/ModelClient.java b/typespec-tests/src/main/java/com/type/property/valuetypes/ModelClient.java index 9e9cba4588..1879282960 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/ModelClient.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/ModelClient.java @@ -73,7 +73,9 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body body. + * @param body Model with model properties + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -108,7 +110,9 @@ public ModelProperty get() { /** * Put operation. * - * @param body body. + * @param body Model with model properties + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/NeverAsyncClient.java b/typespec-tests/src/main/java/com/type/property/valuetypes/NeverAsyncClient.java index a2dfced927..1536c98802 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/NeverAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/NeverAsyncClient.java @@ -67,7 +67,9 @@ public Mono> getWithResponse(RequestOptions requestOptions) * { } * } * - * @param body body. + * @param body Model with a property never. (This property should not be included). + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -103,7 +105,9 @@ public Mono get() { /** * Put operation. * - * @param body body. + * @param body Model with a property never. (This property should not be included). + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/NeverClient.java b/typespec-tests/src/main/java/com/type/property/valuetypes/NeverClient.java index 27bb34204f..588b3d344c 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/NeverClient.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/NeverClient.java @@ -65,7 +65,9 @@ public Response getWithResponse(RequestOptions requestOptions) { * { } * } * - * @param body body. + * @param body Model with a property never. (This property should not be included). + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -100,7 +102,9 @@ public NeverProperty get() { /** * Put operation. * - * @param body body. + * @param body Model with a property never. (This property should not be included). + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/StringLiteralAsyncClient.java b/typespec-tests/src/main/java/com/type/property/valuetypes/StringLiteralAsyncClient.java index 89e6d85cc4..4cc9752936 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/StringLiteralAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/StringLiteralAsyncClient.java @@ -71,7 +71,9 @@ public Mono> getWithResponse(RequestOptions requestOptions) * } * } * - * @param body body. + * @param body Model with a string literal property. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -107,7 +109,9 @@ public Mono get() { /** * Put operation. * - * @param body body. + * @param body Model with a string literal property. + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/StringLiteralClient.java b/typespec-tests/src/main/java/com/type/property/valuetypes/StringLiteralClient.java index 6e7d29ce62..c671a1300f 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/StringLiteralClient.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/StringLiteralClient.java @@ -69,7 +69,9 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body body. + * @param body Model with a string literal property. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -104,7 +106,9 @@ public StringLiteralProperty get() { /** * Put operation. * - * @param body body. + * @param body Model with a string literal property. + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/StringOperationAsyncClient.java b/typespec-tests/src/main/java/com/type/property/valuetypes/StringOperationAsyncClient.java index f1208deeb2..3aabbb743b 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/StringOperationAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/StringOperationAsyncClient.java @@ -71,7 +71,9 @@ public Mono> getWithResponse(RequestOptions requestOptions) * } * } * - * @param body body. + * @param body Model with a string property + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -107,7 +109,9 @@ public Mono get() { /** * Put operation. * - * @param body body. + * @param body Model with a string property + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/StringOperationClient.java b/typespec-tests/src/main/java/com/type/property/valuetypes/StringOperationClient.java index a11dfddc54..9a6137e4f1 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/StringOperationClient.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/StringOperationClient.java @@ -69,7 +69,9 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body body. + * @param body Model with a string property + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -104,7 +106,9 @@ public StringProperty get() { /** * Put operation. * - * @param body body. + * @param body Model with a string property + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/UnionEnumValueAsyncClient.java b/typespec-tests/src/main/java/com/type/property/valuetypes/UnionEnumValueAsyncClient.java index 52d1903389..fc99d1f689 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/UnionEnumValueAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/UnionEnumValueAsyncClient.java @@ -71,7 +71,10 @@ public Mono> getWithResponse(RequestOptions requestOptions) * } * } * - * @param body body. + * @param body Template type for testing models with specific properties. Pass in the type of the property you are + * looking for + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -107,7 +110,10 @@ public Mono get() { /** * Put operation. * - * @param body body. + * @param body Template type for testing models with specific properties. Pass in the type of the property you are + * looking for + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/UnionEnumValueClient.java b/typespec-tests/src/main/java/com/type/property/valuetypes/UnionEnumValueClient.java index a1503da5fc..7e40024417 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/UnionEnumValueClient.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/UnionEnumValueClient.java @@ -69,7 +69,10 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body body. + * @param body Template type for testing models with specific properties. Pass in the type of the property you are + * looking for + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -104,7 +107,10 @@ public UnionEnumValueProperty get() { /** * Put operation. * - * @param body body. + * @param body Template type for testing models with specific properties. Pass in the type of the property you are + * looking for + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/UnionFloatLiteralAsyncClient.java b/typespec-tests/src/main/java/com/type/property/valuetypes/UnionFloatLiteralAsyncClient.java index 160e23a08e..da2d2b2be7 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/UnionFloatLiteralAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/UnionFloatLiteralAsyncClient.java @@ -71,7 +71,9 @@ public Mono> getWithResponse(RequestOptions requestOptions) * } * } * - * @param body body. + * @param body Model with a union of float literal as property. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -107,7 +109,9 @@ public Mono get() { /** * Put operation. * - * @param body body. + * @param body Model with a union of float literal as property. + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/UnionFloatLiteralClient.java b/typespec-tests/src/main/java/com/type/property/valuetypes/UnionFloatLiteralClient.java index 5ce4c1c405..a964a7837b 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/UnionFloatLiteralClient.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/UnionFloatLiteralClient.java @@ -69,7 +69,9 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body body. + * @param body Model with a union of float literal as property. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -104,7 +106,9 @@ public UnionFloatLiteralProperty get() { /** * Put operation. * - * @param body body. + * @param body Model with a union of float literal as property. + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/UnionIntLiteralAsyncClient.java b/typespec-tests/src/main/java/com/type/property/valuetypes/UnionIntLiteralAsyncClient.java index 4855784b53..0dda83da55 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/UnionIntLiteralAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/UnionIntLiteralAsyncClient.java @@ -71,7 +71,9 @@ public Mono> getWithResponse(RequestOptions requestOptions) * } * } * - * @param body body. + * @param body Model with a union of int literal as property. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -107,7 +109,9 @@ public Mono get() { /** * Put operation. * - * @param body body. + * @param body Model with a union of int literal as property. + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/UnionIntLiteralClient.java b/typespec-tests/src/main/java/com/type/property/valuetypes/UnionIntLiteralClient.java index d570a5aa5e..d03350d4a7 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/UnionIntLiteralClient.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/UnionIntLiteralClient.java @@ -69,7 +69,9 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body body. + * @param body Model with a union of int literal as property. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -104,7 +106,9 @@ public UnionIntLiteralProperty get() { /** * Put operation. * - * @param body body. + * @param body Model with a union of int literal as property. + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/UnionStringLiteralAsyncClient.java b/typespec-tests/src/main/java/com/type/property/valuetypes/UnionStringLiteralAsyncClient.java index e64dcb9244..232246144b 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/UnionStringLiteralAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/UnionStringLiteralAsyncClient.java @@ -71,7 +71,9 @@ public Mono> getWithResponse(RequestOptions requestOptions) * } * } * - * @param body body. + * @param body Model with a union of string literal as property. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -107,7 +109,9 @@ public Mono get() { /** * Put operation. * - * @param body body. + * @param body Model with a union of string literal as property. + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/UnionStringLiteralClient.java b/typespec-tests/src/main/java/com/type/property/valuetypes/UnionStringLiteralClient.java index 933d39b0bd..8e76c1e625 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/UnionStringLiteralClient.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/UnionStringLiteralClient.java @@ -69,7 +69,9 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body body. + * @param body Model with a union of string literal as property. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -104,7 +106,9 @@ public UnionStringLiteralProperty get() { /** * Put operation. * - * @param body body. + * @param body Model with a union of string literal as property. + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/UnknownArrayAsyncClient.java b/typespec-tests/src/main/java/com/type/property/valuetypes/UnknownArrayAsyncClient.java index 770b3d5ee5..abc119d7ea 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/UnknownArrayAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/UnknownArrayAsyncClient.java @@ -71,7 +71,9 @@ public Mono> getWithResponse(RequestOptions requestOptions) * } * } * - * @param body body. + * @param body Model with a property unknown, and the data is an array. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -107,7 +109,9 @@ public Mono get() { /** * Put operation. * - * @param body body. + * @param body Model with a property unknown, and the data is an array. + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/UnknownArrayClient.java b/typespec-tests/src/main/java/com/type/property/valuetypes/UnknownArrayClient.java index a085998120..2c20edd65c 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/UnknownArrayClient.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/UnknownArrayClient.java @@ -69,7 +69,9 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body body. + * @param body Model with a property unknown, and the data is an array. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -104,7 +106,9 @@ public UnknownArrayProperty get() { /** * Put operation. * - * @param body body. + * @param body Model with a property unknown, and the data is an array. + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/UnknownDictAsyncClient.java b/typespec-tests/src/main/java/com/type/property/valuetypes/UnknownDictAsyncClient.java index 9460b676df..209299aa02 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/UnknownDictAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/UnknownDictAsyncClient.java @@ -71,7 +71,9 @@ public Mono> getWithResponse(RequestOptions requestOptions) * } * } * - * @param body body. + * @param body Model with a property unknown, and the data is a dictionnary. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -107,7 +109,9 @@ public Mono get() { /** * Put operation. * - * @param body body. + * @param body Model with a property unknown, and the data is a dictionnary. + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/UnknownDictClient.java b/typespec-tests/src/main/java/com/type/property/valuetypes/UnknownDictClient.java index 754d29a11e..3233397a3b 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/UnknownDictClient.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/UnknownDictClient.java @@ -69,7 +69,9 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body body. + * @param body Model with a property unknown, and the data is a dictionnary. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -104,7 +106,9 @@ public UnknownDictProperty get() { /** * Put operation. * - * @param body body. + * @param body Model with a property unknown, and the data is a dictionnary. + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/UnknownIntAsyncClient.java b/typespec-tests/src/main/java/com/type/property/valuetypes/UnknownIntAsyncClient.java index 6dab5dae36..ecc7e77dab 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/UnknownIntAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/UnknownIntAsyncClient.java @@ -71,7 +71,9 @@ public Mono> getWithResponse(RequestOptions requestOptions) * } * } * - * @param body body. + * @param body Model with a property unknown, and the data is a int32. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -107,7 +109,9 @@ public Mono get() { /** * Put operation. * - * @param body body. + * @param body Model with a property unknown, and the data is a int32. + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/UnknownIntClient.java b/typespec-tests/src/main/java/com/type/property/valuetypes/UnknownIntClient.java index 1e8e38cbd0..7a42d9714f 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/UnknownIntClient.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/UnknownIntClient.java @@ -69,7 +69,9 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body body. + * @param body Model with a property unknown, and the data is a int32. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -104,7 +106,9 @@ public UnknownIntProperty get() { /** * Put operation. * - * @param body body. + * @param body Model with a property unknown, and the data is a int32. + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/UnknownStringAsyncClient.java b/typespec-tests/src/main/java/com/type/property/valuetypes/UnknownStringAsyncClient.java index e8a87af736..12b4deb74a 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/UnknownStringAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/UnknownStringAsyncClient.java @@ -71,7 +71,9 @@ public Mono> getWithResponse(RequestOptions requestOptions) * } * } * - * @param body body. + * @param body Model with a property unknown, and the data is a string. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -107,7 +109,9 @@ public Mono get() { /** * Put operation. * - * @param body body. + * @param body Model with a property unknown, and the data is a string. + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/UnknownStringClient.java b/typespec-tests/src/main/java/com/type/property/valuetypes/UnknownStringClient.java index f4f9faf52f..f808a4ac83 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/UnknownStringClient.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/UnknownStringClient.java @@ -69,7 +69,9 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body body. + * @param body Model with a property unknown, and the data is a string. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -104,7 +106,9 @@ public UnknownStringProperty get() { /** * Put operation. * - * @param body body. + * @param body Model with a property unknown, and the data is a string. + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/BooleanLiteralsImpl.java b/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/BooleanLiteralsImpl.java index f044a6712f..4205702ba5 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/BooleanLiteralsImpl.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/BooleanLiteralsImpl.java @@ -151,7 +151,9 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body body. + * @param body Model with a boolean literal property. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -175,7 +177,9 @@ public Mono> putWithResponseAsync(BinaryData body, RequestOptions * } * } * - * @param body body. + * @param body Model with a boolean literal property. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/BooleanOperationsImpl.java b/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/BooleanOperationsImpl.java index 7bc544aa60..012996f6fe 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/BooleanOperationsImpl.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/BooleanOperationsImpl.java @@ -151,7 +151,9 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body body. + * @param body Model with a boolean property + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -175,7 +177,9 @@ public Mono> putWithResponseAsync(BinaryData body, RequestOptions * } * } * - * @param body body. + * @param body Model with a boolean property + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/BytesImpl.java b/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/BytesImpl.java index 97617c9762..74bd9f0d79 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/BytesImpl.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/BytesImpl.java @@ -150,7 +150,9 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body body. + * @param body Model with a bytes property + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -174,7 +176,9 @@ public Mono> putWithResponseAsync(BinaryData body, RequestOptions * } * } * - * @param body body. + * @param body Model with a bytes property + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/CollectionsIntsImpl.java b/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/CollectionsIntsImpl.java index 8b66c952ac..341ff3dd73 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/CollectionsIntsImpl.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/CollectionsIntsImpl.java @@ -157,7 +157,9 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body body. + * @param body Model with collection int properties + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -183,7 +185,9 @@ public Mono> putWithResponseAsync(BinaryData body, RequestOptions * } * } * - * @param body body. + * @param body Model with collection int properties + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/CollectionsModelsImpl.java b/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/CollectionsModelsImpl.java index a37cc3bed6..b39435231d 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/CollectionsModelsImpl.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/CollectionsModelsImpl.java @@ -163,7 +163,9 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body body. + * @param body Model with collection model properties + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -191,7 +193,9 @@ public Mono> putWithResponseAsync(BinaryData body, RequestOptions * } * } * - * @param body body. + * @param body Model with collection model properties + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/CollectionsStringsImpl.java b/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/CollectionsStringsImpl.java index a762c83dd6..4772106a3c 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/CollectionsStringsImpl.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/CollectionsStringsImpl.java @@ -157,7 +157,9 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body body. + * @param body Model with collection string properties + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -183,7 +185,9 @@ public Mono> putWithResponseAsync(BinaryData body, RequestOptions * } * } * - * @param body body. + * @param body Model with collection string properties + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/DatetimeOperationsImpl.java b/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/DatetimeOperationsImpl.java index d8e9cd6481..e695eb606f 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/DatetimeOperationsImpl.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/DatetimeOperationsImpl.java @@ -151,7 +151,9 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body body. + * @param body Model with a datetime property + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -175,7 +177,9 @@ public Mono> putWithResponseAsync(BinaryData body, RequestOptions * } * } * - * @param body body. + * @param body Model with a datetime property + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/Decimal128sImpl.java b/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/Decimal128sImpl.java index 2e5bb88c9d..62fab5e6c1 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/Decimal128sImpl.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/Decimal128sImpl.java @@ -151,7 +151,9 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body body. + * @param body Model with a decimal128 property + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -175,7 +177,9 @@ public Mono> putWithResponseAsync(BinaryData body, RequestOptions * } * } * - * @param body body. + * @param body Model with a decimal128 property + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/DecimalsImpl.java b/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/DecimalsImpl.java index ed97eb861f..6c6ebb1497 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/DecimalsImpl.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/DecimalsImpl.java @@ -150,7 +150,9 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body body. + * @param body Model with a decimal property + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -174,7 +176,9 @@ public Mono> putWithResponseAsync(BinaryData body, RequestOptions * } * } * - * @param body body. + * @param body Model with a decimal property + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/DictionaryStringsImpl.java b/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/DictionaryStringsImpl.java index ba0e9667f8..21642b1ea8 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/DictionaryStringsImpl.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/DictionaryStringsImpl.java @@ -157,7 +157,9 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body body. + * @param body Model with dictionary string properties + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -183,7 +185,9 @@ public Mono> putWithResponseAsync(BinaryData body, RequestOptions * } * } * - * @param body body. + * @param body Model with dictionary string properties + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/DurationOperationsImpl.java b/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/DurationOperationsImpl.java index 1103d13826..630c0fa7c2 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/DurationOperationsImpl.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/DurationOperationsImpl.java @@ -151,7 +151,9 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body body. + * @param body Model with a duration property + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -175,7 +177,9 @@ public Mono> putWithResponseAsync(BinaryData body, RequestOptions * } * } * - * @param body body. + * @param body Model with a duration property + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/EnumsImpl.java b/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/EnumsImpl.java index d46ce8bb8c..729d1327d1 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/EnumsImpl.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/EnumsImpl.java @@ -150,7 +150,9 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body body. + * @param body Model with enum properties + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -174,7 +176,9 @@ public Mono> putWithResponseAsync(BinaryData body, RequestOptions * } * } * - * @param body body. + * @param body Model with enum properties + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/ExtensibleEnumsImpl.java b/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/ExtensibleEnumsImpl.java index 9c571604fa..a390c0af56 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/ExtensibleEnumsImpl.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/ExtensibleEnumsImpl.java @@ -151,7 +151,9 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body body. + * @param body Model with extensible enum properties + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -175,7 +177,9 @@ public Mono> putWithResponseAsync(BinaryData body, RequestOptions * } * } * - * @param body body. + * @param body Model with extensible enum properties + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/FloatLiteralsImpl.java b/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/FloatLiteralsImpl.java index f7774bca94..238c6c28b5 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/FloatLiteralsImpl.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/FloatLiteralsImpl.java @@ -151,7 +151,9 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body body. + * @param body Model with a float literal property. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -175,7 +177,9 @@ public Mono> putWithResponseAsync(BinaryData body, RequestOptions * } * } * - * @param body body. + * @param body Model with a float literal property. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/FloatOperationsImpl.java b/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/FloatOperationsImpl.java index d0706e6297..a21c8c1869 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/FloatOperationsImpl.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/FloatOperationsImpl.java @@ -151,7 +151,9 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body body. + * @param body Model with a float property + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -175,7 +177,9 @@ public Mono> putWithResponseAsync(BinaryData body, RequestOptions * } * } * - * @param body body. + * @param body Model with a float property + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/IntLiteralsImpl.java b/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/IntLiteralsImpl.java index 0b47e87d0f..824382a142 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/IntLiteralsImpl.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/IntLiteralsImpl.java @@ -151,7 +151,9 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body body. + * @param body Model with a int literal property. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -175,7 +177,9 @@ public Mono> putWithResponseAsync(BinaryData body, RequestOptions * } * } * - * @param body body. + * @param body Model with a int literal property. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/IntsImpl.java b/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/IntsImpl.java index b74d365f10..c1ebd289ec 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/IntsImpl.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/IntsImpl.java @@ -150,7 +150,9 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body body. + * @param body Model with a int property + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -174,7 +176,9 @@ public Mono> putWithResponseAsync(BinaryData body, RequestOptions * } * } * - * @param body body. + * @param body Model with a int property + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/ModelsImpl.java b/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/ModelsImpl.java index 475388e54f..ccc030d804 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/ModelsImpl.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/ModelsImpl.java @@ -156,7 +156,9 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body body. + * @param body Model with model properties + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -182,7 +184,9 @@ public Mono> putWithResponseAsync(BinaryData body, RequestOptions * } * } * - * @param body body. + * @param body Model with model properties + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/NeversImpl.java b/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/NeversImpl.java index 0ee5812b2a..1b3eb19964 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/NeversImpl.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/NeversImpl.java @@ -144,7 +144,9 @@ public Response getWithResponse(RequestOptions requestOptions) { * { } * } * - * @param body body. + * @param body Model with a property never. (This property should not be included). + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -166,7 +168,9 @@ public Mono> putWithResponseAsync(BinaryData body, RequestOptions * { } * } * - * @param body body. + * @param body Model with a property never. (This property should not be included). + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/StringLiteralsImpl.java b/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/StringLiteralsImpl.java index 925cfbc34b..6ca060d89c 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/StringLiteralsImpl.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/StringLiteralsImpl.java @@ -151,7 +151,9 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body body. + * @param body Model with a string literal property. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -175,7 +177,9 @@ public Mono> putWithResponseAsync(BinaryData body, RequestOptions * } * } * - * @param body body. + * @param body Model with a string literal property. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/StringOperationsImpl.java b/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/StringOperationsImpl.java index 0a14991592..753b59b5c9 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/StringOperationsImpl.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/StringOperationsImpl.java @@ -151,7 +151,9 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body body. + * @param body Model with a string property + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -175,7 +177,9 @@ public Mono> putWithResponseAsync(BinaryData body, RequestOptions * } * } * - * @param body body. + * @param body Model with a string property + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/UnionEnumValuesImpl.java b/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/UnionEnumValuesImpl.java index d134e37823..2d625f0fe6 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/UnionEnumValuesImpl.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/UnionEnumValuesImpl.java @@ -151,7 +151,10 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body body. + * @param body Template type for testing models with specific properties. Pass in the type of the property you are + * looking for + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -175,7 +178,10 @@ public Mono> putWithResponseAsync(BinaryData body, RequestOptions * } * } * - * @param body body. + * @param body Template type for testing models with specific properties. Pass in the type of the property you are + * looking for + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/UnionFloatLiteralsImpl.java b/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/UnionFloatLiteralsImpl.java index 2ef0c1534b..dcaccdc67b 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/UnionFloatLiteralsImpl.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/UnionFloatLiteralsImpl.java @@ -151,7 +151,9 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body body. + * @param body Model with a union of float literal as property. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -175,7 +177,9 @@ public Mono> putWithResponseAsync(BinaryData body, RequestOptions * } * } * - * @param body body. + * @param body Model with a union of float literal as property. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/UnionIntLiteralsImpl.java b/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/UnionIntLiteralsImpl.java index d624ac99a0..5f1452ee8e 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/UnionIntLiteralsImpl.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/UnionIntLiteralsImpl.java @@ -151,7 +151,9 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body body. + * @param body Model with a union of int literal as property. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -175,7 +177,9 @@ public Mono> putWithResponseAsync(BinaryData body, RequestOptions * } * } * - * @param body body. + * @param body Model with a union of int literal as property. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/UnionStringLiteralsImpl.java b/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/UnionStringLiteralsImpl.java index e30da4628a..c824df0886 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/UnionStringLiteralsImpl.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/UnionStringLiteralsImpl.java @@ -151,7 +151,9 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body body. + * @param body Model with a union of string literal as property. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -175,7 +177,9 @@ public Mono> putWithResponseAsync(BinaryData body, RequestOptions * } * } * - * @param body body. + * @param body Model with a union of string literal as property. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/UnknownArraysImpl.java b/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/UnknownArraysImpl.java index 62b57490e1..92fcd9e5ea 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/UnknownArraysImpl.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/UnknownArraysImpl.java @@ -151,7 +151,9 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body body. + * @param body Model with a property unknown, and the data is an array. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -175,7 +177,9 @@ public Mono> putWithResponseAsync(BinaryData body, RequestOptions * } * } * - * @param body body. + * @param body Model with a property unknown, and the data is an array. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/UnknownDictsImpl.java b/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/UnknownDictsImpl.java index c13ddac04c..81640e4f3b 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/UnknownDictsImpl.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/UnknownDictsImpl.java @@ -151,7 +151,9 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body body. + * @param body Model with a property unknown, and the data is a dictionnary. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -175,7 +177,9 @@ public Mono> putWithResponseAsync(BinaryData body, RequestOptions * } * } * - * @param body body. + * @param body Model with a property unknown, and the data is a dictionnary. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/UnknownIntsImpl.java b/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/UnknownIntsImpl.java index 18af3c5879..a230c6dd2c 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/UnknownIntsImpl.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/UnknownIntsImpl.java @@ -151,7 +151,9 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body body. + * @param body Model with a property unknown, and the data is a int32. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -175,7 +177,9 @@ public Mono> putWithResponseAsync(BinaryData body, RequestOptions * } * } * - * @param body body. + * @param body Model with a property unknown, and the data is a int32. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/UnknownStringsImpl.java b/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/UnknownStringsImpl.java index cc8277e2f2..1d1eba64c9 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/UnknownStringsImpl.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/UnknownStringsImpl.java @@ -151,7 +151,9 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body body. + * @param body Model with a property unknown, and the data is a string. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -175,7 +177,9 @@ public Mono> putWithResponseAsync(BinaryData body, RequestOptions * } * } * - * @param body body. + * @param body Model with a property unknown, and the data is a string. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/models/BooleanProperty.java b/typespec-tests/src/main/java/com/type/property/valuetypes/models/BooleanProperty.java index a5502b9ab1..2374f27e71 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/models/BooleanProperty.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/models/BooleanProperty.java @@ -18,8 +18,6 @@ @Immutable public final class BooleanProperty implements JsonSerializable { /* - * Boolean with `true` and `false` values. - * * Property */ @Generated @@ -36,9 +34,7 @@ public BooleanProperty(boolean property) { } /** - * Get the property property: Boolean with `true` and `false` values. - * - * Property. + * Get the property property: Property. * * @return the property value. */ diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/models/BytesProperty.java b/typespec-tests/src/main/java/com/type/property/valuetypes/models/BytesProperty.java index bfb6606e20..26045c4000 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/models/BytesProperty.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/models/BytesProperty.java @@ -19,8 +19,6 @@ @Immutable public final class BytesProperty implements JsonSerializable { /* - * Represent a byte array - * * Property */ @Generated @@ -37,9 +35,7 @@ public BytesProperty(byte[] property) { } /** - * Get the property property: Represent a byte array - * - * Property. + * Get the property property: Property. * * @return the property value. */ diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/models/Decimal128Property.java b/typespec-tests/src/main/java/com/type/property/valuetypes/models/Decimal128Property.java index 13a5e6288c..936cdff703 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/models/Decimal128Property.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/models/Decimal128Property.java @@ -19,8 +19,6 @@ @Immutable public final class Decimal128Property implements JsonSerializable { /* - * A 128-bit decimal number. - * * Property */ @Generated @@ -37,9 +35,7 @@ public Decimal128Property(BigDecimal property) { } /** - * Get the property property: A 128-bit decimal number. - * - * Property. + * Get the property property: Property. * * @return the property value. */ diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/models/DecimalProperty.java b/typespec-tests/src/main/java/com/type/property/valuetypes/models/DecimalProperty.java index bafec877e3..209dd3f3b7 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/models/DecimalProperty.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/models/DecimalProperty.java @@ -19,9 +19,6 @@ @Immutable public final class DecimalProperty implements JsonSerializable { /* - * A decimal number with any length and precision. This represent any `decimal` value possible. - * It is commonly represented as `BigDecimal` in some languages. - * * Property */ @Generated @@ -38,11 +35,7 @@ public DecimalProperty(BigDecimal property) { } /** - * Get the property property: A decimal number with any length and precision. This represent any `decimal` value - * possible. - * It is commonly represented as `BigDecimal` in some languages. - * - * Property. + * Get the property property: Property. * * @return the property value. */ diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/models/FloatProperty.java b/typespec-tests/src/main/java/com/type/property/valuetypes/models/FloatProperty.java index 8acd2d7a94..55b9bbb4c0 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/models/FloatProperty.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/models/FloatProperty.java @@ -18,8 +18,6 @@ @Immutable public final class FloatProperty implements JsonSerializable { /* - * A 32 bit floating point number. (`±5.0 × 10^−324` to `±1.7 × 10^308`) - * * Property */ @Generated @@ -36,9 +34,7 @@ public FloatProperty(double property) { } /** - * Get the property property: A 32 bit floating point number. (`±5.0 × 10^−324` to `±1.7 × 10^308`) - * - * Property. + * Get the property property: Property. * * @return the property value. */ diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/models/InnerModel.java b/typespec-tests/src/main/java/com/type/property/valuetypes/models/InnerModel.java index f11225db65..3a4599a9bb 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/models/InnerModel.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/models/InnerModel.java @@ -18,8 +18,6 @@ @Immutable public final class InnerModel implements JsonSerializable { /* - * A sequence of textual characters. - * * Required string property */ @Generated @@ -36,9 +34,7 @@ public InnerModel(String property) { } /** - * Get the property property: A sequence of textual characters. - * - * Required string property. + * Get the property property: Required string property. * * @return the property value. */ diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/models/IntProperty.java b/typespec-tests/src/main/java/com/type/property/valuetypes/models/IntProperty.java index dbe6482f8f..b71dd829b2 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/models/IntProperty.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/models/IntProperty.java @@ -18,8 +18,6 @@ @Immutable public final class IntProperty implements JsonSerializable { /* - * A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) - * * Property */ @Generated @@ -36,9 +34,7 @@ public IntProperty(int property) { } /** - * Get the property property: A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) - * - * Property. + * Get the property property: Property. * * @return the property value. */ diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/models/StringProperty.java b/typespec-tests/src/main/java/com/type/property/valuetypes/models/StringProperty.java index 99f130e89d..e2adb7075f 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/models/StringProperty.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/models/StringProperty.java @@ -18,8 +18,6 @@ @Immutable public final class StringProperty implements JsonSerializable { /* - * A sequence of textual characters. - * * Property */ @Generated @@ -36,9 +34,7 @@ public StringProperty(String property) { } /** - * Get the property property: A sequence of textual characters. - * - * Property. + * Get the property property: Property. * * @return the property value. */ diff --git a/typespec-tests/src/main/java/com/type/scalar/BooleanOperationAsyncClient.java b/typespec-tests/src/main/java/com/type/scalar/BooleanOperationAsyncClient.java index d5d00b8319..d63ef2ef13 100644 --- a/typespec-tests/src/main/java/com/type/scalar/BooleanOperationAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/scalar/BooleanOperationAsyncClient.java @@ -66,7 +66,9 @@ public Mono> getWithResponse(RequestOptions requestOptions) * boolean * } * - * @param body _. + * @param body Boolean with `true` and `false` values. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -102,7 +104,9 @@ public Mono get() { /** * put boolean value. * - * @param body _. + * @param body Boolean with `true` and `false` values. + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/scalar/BooleanOperationClient.java b/typespec-tests/src/main/java/com/type/scalar/BooleanOperationClient.java index b3765fc21e..2e01a3e6d3 100644 --- a/typespec-tests/src/main/java/com/type/scalar/BooleanOperationClient.java +++ b/typespec-tests/src/main/java/com/type/scalar/BooleanOperationClient.java @@ -64,7 +64,9 @@ public Response getWithResponse(RequestOptions requestOptions) { * boolean * } * - * @param body _. + * @param body Boolean with `true` and `false` values. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -99,7 +101,9 @@ public boolean get() { /** * put boolean value. * - * @param body _. + * @param body Boolean with `true` and `false` values. + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/scalar/Decimal128TypeAsyncClient.java b/typespec-tests/src/main/java/com/type/scalar/Decimal128TypeAsyncClient.java index 1afee86e35..fe16100e07 100644 --- a/typespec-tests/src/main/java/com/type/scalar/Decimal128TypeAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/scalar/Decimal128TypeAsyncClient.java @@ -67,7 +67,9 @@ public Mono> responseBodyWithResponse(RequestOptions reques * BigDecimal * } * - * @param body The body parameter. + * @param body A 128-bit decimal number. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -84,7 +86,9 @@ public Mono> requestBodyWithResponse(BinaryData body, RequestOpti /** * The requestParameter operation. * - * @param value The value parameter. + * @param value A 128-bit decimal number. + * + * The value parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -120,7 +124,9 @@ public Mono responseBody() { /** * The requestBody operation. * - * @param body The body parameter. + * @param body A 128-bit decimal number. + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -140,7 +146,9 @@ public Mono requestBody(BigDecimal body) { /** * The requestParameter operation. * - * @param value The value parameter. + * @param value A 128-bit decimal number. + * + * The value parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/scalar/Decimal128TypeClient.java b/typespec-tests/src/main/java/com/type/scalar/Decimal128TypeClient.java index 24ab91b98e..d1a7acc5ef 100644 --- a/typespec-tests/src/main/java/com/type/scalar/Decimal128TypeClient.java +++ b/typespec-tests/src/main/java/com/type/scalar/Decimal128TypeClient.java @@ -65,7 +65,9 @@ public Response responseBodyWithResponse(RequestOptions requestOptio * BigDecimal * } * - * @param body The body parameter. + * @param body A 128-bit decimal number. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -82,7 +84,9 @@ public Response requestBodyWithResponse(BinaryData body, RequestOptions re /** * The requestParameter operation. * - * @param value The value parameter. + * @param value A 128-bit decimal number. + * + * The value parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -117,7 +121,9 @@ public BigDecimal responseBody() { /** * The requestBody operation. * - * @param body The body parameter. + * @param body A 128-bit decimal number. + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -136,7 +142,9 @@ public void requestBody(BigDecimal body) { /** * The requestParameter operation. * - * @param value The value parameter. + * @param value A 128-bit decimal number. + * + * The value parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/scalar/Decimal128VerifyAsyncClient.java b/typespec-tests/src/main/java/com/type/scalar/Decimal128VerifyAsyncClient.java index c915c73540..78eec294b5 100644 --- a/typespec-tests/src/main/java/com/type/scalar/Decimal128VerifyAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/scalar/Decimal128VerifyAsyncClient.java @@ -71,7 +71,10 @@ public Mono> prepareVerifyWithResponse(RequestOptions reque * BigDecimal * } * - * @param body The body parameter. + * @param body A decimal number with any length and precision. This represent any `decimal` value possible. + * It is commonly represented as `BigDecimal` in some languages. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -107,7 +110,10 @@ public Mono> prepareVerify() { /** * The verify operation. * - * @param body The body parameter. + * @param body A decimal number with any length and precision. This represent any `decimal` value possible. + * It is commonly represented as `BigDecimal` in some languages. + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/scalar/Decimal128VerifyClient.java b/typespec-tests/src/main/java/com/type/scalar/Decimal128VerifyClient.java index a25aaf989a..37b0cc10de 100644 --- a/typespec-tests/src/main/java/com/type/scalar/Decimal128VerifyClient.java +++ b/typespec-tests/src/main/java/com/type/scalar/Decimal128VerifyClient.java @@ -69,7 +69,10 @@ public Response prepareVerifyWithResponse(RequestOptions requestOpti * BigDecimal * } * - * @param body The body parameter. + * @param body A decimal number with any length and precision. This represent any `decimal` value possible. + * It is commonly represented as `BigDecimal` in some languages. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -104,7 +107,10 @@ public List prepareVerify() { /** * The verify operation. * - * @param body The body parameter. + * @param body A decimal number with any length and precision. This represent any `decimal` value possible. + * It is commonly represented as `BigDecimal` in some languages. + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/scalar/DecimalTypeAsyncClient.java b/typespec-tests/src/main/java/com/type/scalar/DecimalTypeAsyncClient.java index 4d5ef15e15..6576597629 100644 --- a/typespec-tests/src/main/java/com/type/scalar/DecimalTypeAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/scalar/DecimalTypeAsyncClient.java @@ -68,7 +68,10 @@ public Mono> responseBodyWithResponse(RequestOptions reques * BigDecimal * } * - * @param body The body parameter. + * @param body A decimal number with any length and precision. This represent any `decimal` value possible. + * It is commonly represented as `BigDecimal` in some languages. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -85,7 +88,10 @@ public Mono> requestBodyWithResponse(BinaryData body, RequestOpti /** * The requestParameter operation. * - * @param value The value parameter. + * @param value A decimal number with any length and precision. This represent any `decimal` value possible. + * It is commonly represented as `BigDecimal` in some languages. + * + * The value parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -121,7 +127,10 @@ public Mono responseBody() { /** * The requestBody operation. * - * @param body The body parameter. + * @param body A decimal number with any length and precision. This represent any `decimal` value possible. + * It is commonly represented as `BigDecimal` in some languages. + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -141,7 +150,10 @@ public Mono requestBody(BigDecimal body) { /** * The requestParameter operation. * - * @param value The value parameter. + * @param value A decimal number with any length and precision. This represent any `decimal` value possible. + * It is commonly represented as `BigDecimal` in some languages. + * + * The value parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/scalar/DecimalTypeClient.java b/typespec-tests/src/main/java/com/type/scalar/DecimalTypeClient.java index 983c89deee..3b389df1e9 100644 --- a/typespec-tests/src/main/java/com/type/scalar/DecimalTypeClient.java +++ b/typespec-tests/src/main/java/com/type/scalar/DecimalTypeClient.java @@ -65,7 +65,10 @@ public Response responseBodyWithResponse(RequestOptions requestOptio * BigDecimal * } * - * @param body The body parameter. + * @param body A decimal number with any length and precision. This represent any `decimal` value possible. + * It is commonly represented as `BigDecimal` in some languages. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -82,7 +85,10 @@ public Response requestBodyWithResponse(BinaryData body, RequestOptions re /** * The requestParameter operation. * - * @param value The value parameter. + * @param value A decimal number with any length and precision. This represent any `decimal` value possible. + * It is commonly represented as `BigDecimal` in some languages. + * + * The value parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -117,7 +123,10 @@ public BigDecimal responseBody() { /** * The requestBody operation. * - * @param body The body parameter. + * @param body A decimal number with any length and precision. This represent any `decimal` value possible. + * It is commonly represented as `BigDecimal` in some languages. + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -136,7 +145,10 @@ public void requestBody(BigDecimal body) { /** * The requestParameter operation. * - * @param value The value parameter. + * @param value A decimal number with any length and precision. This represent any `decimal` value possible. + * It is commonly represented as `BigDecimal` in some languages. + * + * The value parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/scalar/DecimalVerifyAsyncClient.java b/typespec-tests/src/main/java/com/type/scalar/DecimalVerifyAsyncClient.java index 64bd4b28d8..9938c4fe95 100644 --- a/typespec-tests/src/main/java/com/type/scalar/DecimalVerifyAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/scalar/DecimalVerifyAsyncClient.java @@ -71,7 +71,10 @@ public Mono> prepareVerifyWithResponse(RequestOptions reque * BigDecimal * } * - * @param body The body parameter. + * @param body A decimal number with any length and precision. This represent any `decimal` value possible. + * It is commonly represented as `BigDecimal` in some languages. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -107,7 +110,10 @@ public Mono> prepareVerify() { /** * The verify operation. * - * @param body The body parameter. + * @param body A decimal number with any length and precision. This represent any `decimal` value possible. + * It is commonly represented as `BigDecimal` in some languages. + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/scalar/DecimalVerifyClient.java b/typespec-tests/src/main/java/com/type/scalar/DecimalVerifyClient.java index d865fc9a59..474a05919d 100644 --- a/typespec-tests/src/main/java/com/type/scalar/DecimalVerifyClient.java +++ b/typespec-tests/src/main/java/com/type/scalar/DecimalVerifyClient.java @@ -69,7 +69,10 @@ public Response prepareVerifyWithResponse(RequestOptions requestOpti * BigDecimal * } * - * @param body The body parameter. + * @param body A decimal number with any length and precision. This represent any `decimal` value possible. + * It is commonly represented as `BigDecimal` in some languages. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -104,7 +107,10 @@ public List prepareVerify() { /** * The verify operation. * - * @param body The body parameter. + * @param body A decimal number with any length and precision. This represent any `decimal` value possible. + * It is commonly represented as `BigDecimal` in some languages. + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/scalar/StringOperationAsyncClient.java b/typespec-tests/src/main/java/com/type/scalar/StringOperationAsyncClient.java index a08bd9dfcd..e0e82b9a2e 100644 --- a/typespec-tests/src/main/java/com/type/scalar/StringOperationAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/scalar/StringOperationAsyncClient.java @@ -66,7 +66,9 @@ public Mono> getWithResponse(RequestOptions requestOptions) * String * } * - * @param body _. + * @param body A sequence of textual characters. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -102,7 +104,9 @@ public Mono get() { /** * put string value. * - * @param body _. + * @param body A sequence of textual characters. + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/scalar/StringOperationClient.java b/typespec-tests/src/main/java/com/type/scalar/StringOperationClient.java index f3b4f77150..8740cb5bc3 100644 --- a/typespec-tests/src/main/java/com/type/scalar/StringOperationClient.java +++ b/typespec-tests/src/main/java/com/type/scalar/StringOperationClient.java @@ -64,7 +64,9 @@ public Response getWithResponse(RequestOptions requestOptions) { * String * } * - * @param body _. + * @param body A sequence of textual characters. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -99,7 +101,9 @@ public String get() { /** * put string value. * - * @param body _. + * @param body A sequence of textual characters. + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/scalar/UnknownAsyncClient.java b/typespec-tests/src/main/java/com/type/scalar/UnknownAsyncClient.java index 1a0c97e690..4465c489fd 100644 --- a/typespec-tests/src/main/java/com/type/scalar/UnknownAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/scalar/UnknownAsyncClient.java @@ -66,7 +66,7 @@ public Mono> getWithResponse(RequestOptions requestOptions) * Object * } * - * @param body _. + * @param body Anything. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -102,7 +102,7 @@ public Mono get() { /** * put unknown value. * - * @param body _. + * @param body Anything. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/scalar/UnknownClient.java b/typespec-tests/src/main/java/com/type/scalar/UnknownClient.java index 6a09092ec3..9ce0466762 100644 --- a/typespec-tests/src/main/java/com/type/scalar/UnknownClient.java +++ b/typespec-tests/src/main/java/com/type/scalar/UnknownClient.java @@ -64,7 +64,7 @@ public Response getWithResponse(RequestOptions requestOptions) { * Object * } * - * @param body _. + * @param body Anything. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -99,7 +99,7 @@ public Object get() { /** * put unknown value. * - * @param body _. + * @param body Anything. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/scalar/implementation/BooleanOperationsImpl.java b/typespec-tests/src/main/java/com/type/scalar/implementation/BooleanOperationsImpl.java index 85a5e4540d..829584d0f7 100644 --- a/typespec-tests/src/main/java/com/type/scalar/implementation/BooleanOperationsImpl.java +++ b/typespec-tests/src/main/java/com/type/scalar/implementation/BooleanOperationsImpl.java @@ -145,7 +145,9 @@ public Response getWithResponse(RequestOptions requestOptions) { * boolean * } * - * @param body _. + * @param body Boolean with `true` and `false` values. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -167,7 +169,9 @@ public Mono> putWithResponseAsync(BinaryData body, RequestOptions * boolean * } * - * @param body _. + * @param body Boolean with `true` and `false` values. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/scalar/implementation/Decimal128TypesImpl.java b/typespec-tests/src/main/java/com/type/scalar/implementation/Decimal128TypesImpl.java index 7888d3acb3..ad956c8bd4 100644 --- a/typespec-tests/src/main/java/com/type/scalar/implementation/Decimal128TypesImpl.java +++ b/typespec-tests/src/main/java/com/type/scalar/implementation/Decimal128TypesImpl.java @@ -165,7 +165,9 @@ public Response responseBodyWithResponse(RequestOptions requestOptio * BigDecimal * } * - * @param body The body parameter. + * @param body A 128-bit decimal number. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -187,7 +189,9 @@ public Mono> requestBodyWithResponseAsync(BinaryData body, Reques * BigDecimal * } * - * @param body The body parameter. + * @param body A 128-bit decimal number. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -204,7 +208,9 @@ public Response requestBodyWithResponse(BinaryData body, RequestOptions re /** * The requestParameter operation. * - * @param value The value parameter. + * @param value A 128-bit decimal number. + * + * The value parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -221,7 +227,9 @@ public Mono> requestParameterWithResponseAsync(BigDecimal value, /** * The requestParameter operation. * - * @param value The value parameter. + * @param value A 128-bit decimal number. + * + * The value parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/scalar/implementation/Decimal128VerifiesImpl.java b/typespec-tests/src/main/java/com/type/scalar/implementation/Decimal128VerifiesImpl.java index 9ab59d8665..973744a8a6 100644 --- a/typespec-tests/src/main/java/com/type/scalar/implementation/Decimal128VerifiesImpl.java +++ b/typespec-tests/src/main/java/com/type/scalar/implementation/Decimal128VerifiesImpl.java @@ -149,7 +149,10 @@ public Response prepareVerifyWithResponse(RequestOptions requestOpti * BigDecimal * } * - * @param body The body parameter. + * @param body A decimal number with any length and precision. This represent any `decimal` value possible. + * It is commonly represented as `BigDecimal` in some languages. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -171,7 +174,10 @@ public Mono> verifyWithResponseAsync(BinaryData body, RequestOpti * BigDecimal * } * - * @param body The body parameter. + * @param body A decimal number with any length and precision. This represent any `decimal` value possible. + * It is commonly represented as `BigDecimal` in some languages. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/scalar/implementation/DecimalTypesImpl.java b/typespec-tests/src/main/java/com/type/scalar/implementation/DecimalTypesImpl.java index e44f5908ad..dc1ea51322 100644 --- a/typespec-tests/src/main/java/com/type/scalar/implementation/DecimalTypesImpl.java +++ b/typespec-tests/src/main/java/com/type/scalar/implementation/DecimalTypesImpl.java @@ -166,7 +166,10 @@ public Response responseBodyWithResponse(RequestOptions requestOptio * BigDecimal * } * - * @param body The body parameter. + * @param body A decimal number with any length and precision. This represent any `decimal` value possible. + * It is commonly represented as `BigDecimal` in some languages. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -188,7 +191,10 @@ public Mono> requestBodyWithResponseAsync(BinaryData body, Reques * BigDecimal * } * - * @param body The body parameter. + * @param body A decimal number with any length and precision. This represent any `decimal` value possible. + * It is commonly represented as `BigDecimal` in some languages. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -205,7 +211,10 @@ public Response requestBodyWithResponse(BinaryData body, RequestOptions re /** * The requestParameter operation. * - * @param value The value parameter. + * @param value A decimal number with any length and precision. This represent any `decimal` value possible. + * It is commonly represented as `BigDecimal` in some languages. + * + * The value parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -222,7 +231,10 @@ public Mono> requestParameterWithResponseAsync(BigDecimal value, /** * The requestParameter operation. * - * @param value The value parameter. + * @param value A decimal number with any length and precision. This represent any `decimal` value possible. + * It is commonly represented as `BigDecimal` in some languages. + * + * The value parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/scalar/implementation/DecimalVerifiesImpl.java b/typespec-tests/src/main/java/com/type/scalar/implementation/DecimalVerifiesImpl.java index 4917636063..c71a668ab4 100644 --- a/typespec-tests/src/main/java/com/type/scalar/implementation/DecimalVerifiesImpl.java +++ b/typespec-tests/src/main/java/com/type/scalar/implementation/DecimalVerifiesImpl.java @@ -149,7 +149,10 @@ public Response prepareVerifyWithResponse(RequestOptions requestOpti * BigDecimal * } * - * @param body The body parameter. + * @param body A decimal number with any length and precision. This represent any `decimal` value possible. + * It is commonly represented as `BigDecimal` in some languages. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -171,7 +174,10 @@ public Mono> verifyWithResponseAsync(BinaryData body, RequestOpti * BigDecimal * } * - * @param body The body parameter. + * @param body A decimal number with any length and precision. This represent any `decimal` value possible. + * It is commonly represented as `BigDecimal` in some languages. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/scalar/implementation/StringOperationsImpl.java b/typespec-tests/src/main/java/com/type/scalar/implementation/StringOperationsImpl.java index 577df014e4..c08d6412f1 100644 --- a/typespec-tests/src/main/java/com/type/scalar/implementation/StringOperationsImpl.java +++ b/typespec-tests/src/main/java/com/type/scalar/implementation/StringOperationsImpl.java @@ -145,7 +145,9 @@ public Response getWithResponse(RequestOptions requestOptions) { * String * } * - * @param body _. + * @param body A sequence of textual characters. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -167,7 +169,9 @@ public Mono> putWithResponseAsync(BinaryData body, RequestOptions * String * } * - * @param body _. + * @param body A sequence of textual characters. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/scalar/implementation/UnknownsImpl.java b/typespec-tests/src/main/java/com/type/scalar/implementation/UnknownsImpl.java index fdd5fea491..8ab9896782 100644 --- a/typespec-tests/src/main/java/com/type/scalar/implementation/UnknownsImpl.java +++ b/typespec-tests/src/main/java/com/type/scalar/implementation/UnknownsImpl.java @@ -144,7 +144,7 @@ public Response getWithResponse(RequestOptions requestOptions) { * Object * } * - * @param body _. + * @param body Anything. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -166,7 +166,7 @@ public Mono> putWithResponseAsync(BinaryData body, RequestOptions * Object * } * - * @param body _. + * @param body Anything. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/versioning/added/AddedAsyncClient.java b/typespec-tests/src/main/java/com/versioning/added/AddedAsyncClient.java index 9f8732d8e6..0476049fdd 100644 --- a/typespec-tests/src/main/java/com/versioning/added/AddedAsyncClient.java +++ b/typespec-tests/src/main/java/com/versioning/added/AddedAsyncClient.java @@ -61,7 +61,9 @@ public final class AddedAsyncClient { * } * } * - * @param headerV2 The headerV2 parameter. + * @param headerV2 A sequence of textual characters. + * + * The headerV2 parameter. * @param body The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -115,7 +117,9 @@ public Mono> v2WithResponse(BinaryData body, RequestOptions /** * The v1 operation. * - * @param headerV2 The headerV2 parameter. + * @param headerV2 A sequence of textual characters. + * + * The headerV2 parameter. * @param body The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. diff --git a/typespec-tests/src/main/java/com/versioning/added/AddedClient.java b/typespec-tests/src/main/java/com/versioning/added/AddedClient.java index 4954e6db56..942958182f 100644 --- a/typespec-tests/src/main/java/com/versioning/added/AddedClient.java +++ b/typespec-tests/src/main/java/com/versioning/added/AddedClient.java @@ -59,7 +59,9 @@ public final class AddedClient { * } * } * - * @param headerV2 The headerV2 parameter. + * @param headerV2 A sequence of textual characters. + * + * The headerV2 parameter. * @param body The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -113,7 +115,9 @@ public Response v2WithResponse(BinaryData body, RequestOptions reque /** * The v1 operation. * - * @param headerV2 The headerV2 parameter. + * @param headerV2 A sequence of textual characters. + * + * The headerV2 parameter. * @param body The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. diff --git a/typespec-tests/src/main/java/com/versioning/added/implementation/AddedClientImpl.java b/typespec-tests/src/main/java/com/versioning/added/implementation/AddedClientImpl.java index ea3c2305cd..2b8fff889d 100644 --- a/typespec-tests/src/main/java/com/versioning/added/implementation/AddedClientImpl.java +++ b/typespec-tests/src/main/java/com/versioning/added/implementation/AddedClientImpl.java @@ -240,7 +240,9 @@ Response v2Sync(@HostParam("endpoint") String endpoint, @HostParam(" * } * } * - * @param headerV2 The headerV2 parameter. + * @param headerV2 A sequence of textual characters. + * + * The headerV2 parameter. * @param body The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -279,7 +281,9 @@ public Mono> v1WithResponseAsync(String headerV2, BinaryDat * } * } * - * @param headerV2 The headerV2 parameter. + * @param headerV2 A sequence of textual characters. + * + * The headerV2 parameter. * @param body The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. diff --git a/typespec-tests/src/main/java/com/versioning/madeoptional/MadeOptionalAsyncClient.java b/typespec-tests/src/main/java/com/versioning/madeoptional/MadeOptionalAsyncClient.java index ec7eca46c8..e7f95f5bcf 100644 --- a/typespec-tests/src/main/java/com/versioning/madeoptional/MadeOptionalAsyncClient.java +++ b/typespec-tests/src/main/java/com/versioning/madeoptional/MadeOptionalAsyncClient.java @@ -44,7 +44,9 @@ public final class MadeOptionalAsyncClient { * * * - * + * *
Query Parameters
NameTypeRequiredDescription
paramStringNoThe param parameter
paramStringNoA sequence of textual characters. + * + * The param parameter
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Request Body Schema

@@ -83,7 +85,9 @@ public Mono> testWithResponse(BinaryData body, RequestOptio * The test operation. * * @param body The body parameter. - * @param param The param parameter. + * @param param A sequence of textual characters. + * + * The param parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/versioning/madeoptional/MadeOptionalClient.java b/typespec-tests/src/main/java/com/versioning/madeoptional/MadeOptionalClient.java index 87caefa6fe..c5d6c1c38d 100644 --- a/typespec-tests/src/main/java/com/versioning/madeoptional/MadeOptionalClient.java +++ b/typespec-tests/src/main/java/com/versioning/madeoptional/MadeOptionalClient.java @@ -42,7 +42,9 @@ public final class MadeOptionalClient { * * * - * + * *
Query Parameters
NameTypeRequiredDescription
paramStringNoThe param parameter
paramStringNoA sequence of textual characters. + * + * The param parameter
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Request Body Schema

@@ -81,7 +83,9 @@ public Response testWithResponse(BinaryData body, RequestOptions req * The test operation. * * @param body The body parameter. - * @param param The param parameter. + * @param param A sequence of textual characters. + * + * The param parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/versioning/madeoptional/implementation/MadeOptionalClientImpl.java b/typespec-tests/src/main/java/com/versioning/madeoptional/implementation/MadeOptionalClientImpl.java index 11b87890d5..0b1bf064f7 100644 --- a/typespec-tests/src/main/java/com/versioning/madeoptional/implementation/MadeOptionalClientImpl.java +++ b/typespec-tests/src/main/java/com/versioning/madeoptional/implementation/MadeOptionalClientImpl.java @@ -191,7 +191,9 @@ Response testSync(@HostParam("endpoint") String endpoint, @HostParam * * * - * + * *
Query Parameters
NameTypeRequiredDescription
paramStringNoThe param parameter
paramStringNoA sequence of textual characters. + * + * The param parameter
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Request Body Schema

@@ -233,7 +235,9 @@ public Mono> testWithResponseAsync(BinaryData body, Request * * * - * + * *
Query Parameters
NameTypeRequiredDescription
paramStringNoThe param parameter
paramStringNoA sequence of textual characters. + * + * The param parameter
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Request Body Schema

diff --git a/typespec-tests/src/main/java/com/versioning/renamedfrom/RenamedFromAsyncClient.java b/typespec-tests/src/main/java/com/versioning/renamedfrom/RenamedFromAsyncClient.java index b919a7c0cc..7b0e2eab6d 100644 --- a/typespec-tests/src/main/java/com/versioning/renamedfrom/RenamedFromAsyncClient.java +++ b/typespec-tests/src/main/java/com/versioning/renamedfrom/RenamedFromAsyncClient.java @@ -60,7 +60,9 @@ public final class RenamedFromAsyncClient { * } * } * - * @param newQuery The newQuery parameter. + * @param newQuery A sequence of textual characters. + * + * The newQuery parameter. * @param body The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -79,7 +81,9 @@ public Mono> newOpWithResponse(String newQuery, BinaryData /** * The newOp operation. * - * @param newQuery The newQuery parameter. + * @param newQuery A sequence of textual characters. + * + * The newQuery parameter. * @param body The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. diff --git a/typespec-tests/src/main/java/com/versioning/renamedfrom/RenamedFromClient.java b/typespec-tests/src/main/java/com/versioning/renamedfrom/RenamedFromClient.java index 5d17e38559..66f280368d 100644 --- a/typespec-tests/src/main/java/com/versioning/renamedfrom/RenamedFromClient.java +++ b/typespec-tests/src/main/java/com/versioning/renamedfrom/RenamedFromClient.java @@ -58,7 +58,9 @@ public final class RenamedFromClient { * } * } * - * @param newQuery The newQuery parameter. + * @param newQuery A sequence of textual characters. + * + * The newQuery parameter. * @param body The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -76,7 +78,9 @@ public Response newOpWithResponse(String newQuery, BinaryData body, /** * The newOp operation. * - * @param newQuery The newQuery parameter. + * @param newQuery A sequence of textual characters. + * + * The newQuery parameter. * @param body The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. diff --git a/typespec-tests/src/main/java/com/versioning/renamedfrom/implementation/RenamedFromClientImpl.java b/typespec-tests/src/main/java/com/versioning/renamedfrom/implementation/RenamedFromClientImpl.java index 8cb793c44a..95e505b0ca 100644 --- a/typespec-tests/src/main/java/com/versioning/renamedfrom/implementation/RenamedFromClientImpl.java +++ b/typespec-tests/src/main/java/com/versioning/renamedfrom/implementation/RenamedFromClientImpl.java @@ -222,7 +222,9 @@ Response newOpSync(@HostParam("endpoint") String endpoint, @HostPara * } * } * - * @param newQuery The newQuery parameter. + * @param newQuery A sequence of textual characters. + * + * The newQuery parameter. * @param body The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -261,7 +263,9 @@ public Mono> newOpWithResponseAsync(String newQuery, Binary * } * } * - * @param newQuery The newQuery parameter. + * @param newQuery A sequence of textual characters. + * + * The newQuery parameter. * @param body The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. diff --git a/typespec-tests/src/main/java/com/versioning/returntypechangedfrom/ReturnTypeChangedFromAsyncClient.java b/typespec-tests/src/main/java/com/versioning/returntypechangedfrom/ReturnTypeChangedFromAsyncClient.java index b108e10f54..a8ba18f5c6 100644 --- a/typespec-tests/src/main/java/com/versioning/returntypechangedfrom/ReturnTypeChangedFromAsyncClient.java +++ b/typespec-tests/src/main/java/com/versioning/returntypechangedfrom/ReturnTypeChangedFromAsyncClient.java @@ -51,7 +51,9 @@ public final class ReturnTypeChangedFromAsyncClient { * String * } * - * @param body The body parameter. + * @param body A sequence of textual characters. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -68,7 +70,9 @@ public Mono> testWithResponse(BinaryData body, RequestOptio /** * The test operation. * - * @param body The body parameter. + * @param body A sequence of textual characters. + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/versioning/returntypechangedfrom/ReturnTypeChangedFromClient.java b/typespec-tests/src/main/java/com/versioning/returntypechangedfrom/ReturnTypeChangedFromClient.java index 25d54923fe..414fc1c8db 100644 --- a/typespec-tests/src/main/java/com/versioning/returntypechangedfrom/ReturnTypeChangedFromClient.java +++ b/typespec-tests/src/main/java/com/versioning/returntypechangedfrom/ReturnTypeChangedFromClient.java @@ -49,7 +49,9 @@ public final class ReturnTypeChangedFromClient { * String * } * - * @param body The body parameter. + * @param body A sequence of textual characters. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -66,7 +68,9 @@ public Response testWithResponse(BinaryData body, RequestOptions req /** * The test operation. * - * @param body The body parameter. + * @param body A sequence of textual characters. + * + * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/versioning/returntypechangedfrom/implementation/ReturnTypeChangedFromClientImpl.java b/typespec-tests/src/main/java/com/versioning/returntypechangedfrom/implementation/ReturnTypeChangedFromClientImpl.java index 58e80a8662..f2a4037c12 100644 --- a/typespec-tests/src/main/java/com/versioning/returntypechangedfrom/implementation/ReturnTypeChangedFromClientImpl.java +++ b/typespec-tests/src/main/java/com/versioning/returntypechangedfrom/implementation/ReturnTypeChangedFromClientImpl.java @@ -200,7 +200,9 @@ Response testSync(@HostParam("endpoint") String endpoint, @HostParam * String * } * - * @param body The body parameter. + * @param body A sequence of textual characters. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -229,7 +231,9 @@ public Mono> testWithResponseAsync(BinaryData body, Request * String * } * - * @param body The body parameter. + * @param body A sequence of textual characters. + * + * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/versioning/typechangedfrom/TypeChangedFromAsyncClient.java b/typespec-tests/src/main/java/com/versioning/typechangedfrom/TypeChangedFromAsyncClient.java index 254199b742..63b0254ce1 100644 --- a/typespec-tests/src/main/java/com/versioning/typechangedfrom/TypeChangedFromAsyncClient.java +++ b/typespec-tests/src/main/java/com/versioning/typechangedfrom/TypeChangedFromAsyncClient.java @@ -58,7 +58,9 @@ public final class TypeChangedFromAsyncClient { * } * } * - * @param param The param parameter. + * @param param A sequence of textual characters. + * + * The param parameter. * @param body The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -76,7 +78,9 @@ public Mono> testWithResponse(String param, BinaryData body /** * The test operation. * - * @param param The param parameter. + * @param param A sequence of textual characters. + * + * The param parameter. * @param body The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. diff --git a/typespec-tests/src/main/java/com/versioning/typechangedfrom/TypeChangedFromClient.java b/typespec-tests/src/main/java/com/versioning/typechangedfrom/TypeChangedFromClient.java index 2f85c234f7..da3de349a5 100644 --- a/typespec-tests/src/main/java/com/versioning/typechangedfrom/TypeChangedFromClient.java +++ b/typespec-tests/src/main/java/com/versioning/typechangedfrom/TypeChangedFromClient.java @@ -56,7 +56,9 @@ public final class TypeChangedFromClient { * } * } * - * @param param The param parameter. + * @param param A sequence of textual characters. + * + * The param parameter. * @param body The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -74,7 +76,9 @@ public Response testWithResponse(String param, BinaryData body, Requ /** * The test operation. * - * @param param The param parameter. + * @param param A sequence of textual characters. + * + * The param parameter. * @param body The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. diff --git a/typespec-tests/src/main/java/com/versioning/typechangedfrom/implementation/TypeChangedFromClientImpl.java b/typespec-tests/src/main/java/com/versioning/typechangedfrom/implementation/TypeChangedFromClientImpl.java index b11f99fc16..866d9b80d9 100644 --- a/typespec-tests/src/main/java/com/versioning/typechangedfrom/implementation/TypeChangedFromClientImpl.java +++ b/typespec-tests/src/main/java/com/versioning/typechangedfrom/implementation/TypeChangedFromClientImpl.java @@ -206,7 +206,9 @@ Response testSync(@HostParam("endpoint") String endpoint, @HostParam * } * } * - * @param param The param parameter. + * @param param A sequence of textual characters. + * + * The param parameter. * @param body The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -243,7 +245,9 @@ public Mono> testWithResponseAsync(String param, BinaryData * } * } * - * @param param The param parameter. + * @param param A sequence of textual characters. + * + * The param parameter. * @param body The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. From 3c0e2267cfcd232648aa870ea90ba4f29c180338 Mon Sep 17 00:00:00 2001 From: actions-user Date: Mon, 20 May 2024 06:38:21 +0000 Subject: [PATCH 06/12] re-generate test code --- .../fluent/models/CustomTemplateResourceInner.java | 4 ++-- .../fluent/models/CustomTemplateResourceProperties.java | 6 +++--- .../armresourceprovider/models/CustomTemplateResource.java | 6 +++--- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/typespec-tests/src/main/java/com/cadl/armresourceprovider/fluent/models/CustomTemplateResourceInner.java b/typespec-tests/src/main/java/com/cadl/armresourceprovider/fluent/models/CustomTemplateResourceInner.java index dc900f4540..75de1688c4 100644 --- a/typespec-tests/src/main/java/com/cadl/armresourceprovider/fluent/models/CustomTemplateResourceInner.java +++ b/typespec-tests/src/main/java/com/cadl/armresourceprovider/fluent/models/CustomTemplateResourceInner.java @@ -108,7 +108,7 @@ public ProvisioningState provisioningState() { } /** - * Get the dog property: The dog property. + * Get the dog property: Test extensible enum type for discriminator. * * @return the dog value. */ @@ -117,7 +117,7 @@ public Dog dog() { } /** - * Set the dog property: The dog property. + * Set the dog property: Test extensible enum type for discriminator. * * @param dog the dog value to set. * @return the CustomTemplateResourceInner object itself. diff --git a/typespec-tests/src/main/java/com/cadl/armresourceprovider/fluent/models/CustomTemplateResourceProperties.java b/typespec-tests/src/main/java/com/cadl/armresourceprovider/fluent/models/CustomTemplateResourceProperties.java index 2087b7cd3d..479fecc4c4 100644 --- a/typespec-tests/src/main/java/com/cadl/armresourceprovider/fluent/models/CustomTemplateResourceProperties.java +++ b/typespec-tests/src/main/java/com/cadl/armresourceprovider/fluent/models/CustomTemplateResourceProperties.java @@ -22,7 +22,7 @@ public final class CustomTemplateResourceProperties { private ProvisioningState provisioningState; /* - * The dog property. + * Test extensible enum type for discriminator */ @JsonProperty(value = "dog", required = true) private Dog dog; @@ -43,7 +43,7 @@ public ProvisioningState provisioningState() { } /** - * Get the dog property: The dog property. + * Get the dog property: Test extensible enum type for discriminator. * * @return the dog value. */ @@ -52,7 +52,7 @@ public Dog dog() { } /** - * Set the dog property: The dog property. + * Set the dog property: Test extensible enum type for discriminator. * * @param dog the dog value to set. * @return the CustomTemplateResourceProperties object itself. diff --git a/typespec-tests/src/main/java/com/cadl/armresourceprovider/models/CustomTemplateResource.java b/typespec-tests/src/main/java/com/cadl/armresourceprovider/models/CustomTemplateResource.java index ec3f10e2c6..76e5db1194 100644 --- a/typespec-tests/src/main/java/com/cadl/armresourceprovider/models/CustomTemplateResource.java +++ b/typespec-tests/src/main/java/com/cadl/armresourceprovider/models/CustomTemplateResource.java @@ -71,7 +71,7 @@ public interface CustomTemplateResource { ProvisioningState provisioningState(); /** - * Gets the dog property: The dog property. + * Gets the dog property: Test extensible enum type for discriminator. * * @return the dog value. */ @@ -211,9 +211,9 @@ interface WithIdentity { */ interface WithDog { /** - * Specifies the dog property: The dog property.. + * Specifies the dog property: Test extensible enum type for discriminator. * - * @param dog The dog property. + * @param dog Test extensible enum type for discriminator. * @return the next definition stage. */ WithCreate withDog(Dog dog); From aa233ca903f6441abd1da3906e7a6bc6e6be28f0 Mon Sep 17 00:00:00 2001 From: Haoling Dong Date: Tue, 21 May 2024 14:58:19 +0800 Subject: [PATCH 07/12] remove the fallback to summary and description logics, also only use dummy description when both summary and description are empty --- .../autorest/mapper/ModelPropertyMapper.java | 3 --- .../com/azure/autorest/util/MethodUtil.java | 17 ++++++----------- 2 files changed, 6 insertions(+), 14 deletions(-) diff --git a/javagen/src/main/java/com/azure/autorest/mapper/ModelPropertyMapper.java b/javagen/src/main/java/com/azure/autorest/mapper/ModelPropertyMapper.java index 3aa5a64e72..4d8f50269f 100644 --- a/javagen/src/main/java/com/azure/autorest/mapper/ModelPropertyMapper.java +++ b/javagen/src/main/java/com/azure/autorest/mapper/ModelPropertyMapper.java @@ -61,9 +61,6 @@ public ClientModelProperty map(Property property, boolean mutableAsOptional) { String description; String summaryInProperty = property.getSummary(); - if (summaryInProperty == null) { - summaryInProperty = property.getSchema() == null ? null : property.getSchema().getSummary(); - } String descriptionInProperty = property.getLanguage().getJava() == null ? null : property.getLanguage().getJava().getDescription(); if (CoreUtils.isNullOrEmpty(summaryInProperty) && CoreUtils.isNullOrEmpty(descriptionInProperty)) { description = String.format("The %s property.", property.getSerializedName()); diff --git a/javagen/src/main/java/com/azure/autorest/util/MethodUtil.java b/javagen/src/main/java/com/azure/autorest/util/MethodUtil.java index 63df9cd338..2d775d1f93 100644 --- a/javagen/src/main/java/com/azure/autorest/util/MethodUtil.java +++ b/javagen/src/main/java/com/azure/autorest/util/MethodUtil.java @@ -98,22 +98,17 @@ public static String getMethodParameterDescription(Parameter parameter, String n if (parameter.getLanguage() != null) { description = parameter.getLanguage().getDefault().getDescription(); } - // fallback to parameter schema description - if (description == null || description.isEmpty()) { - if (parameter.getSchema() != null && parameter.getSchema().getLanguage() != null) { - description = parameter.getSchema().getLanguage().getDefault().getDescription(); - } - } - // fallback to dummy description - if (description == null || description.isEmpty()) { - description = "The " + name + " parameter"; - } + // add allowed enum values if (isProtocolMethod && parameter.getProtocol().getHttp().getIn() != RequestParameterLocation.BODY) { description = MethodUtil.appendAllowedEnumValuesForEnumType(parameter, description); } - return SchemaUtil.mergeSummaryWithDescription(summary, description); + String javadocDescription = SchemaUtil.mergeSummaryWithDescription(summary, description); + if (CoreUtils.isNullOrEmpty(javadocDescription)) { // fallback to dummy description only when both summary and description are empty + javadocDescription = "The " + name + " parameter"; + } + return javadocDescription; } /** From ce33a98b7daaf433cde46b29401fbbd9e042765a Mon Sep 17 00:00:00 2001 From: actions-user Date: Tue, 21 May 2024 07:24:09 +0000 Subject: [PATCH 08/12] re-generate test code --- .../implementation/DocumentModelsImpl.java | 8 +- .../dpg/implementation/MiscellaneousImpl.java | 8 +- .../implementation/DocumentModelsImpl.java | 16 +- .../implementation/MiscellaneousImpl.java | 16 +- .../ContainerRegistriesImpl.java | 24 +- .../SchemaGroupsOperationsImpl.java | 16 +- .../implementation/SchemasImpl.java | 16 +- .../custombaseuri/paging/Pagings.java | 16 +- .../paging/implementation/PagingsImpl.java | 304 +++++------------- ...RestSwaggerConstantServiceAsyncClient.java | 28 +- .../AutoRestSwaggerConstantServiceClient.java | 28 +- .../implementation/ContantsImpl.java | 56 ++-- .../implementation/DpgClientImpl.java | 8 +- .../paging/implementation/PagingsImpl.java | 152 +++------ .../implementation/HeadersImpl.java | 8 +- .../access/InternalOperationAsyncClient.java | 12 - .../core/access/InternalOperationClient.java | 12 - .../access/PublicOperationAsyncClient.java | 8 - .../core/access/PublicOperationClient.java | 8 - .../RelativeModelInOperationAsyncClient.java | 8 - .../RelativeModelInOperationClient.java | 8 - .../SharedModelInOperationAsyncClient.java | 8 - .../access/SharedModelInOperationClient.java | 8 - .../InternalOperationsImpl.java | 12 - .../implementation/PublicOperationsImpl.java | 8 - .../RelativeModelInOperationsImpl.java | 8 - .../SharedModelInOperationsImpl.java | 8 - .../implementation/models/AbstractModel.java | 4 +- .../implementation/models/BaseModel.java | 4 +- .../implementation/models/InnerModel.java | 4 +- .../InternalDecoratorModelInInternal.java | 4 +- .../models/NoDecoratorModelInInternal.java | 4 +- .../implementation/models/OuterModel.java | 4 +- .../models/NoDecoratorModelInPublic.java | 4 +- .../PublicDecoratorModelInInternal.java | 4 +- .../models/PublicDecoratorModelInPublic.java | 4 +- .../core/access/models/SharedModel.java | 4 +- .../core/usage/UsageAsyncClient.java | 4 - .../core/usage/UsageClient.java | 4 - .../implementation/ModelInOperationsImpl.java | 4 - .../core/usage/models/InputModel.java | 4 +- .../core/usage/models/OrphanModel.java | 4 +- .../core/usage/models/OutputModel.java | 4 +- .../azure/core/basic/BasicAsyncClient.java | 89 ++--- .../_specs_/azure/core/basic/BasicClient.java | 89 ++--- .../basic/implementation/BasicClientImpl.java | 168 +++------- .../TwoModelsAsPageItemsImpl.java | 16 +- .../azure/core/lro/rpc/RpcAsyncClient.java | 4 - .../_specs_/azure/core/lro/rpc/RpcClient.java | 4 - .../lro/rpc/implementation/RpcClientImpl.java | 12 - .../lro/standard/StandardAsyncClient.java | 20 -- .../core/lro/standard/StandardClient.java | 20 -- .../implementation/StandardClientImpl.java | 60 ---- .../azure/core/scalar/ScalarAsyncClient.java | 12 - .../azure/core/scalar/ScalarClient.java | 12 - .../AzureLocationScalarsImpl.java | 12 - .../scalar/models/AzureLocationModel.java | 4 +- .../azure/core/traits/TraitsAsyncClient.java | 42 +-- .../azure/core/traits/TraitsClient.java | 42 +-- .../implementation/TraitsClientImpl.java | 44 +-- .../ChildResourcesInterfacesClient.java | 116 ------- ...ustomTemplateResourceInterfacesClient.java | 48 --- .../TopLevelArmResourceInterfacesClient.java | 64 ---- .../models/TopLevelArmResourceInner.java | 12 +- .../models/TopLevelArmResourceProperties.java | 18 +- .../ChildResourcesInterfacesClientImpl.java | 302 +---------------- ...mTemplateResourceInterfacesClientImpl.java | 144 --------- .../implementation/OperationsClientImpl.java | 8 +- ...pLevelArmResourceInterfacesClientImpl.java | 178 +--------- .../models/ChildResource.java | 4 - .../models/ChildResourcesInterfaces.java | 44 --- .../models/CustomTemplateResource.java | 14 +- .../models/TopLevelArmResource.java | 24 +- .../models/TopLevelArmResourceInterfaces.java | 20 -- .../models/TopLevelArmResourceUpdate.java | 6 +- .../TopLevelArmResourceUpdateProperties.java | 18 +- .../models/UserAssignedIdentities.java | 16 +- .../com/cadl/builtin/BuiltinAsyncClient.java | 38 +-- .../java/com/cadl/builtin/BuiltinClient.java | 38 +-- .../implementation/BuiltinOpsImpl.java | 36 +-- .../java/com/cadl/builtin/models/Builtin.java | 48 ++- .../java/com/cadl/builtin/models/Encoded.java | 12 +- .../enumservice/EnumServiceAsyncClient.java | 6 +- .../cadl/enumservice/EnumServiceClient.java | 6 +- .../implementation/EnumServiceClientImpl.java | 12 +- .../cadl/errormodel/models/Diagnostic.java | 8 +- .../com/cadl/flatten/FlattenAsyncClient.java | 30 +- .../java/com/cadl/flatten/FlattenClient.java | 30 +- .../implementation/FlattenClientImpl.java | 32 +- .../models/SendLongRequest.java | 32 +- .../models/SendProjectedNameRequest.java | 4 +- .../implementation/models/SendRequest.java | 4 +- .../models/UploadTodoRequest.java | 24 +- .../cadl/flatten/models/SendLongOptions.java | 32 +- .../com/cadl/flatten/models/TodoItem.java | 4 +- .../flatten/models/UploadTodoOptions.java | 24 +- .../java/com/cadl/flatten/models/User.java | 4 +- .../models/ResponseInternalInner.java | 4 +- .../com/cadl/internal/models/ApiResponse.java | 4 +- .../cadl/internal/models/RequestInner.java | 4 +- .../internal/models/StandAloneDataInner.java | 4 +- .../LiteralServiceAsyncClient.java | 4 +- .../literalservice/LiteralServiceClient.java | 4 +- .../implementation/LiteralOpsImpl.java | 8 +- .../longrunning/LongRunningAsyncClient.java | 8 +- .../cadl/longrunning/LongRunningClient.java | 8 +- .../implementation/LongRunningClientImpl.java | 8 +- .../com/cadl/longrunning/models/JobData.java | 6 +- .../cadl/longrunning/models/JobResult.java | 8 +- .../longrunning/models/JobResultResult.java | 4 +- .../cadl/longrunning/models/PollResponse.java | 8 +- .../cadl/model/models/InputOutputData2.java | 4 +- .../com/cadl/model/models/NestedModel2.java | 4 +- .../com/cadl/model/models/OutputData.java | 4 +- .../com/cadl/model/models/OutputData3.java | 4 +- .../java/com/cadl/model/models/Resource1.java | 4 +- .../java/com/cadl/model/models/Resource2.java | 4 +- .../java/com/cadl/model/models/Resource3.java | 4 +- .../MultiContentTypesAsyncClient.java | 4 +- .../MultiContentTypesClient.java | 4 +- ...tipleContentTypesOnRequestAsyncClient.java | 9 +- .../MultipleContentTypesOnRequestClient.java | 9 +- .../MultiContentTypesClientImpl.java | 8 +- .../MultipleContentTypesOnRequestsImpl.java | 18 +- .../multicontenttypes/models/Resource.java | 8 +- .../cadl/multipart/MultipartAsyncClient.java | 12 +- .../com/cadl/multipart/MultipartClient.java | 12 +- .../implementation/MultipartClientImpl.java | 12 +- .../com/cadl/multipart/models/FormData.java | 8 +- .../java/com/cadl/multipart/models/Size.java | 8 +- .../multipleapiversion/FirstAsyncClient.java | 4 - .../cadl/multipleapiversion/FirstClient.java | 4 - .../NoApiVersionAsyncClient.java | 6 +- .../NoApiVersionClient.java | 6 +- .../multipleapiversion/SecondAsyncClient.java | 4 - .../cadl/multipleapiversion/SecondClient.java | 4 - .../implementation/FirstClientImpl.java | 4 - .../NoApiVersionClientImpl.java | 8 +- .../implementation/SecondClientImpl.java | 4 - .../multipleapiversion/models/Resource.java | 12 +- .../multipleapiversion/models/Resource2.java | 12 +- .../com/cadl/naming/NamingAsyncClient.java | 12 +- .../java/com/cadl/naming/NamingClient.java | 6 - .../naming/implementation/NamingOpsImpl.java | 12 +- .../com/cadl/naming/models/BytesData.java | 4 +- .../java/com/cadl/naming/models/Data.java | 4 +- .../naming/models/GetAnonymousResponse.java | 4 +- .../cadl/optional/OptionalAsyncClient.java | 54 +--- .../com/cadl/optional/OptionalClient.java | 54 +--- .../implementation/OptionalOpsImpl.java | 52 +-- .../models/AllPropertiesOptional.java | 52 +-- .../cadl/optional/models/ImmutableModel.java | 8 +- .../com/cadl/optional/models/Optional.java | 70 ++-- .../models/PartialUpdateModel.java | 12 +- .../java/com/cadl/patch/PatchAsyncClient.java | 4 - .../main/java/com/cadl/patch/PatchClient.java | 4 - .../patch/implementation/PatchesImpl.java | 4 - .../main/java/com/cadl/patch/models/Fish.java | 24 +- .../com/cadl/patch/models/InnerModel.java | 12 +- .../java/com/cadl/patch/models/Resource.java | 32 +- .../java/com/cadl/patch/models/Salmon.java | 6 +- .../ProtocolAndConvenientAsyncClient.java | 8 +- .../ProtocolAndConvenientClient.java | 8 +- .../ProtocolAndConvenienceOpsImpl.java | 36 +-- .../models/ResourceA.java | 8 +- .../models/ResourceB.java | 8 +- .../models/ResourceE.java | 8 +- .../models/ResourceF.java | 8 +- .../models/ResourceI.java | 12 +- .../models/ResourceJ.java | 12 +- .../implementation/ResponseClientImpl.java | 16 +- .../response/models/OperationDetails1.java | 8 +- .../response/models/OperationDetails2.java | 8 +- .../com/cadl/response/models/Resource.java | 18 +- .../com/cadl/server/ContosoAsyncClient.java | 8 +- .../java/com/cadl/server/ContosoClient.java | 8 +- .../com/cadl/server/HttpbinAsyncClient.java | 8 +- .../java/com/cadl/server/HttpbinClient.java | 8 +- .../implementation/ContosoClientImpl.java | 8 +- .../implementation/HttpbinClientImpl.java | 8 +- .../implementation/models/ReadRequest.java | 4 +- .../EtagHeadersAsyncClient.java | 28 +- .../specialheaders/EtagHeadersClient.java | 28 +- .../EtagHeadersOptionalBodyAsyncClient.java | 20 +- .../EtagHeadersOptionalBodyClient.java | 20 +- .../RepeatabilityHeadersAsyncClient.java | 16 - .../RepeatabilityHeadersClient.java | 16 - .../SkipSpecialHeadersAsyncClient.java | 8 - .../SkipSpecialHeadersClient.java | 8 - .../implementation/EtagHeadersImpl.java | 48 +-- .../EtagHeadersOptionalBodiesImpl.java | 28 +- .../RepeatabilityHeadersImpl.java | 24 -- .../SkipSpecialHeadersImpl.java | 8 - .../cadl/specialheaders/models/Resource.java | 20 +- .../java/com/cadl/union/UnionAsyncClient.java | 12 +- .../main/java/com/cadl/union/UnionClient.java | 12 +- .../implementation/UnionFlattenOpsImpl.java | 16 +- .../models/SendLongRequest.java | 20 +- .../implementation/models/SubResult.java | 6 +- .../java/com/cadl/union/models/Result.java | 4 +- .../cadl/union/models/SendLongOptions.java | 20 +- .../main/java/com/cadl/union/models/User.java | 4 +- .../versioning/VersioningAsyncClient.java | 22 +- .../com/cadl/versioning/VersioningClient.java | 22 +- .../implementation/VersioningOpsImpl.java | 72 +---- .../versioning/models/ExportedResource.java | 8 +- .../com/cadl/versioning/models/Resource.java | 12 +- .../java/com/cadl/visibility/models/Dog.java | 12 +- .../com/cadl/visibility/models/ReadDog.java | 8 +- .../visibility/models/RoundTripModel.java | 8 +- .../com/cadl/visibility/models/WriteDog.java | 4 +- .../wiretype/models/SubClassBothMismatch.java | 4 +- .../com/client/naming/NamingAsyncClient.java | 8 - .../java/com/client/naming/NamingClient.java | 8 - .../implementation/NamingClientImpl.java | 8 - .../com/encode/bytes/HeaderAsyncClient.java | 24 +- .../java/com/encode/bytes/HeaderClient.java | 24 +- .../com/encode/bytes/QueryAsyncClient.java | 24 +- .../java/com/encode/bytes/QueryClient.java | 24 +- .../encode/bytes/RequestBodyAsyncClient.java | 24 +- .../com/encode/bytes/RequestBodyClient.java | 24 +- .../bytes/implementation/HeadersImpl.java | 24 +- .../bytes/implementation/QueriesImpl.java | 24 +- .../implementation/RequestBodiesImpl.java | 24 +- .../bytes/models/Base64BytesProperty.java | 4 +- .../bytes/models/Base64urlBytesProperty.java | 4 +- .../bytes/models/DefaultBytesProperty.java | 4 +- .../basic/ExplicitBodyAsyncClient.java | 4 - .../parameters/basic/ExplicitBodyClient.java | 4 - .../implementation/ExplicitBodiesImpl.java | 4 - .../implementation/models/SimpleRequest.java | 4 +- .../com/parameters/basic/models/User.java | 4 +- .../bodyoptionality/models/BodyModel.java | 4 +- .../parameters/spread/AliasAsyncClient.java | 12 - .../com/parameters/spread/AliasClient.java | 12 - .../parameters/spread/ModelAsyncClient.java | 40 --- .../com/parameters/spread/ModelClient.java | 40 --- .../spread/implementation/AliasImpl.java | 16 - .../spread/implementation/ModelsImpl.java | 40 --- .../models/SpreadAsRequestBodyRequest.java | 4 +- .../SpreadAsRequestParameterRequest.java | 4 +- .../SpreadWithMultipleParametersRequest.java | 24 +- .../spread/models/BodyParameter.java | 4 +- .../spread/models/CompositeRequestMix.java | 4 +- .../SpreadWithMultipleParametersOptions.java | 24 +- .../models/PngImageAsJson.java | 4 +- .../JsonMergePatchAsyncClient.java | 10 - .../jsonmergepatch/JsonMergePatchClient.java | 10 - .../JsonMergePatchClientImpl.java | 8 - .../jsonmergepatch/models/InnerModel.java | 12 +- .../jsonmergepatch/models/Resource.java | 28 +- .../jsonmergepatch/models/ResourcePatch.java | 24 +- .../mediatype/MediaTypeAsyncClient.java | 8 - .../payload/mediatype/MediaTypeClient.java | 8 - .../implementation/StringBodiesImpl.java | 8 - .../multipart/MultiPartAsyncClient.java | 2 +- .../payload/multipart/MultiPartClient.java | 2 +- .../com/payload/multipart/models/Address.java | 4 +- .../models/BinaryArrayPartsRequest.java | 4 +- .../multipart/models/ComplexPartsRequest.java | 4 +- .../multipart/models/MultiPartRequest.java | 4 +- .../payload/pageable/PageableAsyncClient.java | 5 +- .../com/payload/pageable/PageableClient.java | 5 +- .../implementation/PageableClientImpl.java | 28 +- .../ResiliencyServiceDrivenAsyncClient.java | 32 +- .../ResiliencyServiceDrivenClient.java | 32 +- .../ResiliencyServiceDrivenClientImpl.java | 36 +-- .../ResiliencyServiceDrivenAsyncClient.java | 10 +- .../v1/ResiliencyServiceDrivenClient.java | 10 +- .../ResiliencyServiceDrivenClientImpl.java | 12 +- .../path/multiple/MultipleAsyncClient.java | 4 - .../server/path/multiple/MultipleClient.java | 4 - .../implementation/MultipleClientImpl.java | 4 - .../notversioned/NotVersionedAsyncClient.java | 8 - .../notversioned/NotVersionedClient.java | 8 - .../NotVersionedClientImpl.java | 8 - .../ConditionalRequestAsyncClient.java | 12 +- .../ConditionalRequestClient.java | 12 +- .../ConditionalRequestClientImpl.java | 16 +- .../specialwords/ParametersAsyncClient.java | 136 -------- .../com/specialwords/ParametersClient.java | 136 -------- .../implementation/ParametersImpl.java | 136 -------- .../java/com/specialwords/models/And.java | 4 +- .../main/java/com/specialwords/models/As.java | 4 +- .../java/com/specialwords/models/Assert.java | 4 +- .../java/com/specialwords/models/Async.java | 4 +- .../java/com/specialwords/models/Await.java | 4 +- .../java/com/specialwords/models/Break.java | 4 +- .../com/specialwords/models/ClassModel.java | 4 +- .../com/specialwords/models/Constructor.java | 4 +- .../com/specialwords/models/Continue.java | 4 +- .../java/com/specialwords/models/Def.java | 4 +- .../java/com/specialwords/models/Del.java | 4 +- .../java/com/specialwords/models/Elif.java | 4 +- .../java/com/specialwords/models/Else.java | 4 +- .../java/com/specialwords/models/Except.java | 4 +- .../java/com/specialwords/models/Exec.java | 4 +- .../java/com/specialwords/models/Finally.java | 4 +- .../java/com/specialwords/models/For.java | 4 +- .../java/com/specialwords/models/From.java | 4 +- .../java/com/specialwords/models/Global.java | 4 +- .../main/java/com/specialwords/models/If.java | 4 +- .../java/com/specialwords/models/Import.java | 4 +- .../main/java/com/specialwords/models/In.java | 4 +- .../main/java/com/specialwords/models/Is.java | 4 +- .../java/com/specialwords/models/Lambda.java | 4 +- .../java/com/specialwords/models/Not.java | 4 +- .../main/java/com/specialwords/models/Or.java | 4 +- .../java/com/specialwords/models/Pass.java | 4 +- .../java/com/specialwords/models/Raise.java | 4 +- .../java/com/specialwords/models/Return.java | 4 +- .../com/specialwords/models/SameAsModel.java | 4 +- .../java/com/specialwords/models/Try.java | 4 +- .../java/com/specialwords/models/While.java | 4 +- .../java/com/specialwords/models/With.java | 4 +- .../java/com/specialwords/models/Yield.java | 4 +- .../extensible/ExtensibleAsyncClient.java | 16 +- .../enums/extensible/ExtensibleClient.java | 16 +- .../implementation/StringOperationsImpl.java | 16 +- .../type/enums/fixed/FixedAsyncClient.java | 16 +- .../com/type/enums/fixed/FixedClient.java | 16 +- .../implementation/StringOperationsImpl.java | 16 +- .../type/model/empty/EmptyAsyncClient.java | 16 +- .../com/type/model/empty/EmptyClient.java | 16 +- .../empty/implementation/EmptyClientImpl.java | 16 +- .../model/flatten/FlattenAsyncClient.java | 8 - .../com/type/model/flatten/FlattenClient.java | 8 - .../implementation/FlattenClientImpl.java | 8 - .../flatten/models/ChildFlattenModel.java | 8 +- .../type/model/flatten/models/ChildModel.java | 8 +- .../model/flatten/models/FlattenModel.java | 8 +- .../flatten/models/NestedFlattenModel.java | 8 +- .../EnumDiscriminatorAsyncClient.java | 16 +- .../EnumDiscriminatorClient.java | 16 +- .../EnumDiscriminatorClientImpl.java | 16 +- .../NestedDiscriminatorAsyncClient.java | 8 - .../NestedDiscriminatorClient.java | 8 - .../NestedDiscriminatorClientImpl.java | 8 - .../nesteddiscriminator/models/Fish.java | 4 +- .../models/GoblinShark.java | 4 +- .../nesteddiscriminator/models/Salmon.java | 6 +- .../nesteddiscriminator/models/SawShark.java | 4 +- .../nesteddiscriminator/models/Shark.java | 4 +- .../NotDiscriminatedAsyncClient.java | 8 - .../NotDiscriminatedClient.java | 8 - .../NotDiscriminatedClientImpl.java | 8 - .../notdiscriminated/models/Cat.java | 4 +- .../notdiscriminated/models/Pet.java | 4 +- .../notdiscriminated/models/Siamese.java | 4 +- .../recursive/RecursiveAsyncClient.java | 8 +- .../recursive/RecursiveClient.java | 8 +- .../implementation/RecursiveClientImpl.java | 8 +- .../recursive/models/Extension.java | 4 +- .../SingleDiscriminatorAsyncClient.java | 8 - .../SingleDiscriminatorClient.java | 8 - .../SingleDiscriminatorClientImpl.java | 8 - .../singlediscriminator/models/Bird.java | 8 +- .../singlediscriminator/models/Dinosaur.java | 4 +- .../singlediscriminator/models/Eagle.java | 10 +- .../singlediscriminator/models/Goose.java | 4 +- .../singlediscriminator/models/SeaGull.java | 4 +- .../singlediscriminator/models/Sparrow.java | 4 +- .../type/model/usage/UsageAsyncClient.java | 16 +- .../com/type/model/usage/UsageClient.java | 16 +- .../usage/implementation/UsageClientImpl.java | 16 +- .../model/usage/models/InputOutputRecord.java | 4 +- .../type/model/usage/models/InputRecord.java | 4 +- .../type/model/usage/models/OutputRecord.java | 4 +- .../visibility/VisibilityAsyncClient.java | 24 -- .../model/visibility/VisibilityClient.java | 24 -- .../implementation/VisibilityClientImpl.java | 24 -- ...xtendsDifferentSpreadFloatAsyncClient.java | 8 +- .../ExtendsDifferentSpreadFloatClient.java | 8 +- ...sDifferentSpreadModelArrayAsyncClient.java | 8 +- ...xtendsDifferentSpreadModelArrayClient.java | 8 +- ...xtendsDifferentSpreadModelAsyncClient.java | 8 +- .../ExtendsDifferentSpreadModelClient.java | 8 +- ...tendsDifferentSpreadStringAsyncClient.java | 8 +- .../ExtendsDifferentSpreadStringClient.java | 8 +- .../ExtendsFloatAsyncClient.java | 4 - .../ExtendsFloatClient.java | 4 - .../ExtendsModelArrayAsyncClient.java | 4 - .../ExtendsModelArrayClient.java | 4 - .../ExtendsModelAsyncClient.java | 4 - .../ExtendsModelClient.java | 4 - .../ExtendsStringAsyncClient.java | 4 - .../ExtendsStringClient.java | 4 - .../ExtendsUnknownAsyncClient.java | 4 - .../ExtendsUnknownClient.java | 4 - .../ExtendsUnknownDerivedAsyncClient.java | 4 - .../ExtendsUnknownDerivedClient.java | 4 - ...xtendsUnknownDiscriminatedAsyncClient.java | 4 - .../ExtendsUnknownDiscriminatedClient.java | 4 - .../IsFloatAsyncClient.java | 4 - .../additionalproperties/IsFloatClient.java | 4 - .../IsModelArrayAsyncClient.java | 4 - .../IsModelArrayClient.java | 4 - .../IsModelAsyncClient.java | 4 - .../additionalproperties/IsModelClient.java | 4 - .../IsStringAsyncClient.java | 4 - .../additionalproperties/IsStringClient.java | 4 - .../IsUnknownAsyncClient.java | 4 - .../additionalproperties/IsUnknownClient.java | 4 - .../IsUnknownDerivedAsyncClient.java | 8 +- .../IsUnknownDerivedClient.java | 8 +- .../IsUnknownDiscriminatedAsyncClient.java | 4 - .../IsUnknownDiscriminatedClient.java | 4 - .../MultipleSpreadAsyncClient.java | 8 +- .../MultipleSpreadClient.java | 8 +- .../SpreadDifferentFloatAsyncClient.java | 8 +- .../SpreadDifferentFloatClient.java | 8 +- .../SpreadDifferentModelArrayAsyncClient.java | 8 +- .../SpreadDifferentModelArrayClient.java | 8 +- .../SpreadDifferentModelAsyncClient.java | 8 +- .../SpreadDifferentModelClient.java | 8 +- .../SpreadDifferentStringAsyncClient.java | 8 +- .../SpreadDifferentStringClient.java | 8 +- .../SpreadFloatAsyncClient.java | 8 +- .../SpreadFloatClient.java | 8 +- .../SpreadModelAsyncClient.java | 8 +- .../SpreadModelClient.java | 8 +- ...adRecordDiscriminatedUnionAsyncClient.java | 8 +- .../SpreadRecordDiscriminatedUnionClient.java | 8 +- ...cordNonDiscriminatedUnion2AsyncClient.java | 8 +- ...eadRecordNonDiscriminatedUnion2Client.java | 8 +- ...cordNonDiscriminatedUnion3AsyncClient.java | 8 +- ...eadRecordNonDiscriminatedUnion3Client.java | 8 +- ...ecordNonDiscriminatedUnionAsyncClient.java | 8 +- ...readRecordNonDiscriminatedUnionClient.java | 8 +- .../SpreadRecordUnionAsyncClient.java | 8 +- .../SpreadRecordUnionClient.java | 8 +- .../SpreadStringAsyncClient.java | 8 +- .../SpreadStringClient.java | 8 +- .../ExtendsDifferentSpreadFloatsImpl.java | 8 +- ...ExtendsDifferentSpreadModelArraysImpl.java | 8 +- .../ExtendsDifferentSpreadModelsImpl.java | 8 +- .../ExtendsDifferentSpreadStringsImpl.java | 8 +- .../implementation/ExtendsFloatsImpl.java | 4 - .../ExtendsModelArraysImpl.java | 4 - .../implementation/ExtendsModelsImpl.java | 4 - .../implementation/ExtendsStringsImpl.java | 4 - .../ExtendsUnknownDerivedsImpl.java | 4 - .../ExtendsUnknownDiscriminatedsImpl.java | 4 - .../implementation/ExtendsUnknownsImpl.java | 4 - .../implementation/IsFloatsImpl.java | 4 - .../implementation/IsModelArraysImpl.java | 4 - .../implementation/IsModelsImpl.java | 4 - .../implementation/IsStringsImpl.java | 4 - .../implementation/IsUnknownDerivedsImpl.java | 8 +- .../IsUnknownDiscriminatedsImpl.java | 4 - .../implementation/IsUnknownsImpl.java | 4 - .../implementation/MultipleSpreadsImpl.java | 8 +- .../SpreadDifferentFloatsImpl.java | 8 +- .../SpreadDifferentModelArraysImpl.java | 8 +- .../SpreadDifferentModelsImpl.java | 8 +- .../SpreadDifferentStringsImpl.java | 8 +- .../implementation/SpreadFloatsImpl.java | 8 +- .../implementation/SpreadModelsImpl.java | 8 +- .../SpreadRecordDiscriminatedUnionsImpl.java | 8 +- ...readRecordNonDiscriminatedUnion2sImpl.java | 8 +- ...readRecordNonDiscriminatedUnion3sImpl.java | 8 +- ...preadRecordNonDiscriminatedUnionsImpl.java | 8 +- .../SpreadRecordUnionsImpl.java | 8 +- .../implementation/SpreadStringsImpl.java | 8 +- .../models/DifferentSpreadFloatRecord.java | 12 +- .../DifferentSpreadModelArrayRecord.java | 16 +- .../models/DifferentSpreadModelRecord.java | 16 +- .../models/DifferentSpreadStringRecord.java | 12 +- .../ExtendsFloatAdditionalProperties.java | 10 +- .../ExtendsModelAdditionalProperties.java | 14 +- ...ExtendsModelArrayAdditionalProperties.java | 10 +- .../ExtendsStringAdditionalProperties.java | 10 +- .../ExtendsUnknownAdditionalProperties.java | 10 +- ...nownAdditionalPropertiesDiscriminated.java | 10 +- .../models/IsFloatAdditionalProperties.java | 10 +- .../models/IsModelAdditionalProperties.java | 14 +- .../IsModelArrayAdditionalProperties.java | 10 +- .../models/IsStringAdditionalProperties.java | 10 +- .../models/IsUnknownAdditionalProperties.java | 10 +- ...nownAdditionalPropertiesDiscriminated.java | 10 +- .../models/MultipleSpreadRecord.java | 10 +- .../models/SpreadFloatRecord.java | 10 +- .../models/SpreadModelRecord.java | 16 +- .../SpreadRecordForDiscriminatedUnion.java | 10 +- .../SpreadRecordForNonDiscriminatedUnion.java | 10 +- ...SpreadRecordForNonDiscriminatedUnion2.java | 10 +- ...SpreadRecordForNonDiscriminatedUnion3.java | 10 +- .../models/SpreadRecordForUnion.java | 10 +- .../models/SpreadStringRecord.java | 10 +- .../models/WidgetData0.java | 4 +- .../models/WidgetData2.java | 4 +- .../property/nullable/BytesAsyncClient.java | 16 +- .../type/property/nullable/BytesClient.java | 16 +- .../nullable/CollectionsByteAsyncClient.java | 16 +- .../nullable/CollectionsByteClient.java | 16 +- .../nullable/CollectionsModelAsyncClient.java | 16 +- .../nullable/CollectionsModelClient.java | 16 +- .../DatetimeOperationAsyncClient.java | 16 +- .../nullable/DatetimeOperationClient.java | 16 +- .../DurationOperationAsyncClient.java | 16 +- .../nullable/DurationOperationClient.java | 16 +- .../nullable/StringOperationAsyncClient.java | 16 +- .../nullable/StringOperationClient.java | 16 +- .../nullable/implementation/BytesImpl.java | 16 +- .../implementation/CollectionsBytesImpl.java | 16 +- .../implementation/CollectionsModelsImpl.java | 16 +- .../DatetimeOperationsImpl.java | 16 +- .../DurationOperationsImpl.java | 16 +- .../implementation/StringOperationsImpl.java | 16 +- .../optional/BooleanLiteralAsyncClient.java | 16 +- .../optional/BooleanLiteralClient.java | 16 +- .../property/optional/BytesAsyncClient.java | 16 +- .../type/property/optional/BytesClient.java | 16 +- .../optional/CollectionsByteAsyncClient.java | 16 +- .../optional/CollectionsByteClient.java | 16 +- .../optional/CollectionsModelAsyncClient.java | 16 +- .../optional/CollectionsModelClient.java | 16 +- .../DatetimeOperationAsyncClient.java | 16 +- .../optional/DatetimeOperationClient.java | 16 +- .../DurationOperationAsyncClient.java | 16 +- .../optional/DurationOperationClient.java | 16 +- .../optional/FloatLiteralAsyncClient.java | 16 +- .../property/optional/FloatLiteralClient.java | 16 +- .../optional/IntLiteralAsyncClient.java | 16 +- .../property/optional/IntLiteralClient.java | 16 +- .../RequiredAndOptionalAsyncClient.java | 16 +- .../optional/RequiredAndOptionalClient.java | 16 +- .../optional/StringLiteralAsyncClient.java | 16 +- .../optional/StringLiteralClient.java | 16 +- .../optional/StringOperationAsyncClient.java | 16 +- .../optional/StringOperationClient.java | 16 +- .../UnionFloatLiteralAsyncClient.java | 16 +- .../optional/UnionFloatLiteralClient.java | 16 +- .../optional/UnionIntLiteralAsyncClient.java | 16 +- .../optional/UnionIntLiteralClient.java | 16 +- .../UnionStringLiteralAsyncClient.java | 16 +- .../optional/UnionStringLiteralClient.java | 16 +- .../implementation/BooleanLiteralsImpl.java | 16 +- .../optional/implementation/BytesImpl.java | 16 +- .../implementation/CollectionsBytesImpl.java | 16 +- .../implementation/CollectionsModelsImpl.java | 16 +- .../DatetimeOperationsImpl.java | 16 +- .../DurationOperationsImpl.java | 16 +- .../implementation/FloatLiteralsImpl.java | 16 +- .../implementation/IntLiteralsImpl.java | 16 +- .../RequiredAndOptionalsImpl.java | 16 +- .../implementation/StringLiteralsImpl.java | 16 +- .../implementation/StringOperationsImpl.java | 16 +- .../UnionFloatLiteralsImpl.java | 16 +- .../implementation/UnionIntLiteralsImpl.java | 16 +- .../UnionStringLiteralsImpl.java | 16 +- .../valuetypes/BooleanLiteralAsyncClient.java | 4 - .../valuetypes/BooleanLiteralClient.java | 4 - .../BooleanOperationAsyncClient.java | 8 +- .../valuetypes/BooleanOperationClient.java | 8 +- .../property/valuetypes/BytesAsyncClient.java | 8 +- .../type/property/valuetypes/BytesClient.java | 8 +- .../valuetypes/CollectionsIntAsyncClient.java | 8 +- .../valuetypes/CollectionsIntClient.java | 8 +- .../CollectionsModelAsyncClient.java | 8 +- .../valuetypes/CollectionsModelClient.java | 8 +- .../CollectionsStringAsyncClient.java | 8 +- .../valuetypes/CollectionsStringClient.java | 8 +- .../DatetimeOperationAsyncClient.java | 8 +- .../valuetypes/DatetimeOperationClient.java | 8 +- .../valuetypes/Decimal128AsyncClient.java | 8 +- .../property/valuetypes/Decimal128Client.java | 8 +- .../valuetypes/DecimalAsyncClient.java | 8 +- .../property/valuetypes/DecimalClient.java | 8 +- .../DictionaryStringAsyncClient.java | 8 +- .../valuetypes/DictionaryStringClient.java | 8 +- .../DurationOperationAsyncClient.java | 8 +- .../valuetypes/DurationOperationClient.java | 8 +- .../property/valuetypes/EnumAsyncClient.java | 8 +- .../type/property/valuetypes/EnumClient.java | 8 +- .../valuetypes/ExtensibleEnumAsyncClient.java | 8 +- .../valuetypes/ExtensibleEnumClient.java | 8 +- .../valuetypes/FloatLiteralAsyncClient.java | 4 - .../valuetypes/FloatLiteralClient.java | 4 - .../valuetypes/FloatOperationAsyncClient.java | 8 +- .../valuetypes/FloatOperationClient.java | 8 +- .../property/valuetypes/IntAsyncClient.java | 8 +- .../type/property/valuetypes/IntClient.java | 8 +- .../valuetypes/IntLiteralAsyncClient.java | 4 - .../property/valuetypes/IntLiteralClient.java | 4 - .../property/valuetypes/ModelAsyncClient.java | 8 +- .../type/property/valuetypes/ModelClient.java | 8 +- .../property/valuetypes/NeverAsyncClient.java | 4 - .../type/property/valuetypes/NeverClient.java | 4 - .../valuetypes/StringLiteralAsyncClient.java | 4 - .../valuetypes/StringLiteralClient.java | 4 - .../StringOperationAsyncClient.java | 8 +- .../valuetypes/StringOperationClient.java | 8 +- .../valuetypes/UnionEnumValueAsyncClient.java | 8 +- .../valuetypes/UnionEnumValueClient.java | 8 +- .../UnionFloatLiteralAsyncClient.java | 4 - .../valuetypes/UnionFloatLiteralClient.java | 4 - .../UnionIntLiteralAsyncClient.java | 4 - .../valuetypes/UnionIntLiteralClient.java | 4 - .../UnionStringLiteralAsyncClient.java | 4 - .../valuetypes/UnionStringLiteralClient.java | 4 - .../valuetypes/UnknownArrayAsyncClient.java | 4 - .../valuetypes/UnknownArrayClient.java | 4 - .../valuetypes/UnknownDictAsyncClient.java | 4 - .../valuetypes/UnknownDictClient.java | 4 - .../valuetypes/UnknownIntAsyncClient.java | 4 - .../property/valuetypes/UnknownIntClient.java | 4 - .../valuetypes/UnknownStringAsyncClient.java | 4 - .../valuetypes/UnknownStringClient.java | 4 - .../implementation/BooleanLiteralsImpl.java | 4 - .../implementation/BooleanOperationsImpl.java | 8 +- .../valuetypes/implementation/BytesImpl.java | 8 +- .../implementation/CollectionsIntsImpl.java | 8 +- .../implementation/CollectionsModelsImpl.java | 8 +- .../CollectionsStringsImpl.java | 8 +- .../DatetimeOperationsImpl.java | 8 +- .../implementation/Decimal128sImpl.java | 8 +- .../implementation/DecimalsImpl.java | 8 +- .../implementation/DictionaryStringsImpl.java | 8 +- .../DurationOperationsImpl.java | 8 +- .../valuetypes/implementation/EnumsImpl.java | 8 +- .../implementation/ExtensibleEnumsImpl.java | 8 +- .../implementation/FloatLiteralsImpl.java | 4 - .../implementation/FloatOperationsImpl.java | 8 +- .../implementation/IntLiteralsImpl.java | 4 - .../valuetypes/implementation/IntsImpl.java | 8 +- .../valuetypes/implementation/ModelsImpl.java | 8 +- .../valuetypes/implementation/NeversImpl.java | 4 - .../implementation/StringLiteralsImpl.java | 4 - .../implementation/StringOperationsImpl.java | 8 +- .../implementation/UnionEnumValuesImpl.java | 8 +- .../UnionFloatLiteralsImpl.java | 4 - .../implementation/UnionIntLiteralsImpl.java | 4 - .../UnionStringLiteralsImpl.java | 4 - .../implementation/UnknownArraysImpl.java | 4 - .../implementation/UnknownDictsImpl.java | 4 - .../implementation/UnknownIntsImpl.java | 4 - .../implementation/UnknownStringsImpl.java | 4 - .../scalar/BooleanOperationAsyncClient.java | 4 - .../type/scalar/BooleanOperationClient.java | 4 - .../scalar/Decimal128TypeAsyncClient.java | 8 - .../com/type/scalar/Decimal128TypeClient.java | 8 - .../scalar/Decimal128VerifyAsyncClient.java | 4 - .../type/scalar/Decimal128VerifyClient.java | 4 - .../type/scalar/DecimalTypeAsyncClient.java | 8 - .../com/type/scalar/DecimalTypeClient.java | 8 - .../type/scalar/DecimalVerifyAsyncClient.java | 4 - .../com/type/scalar/DecimalVerifyClient.java | 4 - .../scalar/StringOperationAsyncClient.java | 4 - .../type/scalar/StringOperationClient.java | 4 - .../com/type/scalar/UnknownAsyncClient.java | 4 +- .../java/com/type/scalar/UnknownClient.java | 4 +- .../implementation/BooleanOperationsImpl.java | 4 - .../implementation/Decimal128TypesImpl.java | 8 - .../Decimal128VerifiesImpl.java | 4 - .../implementation/DecimalTypesImpl.java | 8 - .../implementation/DecimalVerifiesImpl.java | 4 - .../implementation/StringOperationsImpl.java | 4 - .../scalar/implementation/UnknownsImpl.java | 4 +- .../main/java/com/type/union/models/Cat.java | 4 +- .../main/java/com/type/union/models/Dog.java | 4 +- .../versioning/added/AddedAsyncClient.java | 4 - .../com/versioning/added/AddedClient.java | 4 - .../added/implementation/AddedClientImpl.java | 4 - .../com/versioning/added/models/ModelV1.java | 4 +- .../com/versioning/added/models/ModelV2.java | 4 +- .../madeoptional/MadeOptionalAsyncClient.java | 6 +- .../madeoptional/MadeOptionalClient.java | 6 +- .../MadeOptionalClientImpl.java | 8 +- .../madeoptional/models/TestModel.java | 10 +- .../versioning/removed/models/ModelV2.java | 4 +- .../renamedfrom/RenamedFromAsyncClient.java | 4 - .../renamedfrom/RenamedFromClient.java | 4 - .../implementation/RenamedFromClientImpl.java | 4 - .../renamedfrom/models/NewModel.java | 4 +- .../ReturnTypeChangedFromAsyncClient.java | 4 - .../ReturnTypeChangedFromClient.java | 4 - .../ReturnTypeChangedFromClientImpl.java | 4 - .../TypeChangedFromAsyncClient.java | 4 - .../TypeChangedFromClient.java | 4 - .../TypeChangedFromClientImpl.java | 4 - .../typechangedfrom/models/TestModel.java | 8 +- .../main/java/fixtures/bodyarray/Arrays.java | 252 +++++++-------- ...waggerBATDictionaryServiceAsyncClient.java | 72 ++--- ...RestSwaggerBATDictionaryServiceClient.java | 72 ++--- .../implementation/DictionariesImpl.java | 216 ++++++------- .../models/ApplicationPackageReference.java | 16 +- .../models/ApplicationPackageReference.java | 16 +- .../models/ApplicationPackageReference.java | 16 +- .../models/ApplicationPackageReference.java | 16 +- .../models/ApplicationPackageReference.java | 16 +- .../fixtures/requiredoptional/Explicits.java | 48 +-- .../java/fixtures/specialheader/Headers.java | 16 +- .../streamstylexmlserialization/Xmls.java | 144 ++++----- .../validation/AutoRestValidationTest.java | 24 +- .../main/java/fixtures/xmlservice/Xmls.java | 144 ++++----- 696 files changed, 2339 insertions(+), 7767 deletions(-) diff --git a/azure-dataplane-tests/src/main/java/com/azure/ai/formrecognizer/documentanalysis/dpg/implementation/DocumentModelsImpl.java b/azure-dataplane-tests/src/main/java/com/azure/ai/formrecognizer/documentanalysis/dpg/implementation/DocumentModelsImpl.java index bccb798db1..d3d81ec5ba 100644 --- a/azure-dataplane-tests/src/main/java/com/azure/ai/formrecognizer/documentanalysis/dpg/implementation/DocumentModelsImpl.java +++ b/azure-dataplane-tests/src/main/java/com/azure/ai/formrecognizer/documentanalysis/dpg/implementation/DocumentModelsImpl.java @@ -1722,9 +1722,7 @@ public Response deleteModelWithResponse(String modelId, RequestOptions req * } * } * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1760,9 +1758,7 @@ private Mono> listModelsNextSinglePageAsync(String nex * } * } * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/azure-dataplane-tests/src/main/java/com/azure/ai/formrecognizer/documentanalysis/dpg/implementation/MiscellaneousImpl.java b/azure-dataplane-tests/src/main/java/com/azure/ai/formrecognizer/documentanalysis/dpg/implementation/MiscellaneousImpl.java index e57a646f27..c012a8990b 100644 --- a/azure-dataplane-tests/src/main/java/com/azure/ai/formrecognizer/documentanalysis/dpg/implementation/MiscellaneousImpl.java +++ b/azure-dataplane-tests/src/main/java/com/azure/ai/formrecognizer/documentanalysis/dpg/implementation/MiscellaneousImpl.java @@ -474,9 +474,7 @@ public Response getResourceInfoWithResponse(RequestOptions requestOp * } * } * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -515,9 +513,7 @@ private Mono> listOperationsNextSinglePageAsync(String * } * } * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/azure-dataplane-tests/src/main/java/com/azure/ai/formrecognizer/documentanalysis/implementation/DocumentModelsImpl.java b/azure-dataplane-tests/src/main/java/com/azure/ai/formrecognizer/documentanalysis/implementation/DocumentModelsImpl.java index f2831c98df..59ca6fa8e5 100644 --- a/azure-dataplane-tests/src/main/java/com/azure/ai/formrecognizer/documentanalysis/implementation/DocumentModelsImpl.java +++ b/azure-dataplane-tests/src/main/java/com/azure/ai/formrecognizer/documentanalysis/implementation/DocumentModelsImpl.java @@ -1674,9 +1674,7 @@ public void deleteModel(String modelId) { /** * Get the next page of items. * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorResponseException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -1695,9 +1693,7 @@ public Mono> listModelsNextSinglePageAsync(S /** * Get the next page of items. * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorResponseException thrown if the request is rejected by server. @@ -1716,9 +1712,7 @@ public Mono> listModelsNextSinglePageAsync(S /** * Get the next page of items. * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorResponseException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -1736,9 +1730,7 @@ public PagedResponse listModelsNextSinglePage(String nextL /** * Get the next page of items. * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorResponseException thrown if the request is rejected by server. diff --git a/azure-dataplane-tests/src/main/java/com/azure/ai/formrecognizer/documentanalysis/implementation/MiscellaneousImpl.java b/azure-dataplane-tests/src/main/java/com/azure/ai/formrecognizer/documentanalysis/implementation/MiscellaneousImpl.java index f0a533f8ab..490701085e 100644 --- a/azure-dataplane-tests/src/main/java/com/azure/ai/formrecognizer/documentanalysis/implementation/MiscellaneousImpl.java +++ b/azure-dataplane-tests/src/main/java/com/azure/ai/formrecognizer/documentanalysis/implementation/MiscellaneousImpl.java @@ -420,9 +420,7 @@ public ResourceDetails getResourceInfo() { /** * Get the next page of items. * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorResponseException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -441,9 +439,7 @@ public Mono> listOperationsNextSinglePageAsync(S /** * Get the next page of items. * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorResponseException thrown if the request is rejected by server. @@ -462,9 +458,7 @@ public Mono> listOperationsNextSinglePageAsync(S /** * Get the next page of items. * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorResponseException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -482,9 +476,7 @@ public PagedResponse listOperationsNextSinglePage(String nextL /** * Get the next page of items. * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorResponseException thrown if the request is rejected by server. diff --git a/azure-dataplane-tests/src/main/java/com/azure/containers/containerregistry/implementation/ContainerRegistriesImpl.java b/azure-dataplane-tests/src/main/java/com/azure/containers/containerregistry/implementation/ContainerRegistriesImpl.java index e0eebfd69e..ec6772c386 100644 --- a/azure-dataplane-tests/src/main/java/com/azure/containers/containerregistry/implementation/ContainerRegistriesImpl.java +++ b/azure-dataplane-tests/src/main/java/com/azure/containers/containerregistry/implementation/ContainerRegistriesImpl.java @@ -1934,9 +1934,7 @@ public ArtifactManifestPropertiesInternal updateManifestProperties(String name, /** * Get the next page of items. * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws AcrErrorsException thrown if the request is rejected by server. @@ -1954,9 +1952,7 @@ public Mono> getRepositoriesNextSinglePageAsync(String nex /** * Get the next page of items. * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws AcrErrorsException thrown if the request is rejected by server. @@ -1975,9 +1971,7 @@ public PagedResponse getRepositoriesNextSinglePage(String nextLink, Cont /** * Get the next page of items. * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws AcrErrorsException thrown if the request is rejected by server. @@ -1995,9 +1989,7 @@ public Mono> getTagsNextSinglePageAsync(String /** * Get the next page of items. * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws AcrErrorsException thrown if the request is rejected by server. @@ -2016,9 +2008,7 @@ public PagedResponse getTagsNextSinglePage(String nextLink, C /** * Get the next page of items. * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws AcrErrorsException thrown if the request is rejected by server. @@ -2037,9 +2027,7 @@ public Mono> getManifestsNextSinglePageAsy /** * Get the next page of items. * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws AcrErrorsException thrown if the request is rejected by server. diff --git a/azure-dataplane-tests/src/main/java/com/azure/data/schemaregistry/implementation/SchemaGroupsOperationsImpl.java b/azure-dataplane-tests/src/main/java/com/azure/data/schemaregistry/implementation/SchemaGroupsOperationsImpl.java index 08caac215b..2d71161e20 100644 --- a/azure-dataplane-tests/src/main/java/com/azure/data/schemaregistry/implementation/SchemaGroupsOperationsImpl.java +++ b/azure-dataplane-tests/src/main/java/com/azure/data/schemaregistry/implementation/SchemaGroupsOperationsImpl.java @@ -226,9 +226,7 @@ public PagedIterable list(Context context) { /** * Get the next page of items. * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -246,9 +244,7 @@ public Mono> listNextSinglePageAsync(String nextLink) { /** * Get the next page of items. * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -267,9 +263,7 @@ public Mono> listNextSinglePageAsync(String nextLink, Cont /** * Get the next page of items. * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -287,9 +281,7 @@ public PagedResponse listNextSinglePage(String nextLink) { /** * Get the next page of items. * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. diff --git a/azure-dataplane-tests/src/main/java/com/azure/data/schemaregistry/implementation/SchemasImpl.java b/azure-dataplane-tests/src/main/java/com/azure/data/schemaregistry/implementation/SchemasImpl.java index d23f0b7aa3..7cad7e3632 100644 --- a/azure-dataplane-tests/src/main/java/com/azure/data/schemaregistry/implementation/SchemasImpl.java +++ b/azure-dataplane-tests/src/main/java/com/azure/data/schemaregistry/implementation/SchemasImpl.java @@ -1113,9 +1113,7 @@ public void register(String groupName, String schemaName, String contentType, Bi /** * Get the next page of items. * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -1134,9 +1132,7 @@ public Mono> getVersionsNextSinglePageAsync(String nextLi /** * Get the next page of items. * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -1155,9 +1151,7 @@ public Mono> getVersionsNextSinglePageAsync(String nextLi /** * Get the next page of items. * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -1176,9 +1170,7 @@ public PagedResponse getVersionsNextSinglePage(String nextLink) { /** * Get the next page of items. * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. diff --git a/azure-tests/src/main/java/fixtures/custombaseuri/paging/Pagings.java b/azure-tests/src/main/java/fixtures/custombaseuri/paging/Pagings.java index 82d9d7548b..72c8d2c4bb 100644 --- a/azure-tests/src/main/java/fixtures/custombaseuri/paging/Pagings.java +++ b/azure-tests/src/main/java/fixtures/custombaseuri/paging/Pagings.java @@ -462,9 +462,7 @@ public PagedResponse getPagesPartialUrlOperationNextSinglePage(String a /** * Get the next page of items. * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @param accountName Account Name. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -493,9 +491,7 @@ public Mono> getPagesPartialUrlNextSinglePageAsync(String /** * Get the next page of items. * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @param accountName Account Name. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -525,9 +521,7 @@ public Mono> getPagesPartialUrlNextSinglePageAsync(String /** * Get the next page of items. * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @param accountName Account Name. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -542,9 +536,7 @@ public PagedResponse getPagesPartialUrlNextSinglePage(String nextLink, /** * Get the next page of items. * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @param accountName Account Name. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. diff --git a/azure-tests/src/main/java/fixtures/paging/implementation/PagingsImpl.java b/azure-tests/src/main/java/fixtures/paging/implementation/PagingsImpl.java index 9400fbf85d..dfe4c933d9 100644 --- a/azure-tests/src/main/java/fixtures/paging/implementation/PagingsImpl.java +++ b/azure-tests/src/main/java/fixtures/paging/implementation/PagingsImpl.java @@ -4031,9 +4031,7 @@ public PagedIterable getPagingModelWithItemNameWithXMSClientName(Contex /** * Get the next page of items. * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -4058,9 +4056,7 @@ public Mono> getNoItemNamePagesNextSinglePageAsync(String /** * Get the next page of items. * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -4085,9 +4081,7 @@ public Mono> getNoItemNamePagesNextSinglePageAsync(String /** * Get the next page of items. * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -4101,9 +4095,7 @@ public PagedResponse getNoItemNamePagesNextSinglePage(String nextLink) /** * Get the next page of items. * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -4118,9 +4110,7 @@ public PagedResponse getNoItemNamePagesNextSinglePage(String nextLink, /** * Get the next page of items. * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -4146,9 +4136,7 @@ public Mono> getEmptyNextLinkNamePagesNextSinglePageAsync /** * Get the next page of items. * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -4173,9 +4161,7 @@ public Mono> getEmptyNextLinkNamePagesNextSinglePageAsync /** * Get the next page of items. * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -4189,9 +4175,7 @@ public PagedResponse getEmptyNextLinkNamePagesNextSinglePage(String nex /** * Get the next page of items. * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -4206,9 +4190,7 @@ public PagedResponse getEmptyNextLinkNamePagesNextSinglePage(String nex /** * Get the next page of items. * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -4233,9 +4215,7 @@ public Mono> getSinglePagesNextSinglePageAsync(String nex /** * Get the next page of items. * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -4260,9 +4240,7 @@ public Mono> getSinglePagesNextSinglePageAsync(String nex /** * Get the next page of items. * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -4276,9 +4254,7 @@ public PagedResponse getSinglePagesNextSinglePage(String nextLink) { /** * Get the next page of items. * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -4293,9 +4269,7 @@ public PagedResponse getSinglePagesNextSinglePage(String nextLink, Cont /** * Get the next page of items. * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @param name The name parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -4324,9 +4298,7 @@ public Mono> getSinglePagesWithBodyParamsNextSinglePageAs /** * Get the next page of items. * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @param name The name parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -4355,9 +4327,7 @@ public Mono> getSinglePagesWithBodyParamsNextSinglePageAs /** * Get the next page of items. * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @param name The name parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -4372,9 +4342,7 @@ public PagedResponse getSinglePagesWithBodyParamsNextSinglePage(String /** * Get the next page of items. * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @param name The name parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -4391,9 +4359,7 @@ public PagedResponse getSinglePagesWithBodyParamsNextSinglePage(String /** * Get the next page of items. * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -4418,9 +4384,7 @@ public Mono> firstResponseEmptyNextSinglePageAsync(String /** * Get the next page of items. * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -4445,9 +4409,7 @@ public Mono> firstResponseEmptyNextSinglePageAsync(String /** * Get the next page of items. * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -4461,9 +4423,7 @@ public PagedResponse firstResponseEmptyNextSinglePage(String nextLink) /** * Get the next page of items. * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -4478,9 +4438,7 @@ public PagedResponse firstResponseEmptyNextSinglePage(String nextLink, /** * Get the next page of items. * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @param clientRequestId The clientRequestId parameter. * @param pagingGetMultiplePagesOptions Parameter group. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -4522,9 +4480,7 @@ public Mono> getMultiplePagesNextSinglePageAsync(String n /** * Get the next page of items. * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @param clientRequestId The clientRequestId parameter. * @param pagingGetMultiplePagesOptions Parameter group. * @param context The context to associate with this operation. @@ -4567,9 +4523,7 @@ public Mono> getMultiplePagesNextSinglePageAsync(String n /** * Get the next page of items. * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @param clientRequestId The clientRequestId parameter. * @param pagingGetMultiplePagesOptions Parameter group. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -4586,9 +4540,7 @@ public PagedResponse getMultiplePagesNextSinglePage(String nextLink, St /** * Get the next page of items. * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @param clientRequestId The clientRequestId parameter. * @param pagingGetMultiplePagesOptions Parameter group. * @param context The context to associate with this operation. @@ -4607,9 +4559,7 @@ public PagedResponse getMultiplePagesNextSinglePage(String nextLink, St /** * Get the next page of items. * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -4634,9 +4584,7 @@ public Mono> duplicateParamsNextSinglePageAsync(String ne /** * Get the next page of items. * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -4661,9 +4609,7 @@ public Mono> duplicateParamsNextSinglePageAsync(String ne /** * Get the next page of items. * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -4677,9 +4623,7 @@ public PagedResponse duplicateParamsNextSinglePage(String nextLink) { /** * Get the next page of items. * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -4694,9 +4638,7 @@ public PagedResponse duplicateParamsNextSinglePage(String nextLink, Con /** * Get the next page of items. * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -4721,9 +4663,7 @@ public Mono> pageWithMaxPageSizeNextSinglePageAsync(Strin /** * Get the next page of items. * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -4748,9 +4688,7 @@ public Mono> pageWithMaxPageSizeNextSinglePageAsync(Strin /** * Get the next page of items. * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -4764,9 +4702,7 @@ public PagedResponse pageWithMaxPageSizeNextSinglePage(String nextLink) /** * Get the next page of items. * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -4781,9 +4717,7 @@ public PagedResponse pageWithMaxPageSizeNextSinglePage(String nextLink, /** * Get the next page of items. * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @param clientRequestId The clientRequestId parameter. * @param pagingGetOdataMultiplePagesOptions Parameter group. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -4825,9 +4759,7 @@ public Mono> getOdataMultiplePagesNextSinglePageAsync(Str /** * Get the next page of items. * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @param clientRequestId The clientRequestId parameter. * @param pagingGetOdataMultiplePagesOptions Parameter group. * @param context The context to associate with this operation. @@ -4871,9 +4803,7 @@ public Mono> getOdataMultiplePagesNextSinglePageAsync(Str /** * Get the next page of items. * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @param clientRequestId The clientRequestId parameter. * @param pagingGetOdataMultiplePagesOptions Parameter group. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -4891,9 +4821,7 @@ public PagedResponse getOdataMultiplePagesNextSinglePage(String nextLin /** * Get the next page of items. * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @param clientRequestId The clientRequestId parameter. * @param pagingGetOdataMultiplePagesOptions Parameter group. * @param context The context to associate with this operation. @@ -4912,9 +4840,7 @@ public PagedResponse getOdataMultiplePagesNextSinglePage(String nextLin /** * Get the next page of items. * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @param pagingGetMultiplePagesWithOffsetOptions Parameter group. * @param clientRequestId The clientRequestId parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -4951,9 +4877,7 @@ public Mono> getMultiplePagesWithOffsetNextSinglePageAsyn /** * Get the next page of items. * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @param pagingGetMultiplePagesWithOffsetOptions Parameter group. * @param clientRequestId The clientRequestId parameter. * @param context The context to associate with this operation. @@ -4992,9 +4916,7 @@ public Mono> getMultiplePagesWithOffsetNextSinglePageAsyn /** * Get the next page of items. * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @param pagingGetMultiplePagesWithOffsetOptions Parameter group. * @param clientRequestId The clientRequestId parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -5012,9 +4934,7 @@ public PagedResponse getMultiplePagesWithOffsetNextSinglePage(String ne /** * Get the next page of items. * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @param pagingGetMultiplePagesWithOffsetOptions Parameter group. * @param clientRequestId The clientRequestId parameter. * @param context The context to associate with this operation. @@ -5034,9 +4954,7 @@ public PagedResponse getMultiplePagesWithOffsetNextSinglePage(String ne /** * Get the next page of items. * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -5062,9 +4980,7 @@ public Mono> getMultiplePagesRetryFirstNextSinglePageAsyn /** * Get the next page of items. * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -5090,9 +5006,7 @@ public Mono> getMultiplePagesRetryFirstNextSinglePageAsyn /** * Get the next page of items. * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -5106,9 +5020,7 @@ public PagedResponse getMultiplePagesRetryFirstNextSinglePage(String ne /** * Get the next page of items. * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -5123,9 +5035,7 @@ public PagedResponse getMultiplePagesRetryFirstNextSinglePage(String ne /** * Get the next page of items. * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -5151,9 +5061,7 @@ public Mono> getMultiplePagesRetrySecondNextSinglePageAsy /** * Get the next page of items. * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -5179,9 +5087,7 @@ public Mono> getMultiplePagesRetrySecondNextSinglePageAsy /** * Get the next page of items. * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -5195,9 +5101,7 @@ public PagedResponse getMultiplePagesRetrySecondNextSinglePage(String n /** * Get the next page of items. * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -5212,9 +5116,7 @@ public PagedResponse getMultiplePagesRetrySecondNextSinglePage(String n /** * Get the next page of items. * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -5239,9 +5141,7 @@ public Mono> getSinglePagesFailureNextSinglePageAsync(Str /** * Get the next page of items. * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -5266,9 +5166,7 @@ public Mono> getSinglePagesFailureNextSinglePageAsync(Str /** * Get the next page of items. * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -5282,9 +5180,7 @@ public PagedResponse getSinglePagesFailureNextSinglePage(String nextLin /** * Get the next page of items. * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -5299,9 +5195,7 @@ public PagedResponse getSinglePagesFailureNextSinglePage(String nextLin /** * Get the next page of items. * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -5327,9 +5221,7 @@ public Mono> getMultiplePagesFailureNextSinglePageAsync(S /** * Get the next page of items. * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -5354,9 +5246,7 @@ public Mono> getMultiplePagesFailureNextSinglePageAsync(S /** * Get the next page of items. * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -5370,9 +5260,7 @@ public PagedResponse getMultiplePagesFailureNextSinglePage(String nextL /** * Get the next page of items. * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -5387,9 +5275,7 @@ public PagedResponse getMultiplePagesFailureNextSinglePage(String nextL /** * Get the next page of items. * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -5415,9 +5301,7 @@ public Mono> getMultiplePagesFailureUriNextSinglePageAsyn /** * Get the next page of items. * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -5443,9 +5327,7 @@ public Mono> getMultiplePagesFailureUriNextSinglePageAsyn /** * Get the next page of items. * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -5459,9 +5341,7 @@ public PagedResponse getMultiplePagesFailureUriNextSinglePage(String ne /** * Get the next page of items. * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -5476,9 +5356,7 @@ public PagedResponse getMultiplePagesFailureUriNextSinglePage(String ne /** * Get the next page of items. * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @param clientRequestId The clientRequestId parameter. * @param pagingGetMultiplePagesLroOptions Parameter group. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -5520,9 +5398,7 @@ public Mono> getMultiplePagesLRONextSinglePageAsync(Strin /** * Get the next page of items. * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @param clientRequestId The clientRequestId parameter. * @param pagingGetMultiplePagesLroOptions Parameter group. * @param context The context to associate with this operation. @@ -5565,9 +5441,7 @@ public Mono> getMultiplePagesLRONextSinglePageAsync(Strin /** * Get the next page of items. * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @param clientRequestId The clientRequestId parameter. * @param pagingGetMultiplePagesLroOptions Parameter group. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -5585,9 +5459,7 @@ public PagedResponse getMultiplePagesLRONextSinglePage(String nextLink, /** * Get the next page of items. * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @param clientRequestId The clientRequestId parameter. * @param pagingGetMultiplePagesLroOptions Parameter group. * @param context The context to associate with this operation. @@ -5606,9 +5478,7 @@ public PagedResponse getMultiplePagesLRONextSinglePage(String nextLink, /** * Get the next page of items. * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -5633,9 +5503,7 @@ public Mono> appendApiVersionNextSinglePageAsync(String n /** * Get the next page of items. * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -5660,9 +5528,7 @@ public Mono> appendApiVersionNextSinglePageAsync(String n /** * Get the next page of items. * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -5676,9 +5542,7 @@ public PagedResponse appendApiVersionNextSinglePage(String nextLink) { /** * Get the next page of items. * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -5693,9 +5557,7 @@ public PagedResponse appendApiVersionNextSinglePage(String nextLink, Co /** * Get the next page of items. * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -5720,9 +5582,7 @@ public Mono> replaceApiVersionNextSinglePageAsync(String /** * Get the next page of items. * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -5747,9 +5607,7 @@ public Mono> replaceApiVersionNextSinglePageAsync(String /** * Get the next page of items. * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -5763,9 +5621,7 @@ public PagedResponse replaceApiVersionNextSinglePage(String nextLink) { /** * Get the next page of items. * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -5780,9 +5636,7 @@ public PagedResponse replaceApiVersionNextSinglePage(String nextLink, C /** * Get the next page of items. * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -5809,9 +5663,7 @@ public PagedResponse replaceApiVersionNextSinglePage(String nextLink, C /** * Get the next page of items. * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -5837,9 +5689,7 @@ public Mono> getPagingModelWithItemNameWithXMSClientNameN /** * Get the next page of items. * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -5853,9 +5703,7 @@ public PagedResponse getPagingModelWithItemNameWithXMSClientNameNextSin /** * Get the next page of items. * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. diff --git a/protocol-tests/src/main/java/fixtures/constants/AutoRestSwaggerConstantServiceAsyncClient.java b/protocol-tests/src/main/java/fixtures/constants/AutoRestSwaggerConstantServiceAsyncClient.java index 3dce03c281..e7dd375f50 100644 --- a/protocol-tests/src/main/java/fixtures/constants/AutoRestSwaggerConstantServiceAsyncClient.java +++ b/protocol-tests/src/main/java/fixtures/constants/AutoRestSwaggerConstantServiceAsyncClient.java @@ -41,8 +41,7 @@ public final class AutoRestSwaggerConstantServiceAsyncClient { * * * - * + * *
Query Parameters
NameTypeRequiredDescription
inputStringNoThe input parameter. Allowed values: "value1", - * "value2".
inputStringNo. Allowed values: "value1", "value2".
* You can add these to a request with {@link RequestOptions#addQueryParam} * @@ -66,8 +65,7 @@ public final class AutoRestSwaggerConstantServiceAsyncClient { * * * - * + * *
Query Parameters
NameTypeRequiredDescription
inputStringNoThe input parameter. Allowed values: "value1", - * "value2".
inputStringNo. Allowed values: "value1", "value2".
* You can add these to a request with {@link RequestOptions#addQueryParam} * @@ -120,7 +118,7 @@ public Mono> putNoModelAsStringNoRequiredOneValueDefaultWithRespo /** * Puts constants to the testserver. * - * @param input The input parameter. Allowed values: "value1", "value2". + * @param input . Allowed values: "value1", "value2". * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -138,7 +136,7 @@ public Mono> putNoModelAsStringRequiredTwoValueNoDefaultWithRespo /** * Puts constants to the testserver. * - * @param input The input parameter. Allowed values: "value1", "value2". + * @param input . Allowed values: "value1", "value2". * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -191,8 +189,7 @@ public Mono> putNoModelAsStringRequiredOneValueDefaultWithRespons * * * - * + * *
Query Parameters
NameTypeRequiredDescription
inputStringNoThe input parameter. Allowed values: "value1", - * "value2".
inputStringNo. Allowed values: "value1", "value2".
* You can add these to a request with {@link RequestOptions#addQueryParam} * @@ -215,8 +212,7 @@ public Mono> putModelAsStringNoRequiredTwoValueNoDefaultWithRespo * * * - * + * *
Query Parameters
NameTypeRequiredDescription
inputStringNoThe input parameter. Allowed values: "value1", - * "value2".
inputStringNo. Allowed values: "value1", "value2".
* You can add these to a request with {@link RequestOptions#addQueryParam} * @@ -239,7 +235,7 @@ public Mono> putModelAsStringNoRequiredTwoValueDefaultWithRespons * * * - * + * *
Query Parameters
NameTypeRequiredDescription
inputStringNoThe input parameter. Allowed values: "value1".
inputStringNo. Allowed values: "value1".
* You can add these to a request with {@link RequestOptions#addQueryParam} * @@ -262,7 +258,7 @@ public Mono> putModelAsStringNoRequiredOneValueNoDefaultWithRespo * * * - * + * *
Query Parameters
NameTypeRequiredDescription
inputStringNoThe input parameter. Allowed values: "value1".
inputStringNo. Allowed values: "value1".
* You can add these to a request with {@link RequestOptions#addQueryParam} * @@ -282,7 +278,7 @@ public Mono> putModelAsStringNoRequiredOneValueDefaultWithRespons /** * Puts constants to the testserver. * - * @param input The input parameter. Allowed values: "value1", "value2". + * @param input . Allowed values: "value1", "value2". * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -300,7 +296,7 @@ public Mono> putModelAsStringRequiredTwoValueNoDefaultWithRespons /** * Puts constants to the testserver. * - * @param input The input parameter. Allowed values: "value1", "value2". + * @param input . Allowed values: "value1", "value2". * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -318,7 +314,7 @@ public Mono> putModelAsStringRequiredTwoValueDefaultWithResponse( /** * Puts constants to the testserver. * - * @param input The input parameter. Allowed values: "value1". + * @param input . Allowed values: "value1". * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -336,7 +332,7 @@ public Mono> putModelAsStringRequiredOneValueNoDefaultWithRespons /** * Puts constants to the testserver. * - * @param input The input parameter. Allowed values: "value1". + * @param input . Allowed values: "value1". * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/protocol-tests/src/main/java/fixtures/constants/AutoRestSwaggerConstantServiceClient.java b/protocol-tests/src/main/java/fixtures/constants/AutoRestSwaggerConstantServiceClient.java index 79ce8d1694..ff55e071d1 100644 --- a/protocol-tests/src/main/java/fixtures/constants/AutoRestSwaggerConstantServiceClient.java +++ b/protocol-tests/src/main/java/fixtures/constants/AutoRestSwaggerConstantServiceClient.java @@ -40,8 +40,7 @@ public final class AutoRestSwaggerConstantServiceClient { * * * - * + * *
Query Parameters
NameTypeRequiredDescription
inputStringNoThe input parameter. Allowed values: "value1", - * "value2".
inputStringNo. Allowed values: "value1", "value2".
* You can add these to a request with {@link RequestOptions#addQueryParam} * @@ -64,8 +63,7 @@ public Response putNoModelAsStringNoRequiredTwoValueNoDefaultWithResponse( * * * - * + * *
Query Parameters
NameTypeRequiredDescription
inputStringNoThe input parameter. Allowed values: "value1", - * "value2".
inputStringNo. Allowed values: "value1", "value2".
* You can add these to a request with {@link RequestOptions#addQueryParam} * @@ -117,7 +115,7 @@ public Response putNoModelAsStringNoRequiredOneValueDefaultWithResponse(Re /** * Puts constants to the testserver. * - * @param input The input parameter. Allowed values: "value1", "value2". + * @param input . Allowed values: "value1", "value2". * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -135,7 +133,7 @@ public Response putNoModelAsStringRequiredTwoValueNoDefaultWithResponse(St /** * Puts constants to the testserver. * - * @param input The input parameter. Allowed values: "value1", "value2". + * @param input . Allowed values: "value1", "value2". * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -188,8 +186,7 @@ public Response putNoModelAsStringRequiredOneValueDefaultWithResponse(Requ * * * - * + * *
Query Parameters
NameTypeRequiredDescription
inputStringNoThe input parameter. Allowed values: "value1", - * "value2".
inputStringNo. Allowed values: "value1", "value2".
* You can add these to a request with {@link RequestOptions#addQueryParam} * @@ -212,8 +209,7 @@ public Response putModelAsStringNoRequiredTwoValueNoDefaultWithResponse(Re * * * - * + * *
Query Parameters
NameTypeRequiredDescription
inputStringNoThe input parameter. Allowed values: "value1", - * "value2".
inputStringNo. Allowed values: "value1", "value2".
* You can add these to a request with {@link RequestOptions#addQueryParam} * @@ -236,7 +232,7 @@ public Response putModelAsStringNoRequiredTwoValueDefaultWithResponse(Requ * * * - * + * *
Query Parameters
NameTypeRequiredDescription
inputStringNoThe input parameter. Allowed values: "value1".
inputStringNo. Allowed values: "value1".
* You can add these to a request with {@link RequestOptions#addQueryParam} * @@ -259,7 +255,7 @@ public Response putModelAsStringNoRequiredOneValueNoDefaultWithResponse(Re * * * - * + * *
Query Parameters
NameTypeRequiredDescription
inputStringNoThe input parameter. Allowed values: "value1".
inputStringNo. Allowed values: "value1".
* You can add these to a request with {@link RequestOptions#addQueryParam} * @@ -279,7 +275,7 @@ public Response putModelAsStringNoRequiredOneValueDefaultWithResponse(Requ /** * Puts constants to the testserver. * - * @param input The input parameter. Allowed values: "value1", "value2". + * @param input . Allowed values: "value1", "value2". * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -297,7 +293,7 @@ public Response putModelAsStringRequiredTwoValueNoDefaultWithResponse(Stri /** * Puts constants to the testserver. * - * @param input The input parameter. Allowed values: "value1", "value2". + * @param input . Allowed values: "value1", "value2". * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -315,7 +311,7 @@ public Response putModelAsStringRequiredTwoValueDefaultWithResponse(String /** * Puts constants to the testserver. * - * @param input The input parameter. Allowed values: "value1". + * @param input . Allowed values: "value1". * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -333,7 +329,7 @@ public Response putModelAsStringRequiredOneValueNoDefaultWithResponse(Stri /** * Puts constants to the testserver. * - * @param input The input parameter. Allowed values: "value1". + * @param input . Allowed values: "value1". * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/protocol-tests/src/main/java/fixtures/constants/implementation/ContantsImpl.java b/protocol-tests/src/main/java/fixtures/constants/implementation/ContantsImpl.java index 0144a8ae68..f00572e675 100644 --- a/protocol-tests/src/main/java/fixtures/constants/implementation/ContantsImpl.java +++ b/protocol-tests/src/main/java/fixtures/constants/implementation/ContantsImpl.java @@ -382,8 +382,7 @@ Response putClientConstantsSync(@HostParam("$host") String host, * * * - * + * *
Query Parameters
NameTypeRequiredDescription
inputStringNoThe input parameter. Allowed values: "value1", - * "value2".
inputStringNo. Allowed values: "value1", "value2".
* You can add these to a request with {@link RequestOptions#addQueryParam} * @@ -407,8 +406,7 @@ Response putClientConstantsSync(@HostParam("$host") String host, * * * - * + * *
Query Parameters
NameTypeRequiredDescription
inputStringNoThe input parameter. Allowed values: "value1", - * "value2".
inputStringNo. Allowed values: "value1", "value2".
* You can add these to a request with {@link RequestOptions#addQueryParam} * @@ -431,8 +429,7 @@ public Response putNoModelAsStringNoRequiredTwoValueNoDefaultWithResponse( * * * - * + * *
Query Parameters
NameTypeRequiredDescription
inputStringNoThe input parameter. Allowed values: "value1", - * "value2".
inputStringNo. Allowed values: "value1", "value2".
* You can add these to a request with {@link RequestOptions#addQueryParam} * @@ -456,8 +453,7 @@ public Response putNoModelAsStringNoRequiredTwoValueNoDefaultWithResponse( * * * - * + * *
Query Parameters
NameTypeRequiredDescription
inputStringNoThe input parameter. Allowed values: "value1", - * "value2".
inputStringNo. Allowed values: "value1", "value2".
* You can add these to a request with {@link RequestOptions#addQueryParam} * @@ -547,7 +543,7 @@ public Response putNoModelAsStringNoRequiredOneValueDefaultWithResponse(Re /** * Puts constants to the testserver. * - * @param input The input parameter. Allowed values: "value1", "value2". + * @param input . Allowed values: "value1", "value2". * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -565,7 +561,7 @@ public Mono> putNoModelAsStringRequiredTwoValueNoDefaultWithRespo /** * Puts constants to the testserver. * - * @param input The input parameter. Allowed values: "value1", "value2". + * @param input . Allowed values: "value1", "value2". * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -583,7 +579,7 @@ public Response putNoModelAsStringRequiredTwoValueNoDefaultWithResponse(St /** * Puts constants to the testserver. * - * @param input The input parameter. Allowed values: "value1", "value2". + * @param input . Allowed values: "value1", "value2". * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -601,7 +597,7 @@ public Mono> putNoModelAsStringRequiredTwoValueDefaultWithRespons /** * Puts constants to the testserver. * - * @param input The input parameter. Allowed values: "value1", "value2". + * @param input . Allowed values: "value1", "value2". * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -692,8 +688,7 @@ public Response putNoModelAsStringRequiredOneValueDefaultWithResponse(Requ * * * - * + * *
Query Parameters
NameTypeRequiredDescription
inputStringNoThe input parameter. Allowed values: "value1", - * "value2".
inputStringNo. Allowed values: "value1", "value2".
* You can add these to a request with {@link RequestOptions#addQueryParam} * @@ -717,8 +712,7 @@ public Response putNoModelAsStringRequiredOneValueDefaultWithResponse(Requ * * * - * + * *
Query Parameters
NameTypeRequiredDescription
inputStringNoThe input parameter. Allowed values: "value1", - * "value2".
inputStringNo. Allowed values: "value1", "value2".
* You can add these to a request with {@link RequestOptions#addQueryParam} * @@ -741,8 +735,7 @@ public Response putModelAsStringNoRequiredTwoValueNoDefaultWithResponse(Re * * * - * + * *
Query Parameters
NameTypeRequiredDescription
inputStringNoThe input parameter. Allowed values: "value1", - * "value2".
inputStringNo. Allowed values: "value1", "value2".
* You can add these to a request with {@link RequestOptions#addQueryParam} * @@ -766,8 +759,7 @@ public Response putModelAsStringNoRequiredTwoValueNoDefaultWithResponse(Re * * * - * + * *
Query Parameters
NameTypeRequiredDescription
inputStringNoThe input parameter. Allowed values: "value1", - * "value2".
inputStringNo. Allowed values: "value1", "value2".
* You can add these to a request with {@link RequestOptions#addQueryParam} * @@ -790,7 +782,7 @@ public Response putModelAsStringNoRequiredTwoValueDefaultWithResponse(Requ * * * - * + * *
Query Parameters
NameTypeRequiredDescription
inputStringNoThe input parameter. Allowed values: "value1".
inputStringNo. Allowed values: "value1".
* You can add these to a request with {@link RequestOptions#addQueryParam} * @@ -814,7 +806,7 @@ public Response putModelAsStringNoRequiredTwoValueDefaultWithResponse(Requ * * * - * + * *
Query Parameters
NameTypeRequiredDescription
inputStringNoThe input parameter. Allowed values: "value1".
inputStringNo. Allowed values: "value1".
* You can add these to a request with {@link RequestOptions#addQueryParam} * @@ -837,7 +829,7 @@ public Response putModelAsStringNoRequiredOneValueNoDefaultWithResponse(Re * * * - * + * *
Query Parameters
NameTypeRequiredDescription
inputStringNoThe input parameter. Allowed values: "value1".
inputStringNo. Allowed values: "value1".
* You can add these to a request with {@link RequestOptions#addQueryParam} * @@ -861,7 +853,7 @@ public Response putModelAsStringNoRequiredOneValueNoDefaultWithResponse(Re * * * - * + * *
Query Parameters
NameTypeRequiredDescription
inputStringNoThe input parameter. Allowed values: "value1".
inputStringNo. Allowed values: "value1".
* You can add these to a request with {@link RequestOptions#addQueryParam} * @@ -881,7 +873,7 @@ public Response putModelAsStringNoRequiredOneValueDefaultWithResponse(Requ /** * Puts constants to the testserver. * - * @param input The input parameter. Allowed values: "value1", "value2". + * @param input . Allowed values: "value1", "value2". * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -899,7 +891,7 @@ public Mono> putModelAsStringRequiredTwoValueNoDefaultWithRespons /** * Puts constants to the testserver. * - * @param input The input parameter. Allowed values: "value1", "value2". + * @param input . Allowed values: "value1", "value2". * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -917,7 +909,7 @@ public Response putModelAsStringRequiredTwoValueNoDefaultWithResponse(Stri /** * Puts constants to the testserver. * - * @param input The input parameter. Allowed values: "value1", "value2". + * @param input . Allowed values: "value1", "value2". * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -935,7 +927,7 @@ public Mono> putModelAsStringRequiredTwoValueDefaultWithResponseA /** * Puts constants to the testserver. * - * @param input The input parameter. Allowed values: "value1", "value2". + * @param input . Allowed values: "value1", "value2". * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -953,7 +945,7 @@ public Response putModelAsStringRequiredTwoValueDefaultWithResponse(String /** * Puts constants to the testserver. * - * @param input The input parameter. Allowed values: "value1". + * @param input . Allowed values: "value1". * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -971,7 +963,7 @@ public Mono> putModelAsStringRequiredOneValueNoDefaultWithRespons /** * Puts constants to the testserver. * - * @param input The input parameter. Allowed values: "value1". + * @param input . Allowed values: "value1". * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -989,7 +981,7 @@ public Response putModelAsStringRequiredOneValueNoDefaultWithResponse(Stri /** * Puts constants to the testserver. * - * @param input The input parameter. Allowed values: "value1". + * @param input . Allowed values: "value1". * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1007,7 +999,7 @@ public Mono> putModelAsStringRequiredOneValueDefaultWithResponseA /** * Puts constants to the testserver. * - * @param input The input parameter. Allowed values: "value1". + * @param input . Allowed values: "value1". * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/protocol-tests/src/main/java/fixtures/dpgcustomization/implementation/DpgClientImpl.java b/protocol-tests/src/main/java/fixtures/dpgcustomization/implementation/DpgClientImpl.java index bfdb530b04..565a2afc08 100644 --- a/protocol-tests/src/main/java/fixtures/dpgcustomization/implementation/DpgClientImpl.java +++ b/protocol-tests/src/main/java/fixtures/dpgcustomization/implementation/DpgClientImpl.java @@ -627,9 +627,7 @@ public SyncPoller beginLro(String mode, RequestOptions r * } * } * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -657,9 +655,7 @@ private Mono> getPagesNextSinglePageAsync(String nextL * } * } * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/protocol-tests/src/main/java/fixtures/paging/implementation/PagingsImpl.java b/protocol-tests/src/main/java/fixtures/paging/implementation/PagingsImpl.java index d808a9f707..cb904a2c1e 100644 --- a/protocol-tests/src/main/java/fixtures/paging/implementation/PagingsImpl.java +++ b/protocol-tests/src/main/java/fixtures/paging/implementation/PagingsImpl.java @@ -4156,9 +4156,7 @@ public PagedIterable getPagingModelWithItemNameWithXmsClientName(Req * } * } * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -4189,9 +4187,7 @@ private Mono> getNoItemNamePagesNextSinglePageAsync(St * } * } * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -4221,9 +4217,7 @@ private PagedResponse getNoItemNamePagesNextSinglePage(String nextLi * } * } * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -4255,9 +4249,7 @@ private Mono> getEmptyNextLinkNamePagesNextSinglePageA * } * } * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -4288,9 +4280,7 @@ private PagedResponse getEmptyNextLinkNamePagesNextSinglePage(String * } * } * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -4322,9 +4312,7 @@ private Mono> getSinglePagesNextSinglePageAsync(String * } * } * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -4354,9 +4342,7 @@ private PagedResponse getSinglePagesNextSinglePage(String nextLink, * } * } * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -4388,9 +4374,7 @@ private Mono> getSinglePagesWithBodyParamsNextSinglePa * } * } * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -4421,9 +4405,7 @@ private PagedResponse getSinglePagesWithBodyParamsNextSinglePage(Str * } * } * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -4454,9 +4436,7 @@ private Mono> firstResponseEmptyNextSinglePageAsync(St * } * } * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -4497,9 +4477,7 @@ private PagedResponse firstResponseEmptyNextSinglePage(String nextLi * } * } * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -4541,9 +4519,7 @@ private Mono> getMultiplePagesNextSinglePageAsync(Stri * } * } * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -4573,9 +4549,7 @@ private PagedResponse getMultiplePagesNextSinglePage(String nextLink * } * } * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -4606,9 +4580,7 @@ private Mono> duplicateParamsNextSinglePageAsync(Strin * } * } * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -4638,9 +4610,7 @@ private PagedResponse duplicateParamsNextSinglePage(String nextLink, * } * } * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -4672,9 +4642,7 @@ private Mono> pageWithMaxPageSizeNextSinglePageAsync(S * } * } * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -4716,9 +4684,7 @@ private PagedResponse pageWithMaxPageSizeNextSinglePage(String nextL * } * } * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -4761,9 +4727,7 @@ private Mono> getOdataMultiplePagesNextSinglePageAsync * } * } * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -4805,9 +4769,7 @@ private PagedResponse getOdataMultiplePagesNextSinglePage(String nex * } * } * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -4850,9 +4812,7 @@ private Mono> getMultiplePagesWithOffsetNextSinglePage * } * } * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -4883,9 +4843,7 @@ private PagedResponse getMultiplePagesWithOffsetNextSinglePage(Strin * } * } * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -4917,9 +4875,7 @@ private Mono> getMultiplePagesRetryFirstNextSinglePage * } * } * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -4950,9 +4906,7 @@ private PagedResponse getMultiplePagesRetryFirstNextSinglePage(Strin * } * } * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -4984,9 +4938,7 @@ private Mono> getMultiplePagesRetrySecondNextSinglePag * } * } * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -5017,9 +4969,7 @@ private PagedResponse getMultiplePagesRetrySecondNextSinglePage(Stri * } * } * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -5051,9 +5001,7 @@ private Mono> getSinglePagesFailureNextSinglePageAsync * } * } * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -5084,9 +5032,7 @@ private PagedResponse getSinglePagesFailureNextSinglePage(String nex * } * } * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -5118,9 +5064,7 @@ private Mono> getMultiplePagesFailureNextSinglePageAsy * } * } * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -5151,9 +5095,7 @@ private PagedResponse getMultiplePagesFailureNextSinglePage(String n * } * } * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -5185,9 +5127,7 @@ private Mono> getMultiplePagesFailureUriNextSinglePage * } * } * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -5229,9 +5169,7 @@ private PagedResponse getMultiplePagesFailureUriNextSinglePage(Strin * } * } * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -5274,9 +5212,7 @@ private Mono> getMultiplePagesLroNextSinglePageAsync(S * } * } * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -5307,9 +5243,7 @@ private PagedResponse getMultiplePagesLroNextSinglePage(String nextL * } * } * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -5340,9 +5274,7 @@ private Mono> appendApiVersionNextSinglePageAsync(Stri * } * } * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -5372,9 +5304,7 @@ private PagedResponse appendApiVersionNextSinglePage(String nextLink * } * } * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -5405,9 +5335,7 @@ private Mono> replaceApiVersionNextSinglePageAsync(Str * } * } * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -5437,9 +5365,7 @@ private PagedResponse replaceApiVersionNextSinglePage(String nextLin * } * } * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -5471,9 +5397,7 @@ private PagedResponse replaceApiVersionNextSinglePage(String nextLin * } * } * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/protocol-tests/src/main/java/fixtures/specialheader/implementation/HeadersImpl.java b/protocol-tests/src/main/java/fixtures/specialheader/implementation/HeadersImpl.java index 8f91eebe97..a7411e6561 100644 --- a/protocol-tests/src/main/java/fixtures/specialheader/implementation/HeadersImpl.java +++ b/protocol-tests/src/main/java/fixtures/specialheader/implementation/HeadersImpl.java @@ -760,9 +760,7 @@ public PagedIterable paramRepeatabilityRequestPageable(RequestOption * Object * } * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -789,9 +787,7 @@ private Mono> paramRepeatabilityRequestPageableNextSin * Object * } * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/InternalOperationAsyncClient.java b/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/InternalOperationAsyncClient.java index 01ed4db90e..eb246b40cc 100644 --- a/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/InternalOperationAsyncClient.java +++ b/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/InternalOperationAsyncClient.java @@ -51,8 +51,6 @@ public final class InternalOperationAsyncClient { * } * * @param name A sequence of textual characters. - * - * The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -78,8 +76,6 @@ Mono> noDecoratorInInternalWithResponse(String name, Reques * } * * @param name A sequence of textual characters. - * - * The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -105,8 +101,6 @@ Mono> internalDecoratorInInternalWithResponse(String name, * } * * @param name A sequence of textual characters. - * - * The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -125,8 +119,6 @@ Mono> publicDecoratorInInternalWithResponse(String name, Re * The noDecoratorInInternal operation. * * @param name A sequence of textual characters. - * - * The name parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -149,8 +141,6 @@ Mono noDecoratorInInternal(String name) { * The internalDecoratorInInternal operation. * * @param name A sequence of textual characters. - * - * The name parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -173,8 +163,6 @@ Mono internalDecoratorInInternal(String name) * The publicDecoratorInInternal operation. * * @param name A sequence of textual characters. - * - * The name parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/InternalOperationClient.java b/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/InternalOperationClient.java index b11c6160d4..7ad987d3e4 100644 --- a/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/InternalOperationClient.java +++ b/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/InternalOperationClient.java @@ -49,8 +49,6 @@ public final class InternalOperationClient { * } * * @param name A sequence of textual characters. - * - * The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -75,8 +73,6 @@ Response noDecoratorInInternalWithResponse(String name, RequestOptio * } * * @param name A sequence of textual characters. - * - * The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -101,8 +97,6 @@ Response internalDecoratorInInternalWithResponse(String name, Reques * } * * @param name A sequence of textual characters. - * - * The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -121,8 +115,6 @@ Response publicDecoratorInInternalWithResponse(String name, RequestO * The noDecoratorInInternal operation. * * @param name A sequence of textual characters. - * - * The name parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -144,8 +136,6 @@ NoDecoratorModelInInternal noDecoratorInInternal(String name) { * The internalDecoratorInInternal operation. * * @param name A sequence of textual characters. - * - * The name parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -167,8 +157,6 @@ InternalDecoratorModelInInternal internalDecoratorInInternal(String name) { * The publicDecoratorInInternal operation. * * @param name A sequence of textual characters. - * - * The name parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/PublicOperationAsyncClient.java b/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/PublicOperationAsyncClient.java index 9e9213af13..4bea89e554 100644 --- a/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/PublicOperationAsyncClient.java +++ b/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/PublicOperationAsyncClient.java @@ -50,8 +50,6 @@ public final class PublicOperationAsyncClient { * } * * @param name A sequence of textual characters. - * - * The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -77,8 +75,6 @@ public Mono> noDecoratorInPublicWithResponse(String name, R * } * * @param name A sequence of textual characters. - * - * The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -97,8 +93,6 @@ public Mono> publicDecoratorInPublicWithResponse(String nam * The noDecoratorInPublic operation. * * @param name A sequence of textual characters. - * - * The name parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -120,8 +114,6 @@ public Mono noDecoratorInPublic(String name) { * The publicDecoratorInPublic operation. * * @param name A sequence of textual characters. - * - * The name parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/PublicOperationClient.java b/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/PublicOperationClient.java index 59f11b4980..49a902e38c 100644 --- a/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/PublicOperationClient.java +++ b/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/PublicOperationClient.java @@ -48,8 +48,6 @@ public final class PublicOperationClient { * } * * @param name A sequence of textual characters. - * - * The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -74,8 +72,6 @@ public Response noDecoratorInPublicWithResponse(String name, Request * } * * @param name A sequence of textual characters. - * - * The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -93,8 +89,6 @@ public Response publicDecoratorInPublicWithResponse(String name, Req * The noDecoratorInPublic operation. * * @param name A sequence of textual characters. - * - * The name parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -116,8 +110,6 @@ public NoDecoratorModelInPublic noDecoratorInPublic(String name) { * The publicDecoratorInPublic operation. * * @param name A sequence of textual characters. - * - * The name parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/RelativeModelInOperationAsyncClient.java b/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/RelativeModelInOperationAsyncClient.java index 0842fdbfc1..1870770c50 100644 --- a/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/RelativeModelInOperationAsyncClient.java +++ b/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/RelativeModelInOperationAsyncClient.java @@ -63,8 +63,6 @@ public final class RelativeModelInOperationAsyncClient { * } * * @param name A sequence of textual characters. - * - * The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -98,8 +96,6 @@ Mono> operationWithResponse(String name, RequestOptions req * } * * @param kind A sequence of textual characters. - * - * The kind parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -128,8 +124,6 @@ Mono> discriminatorWithResponse(String kind, RequestOptions * ```. * * @param name A sequence of textual characters. - * - * The name parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -159,8 +153,6 @@ Mono operation(String name) { * ```. * * @param kind A sequence of textual characters. - * - * The kind parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/RelativeModelInOperationClient.java b/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/RelativeModelInOperationClient.java index c276727553..8a7f294361 100644 --- a/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/RelativeModelInOperationClient.java +++ b/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/RelativeModelInOperationClient.java @@ -61,8 +61,6 @@ public final class RelativeModelInOperationClient { * } * * @param name A sequence of textual characters. - * - * The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -95,8 +93,6 @@ Response operationWithResponse(String name, RequestOptions requestOp * } * * @param kind A sequence of textual characters. - * - * The kind parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -124,8 +120,6 @@ Response discriminatorWithResponse(String kind, RequestOptions reque * ```. * * @param name A sequence of textual characters. - * - * The name parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -153,8 +147,6 @@ OuterModel operation(String name) { * ```. * * @param kind A sequence of textual characters. - * - * The kind parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/SharedModelInOperationAsyncClient.java b/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/SharedModelInOperationAsyncClient.java index 9739a5ff9c..85ac763395 100644 --- a/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/SharedModelInOperationAsyncClient.java +++ b/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/SharedModelInOperationAsyncClient.java @@ -49,8 +49,6 @@ public final class SharedModelInOperationAsyncClient { * } * * @param name A sequence of textual characters. - * - * The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -76,8 +74,6 @@ public Mono> publicMethodWithResponse(String name, RequestO * } * * @param name A sequence of textual characters. - * - * The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -96,8 +92,6 @@ Mono> internalWithResponse(String name, RequestOptions requ * The publicMethod operation. * * @param name A sequence of textual characters. - * - * The name parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -119,8 +113,6 @@ public Mono publicMethod(String name) { * The internal operation. * * @param name A sequence of textual characters. - * - * The name parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/SharedModelInOperationClient.java b/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/SharedModelInOperationClient.java index a8cb1d9f5a..33b125d2de 100644 --- a/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/SharedModelInOperationClient.java +++ b/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/SharedModelInOperationClient.java @@ -47,8 +47,6 @@ public final class SharedModelInOperationClient { * } * * @param name A sequence of textual characters. - * - * The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -73,8 +71,6 @@ public Response publicMethodWithResponse(String name, RequestOptions * } * * @param name A sequence of textual characters. - * - * The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -92,8 +88,6 @@ Response internalWithResponse(String name, RequestOptions requestOpt * The publicMethod operation. * * @param name A sequence of textual characters. - * - * The name parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -114,8 +108,6 @@ public SharedModel publicMethod(String name) { * The internal operation. * * @param name A sequence of textual characters. - * - * The name parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/implementation/InternalOperationsImpl.java b/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/implementation/InternalOperationsImpl.java index 09ced9f0e2..94c8ccb8d9 100644 --- a/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/implementation/InternalOperationsImpl.java +++ b/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/implementation/InternalOperationsImpl.java @@ -123,8 +123,6 @@ Response publicDecoratorInInternalSync(@QueryParam("name") String na * } * * @param name A sequence of textual characters. - * - * The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -151,8 +149,6 @@ public Mono> noDecoratorInInternalWithResponseAsync(String * } * * @param name A sequence of textual characters. - * - * The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -177,8 +173,6 @@ public Response noDecoratorInInternalWithResponse(String name, Reque * } * * @param name A sequence of textual characters. - * - * The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -206,8 +200,6 @@ public Mono> internalDecoratorInInternalWithResponseAsync(S * } * * @param name A sequence of textual characters. - * - * The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -232,8 +224,6 @@ public Response internalDecoratorInInternalWithResponse(String name, * } * * @param name A sequence of textual characters. - * - * The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -261,8 +251,6 @@ public Mono> publicDecoratorInInternalWithResponseAsync(Str * } * * @param name A sequence of textual characters. - * - * The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/implementation/PublicOperationsImpl.java b/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/implementation/PublicOperationsImpl.java index 2e1f0457a5..f0ef0c11b5 100644 --- a/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/implementation/PublicOperationsImpl.java +++ b/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/implementation/PublicOperationsImpl.java @@ -105,8 +105,6 @@ Response publicDecoratorInPublicSync(@QueryParam("name") String name * } * * @param name A sequence of textual characters. - * - * The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -132,8 +130,6 @@ public Mono> noDecoratorInPublicWithResponseAsync(String na * } * * @param name A sequence of textual characters. - * - * The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -158,8 +154,6 @@ public Response noDecoratorInPublicWithResponse(String name, Request * } * * @param name A sequence of textual characters. - * - * The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -186,8 +180,6 @@ public Mono> publicDecoratorInPublicWithResponseAsync(Strin * } * * @param name A sequence of textual characters. - * - * The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/implementation/RelativeModelInOperationsImpl.java b/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/implementation/RelativeModelInOperationsImpl.java index ed9512b934..4c5ad5562f 100644 --- a/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/implementation/RelativeModelInOperationsImpl.java +++ b/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/implementation/RelativeModelInOperationsImpl.java @@ -118,8 +118,6 @@ Response discriminatorSync(@QueryParam("kind") String kind, @HeaderP * } * * @param name A sequence of textual characters. - * - * The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -158,8 +156,6 @@ public Mono> operationWithResponseAsync(String name, Reques * } * * @param name A sequence of textual characters. - * - * The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -192,8 +188,6 @@ public Response operationWithResponse(String name, RequestOptions re * } * * @param kind A sequence of textual characters. - * - * The kind parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -227,8 +221,6 @@ public Mono> discriminatorWithResponseAsync(String kind, Re * } * * @param kind A sequence of textual characters. - * - * The kind parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/implementation/SharedModelInOperationsImpl.java b/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/implementation/SharedModelInOperationsImpl.java index 59cfadde2d..204a88cf95 100644 --- a/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/implementation/SharedModelInOperationsImpl.java +++ b/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/implementation/SharedModelInOperationsImpl.java @@ -105,8 +105,6 @@ Response internalSync(@QueryParam("name") String name, @HeaderParam( * } * * @param name A sequence of textual characters. - * - * The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -132,8 +130,6 @@ public Mono> publicMethodWithResponseAsync(String name, Req * } * * @param name A sequence of textual characters. - * - * The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -158,8 +154,6 @@ public Response publicMethodWithResponse(String name, RequestOptions * } * * @param name A sequence of textual characters. - * - * The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -185,8 +179,6 @@ public Mono> internalWithResponseAsync(String name, Request * } * * @param name A sequence of textual characters. - * - * The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/implementation/models/AbstractModel.java b/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/implementation/models/AbstractModel.java index 8963580297..7ff66964b9 100644 --- a/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/implementation/models/AbstractModel.java +++ b/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/implementation/models/AbstractModel.java @@ -24,7 +24,7 @@ public class AbstractModel implements JsonSerializable { private String kind; /* - * A sequence of textual characters. + * The name property. */ @Generated private final String name; @@ -51,7 +51,7 @@ public String getKind() { } /** - * Get the name property: A sequence of textual characters. + * Get the name property: The name property. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/implementation/models/BaseModel.java b/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/implementation/models/BaseModel.java index 31ecbeaa43..a07093e2f2 100644 --- a/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/implementation/models/BaseModel.java +++ b/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/implementation/models/BaseModel.java @@ -18,7 +18,7 @@ @Immutable public class BaseModel implements JsonSerializable { /* - * A sequence of textual characters. + * The name property. */ @Generated private final String name; @@ -34,7 +34,7 @@ protected BaseModel(String name) { } /** - * Get the name property: A sequence of textual characters. + * Get the name property: The name property. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/implementation/models/InnerModel.java b/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/implementation/models/InnerModel.java index 8faecc40dc..f25467917c 100644 --- a/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/implementation/models/InnerModel.java +++ b/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/implementation/models/InnerModel.java @@ -18,7 +18,7 @@ @Immutable public final class InnerModel implements JsonSerializable { /* - * A sequence of textual characters. + * The name property. */ @Generated private final String name; @@ -34,7 +34,7 @@ private InnerModel(String name) { } /** - * Get the name property: A sequence of textual characters. + * Get the name property: The name property. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/implementation/models/InternalDecoratorModelInInternal.java b/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/implementation/models/InternalDecoratorModelInInternal.java index bd8cd9ed7c..ef5a20cd5b 100644 --- a/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/implementation/models/InternalDecoratorModelInInternal.java +++ b/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/implementation/models/InternalDecoratorModelInInternal.java @@ -18,7 +18,7 @@ @Immutable public final class InternalDecoratorModelInInternal implements JsonSerializable { /* - * A sequence of textual characters. + * The name property. */ @Generated private final String name; @@ -34,7 +34,7 @@ private InternalDecoratorModelInInternal(String name) { } /** - * Get the name property: A sequence of textual characters. + * Get the name property: The name property. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/implementation/models/NoDecoratorModelInInternal.java b/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/implementation/models/NoDecoratorModelInInternal.java index 90be3ad7c4..9a68f77faf 100644 --- a/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/implementation/models/NoDecoratorModelInInternal.java +++ b/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/implementation/models/NoDecoratorModelInInternal.java @@ -18,7 +18,7 @@ @Immutable public final class NoDecoratorModelInInternal implements JsonSerializable { /* - * A sequence of textual characters. + * The name property. */ @Generated private final String name; @@ -34,7 +34,7 @@ private NoDecoratorModelInInternal(String name) { } /** - * Get the name property: A sequence of textual characters. + * Get the name property: The name property. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/implementation/models/OuterModel.java b/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/implementation/models/OuterModel.java index cbf47de82c..3e81a845fc 100644 --- a/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/implementation/models/OuterModel.java +++ b/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/implementation/models/OuterModel.java @@ -17,7 +17,7 @@ @Immutable public final class OuterModel extends BaseModel { /* - * Used in internal operations, should be generated but not exported. + * The inner property. */ @Generated private final InnerModel inner; @@ -35,7 +35,7 @@ private OuterModel(String name, InnerModel inner) { } /** - * Get the inner property: Used in internal operations, should be generated but not exported. + * Get the inner property: The inner property. * * @return the inner value. */ diff --git a/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/models/NoDecoratorModelInPublic.java b/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/models/NoDecoratorModelInPublic.java index d4a808cd97..a9b58bb9fb 100644 --- a/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/models/NoDecoratorModelInPublic.java +++ b/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/models/NoDecoratorModelInPublic.java @@ -18,7 +18,7 @@ @Immutable public final class NoDecoratorModelInPublic implements JsonSerializable { /* - * A sequence of textual characters. + * The name property. */ @Generated private final String name; @@ -34,7 +34,7 @@ private NoDecoratorModelInPublic(String name) { } /** - * Get the name property: A sequence of textual characters. + * Get the name property: The name property. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/models/PublicDecoratorModelInInternal.java b/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/models/PublicDecoratorModelInInternal.java index a717c57604..89316a7b00 100644 --- a/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/models/PublicDecoratorModelInInternal.java +++ b/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/models/PublicDecoratorModelInInternal.java @@ -18,7 +18,7 @@ @Immutable public final class PublicDecoratorModelInInternal implements JsonSerializable { /* - * A sequence of textual characters. + * The name property. */ @Generated private final String name; @@ -34,7 +34,7 @@ private PublicDecoratorModelInInternal(String name) { } /** - * Get the name property: A sequence of textual characters. + * Get the name property: The name property. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/models/PublicDecoratorModelInPublic.java b/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/models/PublicDecoratorModelInPublic.java index 53101f87bc..29ca90615f 100644 --- a/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/models/PublicDecoratorModelInPublic.java +++ b/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/models/PublicDecoratorModelInPublic.java @@ -18,7 +18,7 @@ @Immutable public final class PublicDecoratorModelInPublic implements JsonSerializable { /* - * A sequence of textual characters. + * The name property. */ @Generated private final String name; @@ -34,7 +34,7 @@ private PublicDecoratorModelInPublic(String name) { } /** - * Get the name property: A sequence of textual characters. + * Get the name property: The name property. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/models/SharedModel.java b/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/models/SharedModel.java index e2816aad00..d44595619b 100644 --- a/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/models/SharedModel.java +++ b/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/access/models/SharedModel.java @@ -18,7 +18,7 @@ @Immutable public final class SharedModel implements JsonSerializable { /* - * A sequence of textual characters. + * The name property. */ @Generated private final String name; @@ -34,7 +34,7 @@ private SharedModel(String name) { } /** - * Get the name property: A sequence of textual characters. + * Get the name property: The name property. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/usage/UsageAsyncClient.java b/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/usage/UsageAsyncClient.java index 473554c499..f1723753c8 100644 --- a/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/usage/UsageAsyncClient.java +++ b/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/usage/UsageAsyncClient.java @@ -55,8 +55,6 @@ public final class UsageAsyncClient { * } * * @param body Usage override to roundtrip. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -107,8 +105,6 @@ public Mono> outputToInputOutputWithResponse(RequestOptions * ```. * * @param body Usage override to roundtrip. - * - * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/usage/UsageClient.java b/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/usage/UsageClient.java index 18e90f77a7..34b8dbaee1 100644 --- a/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/usage/UsageClient.java +++ b/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/usage/UsageClient.java @@ -53,8 +53,6 @@ public final class UsageClient { * } * * @param body Usage override to roundtrip. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -105,8 +103,6 @@ public Response outputToInputOutputWithResponse(RequestOptions reque * ```. * * @param body Usage override to roundtrip. - * - * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/usage/implementation/ModelInOperationsImpl.java b/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/usage/implementation/ModelInOperationsImpl.java index 4644e57fb3..9c1e929e25 100644 --- a/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/usage/implementation/ModelInOperationsImpl.java +++ b/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/usage/implementation/ModelInOperationsImpl.java @@ -111,8 +111,6 @@ Response outputToInputOutputSync(@HeaderParam("accept") String accep * } * * @param body Usage override to roundtrip. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -142,8 +140,6 @@ public Mono> inputToInputOutputWithResponseAsync(BinaryData body, * } * * @param body Usage override to roundtrip. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/usage/models/InputModel.java b/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/usage/models/InputModel.java index db5702a213..ea68f203a2 100644 --- a/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/usage/models/InputModel.java +++ b/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/usage/models/InputModel.java @@ -18,7 +18,7 @@ @Immutable public final class InputModel implements JsonSerializable { /* - * A sequence of textual characters. + * The name property. */ @Generated private final String name; @@ -34,7 +34,7 @@ public InputModel(String name) { } /** - * Get the name property: A sequence of textual characters. + * Get the name property: The name property. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/usage/models/OrphanModel.java b/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/usage/models/OrphanModel.java index c6e54e43e6..ac76f02e2b 100644 --- a/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/usage/models/OrphanModel.java +++ b/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/usage/models/OrphanModel.java @@ -18,7 +18,7 @@ @Immutable public final class OrphanModel implements JsonSerializable { /* - * A sequence of textual characters. + * The name property. */ @Generated private final String name; @@ -34,7 +34,7 @@ public OrphanModel(String name) { } /** - * Get the name property: A sequence of textual characters. + * Get the name property: The name property. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/usage/models/OutputModel.java b/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/usage/models/OutputModel.java index 7bfde8d7f9..59a1123ca5 100644 --- a/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/usage/models/OutputModel.java +++ b/typespec-tests/src/main/java/com/_specs_/azure/clientgenerator/core/usage/models/OutputModel.java @@ -18,7 +18,7 @@ @Immutable public final class OutputModel implements JsonSerializable { /* - * A sequence of textual characters. + * The name property. */ @Generated private final String name; @@ -34,7 +34,7 @@ public OutputModel(String name) { } /** - * Get the name property: A sequence of textual characters. + * Get the name property: The name property. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/_specs_/azure/core/basic/BasicAsyncClient.java b/typespec-tests/src/main/java/com/_specs_/azure/core/basic/BasicAsyncClient.java index 5f77b01bc1..408d70e0d3 100644 --- a/typespec-tests/src/main/java/com/_specs_/azure/core/basic/BasicAsyncClient.java +++ b/typespec-tests/src/main/java/com/_specs_/azure/core/basic/BasicAsyncClient.java @@ -85,12 +85,8 @@ public final class BasicAsyncClient { * } * } * - * @param id A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) - * - * The id parameter. + * @param id A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`). * @param resource Details about a user. - * - * The resource parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -143,12 +139,8 @@ public Mono> createOrUpdateWithResponse(int id, BinaryData * } * } * - * @param id A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) - * - * The id parameter. + * @param id A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`). * @param resource Details about a user. - * - * The resource parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -184,9 +176,7 @@ public Mono> createOrReplaceWithResponse(int id, BinaryData * } * } * - * @param id A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) - * - * The id parameter. + * @param id A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`). * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -208,20 +198,13 @@ public Mono> getWithResponse(int id, RequestOptions request * * * - * - * - * + * + * + * * - * + * * * * + * . Allowed values: "First", "Second". *
Query Parameters
NameTypeRequiredDescription
topIntegerNoA 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) - * - * The top parameter
skipIntegerNoA 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) - * - * The skip parameter
maxpagesizeIntegerNoA 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) - * - * The maxPageSize parameter
topIntegerNoA 32-bit integer. (`-2,147,483,648` to `2,147,483,647`)
skipIntegerNoA 32-bit integer. (`-2,147,483,648` to `2,147,483,647`)
maxpagesizeIntegerNoA 32-bit integer. (`-2,147,483,648` to + * `2,147,483,647`)
orderbyList<String>NoThe orderBy parameter. Call * {@link RequestOptions#addQueryParam} to add string to array.
filterStringNoA sequence of textual characters. - * - * The filter parameter
filterStringNoA sequence of textual characters.
selectList<String>NoThe select parameter. Call * {@link RequestOptions#addQueryParam} to add string to array.
expandList<String>NoThe expand parameter. Call @@ -298,7 +281,7 @@ public PagedFlux listWithPage(RequestOptions requestOptions) { *
NameTypeRequiredDescription
anotherStringNoAn extensible enum input parameter. * - * The another parameter. Allowed values: "First", "Second".
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Request Body Schema

@@ -327,8 +310,6 @@ public PagedFlux listWithPage(RequestOptions requestOptions) { * } * * @param bodyInput The body of the input. - * - * The bodyInput parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -379,9 +360,7 @@ public PagedFlux listWithCustomPageModel(RequestOptions requestOptio * * Deletes a User. * - * @param id A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) - * - * The id parameter. + * @param id A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`). * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -416,12 +395,8 @@ public Mono> deleteWithResponse(int id, RequestOptions requestOpt * } * } * - * @param id A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) - * - * The id parameter. + * @param id A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`). * @param format A sequence of textual characters. - * - * The format parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -440,12 +415,8 @@ public Mono> exportWithResponse(int id, String format, Requ * * Creates or updates a User. * - * @param id A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) - * - * The id parameter. + * @param id A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`). * @param resource Details about a user. - * - * The resource parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -471,12 +442,8 @@ public Mono createOrUpdate(int id, User resource) { * * Creates or replaces a User. * - * @param id A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) - * - * The id parameter. + * @param id A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`). * @param resource Details about a user. - * - * The resource parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -500,9 +467,7 @@ public Mono createOrReplace(int id, User resource) { * * Gets a User. * - * @param id A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) - * - * The id parameter. + * @param id A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`). * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -525,16 +490,10 @@ public Mono get(int id) { * * Lists all Users. * - * @param top A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) - * - * The top parameter. - * @param skip A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) - * - * The skip parameter. + * @param top A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`). + * @param skip A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`). * @param orderBy The orderBy parameter. * @param filter A sequence of textual characters. - * - * The filter parameter. * @param select The select parameter. * @param expand The expand parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -662,11 +621,7 @@ public PagedFlux listWithPage() { * List with extensible enum parameter Azure.Core.Page<>. * * @param bodyInput The body of the input. - * - * The bodyInput parameter. * @param another An extensible enum input parameter. - * - * The another parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -702,8 +657,6 @@ public PagedFlux listWithParameters(ListItemInputBody bodyInput, ListItemI * List with extensible enum parameter Azure.Core.Page<>. * * @param bodyInput The body of the input. - * - * The bodyInput parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -767,9 +720,7 @@ public PagedFlux listWithCustomPageModel() { * * Deletes a User. * - * @param id A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) - * - * The id parameter. + * @param id A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`). * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -791,12 +742,8 @@ public Mono delete(int id) { * * Exports a User. * - * @param id A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) - * - * The id parameter. + * @param id A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`). * @param format A sequence of textual characters. - * - * The format parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/_specs_/azure/core/basic/BasicClient.java b/typespec-tests/src/main/java/com/_specs_/azure/core/basic/BasicClient.java index a58a7e7a8d..81f8d66357 100644 --- a/typespec-tests/src/main/java/com/_specs_/azure/core/basic/BasicClient.java +++ b/typespec-tests/src/main/java/com/_specs_/azure/core/basic/BasicClient.java @@ -79,12 +79,8 @@ public final class BasicClient { * } * } * - * @param id A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) - * - * The id parameter. + * @param id A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`). * @param resource Details about a user. - * - * The resource parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -136,12 +132,8 @@ public Response createOrUpdateWithResponse(int id, BinaryData resour * } * } * - * @param id A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) - * - * The id parameter. + * @param id A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`). * @param resource Details about a user. - * - * The resource parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -177,9 +169,7 @@ public Response createOrReplaceWithResponse(int id, BinaryData resou * } * } * - * @param id A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) - * - * The id parameter. + * @param id A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`). * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -201,20 +191,13 @@ public Response getWithResponse(int id, RequestOptions requestOption * * * - * - * - * + * + * + * * - * + * * * * + * . Allowed values: "First", "Second". *
Query Parameters
NameTypeRequiredDescription
topIntegerNoA 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) - * - * The top parameter
skipIntegerNoA 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) - * - * The skip parameter
maxpagesizeIntegerNoA 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) - * - * The maxPageSize parameter
topIntegerNoA 32-bit integer. (`-2,147,483,648` to `2,147,483,647`)
skipIntegerNoA 32-bit integer. (`-2,147,483,648` to `2,147,483,647`)
maxpagesizeIntegerNoA 32-bit integer. (`-2,147,483,648` to + * `2,147,483,647`)
orderbyList<String>NoThe orderBy parameter. Call * {@link RequestOptions#addQueryParam} to add string to array.
filterStringNoA sequence of textual characters. - * - * The filter parameter
filterStringNoA sequence of textual characters.
selectList<String>NoThe select parameter. Call * {@link RequestOptions#addQueryParam} to add string to array.
expandList<String>NoThe expand parameter. Call @@ -291,7 +274,7 @@ public PagedIterable listWithPage(RequestOptions requestOptions) { *
NameTypeRequiredDescription
anotherStringNoAn extensible enum input parameter. * - * The another parameter. Allowed values: "First", "Second".
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Request Body Schema

@@ -320,8 +303,6 @@ public PagedIterable listWithPage(RequestOptions requestOptions) { * } * * @param bodyInput The body of the input. - * - * The bodyInput parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -372,9 +353,7 @@ public PagedIterable listWithCustomPageModel(RequestOptions requestO * * Deletes a User. * - * @param id A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) - * - * The id parameter. + * @param id A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`). * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -409,12 +388,8 @@ public Response deleteWithResponse(int id, RequestOptions requestOptions) * } * } * - * @param id A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) - * - * The id parameter. + * @param id A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`). * @param format A sequence of textual characters. - * - * The format parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -433,12 +408,8 @@ public Response exportWithResponse(int id, String format, RequestOpt * * Creates or updates a User. * - * @param id A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) - * - * The id parameter. + * @param id A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`). * @param resource Details about a user. - * - * The resource parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -463,12 +434,8 @@ public User createOrUpdate(int id, User resource) { * * Creates or replaces a User. * - * @param id A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) - * - * The id parameter. + * @param id A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`). * @param resource Details about a user. - * - * The resource parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -491,9 +458,7 @@ public User createOrReplace(int id, User resource) { * * Gets a User. * - * @param id A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) - * - * The id parameter. + * @param id A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`). * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -515,16 +480,10 @@ public User get(int id) { * * Lists all Users. * - * @param top A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) - * - * The top parameter. - * @param skip A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) - * - * The skip parameter. + * @param top A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`). + * @param skip A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`). * @param orderBy The orderBy parameter. * @param filter A sequence of textual characters. - * - * The filter parameter. * @param select The select parameter. * @param expand The expand parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -616,11 +575,7 @@ public PagedIterable listWithPage() { * List with extensible enum parameter Azure.Core.Page<>. * * @param bodyInput The body of the input. - * - * The bodyInput parameter. * @param another An extensible enum input parameter. - * - * The another parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -645,8 +600,6 @@ public PagedIterable listWithParameters(ListItemInputBody bodyInput, ListI * List with extensible enum parameter Azure.Core.Page<>. * * @param bodyInput The body of the input. - * - * The bodyInput parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -688,9 +641,7 @@ public PagedIterable listWithCustomPageModel() { * * Deletes a User. * - * @param id A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) - * - * The id parameter. + * @param id A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`). * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -711,12 +662,8 @@ public void delete(int id) { * * Exports a User. * - * @param id A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) - * - * The id parameter. + * @param id A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`). * @param format A sequence of textual characters. - * - * The format parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/_specs_/azure/core/basic/implementation/BasicClientImpl.java b/typespec-tests/src/main/java/com/_specs_/azure/core/basic/implementation/BasicClientImpl.java index efb5477b4c..c442d79d4e 100644 --- a/typespec-tests/src/main/java/com/_specs_/azure/core/basic/implementation/BasicClientImpl.java +++ b/typespec-tests/src/main/java/com/_specs_/azure/core/basic/implementation/BasicClientImpl.java @@ -439,12 +439,8 @@ Response listWithCustomPageModelNextSync( * } * } * - * @param id A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) - * - * The id parameter. + * @param id A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`). * @param resource Details about a user. - * - * The resource parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -499,12 +495,8 @@ public Mono> createOrUpdateWithResponseAsync(int id, Binary * } * } * - * @param id A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) - * - * The id parameter. + * @param id A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`). * @param resource Details about a user. - * - * The resource parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -558,12 +550,8 @@ public Response createOrUpdateWithResponse(int id, BinaryData resour * } * } * - * @param id A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) - * - * The id parameter. + * @param id A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`). * @param resource Details about a user. - * - * The resource parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -617,12 +605,8 @@ public Mono> createOrReplaceWithResponseAsync(int id, Binar * } * } * - * @param id A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) - * - * The id parameter. + * @param id A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`). * @param resource Details about a user. - * - * The resource parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -659,9 +643,7 @@ public Response createOrReplaceWithResponse(int id, BinaryData resou * } * } * - * @param id A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) - * - * The id parameter. + * @param id A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`). * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -697,9 +679,7 @@ public Mono> getWithResponseAsync(int id, RequestOptions re * } * } * - * @param id A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) - * - * The id parameter. + * @param id A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`). * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -721,20 +701,13 @@ public Response getWithResponse(int id, RequestOptions requestOption * * * - * - * - * + * + * + * * - * + * * * * + * . Allowed values: "First", "Second". *
Query Parameters
NameTypeRequiredDescription
topIntegerNoA 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) - * - * The top parameter
skipIntegerNoA 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) - * - * The skip parameter
maxpagesizeIntegerNoA 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) - * - * The maxPageSize parameter
topIntegerNoA 32-bit integer. (`-2,147,483,648` to `2,147,483,647`)
skipIntegerNoA 32-bit integer. (`-2,147,483,648` to `2,147,483,647`)
maxpagesizeIntegerNoA 32-bit integer. (`-2,147,483,648` to + * `2,147,483,647`)
orderbyList<String>NoThe orderBy parameter. Call * {@link RequestOptions#addQueryParam} to add string to array.
filterStringNoA sequence of textual characters. - * - * The filter parameter
filterStringNoA sequence of textual characters.
selectList<String>NoThe select parameter. Call * {@link RequestOptions#addQueryParam} to add string to array.
expandList<String>NoThe expand parameter. Call @@ -783,20 +756,13 @@ private Mono> listSinglePageAsync(RequestOptions reque * * * - * - * - * + * + * + * * - * + * * * * + * . Allowed values: "First", "Second". *
Query Parameters
NameTypeRequiredDescription
topIntegerNoA 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) - * - * The top parameter
skipIntegerNoA 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) - * - * The skip parameter
maxpagesizeIntegerNoA 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) - * - * The maxPageSize parameter
topIntegerNoA 32-bit integer. (`-2,147,483,648` to `2,147,483,647`)
skipIntegerNoA 32-bit integer. (`-2,147,483,648` to `2,147,483,647`)
maxpagesizeIntegerNoA 32-bit integer. (`-2,147,483,648` to + * `2,147,483,647`)
orderbyList<String>NoThe orderBy parameter. Call * {@link RequestOptions#addQueryParam} to add string to array.
filterStringNoA sequence of textual characters. - * - * The filter parameter
filterStringNoA sequence of textual characters.
selectList<String>NoThe select parameter. Call * {@link RequestOptions#addQueryParam} to add string to array.
expandList<String>NoThe expand parameter. Call @@ -864,20 +830,13 @@ public PagedFlux listAsync(RequestOptions requestOptions) { * * * - * - * - * + * + * + * * - * + * * * * + * . Allowed values: "First", "Second". *
Query Parameters
NameTypeRequiredDescription
topIntegerNoA 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) - * - * The top parameter
skipIntegerNoA 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) - * - * The skip parameter
maxpagesizeIntegerNoA 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) - * - * The maxPageSize parameter
topIntegerNoA 32-bit integer. (`-2,147,483,648` to `2,147,483,647`)
skipIntegerNoA 32-bit integer. (`-2,147,483,648` to `2,147,483,647`)
maxpagesizeIntegerNoA 32-bit integer. (`-2,147,483,648` to + * `2,147,483,647`)
orderbyList<String>NoThe orderBy parameter. Call * {@link RequestOptions#addQueryParam} to add string to array.
filterStringNoA sequence of textual characters. - * - * The filter parameter
filterStringNoA sequence of textual characters.
selectList<String>NoThe select parameter. Call * {@link RequestOptions#addQueryParam} to add string to array.
expandList<String>NoThe expand parameter. Call @@ -925,20 +884,13 @@ private PagedResponse listSinglePage(RequestOptions requestOptions) * * * - * - * - * + * + * + * * - * + * * * * + * . Allowed values: "First", "Second". *
Query Parameters
NameTypeRequiredDescription
topIntegerNoA 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) - * - * The top parameter
skipIntegerNoA 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) - * - * The skip parameter
maxpagesizeIntegerNoA 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) - * - * The maxPageSize parameter
topIntegerNoA 32-bit integer. (`-2,147,483,648` to `2,147,483,647`)
skipIntegerNoA 32-bit integer. (`-2,147,483,648` to `2,147,483,647`)
maxpagesizeIntegerNoA 32-bit integer. (`-2,147,483,648` to + * `2,147,483,647`)
orderbyList<String>NoThe orderBy parameter. Call * {@link RequestOptions#addQueryParam} to add string to array.
filterStringNoA sequence of textual characters. - * - * The filter parameter
filterStringNoA sequence of textual characters.
selectList<String>NoThe select parameter. Call * {@link RequestOptions#addQueryParam} to add string to array.
expandList<String>NoThe expand parameter. Call @@ -1147,7 +1099,7 @@ public PagedIterable listWithPage(RequestOptions requestOptions) { *
NameTypeRequiredDescription
anotherStringNoAn extensible enum input parameter. * - * The another parameter. Allowed values: "First", "Second".
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Request Body Schema

@@ -1176,8 +1128,6 @@ public PagedIterable listWithPage(RequestOptions requestOptions) { * } * * @param bodyInput The body of the input. - * - * The bodyInput parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1204,7 +1154,7 @@ private Mono> listWithParametersSinglePageAsync(Binary *
NameTypeRequiredDescription
anotherStringNoAn extensible enum input parameter. * - * The another parameter. Allowed values: "First", "Second".
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Request Body Schema

@@ -1233,8 +1183,6 @@ private Mono> listWithParametersSinglePageAsync(Binary * } * * @param bodyInput The body of the input. - * - * The bodyInput parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1259,7 +1207,7 @@ public PagedFlux listWithParametersAsync(BinaryData bodyInput, Reque *
NameTypeRequiredDescription
anotherStringNoAn extensible enum input parameter. * - * The another parameter. Allowed values: "First", "Second".
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Request Body Schema

@@ -1288,8 +1236,6 @@ public PagedFlux listWithParametersAsync(BinaryData bodyInput, Reque * } * * @param bodyInput The body of the input. - * - * The bodyInput parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1315,7 +1261,7 @@ private PagedResponse listWithParametersSinglePage(BinaryData bodyIn *
NameTypeRequiredDescription
anotherStringNoAn extensible enum input parameter. * - * The another parameter. Allowed values: "First", "Second".
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Request Body Schema

@@ -1344,8 +1290,6 @@ private PagedResponse listWithParametersSinglePage(BinaryData bodyIn * } * * @param bodyInput The body of the input. - * - * The bodyInput parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1508,9 +1452,7 @@ public PagedIterable listWithCustomPageModel(RequestOptions requestO * * Deletes a User. * - * @param id A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) - * - * The id parameter. + * @param id A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`). * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1530,9 +1472,7 @@ public Mono> deleteWithResponseAsync(int id, RequestOptions reque * * Deletes a User. * - * @param id A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) - * - * The id parameter. + * @param id A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`). * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1567,12 +1507,8 @@ public Response deleteWithResponse(int id, RequestOptions requestOptions) * } * } * - * @param id A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) - * - * The id parameter. + * @param id A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`). * @param format A sequence of textual characters. - * - * The format parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1608,12 +1544,8 @@ public Mono> exportWithResponseAsync(int id, String format, * } * } * - * @param id A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) - * - * The id parameter. + * @param id A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`). * @param format A sequence of textual characters. - * - * The format parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1649,9 +1581,7 @@ public Response exportWithResponse(int id, String format, RequestOpt * } * } * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1688,9 +1618,7 @@ private Mono> listNextSinglePageAsync(String nextLink, * } * } * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1725,9 +1653,7 @@ private PagedResponse listNextSinglePage(String nextLink, RequestOpt * } * } * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1763,9 +1689,7 @@ private Mono> listWithPageNextSinglePageAsync(String n * } * } * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1800,9 +1724,7 @@ private PagedResponse listWithPageNextSinglePage(String nextLink, Re * } * } * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1839,9 +1761,7 @@ private Mono> listWithParametersNextSinglePageAsync(St * } * } * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1876,9 +1796,7 @@ private PagedResponse listWithParametersNextSinglePage(String nextLi * } * } * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1915,9 +1833,7 @@ private Mono> listWithCustomPageModelNextSinglePageAsy * } * } * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/_specs_/azure/core/basic/implementation/TwoModelsAsPageItemsImpl.java b/typespec-tests/src/main/java/com/_specs_/azure/core/basic/implementation/TwoModelsAsPageItemsImpl.java index ba34ed58cb..cb380a6b93 100644 --- a/typespec-tests/src/main/java/com/_specs_/azure/core/basic/implementation/TwoModelsAsPageItemsImpl.java +++ b/typespec-tests/src/main/java/com/_specs_/azure/core/basic/implementation/TwoModelsAsPageItemsImpl.java @@ -378,9 +378,7 @@ public PagedIterable listSecondItem(RequestOptions requestOptions) { * } * } * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -408,9 +406,7 @@ private Mono> listFirstItemNextSinglePageAsync(String * } * } * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -436,9 +432,7 @@ private PagedResponse listFirstItemNextSinglePage(String nextLink, R * } * } * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -466,9 +460,7 @@ private Mono> listSecondItemNextSinglePageAsync(String * } * } * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/_specs_/azure/core/lro/rpc/RpcAsyncClient.java b/typespec-tests/src/main/java/com/_specs_/azure/core/lro/rpc/RpcAsyncClient.java index 5bb04d3e4e..16014af6d4 100644 --- a/typespec-tests/src/main/java/com/_specs_/azure/core/lro/rpc/RpcAsyncClient.java +++ b/typespec-tests/src/main/java/com/_specs_/azure/core/lro/rpc/RpcAsyncClient.java @@ -66,8 +66,6 @@ public final class RpcAsyncClient { * } * * @param generationOptions Options for the generation. - * - * The generationOptions parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -86,8 +84,6 @@ public PollerFlux beginLongRunningRpc(BinaryData generat * Generate data. * * @param generationOptions Options for the generation. - * - * The generationOptions parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/_specs_/azure/core/lro/rpc/RpcClient.java b/typespec-tests/src/main/java/com/_specs_/azure/core/lro/rpc/RpcClient.java index a10779c5ee..7505ac39d3 100644 --- a/typespec-tests/src/main/java/com/_specs_/azure/core/lro/rpc/RpcClient.java +++ b/typespec-tests/src/main/java/com/_specs_/azure/core/lro/rpc/RpcClient.java @@ -66,8 +66,6 @@ public final class RpcClient { * } * * @param generationOptions Options for the generation. - * - * The generationOptions parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -86,8 +84,6 @@ public SyncPoller beginLongRunningRpc(BinaryData generat * Generate data. * * @param generationOptions Options for the generation. - * - * The generationOptions parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/_specs_/azure/core/lro/rpc/implementation/RpcClientImpl.java b/typespec-tests/src/main/java/com/_specs_/azure/core/lro/rpc/implementation/RpcClientImpl.java index bfd34ad4df..7f234f5881 100644 --- a/typespec-tests/src/main/java/com/_specs_/azure/core/lro/rpc/implementation/RpcClientImpl.java +++ b/typespec-tests/src/main/java/com/_specs_/azure/core/lro/rpc/implementation/RpcClientImpl.java @@ -181,8 +181,6 @@ Response longRunningRpcSync(@QueryParam("api-version") String apiVer * } * * @param generationOptions Options for the generation. - * - * The generationOptions parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -227,8 +225,6 @@ private Mono> longRunningRpcWithResponseAsync(BinaryData ge * } * * @param generationOptions Options for the generation. - * - * The generationOptions parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -272,8 +268,6 @@ private Response longRunningRpcWithResponse(BinaryData generationOpt * } * * @param generationOptions Options for the generation. - * - * The generationOptions parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -324,8 +318,6 @@ public PollerFlux beginLongRunningRpcAsync(BinaryData ge * } * * @param generationOptions Options for the generation. - * - * The generationOptions parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -376,8 +368,6 @@ public SyncPoller beginLongRunningRpc(BinaryData generat * } * * @param generationOptions Options for the generation. - * - * The generationOptions parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -429,8 +419,6 @@ public SyncPoller beginLongRunningRpc(BinaryData generat * } * * @param generationOptions Options for the generation. - * - * The generationOptions parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/_specs_/azure/core/lro/standard/StandardAsyncClient.java b/typespec-tests/src/main/java/com/_specs_/azure/core/lro/standard/StandardAsyncClient.java index 61e672a696..826facbe56 100644 --- a/typespec-tests/src/main/java/com/_specs_/azure/core/lro/standard/StandardAsyncClient.java +++ b/typespec-tests/src/main/java/com/_specs_/azure/core/lro/standard/StandardAsyncClient.java @@ -61,11 +61,7 @@ public final class StandardAsyncClient { * } * * @param name A sequence of textual characters. - * - * The name parameter. * @param resource Details about a user. - * - * The resource parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -102,8 +98,6 @@ public PollerFlux beginCreateOrReplace(String name, Bina * } * * @param name A sequence of textual characters. - * - * The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -139,11 +133,7 @@ public PollerFlux beginDelete(String name, RequestOptions requ * } * * @param name A sequence of textual characters. - * - * The name parameter. * @param format A sequence of textual characters. - * - * The format parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -163,11 +153,7 @@ public PollerFlux beginExport(String name, String format * Creates or replaces a User. * * @param name A sequence of textual characters. - * - * The name parameter. * @param resource Details about a user. - * - * The resource parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -190,8 +176,6 @@ public PollerFlux beginCreateOrReplace(String name, * Deletes a User. * * @param name A sequence of textual characters. - * - * The name parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -214,11 +198,7 @@ public PollerFlux beginDelete(String name) { * Exports a User. * * @param name A sequence of textual characters. - * - * The name parameter. * @param format A sequence of textual characters. - * - * The format parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/_specs_/azure/core/lro/standard/StandardClient.java b/typespec-tests/src/main/java/com/_specs_/azure/core/lro/standard/StandardClient.java index 3e6108f6b3..3602514bbf 100644 --- a/typespec-tests/src/main/java/com/_specs_/azure/core/lro/standard/StandardClient.java +++ b/typespec-tests/src/main/java/com/_specs_/azure/core/lro/standard/StandardClient.java @@ -61,11 +61,7 @@ public final class StandardClient { * } * * @param name A sequence of textual characters. - * - * The name parameter. * @param resource Details about a user. - * - * The resource parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -102,8 +98,6 @@ public SyncPoller beginCreateOrReplace(String name, Bina * } * * @param name A sequence of textual characters. - * - * The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -139,11 +133,7 @@ public SyncPoller beginDelete(String name, RequestOptions requ * } * * @param name A sequence of textual characters. - * - * The name parameter. * @param format A sequence of textual characters. - * - * The format parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -163,11 +153,7 @@ public SyncPoller beginExport(String name, String format * Creates or replaces a User. * * @param name A sequence of textual characters. - * - * The name parameter. * @param resource Details about a user. - * - * The resource parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -190,8 +176,6 @@ public SyncPoller beginCreateOrReplace(String name, * Deletes a User. * * @param name A sequence of textual characters. - * - * The name parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -214,11 +198,7 @@ public SyncPoller beginDelete(String name) { * Exports a User. * * @param name A sequence of textual characters. - * - * The name parameter. * @param format A sequence of textual characters. - * - * The format parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/_specs_/azure/core/lro/standard/implementation/StandardClientImpl.java b/typespec-tests/src/main/java/com/_specs_/azure/core/lro/standard/implementation/StandardClientImpl.java index 65b8b46708..76af1ac994 100644 --- a/typespec-tests/src/main/java/com/_specs_/azure/core/lro/standard/implementation/StandardClientImpl.java +++ b/typespec-tests/src/main/java/com/_specs_/azure/core/lro/standard/implementation/StandardClientImpl.java @@ -218,11 +218,7 @@ Response exportSync(@QueryParam("api-version") String apiVersion, @P * } * * @param name A sequence of textual characters. - * - * The name parameter. * @param resource Details about a user. - * - * The resource parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -261,11 +257,7 @@ private Mono> createOrReplaceWithResponseAsync(String name, * } * * @param name A sequence of textual characters. - * - * The name parameter. * @param resource Details about a user. - * - * The resource parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -304,11 +296,7 @@ private Response createOrReplaceWithResponse(String name, BinaryData * } * * @param name A sequence of textual characters. - * - * The name parameter. * @param resource Details about a user. - * - * The resource parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -354,11 +342,7 @@ public PollerFlux beginCreateOrReplaceAsync(String name, * } * * @param name A sequence of textual characters. - * - * The name parameter. * @param resource Details about a user. - * - * The resource parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -404,11 +388,7 @@ public SyncPoller beginCreateOrReplace(String name, Bina * } * * @param name A sequence of textual characters. - * - * The name parameter. * @param resource Details about a user. - * - * The resource parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -454,11 +434,7 @@ public PollerFlux beginCreateOrReplaceWithModelAsync * } * * @param name A sequence of textual characters. - * - * The name parameter. * @param resource Details about a user. - * - * The resource parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -503,8 +479,6 @@ public SyncPoller beginCreateOrReplaceWithModel(Stri * } * * @param name A sequence of textual characters. - * - * The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -542,8 +516,6 @@ private Mono> deleteWithResponseAsync(String name, RequestO * } * * @param name A sequence of textual characters. - * - * The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -579,8 +551,6 @@ private Response deleteWithResponse(String name, RequestOptions requ * } * * @param name A sequence of textual characters. - * - * The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -623,8 +593,6 @@ public PollerFlux beginDeleteAsync(String name, RequestOptions * } * * @param name A sequence of textual characters. - * - * The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -667,8 +635,6 @@ public SyncPoller beginDelete(String name, RequestOptions requ * } * * @param name A sequence of textual characters. - * - * The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -712,8 +678,6 @@ public PollerFlux beginDeleteWithModelAsync(String n * } * * @param name A sequence of textual characters. - * - * The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -756,11 +720,7 @@ public SyncPoller beginDeleteWithModel(String name, * } * * @param name A sequence of textual characters. - * - * The name parameter. * @param format A sequence of textual characters. - * - * The format parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -799,11 +759,7 @@ private Mono> exportWithResponseAsync(String name, String f * } * * @param name A sequence of textual characters. - * - * The name parameter. * @param format A sequence of textual characters. - * - * The format parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -840,11 +796,7 @@ private Response exportWithResponse(String name, String format, Requ * } * * @param name A sequence of textual characters. - * - * The name parameter. * @param format A sequence of textual characters. - * - * The format parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -889,11 +841,7 @@ public PollerFlux beginExportAsync(String name, String f * } * * @param name A sequence of textual characters. - * - * The name parameter. * @param format A sequence of textual characters. - * - * The format parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -937,11 +885,7 @@ public SyncPoller beginExport(String name, String format * } * * @param name A sequence of textual characters. - * - * The name parameter. * @param format A sequence of textual characters. - * - * The format parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -986,11 +930,7 @@ public PollerFlux beginExportWithModelAsync( * } * * @param name A sequence of textual characters. - * - * The name parameter. * @param format A sequence of textual characters. - * - * The format parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/_specs_/azure/core/scalar/ScalarAsyncClient.java b/typespec-tests/src/main/java/com/_specs_/azure/core/scalar/ScalarAsyncClient.java index 9a3fc6659b..8164014ed6 100644 --- a/typespec-tests/src/main/java/com/_specs_/azure/core/scalar/ScalarAsyncClient.java +++ b/typespec-tests/src/main/java/com/_specs_/azure/core/scalar/ScalarAsyncClient.java @@ -68,8 +68,6 @@ public Mono> getWithResponse(RequestOptions requestOptions) * } * * @param body Represents an Azure geography region where supported resource providers live. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -119,8 +117,6 @@ public Mono> postWithResponse(BinaryData body, RequestOptio * azureLocation value header. * * @param region Represents an Azure geography region where supported resource providers live. - * - * The region parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -138,8 +134,6 @@ public Mono> headerMethodWithResponse(String region, RequestOptio * azureLocation value query. * * @param region Represents an Azure geography region where supported resource providers live. - * - * The region parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -176,8 +170,6 @@ public Mono get() { * put azureLocation value. * * @param body Represents an Azure geography region where supported resource providers live. - * - * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -219,8 +211,6 @@ public Mono post(AzureLocationModel body) { * azureLocation value header. * * @param region Represents an Azure geography region where supported resource providers live. - * - * The region parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -241,8 +231,6 @@ public Mono headerMethod(String region) { * azureLocation value query. * * @param region Represents an Azure geography region where supported resource providers live. - * - * The region parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/_specs_/azure/core/scalar/ScalarClient.java b/typespec-tests/src/main/java/com/_specs_/azure/core/scalar/ScalarClient.java index 9fd471a51c..aedab64f0b 100644 --- a/typespec-tests/src/main/java/com/_specs_/azure/core/scalar/ScalarClient.java +++ b/typespec-tests/src/main/java/com/_specs_/azure/core/scalar/ScalarClient.java @@ -66,8 +66,6 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * * @param body Represents an Azure geography region where supported resource providers live. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -117,8 +115,6 @@ public Response postWithResponse(BinaryData body, RequestOptions req * azureLocation value header. * * @param region Represents an Azure geography region where supported resource providers live. - * - * The region parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -136,8 +132,6 @@ public Response headerMethodWithResponse(String region, RequestOptions req * azureLocation value query. * * @param region Represents an Azure geography region where supported resource providers live. - * - * The region parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -173,8 +167,6 @@ public String get() { * put azureLocation value. * * @param body Represents an Azure geography region where supported resource providers live. - * - * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -215,8 +207,6 @@ public AzureLocationModel post(AzureLocationModel body) { * azureLocation value header. * * @param region Represents an Azure geography region where supported resource providers live. - * - * The region parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -236,8 +226,6 @@ public void headerMethod(String region) { * azureLocation value query. * * @param region Represents an Azure geography region where supported resource providers live. - * - * The region parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/_specs_/azure/core/scalar/implementation/AzureLocationScalarsImpl.java b/typespec-tests/src/main/java/com/_specs_/azure/core/scalar/implementation/AzureLocationScalarsImpl.java index 35a0545bf6..4a877bfedb 100644 --- a/typespec-tests/src/main/java/com/_specs_/azure/core/scalar/implementation/AzureLocationScalarsImpl.java +++ b/typespec-tests/src/main/java/com/_specs_/azure/core/scalar/implementation/AzureLocationScalarsImpl.java @@ -212,8 +212,6 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * * @param body Represents an Azure geography region where supported resource providers live. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -236,8 +234,6 @@ public Mono> putWithResponseAsync(BinaryData body, RequestOptions * } * * @param body Represents an Azure geography region where supported resource providers live. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -319,8 +315,6 @@ public Response postWithResponse(BinaryData body, RequestOptions req * azureLocation value header. * * @param region Represents an Azure geography region where supported resource providers live. - * - * The region parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -338,8 +332,6 @@ public Mono> headerMethodWithResponseAsync(String region, Request * azureLocation value header. * * @param region Represents an Azure geography region where supported resource providers live. - * - * The region parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -357,8 +349,6 @@ public Response headerMethodWithResponse(String region, RequestOptions req * azureLocation value query. * * @param region Represents an Azure geography region where supported resource providers live. - * - * The region parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -376,8 +366,6 @@ public Mono> queryWithResponseAsync(String region, RequestOptions * azureLocation value query. * * @param region Represents an Azure geography region where supported resource providers live. - * - * The region parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/_specs_/azure/core/scalar/models/AzureLocationModel.java b/typespec-tests/src/main/java/com/_specs_/azure/core/scalar/models/AzureLocationModel.java index 4b0ea5f53c..f057933288 100644 --- a/typespec-tests/src/main/java/com/_specs_/azure/core/scalar/models/AzureLocationModel.java +++ b/typespec-tests/src/main/java/com/_specs_/azure/core/scalar/models/AzureLocationModel.java @@ -18,7 +18,7 @@ @Immutable public final class AzureLocationModel implements JsonSerializable { /* - * Represents an Azure geography region where supported resource providers live. + * The location property. */ @Generated private final String location; @@ -34,7 +34,7 @@ public AzureLocationModel(String location) { } /** - * Get the location property: Represents an Azure geography region where supported resource providers live. + * Get the location property: The location property. * * @return the location value. */ diff --git a/typespec-tests/src/main/java/com/_specs_/azure/core/traits/TraitsAsyncClient.java b/typespec-tests/src/main/java/com/_specs_/azure/core/traits/TraitsAsyncClient.java index b7348f2f8c..6011d75b9d 100644 --- a/typespec-tests/src/main/java/com/_specs_/azure/core/traits/TraitsAsyncClient.java +++ b/typespec-tests/src/main/java/com/_specs_/azure/core/traits/TraitsAsyncClient.java @@ -50,12 +50,8 @@ public final class TraitsAsyncClient { * * * - * - * + * + * * * *
Header Parameters
NameTypeRequiredDescription
If-MatchStringNoA sequence of textual characters. - * - * The ifMatch parameter
If-None-MatchStringNoA sequence of textual characters. - * - * The ifNoneMatch parameter
If-MatchStringNoA sequence of textual characters.
If-None-MatchStringNoA sequence of textual characters.
If-Unmodified-SinceOffsetDateTimeNoThe ifUnmodifiedSince parameter
If-Modified-SinceOffsetDateTimeNoThe ifModifiedSince parameter
@@ -69,12 +65,8 @@ public final class TraitsAsyncClient { * } * } * - * @param id A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) - * - * The id parameter. + * @param id A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`). * @param foo A sequence of textual characters. - * - * The foo parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -116,12 +108,8 @@ public Mono> smokeTestWithResponse(int id, String foo, Requ * } * } * - * @param id A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) - * - * The id parameter. - * @param userActionParam User action param - * - * The userActionParam parameter. + * @param id A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`). + * @param userActionParam User action param. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -139,12 +127,8 @@ public Mono> repeatableActionWithResponse(int id, BinaryDat /** * Get a resource, sending and receiving headers. * - * @param id A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) - * - * The id parameter. + * @param id A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`). * @param foo A sequence of textual characters. - * - * The foo parameter. * @param requestConditions Specifies HTTP options for conditional requests based on modification time. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -184,12 +168,8 @@ public Mono smokeTest(int id, String foo, RequestConditions requestConditi /** * Get a resource, sending and receiving headers. * - * @param id A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) - * - * The id parameter. + * @param id A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`). * @param foo A sequence of textual characters. - * - * The foo parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -210,12 +190,8 @@ public Mono smokeTest(int id, String foo) { /** * Test for repeatable requests. * - * @param id A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) - * - * The id parameter. - * @param userActionParam User action param - * - * The userActionParam parameter. + * @param id A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`). + * @param userActionParam User action param. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/_specs_/azure/core/traits/TraitsClient.java b/typespec-tests/src/main/java/com/_specs_/azure/core/traits/TraitsClient.java index db120e2bf0..cc6cd46927 100644 --- a/typespec-tests/src/main/java/com/_specs_/azure/core/traits/TraitsClient.java +++ b/typespec-tests/src/main/java/com/_specs_/azure/core/traits/TraitsClient.java @@ -48,12 +48,8 @@ public final class TraitsClient { * * * - * - * + * + * * * *
Header Parameters
NameTypeRequiredDescription
If-MatchStringNoA sequence of textual characters. - * - * The ifMatch parameter
If-None-MatchStringNoA sequence of textual characters. - * - * The ifNoneMatch parameter
If-MatchStringNoA sequence of textual characters.
If-None-MatchStringNoA sequence of textual characters.
If-Unmodified-SinceOffsetDateTimeNoThe ifUnmodifiedSince parameter
If-Modified-SinceOffsetDateTimeNoThe ifModifiedSince parameter
@@ -67,12 +63,8 @@ public final class TraitsClient { * } * } * - * @param id A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) - * - * The id parameter. + * @param id A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`). * @param foo A sequence of textual characters. - * - * The foo parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -113,12 +105,8 @@ public Response smokeTestWithResponse(int id, String foo, RequestOpt * } * } * - * @param id A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) - * - * The id parameter. - * @param userActionParam User action param - * - * The userActionParam parameter. + * @param id A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`). + * @param userActionParam User action param. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -136,12 +124,8 @@ public Response repeatableActionWithResponse(int id, BinaryData user /** * Get a resource, sending and receiving headers. * - * @param id A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) - * - * The id parameter. + * @param id A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`). * @param foo A sequence of textual characters. - * - * The foo parameter. * @param requestConditions Specifies HTTP options for conditional requests based on modification time. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -180,12 +164,8 @@ public User smokeTest(int id, String foo, RequestConditions requestConditions) { /** * Get a resource, sending and receiving headers. * - * @param id A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) - * - * The id parameter. + * @param id A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`). * @param foo A sequence of textual characters. - * - * The foo parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -205,12 +185,8 @@ public User smokeTest(int id, String foo) { /** * Test for repeatable requests. * - * @param id A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) - * - * The id parameter. - * @param userActionParam User action param - * - * The userActionParam parameter. + * @param id A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`). + * @param userActionParam User action param. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/_specs_/azure/core/traits/implementation/TraitsClientImpl.java b/typespec-tests/src/main/java/com/_specs_/azure/core/traits/implementation/TraitsClientImpl.java index 3a4c51e626..7ccdcbb0cd 100644 --- a/typespec-tests/src/main/java/com/_specs_/azure/core/traits/implementation/TraitsClientImpl.java +++ b/typespec-tests/src/main/java/com/_specs_/azure/core/traits/implementation/TraitsClientImpl.java @@ -178,12 +178,8 @@ Response repeatableActionSync(@QueryParam("api-version") String apiV * * * - * - * + * + * * * *
Header Parameters
NameTypeRequiredDescription
If-MatchStringNoA sequence of textual characters. - * - * The ifMatch parameter
If-None-MatchStringNoA sequence of textual characters. - * - * The ifNoneMatch parameter
If-MatchStringNoA sequence of textual characters.
If-None-MatchStringNoA sequence of textual characters.
If-Unmodified-SinceOffsetDateTimeNoThe ifUnmodifiedSince parameter
If-Modified-SinceOffsetDateTimeNoThe ifModifiedSince parameter
@@ -197,12 +193,8 @@ Response repeatableActionSync(@QueryParam("api-version") String apiV * } * } * - * @param id A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) - * - * The id parameter. + * @param id A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`). * @param foo A sequence of textual characters. - * - * The foo parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -224,12 +216,8 @@ public Mono> smokeTestWithResponseAsync(int id, String foo, * * * - * - * + * + * * * *
Header Parameters
NameTypeRequiredDescription
If-MatchStringNoA sequence of textual characters. - * - * The ifMatch parameter
If-None-MatchStringNoA sequence of textual characters. - * - * The ifNoneMatch parameter
If-MatchStringNoA sequence of textual characters.
If-None-MatchStringNoA sequence of textual characters.
If-Unmodified-SinceOffsetDateTimeNoThe ifUnmodifiedSince parameter
If-Modified-SinceOffsetDateTimeNoThe ifModifiedSince parameter
@@ -243,12 +231,8 @@ public Mono> smokeTestWithResponseAsync(int id, String foo, * } * } * - * @param id A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) - * - * The id parameter. + * @param id A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`). * @param foo A sequence of textual characters. - * - * The foo parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -290,12 +274,8 @@ public Response smokeTestWithResponse(int id, String foo, RequestOpt * } * } * - * @param id A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) - * - * The id parameter. - * @param userActionParam User action param - * - * The userActionParam parameter. + * @param id A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`). + * @param userActionParam User action param. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -353,12 +333,8 @@ public Mono> repeatableActionWithResponseAsync(int id, Bina * } * } * - * @param id A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) - * - * The id parameter. - * @param userActionParam User action param - * - * The userActionParam parameter. + * @param id A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`). + * @param userActionParam User action param. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/cadl/armresourceprovider/fluent/ChildResourcesInterfacesClient.java b/typespec-tests/src/main/java/com/cadl/armresourceprovider/fluent/ChildResourcesInterfacesClient.java index 2a9f2b1543..f9d62b5c2d 100644 --- a/typespec-tests/src/main/java/com/cadl/armresourceprovider/fluent/ChildResourcesInterfacesClient.java +++ b/typespec-tests/src/main/java/com/cadl/armresourceprovider/fluent/ChildResourcesInterfacesClient.java @@ -22,14 +22,8 @@ public interface ChildResourcesInterfacesClient { * Get a ChildResource. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param topLevelArmResourceName A sequence of textual characters. - * - * The topLevelArmResourceName parameter. * @param childResourceName A sequence of textual characters. - * - * The childResourceName parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -44,14 +38,8 @@ Response getWithResponse(String resourceGroupName, String to * Get a ChildResource. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param topLevelArmResourceName A sequence of textual characters. - * - * The topLevelArmResourceName parameter. * @param childResourceName A sequence of textual characters. - * - * The childResourceName parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -64,17 +52,9 @@ Response getWithResponse(String resourceGroupName, String to * Create a ChildResource. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param topLevelArmResourceName A sequence of textual characters. - * - * The topLevelArmResourceName parameter. * @param childResourceName A sequence of textual characters. - * - * The childResourceName parameter. * @param resource Subresource of Top Level Arm Resource. - * - * The resource parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -88,17 +68,9 @@ SyncPoller, ChildResourceInner> beginCreateOrUpda * Create a ChildResource. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param topLevelArmResourceName A sequence of textual characters. - * - * The topLevelArmResourceName parameter. * @param childResourceName A sequence of textual characters. - * - * The childResourceName parameter. * @param resource Subresource of Top Level Arm Resource. - * - * The resource parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -113,17 +85,9 @@ SyncPoller, ChildResourceInner> beginCreateOrUpda * Create a ChildResource. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param topLevelArmResourceName A sequence of textual characters. - * - * The topLevelArmResourceName parameter. * @param childResourceName A sequence of textual characters. - * - * The childResourceName parameter. * @param resource Subresource of Top Level Arm Resource. - * - * The resource parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -137,17 +101,9 @@ ChildResourceInner createOrUpdate(String resourceGroupName, String topLevelArmRe * Create a ChildResource. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param topLevelArmResourceName A sequence of textual characters. - * - * The topLevelArmResourceName parameter. * @param childResourceName A sequence of textual characters. - * - * The childResourceName parameter. * @param resource Subresource of Top Level Arm Resource. - * - * The resource parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -162,17 +118,9 @@ ChildResourceInner createOrUpdate(String resourceGroupName, String topLevelArmRe * Update a ChildResource. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param topLevelArmResourceName A sequence of textual characters. - * - * The topLevelArmResourceName parameter. * @param childResourceName A sequence of textual characters. - * - * The childResourceName parameter. * @param properties The type used for update operations of the ChildResource. - * - * The properties parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -187,17 +135,9 @@ Response updateWithResponse(String resourceGroupName, String * Update a ChildResource. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param topLevelArmResourceName A sequence of textual characters. - * - * The topLevelArmResourceName parameter. * @param childResourceName A sequence of textual characters. - * - * The childResourceName parameter. * @param properties The type used for update operations of the ChildResource. - * - * The properties parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -211,14 +151,8 @@ ChildResourceInner update(String resourceGroupName, String topLevelArmResourceNa * Delete a ChildResource. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param topLevelArmResourceName A sequence of textual characters. - * - * The topLevelArmResourceName parameter. * @param childResourceName A sequence of textual characters. - * - * The childResourceName parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -232,14 +166,8 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String * Delete a ChildResource. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param topLevelArmResourceName A sequence of textual characters. - * - * The topLevelArmResourceName parameter. * @param childResourceName A sequence of textual characters. - * - * The childResourceName parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -254,14 +182,8 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String * Delete a ChildResource. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param topLevelArmResourceName A sequence of textual characters. - * - * The topLevelArmResourceName parameter. * @param childResourceName A sequence of textual characters. - * - * The childResourceName parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -273,14 +195,8 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String * Delete a ChildResource. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param topLevelArmResourceName A sequence of textual characters. - * - * The topLevelArmResourceName parameter. * @param childResourceName A sequence of textual characters. - * - * The childResourceName parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -293,11 +209,7 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String * List ChildResource resources by TopLevelArmResource. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param topLevelArmResourceName A sequence of textual characters. - * - * The topLevelArmResourceName parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -311,11 +223,7 @@ PagedIterable listByTopLevelArmResource(String resourceGroup * List ChildResource resources by TopLevelArmResource. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param topLevelArmResourceName A sequence of textual characters. - * - * The topLevelArmResourceName parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -330,14 +238,8 @@ PagedIterable listByTopLevelArmResource(String resourceGroup * A long-running resource action. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param topLevelArmResourceName A sequence of textual characters. - * - * The topLevelArmResourceName parameter. * @param childResourceName A sequence of textual characters. - * - * The childResourceName parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -351,14 +253,8 @@ SyncPoller, Void> beginActionWithoutBody(String resourceGroupNa * A long-running resource action. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param topLevelArmResourceName A sequence of textual characters. - * - * The topLevelArmResourceName parameter. * @param childResourceName A sequence of textual characters. - * - * The childResourceName parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -373,14 +269,8 @@ SyncPoller, Void> beginActionWithoutBody(String resourceGroupNa * A long-running resource action. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param topLevelArmResourceName A sequence of textual characters. - * - * The topLevelArmResourceName parameter. * @param childResourceName A sequence of textual characters. - * - * The childResourceName parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -392,14 +282,8 @@ SyncPoller, Void> beginActionWithoutBody(String resourceGroupNa * A long-running resource action. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param topLevelArmResourceName A sequence of textual characters. - * - * The topLevelArmResourceName parameter. * @param childResourceName A sequence of textual characters. - * - * The childResourceName parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. diff --git a/typespec-tests/src/main/java/com/cadl/armresourceprovider/fluent/CustomTemplateResourceInterfacesClient.java b/typespec-tests/src/main/java/com/cadl/armresourceprovider/fluent/CustomTemplateResourceInterfacesClient.java index 0e1adeed36..8ed999243b 100644 --- a/typespec-tests/src/main/java/com/cadl/armresourceprovider/fluent/CustomTemplateResourceInterfacesClient.java +++ b/typespec-tests/src/main/java/com/cadl/armresourceprovider/fluent/CustomTemplateResourceInterfacesClient.java @@ -20,15 +20,9 @@ public interface CustomTemplateResourceInterfacesClient { * Create a CustomTemplateResource. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param customTemplateResourceName A sequence of textual characters. - * - * The customTemplateResourceName parameter. * @param resource Concrete tracked resource types can be created by aliasing this type using a specific property * type. - * - * The resource parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -43,21 +37,11 @@ SyncPoller, CustomTemplateResourceInner> * Create a CustomTemplateResource. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param customTemplateResourceName A sequence of textual characters. - * - * The customTemplateResourceName parameter. * @param resource Concrete tracked resource types can be created by aliasing this type using a specific property * type. - * - * The resource parameter. * @param ifMatch A sequence of textual characters. - * - * The ifMatch parameter. * @param ifNoneMatch A sequence of textual characters. - * - * The ifNoneMatch parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -74,15 +58,9 @@ SyncPoller, CustomTemplateResourceInner> * Create a CustomTemplateResource. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param customTemplateResourceName A sequence of textual characters. - * - * The customTemplateResourceName parameter. * @param resource Concrete tracked resource types can be created by aliasing this type using a specific property * type. - * - * The resource parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -96,21 +74,11 @@ CustomTemplateResourceInner createOrUpdate(String resourceGroupName, String cust * Create a CustomTemplateResource. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param customTemplateResourceName A sequence of textual characters. - * - * The customTemplateResourceName parameter. * @param resource Concrete tracked resource types can be created by aliasing this type using a specific property * type. - * - * The resource parameter. * @param ifMatch A sequence of textual characters. - * - * The ifMatch parameter. * @param ifNoneMatch A sequence of textual characters. - * - * The ifNoneMatch parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -125,11 +93,7 @@ CustomTemplateResourceInner createOrUpdate(String resourceGroupName, String cust * Update a CustomTemplateResource. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param customTemplateResourceName A sequence of textual characters. - * - * The customTemplateResourceName parameter. * @param properties The properties parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -145,11 +109,7 @@ SyncPoller, CustomTemplateResourceInner> * Update a CustomTemplateResource. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param customTemplateResourceName A sequence of textual characters. - * - * The customTemplateResourceName parameter. * @param properties The properties parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -167,11 +127,7 @@ SyncPoller, CustomTemplateResourceInner> * Update a CustomTemplateResource. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param customTemplateResourceName A sequence of textual characters. - * - * The customTemplateResourceName parameter. * @param properties The properties parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -186,11 +142,7 @@ CustomTemplateResourceInner updateLongRunning(String resourceGroupName, String c * Update a CustomTemplateResource. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param customTemplateResourceName A sequence of textual characters. - * - * The customTemplateResourceName parameter. * @param properties The properties parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. diff --git a/typespec-tests/src/main/java/com/cadl/armresourceprovider/fluent/TopLevelArmResourceInterfacesClient.java b/typespec-tests/src/main/java/com/cadl/armresourceprovider/fluent/TopLevelArmResourceInterfacesClient.java index 8afea4f007..ba306603e3 100644 --- a/typespec-tests/src/main/java/com/cadl/armresourceprovider/fluent/TopLevelArmResourceInterfacesClient.java +++ b/typespec-tests/src/main/java/com/cadl/armresourceprovider/fluent/TopLevelArmResourceInterfacesClient.java @@ -22,11 +22,7 @@ public interface TopLevelArmResourceInterfacesClient { * Get a TopLevelArmResource. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param topLevelArmResourceName A sequence of textual characters. - * - * The topLevelArmResourceName parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -41,11 +37,7 @@ Response getByResourceGroupWithResponse(String resourc * Get a TopLevelArmResource. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param topLevelArmResourceName A sequence of textual characters. - * - * The topLevelArmResourceName parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -58,15 +50,9 @@ Response getByResourceGroupWithResponse(String resourc * Create a TopLevelArmResource. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param topLevelArmResourceName A sequence of textual characters. - * - * The topLevelArmResourceName parameter. * @param resource Concrete tracked resource types can be created by aliasing this type using a specific property * type. - * - * The resource parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -81,15 +67,9 @@ SyncPoller, TopLevelArmResourceInner> begin * Create a TopLevelArmResource. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param topLevelArmResourceName A sequence of textual characters. - * - * The topLevelArmResourceName parameter. * @param resource Concrete tracked resource types can be created by aliasing this type using a specific property * type. - * - * The resource parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -105,15 +85,9 @@ SyncPoller, TopLevelArmResourceInner> begin * Create a TopLevelArmResource. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param topLevelArmResourceName A sequence of textual characters. - * - * The topLevelArmResourceName parameter. * @param resource Concrete tracked resource types can be created by aliasing this type using a specific property * type. - * - * The resource parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -127,15 +101,9 @@ TopLevelArmResourceInner createOrUpdate(String resourceGroupName, String topLeve * Create a TopLevelArmResource. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param topLevelArmResourceName A sequence of textual characters. - * - * The topLevelArmResourceName parameter. * @param resource Concrete tracked resource types can be created by aliasing this type using a specific property * type. - * - * The resource parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -150,14 +118,8 @@ TopLevelArmResourceInner createOrUpdate(String resourceGroupName, String topLeve * Update a TopLevelArmResource. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param topLevelArmResourceName A sequence of textual characters. - * - * The topLevelArmResourceName parameter. * @param properties The type used for update operations of the TopLevelArmResource. - * - * The properties parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -173,14 +135,8 @@ Response updateWithResponse(String resourceGroupName, * Update a TopLevelArmResource. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param topLevelArmResourceName A sequence of textual characters. - * - * The topLevelArmResourceName parameter. * @param properties The type used for update operations of the TopLevelArmResource. - * - * The properties parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -194,11 +150,7 @@ TopLevelArmResourceInner update(String resourceGroupName, String topLevelArmReso * Delete a TopLevelArmResource. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param topLevelArmResourceName A sequence of textual characters. - * - * The topLevelArmResourceName parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -211,11 +163,7 @@ TopLevelArmResourceInner update(String resourceGroupName, String topLevelArmReso * Delete a TopLevelArmResource. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param topLevelArmResourceName A sequence of textual characters. - * - * The topLevelArmResourceName parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -230,11 +178,7 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String * Delete a TopLevelArmResource. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param topLevelArmResourceName A sequence of textual characters. - * - * The topLevelArmResourceName parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -246,11 +190,7 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String * Delete a TopLevelArmResource. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param topLevelArmResourceName A sequence of textual characters. - * - * The topLevelArmResourceName parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -263,8 +203,6 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String * List TopLevelArmResource resources by resource group. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -277,8 +215,6 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String * List TopLevelArmResource resources by resource group. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. diff --git a/typespec-tests/src/main/java/com/cadl/armresourceprovider/fluent/models/TopLevelArmResourceInner.java b/typespec-tests/src/main/java/com/cadl/armresourceprovider/fluent/models/TopLevelArmResourceInner.java index 4c70397ce6..ce4bcd3d1f 100644 --- a/typespec-tests/src/main/java/com/cadl/armresourceprovider/fluent/models/TopLevelArmResourceInner.java +++ b/typespec-tests/src/main/java/com/cadl/armresourceprovider/fluent/models/TopLevelArmResourceInner.java @@ -82,7 +82,7 @@ public List configurationEndpoints() { } /** - * Get the userName property: A sequence of textual characters. + * Get the userName property: The userName property. * * @return the userName value. */ @@ -91,7 +91,7 @@ public String userName() { } /** - * Set the userName property: A sequence of textual characters. + * Set the userName property: The userName property. * * @param userName the userName value to set. * @return the TopLevelArmResourceInner object itself. @@ -105,7 +105,7 @@ public TopLevelArmResourceInner withUserName(String userName) { } /** - * Get the userNames property: A sequence of textual characters. + * Get the userNames property: The userNames property. * * @return the userNames value. */ @@ -114,7 +114,7 @@ public String userNames() { } /** - * Set the userNames property: A sequence of textual characters. + * Set the userNames property: The userNames property. * * @param userNames the userNames value to set. * @return the TopLevelArmResourceInner object itself. @@ -128,7 +128,7 @@ public TopLevelArmResourceInner withUserNames(String userNames) { } /** - * Get the accuserName property: A sequence of textual characters. + * Get the accuserName property: The accuserName property. * * @return the accuserName value. */ @@ -137,7 +137,7 @@ public String accuserName() { } /** - * Set the accuserName property: A sequence of textual characters. + * Set the accuserName property: The accuserName property. * * @param accuserName the accuserName value to set. * @return the TopLevelArmResourceInner object itself. diff --git a/typespec-tests/src/main/java/com/cadl/armresourceprovider/fluent/models/TopLevelArmResourceProperties.java b/typespec-tests/src/main/java/com/cadl/armresourceprovider/fluent/models/TopLevelArmResourceProperties.java index 6dd73dabb5..3e9321df1b 100644 --- a/typespec-tests/src/main/java/com/cadl/armresourceprovider/fluent/models/TopLevelArmResourceProperties.java +++ b/typespec-tests/src/main/java/com/cadl/armresourceprovider/fluent/models/TopLevelArmResourceProperties.java @@ -23,19 +23,19 @@ public final class TopLevelArmResourceProperties { private List configurationEndpoints; /* - * A sequence of textual characters. + * The userName property. */ @JsonProperty(value = "userName", required = true) private String userName; /* - * A sequence of textual characters. + * The userNames property. */ @JsonProperty(value = "userNames", required = true) private String userNames; /* - * A sequence of textual characters. + * The accuserName property. */ @JsonProperty(value = "accuserName", required = true) private String accuserName; @@ -68,7 +68,7 @@ public List configurationEndpoints() { } /** - * Get the userName property: A sequence of textual characters. + * Get the userName property: The userName property. * * @return the userName value. */ @@ -77,7 +77,7 @@ public String userName() { } /** - * Set the userName property: A sequence of textual characters. + * Set the userName property: The userName property. * * @param userName the userName value to set. * @return the TopLevelArmResourceProperties object itself. @@ -88,7 +88,7 @@ public TopLevelArmResourceProperties withUserName(String userName) { } /** - * Get the userNames property: A sequence of textual characters. + * Get the userNames property: The userNames property. * * @return the userNames value. */ @@ -97,7 +97,7 @@ public String userNames() { } /** - * Set the userNames property: A sequence of textual characters. + * Set the userNames property: The userNames property. * * @param userNames the userNames value to set. * @return the TopLevelArmResourceProperties object itself. @@ -108,7 +108,7 @@ public TopLevelArmResourceProperties withUserNames(String userNames) { } /** - * Get the accuserName property: A sequence of textual characters. + * Get the accuserName property: The accuserName property. * * @return the accuserName value. */ @@ -117,7 +117,7 @@ public String accuserName() { } /** - * Set the accuserName property: A sequence of textual characters. + * Set the accuserName property: The accuserName property. * * @param accuserName the accuserName value to set. * @return the TopLevelArmResourceProperties object itself. diff --git a/typespec-tests/src/main/java/com/cadl/armresourceprovider/implementation/ChildResourcesInterfacesClientImpl.java b/typespec-tests/src/main/java/com/cadl/armresourceprovider/implementation/ChildResourcesInterfacesClientImpl.java index 89159a8507..76a4695db1 100644 --- a/typespec-tests/src/main/java/com/cadl/armresourceprovider/implementation/ChildResourcesInterfacesClientImpl.java +++ b/typespec-tests/src/main/java/com/cadl/armresourceprovider/implementation/ChildResourcesInterfacesClientImpl.java @@ -151,14 +151,8 @@ Mono> listByTopLevelArmResourceNext( * Get a ChildResource. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param topLevelArmResourceName A sequence of textual characters. - * - * The topLevelArmResourceName parameter. * @param childResourceName A sequence of textual characters. - * - * The childResourceName parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -199,14 +193,8 @@ private Mono> getWithResponseAsync(String resourceG * Get a ChildResource. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param topLevelArmResourceName A sequence of textual characters. - * - * The topLevelArmResourceName parameter. * @param childResourceName A sequence of textual characters. - * - * The childResourceName parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -246,14 +234,8 @@ private Mono> getWithResponseAsync(String resourceG * Get a ChildResource. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param topLevelArmResourceName A sequence of textual characters. - * - * The topLevelArmResourceName parameter. * @param childResourceName A sequence of textual characters. - * - * The childResourceName parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -270,14 +252,8 @@ private Mono getAsync(String resourceGroupName, String topLe * Get a ChildResource. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param topLevelArmResourceName A sequence of textual characters. - * - * The topLevelArmResourceName parameter. * @param childResourceName A sequence of textual characters. - * - * The childResourceName parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -294,14 +270,8 @@ public Response getWithResponse(String resourceGroupName, St * Get a ChildResource. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param topLevelArmResourceName A sequence of textual characters. - * - * The topLevelArmResourceName parameter. * @param childResourceName A sequence of textual characters. - * - * The childResourceName parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -316,17 +286,9 @@ public ChildResourceInner get(String resourceGroupName, String topLevelArmResour * Create a ChildResource. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param topLevelArmResourceName A sequence of textual characters. - * - * The topLevelArmResourceName parameter. * @param childResourceName A sequence of textual characters. - * - * The childResourceName parameter. * @param resource Subresource of Top Level Arm Resource. - * - * The resource parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -373,17 +335,9 @@ private Mono>> createOrUpdateWithResponseAsync(String * Create a ChildResource. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param topLevelArmResourceName A sequence of textual characters. - * - * The topLevelArmResourceName parameter. * @param childResourceName A sequence of textual characters. - * - * The childResourceName parameter. * @param resource Subresource of Top Level Arm Resource. - * - * The resource parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -430,17 +384,9 @@ private Mono>> createOrUpdateWithResponseAsync(String * Create a ChildResource. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param topLevelArmResourceName A sequence of textual characters. - * - * The topLevelArmResourceName parameter. * @param childResourceName A sequence of textual characters. - * - * The childResourceName parameter. * @param resource Subresource of Top Level Arm Resource. - * - * The resource parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -460,17 +406,9 @@ private PollerFlux, ChildResourceInner> beginCrea * Create a ChildResource. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param topLevelArmResourceName A sequence of textual characters. - * - * The topLevelArmResourceName parameter. * @param childResourceName A sequence of textual characters. - * - * The childResourceName parameter. * @param resource Subresource of Top Level Arm Resource. - * - * The resource parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -492,17 +430,9 @@ private PollerFlux, ChildResourceInner> beginCrea * Create a ChildResource. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param topLevelArmResourceName A sequence of textual characters. - * - * The topLevelArmResourceName parameter. * @param childResourceName A sequence of textual characters. - * - * The childResourceName parameter. * @param resource Subresource of Top Level Arm Resource. - * - * The resource parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -519,17 +449,9 @@ public SyncPoller, ChildResourceInner> beginCreat * Create a ChildResource. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param topLevelArmResourceName A sequence of textual characters. - * - * The topLevelArmResourceName parameter. * @param childResourceName A sequence of textual characters. - * - * The childResourceName parameter. * @param resource Subresource of Top Level Arm Resource. - * - * The resource parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -548,17 +470,9 @@ public SyncPoller, ChildResourceInner> beginCreat * Create a ChildResource. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param topLevelArmResourceName A sequence of textual characters. - * - * The topLevelArmResourceName parameter. * @param childResourceName A sequence of textual characters. - * - * The childResourceName parameter. * @param resource Subresource of Top Level Arm Resource. - * - * The resource parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -575,17 +489,9 @@ private Mono createOrUpdateAsync(String resourceGroupName, S * Create a ChildResource. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param topLevelArmResourceName A sequence of textual characters. - * - * The topLevelArmResourceName parameter. * @param childResourceName A sequence of textual characters. - * - * The childResourceName parameter. * @param resource Subresource of Top Level Arm Resource. - * - * The resource parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -603,17 +509,9 @@ private Mono createOrUpdateAsync(String resourceGroupName, S * Create a ChildResource. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param topLevelArmResourceName A sequence of textual characters. - * - * The topLevelArmResourceName parameter. * @param childResourceName A sequence of textual characters. - * - * The childResourceName parameter. * @param resource Subresource of Top Level Arm Resource. - * - * The resource parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -629,17 +527,9 @@ public ChildResourceInner createOrUpdate(String resourceGroupName, String topLev * Create a ChildResource. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param topLevelArmResourceName A sequence of textual characters. - * - * The topLevelArmResourceName parameter. * @param childResourceName A sequence of textual characters. - * - * The childResourceName parameter. * @param resource Subresource of Top Level Arm Resource. - * - * The resource parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -657,17 +547,9 @@ public ChildResourceInner createOrUpdate(String resourceGroupName, String topLev * Update a ChildResource. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param topLevelArmResourceName A sequence of textual characters. - * - * The topLevelArmResourceName parameter. * @param childResourceName A sequence of textual characters. - * - * The childResourceName parameter. * @param properties The type used for update operations of the ChildResource. - * - * The properties parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -714,17 +596,9 @@ private Mono> updateWithResponseAsync(String resour * Update a ChildResource. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param topLevelArmResourceName A sequence of textual characters. - * - * The topLevelArmResourceName parameter. * @param childResourceName A sequence of textual characters. - * - * The childResourceName parameter. * @param properties The type used for update operations of the ChildResource. - * - * The properties parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -770,17 +644,9 @@ private Mono> updateWithResponseAsync(String resour * Update a ChildResource. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param topLevelArmResourceName A sequence of textual characters. - * - * The topLevelArmResourceName parameter. * @param childResourceName A sequence of textual characters. - * - * The childResourceName parameter. * @param properties The type used for update operations of the ChildResource. - * - * The properties parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -797,17 +663,9 @@ private Mono updateAsync(String resourceGroupName, String to * Update a ChildResource. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param topLevelArmResourceName A sequence of textual characters. - * - * The topLevelArmResourceName parameter. * @param childResourceName A sequence of textual characters. - * - * The childResourceName parameter. * @param properties The type used for update operations of the ChildResource. - * - * The properties parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -825,17 +683,9 @@ public Response updateWithResponse(String resourceGroupName, * Update a ChildResource. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param topLevelArmResourceName A sequence of textual characters. - * - * The topLevelArmResourceName parameter. * @param childResourceName A sequence of textual characters. - * - * The childResourceName parameter. * @param properties The type used for update operations of the ChildResource. - * - * The properties parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -852,14 +702,8 @@ public ChildResourceInner update(String resourceGroupName, String topLevelArmRes * Delete a ChildResource. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param topLevelArmResourceName A sequence of textual characters. - * - * The topLevelArmResourceName parameter. * @param childResourceName A sequence of textual characters. - * - * The childResourceName parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -900,14 +744,8 @@ private Mono>> deleteWithResponseAsync(String resource * Delete a ChildResource. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param topLevelArmResourceName A sequence of textual characters. - * - * The topLevelArmResourceName parameter. * @param childResourceName A sequence of textual characters. - * - * The childResourceName parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -947,14 +785,8 @@ private Mono>> deleteWithResponseAsync(String resource * Delete a ChildResource. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param topLevelArmResourceName A sequence of textual characters. - * - * The topLevelArmResourceName parameter. * @param childResourceName A sequence of textual characters. - * - * The childResourceName parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -973,14 +805,8 @@ private PollerFlux, Void> beginDeleteAsync(String resourceGroup * Delete a ChildResource. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param topLevelArmResourceName A sequence of textual characters. - * - * The topLevelArmResourceName parameter. * @param childResourceName A sequence of textual characters. - * - * The childResourceName parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -1001,14 +827,8 @@ private PollerFlux, Void> beginDeleteAsync(String resourceGroup * Delete a ChildResource. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param topLevelArmResourceName A sequence of textual characters. - * - * The topLevelArmResourceName parameter. * @param childResourceName A sequence of textual characters. - * - * The childResourceName parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -1024,14 +844,8 @@ public SyncPoller, Void> beginDelete(String resourceGroupName, * Delete a ChildResource. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param topLevelArmResourceName A sequence of textual characters. - * - * The topLevelArmResourceName parameter. * @param childResourceName A sequence of textual characters. - * - * The childResourceName parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -1049,14 +863,8 @@ public SyncPoller, Void> beginDelete(String resourceGroupName, * Delete a ChildResource. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param topLevelArmResourceName A sequence of textual characters. - * - * The topLevelArmResourceName parameter. * @param childResourceName A sequence of textual characters. - * - * The childResourceName parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -1072,14 +880,8 @@ private Mono deleteAsync(String resourceGroupName, String topLevelArmResou * Delete a ChildResource. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param topLevelArmResourceName A sequence of textual characters. - * - * The topLevelArmResourceName parameter. * @param childResourceName A sequence of textual characters. - * - * The childResourceName parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -1097,14 +899,8 @@ private Mono deleteAsync(String resourceGroupName, String topLevelArmResou * Delete a ChildResource. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param topLevelArmResourceName A sequence of textual characters. - * - * The topLevelArmResourceName parameter. * @param childResourceName A sequence of textual characters. - * - * The childResourceName parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -1118,14 +914,8 @@ public void delete(String resourceGroupName, String topLevelArmResourceName, Str * Delete a ChildResource. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param topLevelArmResourceName A sequence of textual characters. - * - * The topLevelArmResourceName parameter. * @param childResourceName A sequence of textual characters. - * - * The childResourceName parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -1141,11 +931,7 @@ public void delete(String resourceGroupName, String topLevelArmResourceName, Str * List ChildResource resources by TopLevelArmResource. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param topLevelArmResourceName A sequence of textual characters. - * - * The topLevelArmResourceName parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -1185,11 +971,7 @@ private Mono> listByTopLevelArmResourceSingleP * List ChildResource resources by TopLevelArmResource. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param topLevelArmResourceName A sequence of textual characters. - * - * The topLevelArmResourceName parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -1229,11 +1011,7 @@ private Mono> listByTopLevelArmResourceSingleP * List ChildResource resources by TopLevelArmResource. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param topLevelArmResourceName A sequence of textual characters. - * - * The topLevelArmResourceName parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -1251,11 +1029,7 @@ private PagedFlux listByTopLevelArmResourceAsync(String reso * List ChildResource resources by TopLevelArmResource. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param topLevelArmResourceName A sequence of textual characters. - * - * The topLevelArmResourceName parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -1274,11 +1048,7 @@ private PagedFlux listByTopLevelArmResourceAsync(String reso * List ChildResource resources by TopLevelArmResource. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param topLevelArmResourceName A sequence of textual characters. - * - * The topLevelArmResourceName parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -1294,11 +1064,7 @@ public PagedIterable listByTopLevelArmResource(String resour * List ChildResource resources by TopLevelArmResource. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param topLevelArmResourceName A sequence of textual characters. - * - * The topLevelArmResourceName parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -1315,14 +1081,8 @@ public PagedIterable listByTopLevelArmResource(String resour * A long-running resource action. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param topLevelArmResourceName A sequence of textual characters. - * - * The topLevelArmResourceName parameter. * @param childResourceName A sequence of textual characters. - * - * The childResourceName parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -1363,14 +1123,8 @@ private Mono>> actionWithoutBodyWithResponseAsync(Stri * A long-running resource action. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param topLevelArmResourceName A sequence of textual characters. - * - * The topLevelArmResourceName parameter. * @param childResourceName A sequence of textual characters. - * - * The childResourceName parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -1411,14 +1165,8 @@ private Mono>> actionWithoutBodyWithResponseAsync(Stri * A long-running resource action. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param topLevelArmResourceName A sequence of textual characters. - * - * The topLevelArmResourceName parameter. * @param childResourceName A sequence of textual characters. - * - * The childResourceName parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -1437,14 +1185,8 @@ private PollerFlux, Void> beginActionWithoutBodyAsync(String re * A long-running resource action. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param topLevelArmResourceName A sequence of textual characters. - * - * The topLevelArmResourceName parameter. * @param childResourceName A sequence of textual characters. - * - * The childResourceName parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -1465,14 +1207,8 @@ private PollerFlux, Void> beginActionWithoutBodyAsync(String re * A long-running resource action. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param topLevelArmResourceName A sequence of textual characters. - * - * The topLevelArmResourceName parameter. * @param childResourceName A sequence of textual characters. - * - * The childResourceName parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -1489,14 +1225,8 @@ public SyncPoller, Void> beginActionWithoutBody(String resource * A long-running resource action. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param topLevelArmResourceName A sequence of textual characters. - * - * The topLevelArmResourceName parameter. * @param childResourceName A sequence of textual characters. - * - * The childResourceName parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -1514,14 +1244,8 @@ public SyncPoller, Void> beginActionWithoutBody(String resource * A long-running resource action. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param topLevelArmResourceName A sequence of textual characters. - * - * The topLevelArmResourceName parameter. * @param childResourceName A sequence of textual characters. - * - * The childResourceName parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -1538,14 +1262,8 @@ private Mono actionWithoutBodyAsync(String resourceGroupName, String topLe * A long-running resource action. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param topLevelArmResourceName A sequence of textual characters. - * - * The topLevelArmResourceName parameter. * @param childResourceName A sequence of textual characters. - * - * The childResourceName parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -1564,14 +1282,8 @@ private Mono actionWithoutBodyAsync(String resourceGroupName, String topLe * A long-running resource action. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param topLevelArmResourceName A sequence of textual characters. - * - * The topLevelArmResourceName parameter. * @param childResourceName A sequence of textual characters. - * - * The childResourceName parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -1585,14 +1297,8 @@ public void actionWithoutBody(String resourceGroupName, String topLevelArmResour * A long-running resource action. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param topLevelArmResourceName A sequence of textual characters. - * - * The topLevelArmResourceName parameter. * @param childResourceName A sequence of textual characters. - * - * The childResourceName parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -1607,9 +1313,7 @@ public void actionWithoutBody(String resourceGroupName, String topLevelArmResour /** * Get the next page of items. * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -1637,9 +1341,7 @@ private Mono> listByTopLevelArmResourceNextSin /** * Get the next page of items. * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. diff --git a/typespec-tests/src/main/java/com/cadl/armresourceprovider/implementation/CustomTemplateResourceInterfacesClientImpl.java b/typespec-tests/src/main/java/com/cadl/armresourceprovider/implementation/CustomTemplateResourceInterfacesClientImpl.java index b5d4e53226..24f7566d34 100644 --- a/typespec-tests/src/main/java/com/cadl/armresourceprovider/implementation/CustomTemplateResourceInterfacesClientImpl.java +++ b/typespec-tests/src/main/java/com/cadl/armresourceprovider/implementation/CustomTemplateResourceInterfacesClientImpl.java @@ -93,21 +93,11 @@ Mono>> updateLongRunning(@HostParam("endpoint") String * Create a CustomTemplateResource. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param customTemplateResourceName A sequence of textual characters. - * - * The customTemplateResourceName parameter. * @param resource Concrete tracked resource types can be created by aliasing this type using a specific property * type. - * - * The resource parameter. * @param ifMatch A sequence of textual characters. - * - * The ifMatch parameter. * @param ifNoneMatch A sequence of textual characters. - * - * The ifNoneMatch parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -150,21 +140,11 @@ private Mono>> createOrUpdateWithResponseAsync(String * Create a CustomTemplateResource. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param customTemplateResourceName A sequence of textual characters. - * - * The customTemplateResourceName parameter. * @param resource Concrete tracked resource types can be created by aliasing this type using a specific property * type. - * - * The resource parameter. * @param ifMatch A sequence of textual characters. - * - * The ifMatch parameter. * @param ifNoneMatch A sequence of textual characters. - * - * The ifNoneMatch parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -208,21 +188,11 @@ private Mono>> createOrUpdateWithResponseAsync(String * Create a CustomTemplateResource. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param customTemplateResourceName A sequence of textual characters. - * - * The customTemplateResourceName parameter. * @param resource Concrete tracked resource types can be created by aliasing this type using a specific property * type. - * - * The resource parameter. * @param ifMatch A sequence of textual characters. - * - * The ifMatch parameter. * @param ifNoneMatch A sequence of textual characters. - * - * The ifNoneMatch parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -244,15 +214,9 @@ private PollerFlux, CustomTemplateResour * Create a CustomTemplateResource. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param customTemplateResourceName A sequence of textual characters. - * - * The customTemplateResourceName parameter. * @param resource Concrete tracked resource types can be created by aliasing this type using a specific property * type. - * - * The resource parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -275,21 +239,11 @@ private PollerFlux, CustomTemplateResour * Create a CustomTemplateResource. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param customTemplateResourceName A sequence of textual characters. - * - * The customTemplateResourceName parameter. * @param resource Concrete tracked resource types can be created by aliasing this type using a specific property * type. - * - * The resource parameter. * @param ifMatch A sequence of textual characters. - * - * The ifMatch parameter. * @param ifNoneMatch A sequence of textual characters. - * - * The ifNoneMatch parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -313,15 +267,9 @@ private PollerFlux, CustomTemplateResour * Create a CustomTemplateResource. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param customTemplateResourceName A sequence of textual characters. - * - * The customTemplateResourceName parameter. * @param resource Concrete tracked resource types can be created by aliasing this type using a specific property * type. - * - * The resource parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -342,21 +290,11 @@ public SyncPoller, CustomTemplateResourc * Create a CustomTemplateResource. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param customTemplateResourceName A sequence of textual characters. - * - * The customTemplateResourceName parameter. * @param resource Concrete tracked resource types can be created by aliasing this type using a specific property * type. - * - * The resource parameter. * @param ifMatch A sequence of textual characters. - * - * The ifMatch parameter. * @param ifNoneMatch A sequence of textual characters. - * - * The ifNoneMatch parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -378,21 +316,11 @@ public SyncPoller, CustomTemplateResourc * Create a CustomTemplateResource. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param customTemplateResourceName A sequence of textual characters. - * - * The customTemplateResourceName parameter. * @param resource Concrete tracked resource types can be created by aliasing this type using a specific property * type. - * - * The resource parameter. * @param ifMatch A sequence of textual characters. - * - * The ifMatch parameter. * @param ifNoneMatch A sequence of textual characters. - * - * The ifNoneMatch parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -411,15 +339,9 @@ private Mono createOrUpdateAsync(String resourceGro * Create a CustomTemplateResource. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param customTemplateResourceName A sequence of textual characters. - * - * The customTemplateResourceName parameter. * @param resource Concrete tracked resource types can be created by aliasing this type using a specific property * type. - * - * The resource parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -440,21 +362,11 @@ private Mono createOrUpdateAsync(String resourceGro * Create a CustomTemplateResource. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param customTemplateResourceName A sequence of textual characters. - * - * The customTemplateResourceName parameter. * @param resource Concrete tracked resource types can be created by aliasing this type using a specific property * type. - * - * The resource parameter. * @param ifMatch A sequence of textual characters. - * - * The ifMatch parameter. * @param ifNoneMatch A sequence of textual characters. - * - * The ifNoneMatch parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -474,15 +386,9 @@ private Mono createOrUpdateAsync(String resourceGro * Create a CustomTemplateResource. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param customTemplateResourceName A sequence of textual characters. - * - * The customTemplateResourceName parameter. * @param resource Concrete tracked resource types can be created by aliasing this type using a specific property * type. - * - * The resource parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -501,21 +407,11 @@ public CustomTemplateResourceInner createOrUpdate(String resourceGroupName, Stri * Create a CustomTemplateResource. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param customTemplateResourceName A sequence of textual characters. - * - * The customTemplateResourceName parameter. * @param resource Concrete tracked resource types can be created by aliasing this type using a specific property * type. - * - * The resource parameter. * @param ifMatch A sequence of textual characters. - * - * The ifMatch parameter. * @param ifNoneMatch A sequence of textual characters. - * - * The ifNoneMatch parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -533,11 +429,7 @@ public CustomTemplateResourceInner createOrUpdate(String resourceGroupName, Stri * Update a CustomTemplateResource. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param customTemplateResourceName A sequence of textual characters. - * - * The customTemplateResourceName parameter. * @param properties The properties parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -581,11 +473,7 @@ private Mono>> updateLongRunningWithResponseAsync(Stri * Update a CustomTemplateResource. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param customTemplateResourceName A sequence of textual characters. - * - * The customTemplateResourceName parameter. * @param properties The properties parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -629,11 +517,7 @@ private Mono>> updateLongRunningWithResponseAsync(Stri * Update a CustomTemplateResource. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param customTemplateResourceName A sequence of textual characters. - * - * The customTemplateResourceName parameter. * @param properties The properties parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -656,11 +540,7 @@ private Mono>> updateLongRunningWithResponseAsync(Stri * Update a CustomTemplateResource. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param customTemplateResourceName A sequence of textual characters. - * - * The customTemplateResourceName parameter. * @param properties The properties parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -685,11 +565,7 @@ private Mono>> updateLongRunningWithResponseAsync(Stri * Update a CustomTemplateResource. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param customTemplateResourceName A sequence of textual characters. - * - * The customTemplateResourceName parameter. * @param properties The properties parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -708,11 +584,7 @@ public SyncPoller, CustomTemplateResourc * Update a CustomTemplateResource. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param customTemplateResourceName A sequence of textual characters. - * - * The customTemplateResourceName parameter. * @param properties The properties parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -733,11 +605,7 @@ public SyncPoller, CustomTemplateResourc * Update a CustomTemplateResource. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param customTemplateResourceName A sequence of textual characters. - * - * The customTemplateResourceName parameter. * @param properties The properties parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -756,11 +624,7 @@ private Mono updateLongRunningAsync(String resource * Update a CustomTemplateResource. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param customTemplateResourceName A sequence of textual characters. - * - * The customTemplateResourceName parameter. * @param properties The properties parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -780,11 +644,7 @@ private Mono updateLongRunningAsync(String resource * Update a CustomTemplateResource. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param customTemplateResourceName A sequence of textual characters. - * - * The customTemplateResourceName parameter. * @param properties The properties parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -801,11 +661,7 @@ public CustomTemplateResourceInner updateLongRunning(String resourceGroupName, S * Update a CustomTemplateResource. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param customTemplateResourceName A sequence of textual characters. - * - * The customTemplateResourceName parameter. * @param properties The properties parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. diff --git a/typespec-tests/src/main/java/com/cadl/armresourceprovider/implementation/OperationsClientImpl.java b/typespec-tests/src/main/java/com/cadl/armresourceprovider/implementation/OperationsClientImpl.java index 20cb8374f6..92d2f67e5a 100644 --- a/typespec-tests/src/main/java/com/cadl/armresourceprovider/implementation/OperationsClientImpl.java +++ b/typespec-tests/src/main/java/com/cadl/armresourceprovider/implementation/OperationsClientImpl.java @@ -183,9 +183,7 @@ public PagedIterable list(Context context) { /** * Get the next page of items. * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -211,9 +209,7 @@ private Mono> listNextSinglePageAsync(String nextL /** * Get the next page of items. * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. diff --git a/typespec-tests/src/main/java/com/cadl/armresourceprovider/implementation/TopLevelArmResourceInterfacesClientImpl.java b/typespec-tests/src/main/java/com/cadl/armresourceprovider/implementation/TopLevelArmResourceInterfacesClientImpl.java index 8ee0216edc..4e0e8f41e8 100644 --- a/typespec-tests/src/main/java/com/cadl/armresourceprovider/implementation/TopLevelArmResourceInterfacesClientImpl.java +++ b/typespec-tests/src/main/java/com/cadl/armresourceprovider/implementation/TopLevelArmResourceInterfacesClientImpl.java @@ -150,11 +150,7 @@ Mono> listBySubscriptionNext( * Get a TopLevelArmResource. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param topLevelArmResourceName A sequence of textual characters. - * - * The topLevelArmResourceName parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -190,11 +186,7 @@ private Mono> getByResourceGroupWithResponseA * Get a TopLevelArmResource. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param topLevelArmResourceName A sequence of textual characters. - * - * The topLevelArmResourceName parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -230,11 +222,7 @@ private Mono> getByResourceGroupWithResponseA * Get a TopLevelArmResource. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param topLevelArmResourceName A sequence of textual characters. - * - * The topLevelArmResourceName parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -251,11 +239,7 @@ private Mono getByResourceGroupAsync(String resourceGr * Get a TopLevelArmResource. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param topLevelArmResourceName A sequence of textual characters. - * - * The topLevelArmResourceName parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -272,11 +256,7 @@ public Response getByResourceGroupWithResponse(String * Get a TopLevelArmResource. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param topLevelArmResourceName A sequence of textual characters. - * - * The topLevelArmResourceName parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -291,15 +271,9 @@ public TopLevelArmResourceInner getByResourceGroup(String resourceGroupName, Str * Create a TopLevelArmResource. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param topLevelArmResourceName A sequence of textual characters. - * - * The topLevelArmResourceName parameter. * @param resource Concrete tracked resource types can be created by aliasing this type using a specific property * type. - * - * The resource parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -341,15 +315,9 @@ private Mono>> createOrUpdateWithResponseAsync(String * Create a TopLevelArmResource. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param topLevelArmResourceName A sequence of textual characters. - * - * The topLevelArmResourceName parameter. * @param resource Concrete tracked resource types can be created by aliasing this type using a specific property * type. - * - * The resource parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -391,15 +359,9 @@ private Mono>> createOrUpdateWithResponseAsync(String * Create a TopLevelArmResource. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param topLevelArmResourceName A sequence of textual characters. - * - * The topLevelArmResourceName parameter. * @param resource Concrete tracked resource types can be created by aliasing this type using a specific property * type. - * - * The resource parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -420,15 +382,9 @@ private PollerFlux, TopLevelArmResourceInne * Create a TopLevelArmResource. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param topLevelArmResourceName A sequence of textual characters. - * - * The topLevelArmResourceName parameter. * @param resource Concrete tracked resource types can be created by aliasing this type using a specific property * type. - * - * The resource parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -450,15 +406,9 @@ private PollerFlux, TopLevelArmResourceInne * Create a TopLevelArmResource. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param topLevelArmResourceName A sequence of textual characters. - * - * The topLevelArmResourceName parameter. * @param resource Concrete tracked resource types can be created by aliasing this type using a specific property * type. - * - * The resource parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -475,15 +425,9 @@ public SyncPoller, TopLevelArmResourceInner * Create a TopLevelArmResource. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param topLevelArmResourceName A sequence of textual characters. - * - * The topLevelArmResourceName parameter. * @param resource Concrete tracked resource types can be created by aliasing this type using a specific property * type. - * - * The resource parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -502,15 +446,9 @@ public SyncPoller, TopLevelArmResourceInner * Create a TopLevelArmResource. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param topLevelArmResourceName A sequence of textual characters. - * - * The topLevelArmResourceName parameter. * @param resource Concrete tracked resource types can be created by aliasing this type using a specific property * type. - * - * The resource parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -528,15 +466,9 @@ private Mono createOrUpdateAsync(String resourceGroupN * Create a TopLevelArmResource. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param topLevelArmResourceName A sequence of textual characters. - * - * The topLevelArmResourceName parameter. * @param resource Concrete tracked resource types can be created by aliasing this type using a specific property * type. - * - * The resource parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -555,15 +487,9 @@ private Mono createOrUpdateAsync(String resourceGroupN * Create a TopLevelArmResource. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param topLevelArmResourceName A sequence of textual characters. - * - * The topLevelArmResourceName parameter. * @param resource Concrete tracked resource types can be created by aliasing this type using a specific property * type. - * - * The resource parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -579,15 +505,9 @@ public TopLevelArmResourceInner createOrUpdate(String resourceGroupName, String * Create a TopLevelArmResource. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param topLevelArmResourceName A sequence of textual characters. - * - * The topLevelArmResourceName parameter. * @param resource Concrete tracked resource types can be created by aliasing this type using a specific property * type. - * - * The resource parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -604,14 +524,8 @@ public TopLevelArmResourceInner createOrUpdate(String resourceGroupName, String * Update a TopLevelArmResource. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param topLevelArmResourceName A sequence of textual characters. - * - * The topLevelArmResourceName parameter. * @param properties The type used for update operations of the TopLevelArmResource. - * - * The properties parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -652,14 +566,8 @@ private Mono> updateWithResponseAsync(String * Update a TopLevelArmResource. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param topLevelArmResourceName A sequence of textual characters. - * - * The topLevelArmResourceName parameter. * @param properties The type used for update operations of the TopLevelArmResource. - * - * The properties parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -701,14 +609,8 @@ private Mono> updateWithResponseAsync(String * Update a TopLevelArmResource. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param topLevelArmResourceName A sequence of textual characters. - * - * The topLevelArmResourceName parameter. * @param properties The type used for update operations of the TopLevelArmResource. - * - * The properties parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -726,14 +628,8 @@ private Mono updateAsync(String resourceGroupName, Str * Update a TopLevelArmResource. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param topLevelArmResourceName A sequence of textual characters. - * - * The topLevelArmResourceName parameter. * @param properties The type used for update operations of the TopLevelArmResource. - * - * The properties parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -751,14 +647,8 @@ public Response updateWithResponse(String resourceGrou * Update a TopLevelArmResource. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param topLevelArmResourceName A sequence of textual characters. - * - * The topLevelArmResourceName parameter. * @param properties The type used for update operations of the TopLevelArmResource. - * - * The properties parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -774,11 +664,7 @@ public TopLevelArmResourceInner update(String resourceGroupName, String topLevel * Delete a TopLevelArmResource. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param topLevelArmResourceName A sequence of textual characters. - * - * The topLevelArmResourceName parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -814,11 +700,7 @@ private Mono>> deleteWithResponseAsync(String resource * Delete a TopLevelArmResource. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param topLevelArmResourceName A sequence of textual characters. - * - * The topLevelArmResourceName parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -854,11 +736,7 @@ private Mono>> deleteWithResponseAsync(String resource * Delete a TopLevelArmResource. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param topLevelArmResourceName A sequence of textual characters. - * - * The topLevelArmResourceName parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -876,11 +754,7 @@ private PollerFlux, Void> beginDeleteAsync(String resourceGroup * Delete a TopLevelArmResource. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param topLevelArmResourceName A sequence of textual characters. - * - * The topLevelArmResourceName parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -901,11 +775,7 @@ private PollerFlux, Void> beginDeleteAsync(String resourceGroup * Delete a TopLevelArmResource. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param topLevelArmResourceName A sequence of textual characters. - * - * The topLevelArmResourceName parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -920,11 +790,7 @@ public SyncPoller, Void> beginDelete(String resourceGroupName, * Delete a TopLevelArmResource. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param topLevelArmResourceName A sequence of textual characters. - * - * The topLevelArmResourceName parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -941,11 +807,7 @@ public SyncPoller, Void> beginDelete(String resourceGroupName, * Delete a TopLevelArmResource. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param topLevelArmResourceName A sequence of textual characters. - * - * The topLevelArmResourceName parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -961,11 +823,7 @@ private Mono deleteAsync(String resourceGroupName, String topLevelArmResou * Delete a TopLevelArmResource. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param topLevelArmResourceName A sequence of textual characters. - * - * The topLevelArmResourceName parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -982,11 +840,7 @@ private Mono deleteAsync(String resourceGroupName, String topLevelArmResou * Delete a TopLevelArmResource. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param topLevelArmResourceName A sequence of textual characters. - * - * The topLevelArmResourceName parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -1000,11 +854,7 @@ public void delete(String resourceGroupName, String topLevelArmResourceName) { * Delete a TopLevelArmResource. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param topLevelArmResourceName A sequence of textual characters. - * - * The topLevelArmResourceName parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -1019,8 +869,6 @@ public void delete(String resourceGroupName, String topLevelArmResourceName, Con * List TopLevelArmResource resources by resource group. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -1054,8 +902,6 @@ private Mono> listByResourceGroupSingleP * List TopLevelArmResource resources by resource group. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -1091,8 +937,6 @@ private Mono> listByResourceGroupSingleP * List TopLevelArmResource resources by resource group. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -1108,8 +952,6 @@ private PagedFlux listByResourceGroupAsync(String reso * List TopLevelArmResource resources by resource group. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -1126,8 +968,6 @@ private PagedFlux listByResourceGroupAsync(String reso * List TopLevelArmResource resources by resource group. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -1142,8 +982,6 @@ public PagedIterable listByResourceGroup(String resour * List TopLevelArmResource resources by resource group. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -1268,9 +1106,7 @@ public PagedIterable list(Context context) { /** * Get the next page of items. * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -1298,9 +1134,7 @@ private Mono> listByResourceGroupNextSin /** * Get the next page of items. * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -1328,9 +1162,7 @@ private Mono> listByResourceGroupNextSin /** * Get the next page of items. * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -1358,9 +1190,7 @@ private Mono> listBySubscriptionNextSing /** * Get the next page of items. * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. diff --git a/typespec-tests/src/main/java/com/cadl/armresourceprovider/models/ChildResource.java b/typespec-tests/src/main/java/com/cadl/armresourceprovider/models/ChildResource.java index 22000061d7..f48485f1d2 100644 --- a/typespec-tests/src/main/java/com/cadl/armresourceprovider/models/ChildResource.java +++ b/typespec-tests/src/main/java/com/cadl/armresourceprovider/models/ChildResource.java @@ -137,11 +137,7 @@ interface WithParentResource { * Specifies resourceGroupName, topLevelArmResourceName. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param topLevelArmResourceName A sequence of textual characters. - * - * The topLevelArmResourceName parameter. * @return the next definition stage. */ WithCreate withExistingTopLevelArmResource(String resourceGroupName, String topLevelArmResourceName); diff --git a/typespec-tests/src/main/java/com/cadl/armresourceprovider/models/ChildResourcesInterfaces.java b/typespec-tests/src/main/java/com/cadl/armresourceprovider/models/ChildResourcesInterfaces.java index a45f6d8a5d..e4ce61e127 100644 --- a/typespec-tests/src/main/java/com/cadl/armresourceprovider/models/ChildResourcesInterfaces.java +++ b/typespec-tests/src/main/java/com/cadl/armresourceprovider/models/ChildResourcesInterfaces.java @@ -16,14 +16,8 @@ public interface ChildResourcesInterfaces { * Get a ChildResource. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param topLevelArmResourceName A sequence of textual characters. - * - * The topLevelArmResourceName parameter. * @param childResourceName A sequence of textual characters. - * - * The childResourceName parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -37,14 +31,8 @@ Response getWithResponse(String resourceGroupName, String topLeve * Get a ChildResource. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param topLevelArmResourceName A sequence of textual characters. - * - * The topLevelArmResourceName parameter. * @param childResourceName A sequence of textual characters. - * - * The childResourceName parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -56,14 +44,8 @@ Response getWithResponse(String resourceGroupName, String topLeve * Delete a ChildResource. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param topLevelArmResourceName A sequence of textual characters. - * - * The topLevelArmResourceName parameter. * @param childResourceName A sequence of textual characters. - * - * The childResourceName parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -74,14 +56,8 @@ Response getWithResponse(String resourceGroupName, String topLeve * Delete a ChildResource. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param topLevelArmResourceName A sequence of textual characters. - * - * The topLevelArmResourceName parameter. * @param childResourceName A sequence of textual characters. - * - * The childResourceName parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -93,11 +69,7 @@ Response getWithResponse(String resourceGroupName, String topLeve * List ChildResource resources by TopLevelArmResource. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param topLevelArmResourceName A sequence of textual characters. - * - * The topLevelArmResourceName parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -109,11 +81,7 @@ Response getWithResponse(String resourceGroupName, String topLeve * List ChildResource resources by TopLevelArmResource. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param topLevelArmResourceName A sequence of textual characters. - * - * The topLevelArmResourceName parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -127,14 +95,8 @@ PagedIterable listByTopLevelArmResource(String resourceGroupName, * A long-running resource action. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param topLevelArmResourceName A sequence of textual characters. - * - * The topLevelArmResourceName parameter. * @param childResourceName A sequence of textual characters. - * - * The childResourceName parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -145,14 +107,8 @@ PagedIterable listByTopLevelArmResource(String resourceGroupName, * A long-running resource action. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param topLevelArmResourceName A sequence of textual characters. - * - * The topLevelArmResourceName parameter. * @param childResourceName A sequence of textual characters. - * - * The childResourceName parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. diff --git a/typespec-tests/src/main/java/com/cadl/armresourceprovider/models/CustomTemplateResource.java b/typespec-tests/src/main/java/com/cadl/armresourceprovider/models/CustomTemplateResource.java index 0dd25c16d9..89ecc7c0e2 100644 --- a/typespec-tests/src/main/java/com/cadl/armresourceprovider/models/CustomTemplateResource.java +++ b/typespec-tests/src/main/java/com/cadl/armresourceprovider/models/CustomTemplateResource.java @@ -144,8 +144,6 @@ interface WithResourceGroup { * Specifies resourceGroupName. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @return the next definition stage. */ WithCreate withExistingResourceGroup(String resourceGroupName); @@ -204,13 +202,9 @@ interface WithIdentity { */ interface WithIfMatch { /** - * Specifies the ifMatch property: A sequence of textual characters. - * - * The ifMatch parameter. + * Specifies the ifMatch property: A sequence of textual characters.. * * @param ifMatch A sequence of textual characters. - * - * The ifMatch parameter. * @return the next definition stage. */ WithCreate withIfMatch(String ifMatch); @@ -221,13 +215,9 @@ interface WithIfMatch { */ interface WithIfNoneMatch { /** - * Specifies the ifNoneMatch property: A sequence of textual characters. - * - * The ifNoneMatch parameter. + * Specifies the ifNoneMatch property: A sequence of textual characters.. * * @param ifNoneMatch A sequence of textual characters. - * - * The ifNoneMatch parameter. * @return the next definition stage. */ WithCreate withIfNoneMatch(String ifNoneMatch); diff --git a/typespec-tests/src/main/java/com/cadl/armresourceprovider/models/TopLevelArmResource.java b/typespec-tests/src/main/java/com/cadl/armresourceprovider/models/TopLevelArmResource.java index f8cdcb3c21..d4acd0e087 100644 --- a/typespec-tests/src/main/java/com/cadl/armresourceprovider/models/TopLevelArmResource.java +++ b/typespec-tests/src/main/java/com/cadl/armresourceprovider/models/TopLevelArmResource.java @@ -66,21 +66,21 @@ public interface TopLevelArmResource { List configurationEndpoints(); /** - * Gets the userName property: A sequence of textual characters. + * Gets the userName property: The userName property. * * @return the userName value. */ String userName(); /** - * Gets the userNames property: A sequence of textual characters. + * Gets the userNames property: The userNames property. * * @return the userNames value. */ String userNames(); /** - * Gets the accuserName property: A sequence of textual characters. + * Gets the accuserName property: The accuserName property. * * @return the accuserName value. */ @@ -174,8 +174,6 @@ interface WithResourceGroup { * Specifies resourceGroupName. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @return the next definition stage. */ WithCreate withExistingResourceGroup(String resourceGroupName); @@ -221,9 +219,9 @@ interface WithTags { */ interface WithUserName { /** - * Specifies the userName property: A sequence of textual characters.. + * Specifies the userName property: The userName property.. * - * @param userName A sequence of textual characters. + * @param userName The userName property. * @return the next definition stage. */ WithCreate withUserName(String userName); @@ -234,9 +232,9 @@ interface WithUserName { */ interface WithUserNames { /** - * Specifies the userNames property: A sequence of textual characters.. + * Specifies the userNames property: The userNames property.. * - * @param userNames A sequence of textual characters. + * @param userNames The userNames property. * @return the next definition stage. */ WithCreate withUserNames(String userNames); @@ -247,9 +245,9 @@ interface WithUserNames { */ interface WithAccuserName { /** - * Specifies the accuserName property: A sequence of textual characters.. + * Specifies the accuserName property: The accuserName property.. * - * @param accuserName A sequence of textual characters. + * @param accuserName The accuserName property. * @return the next definition stage. */ WithCreate withAccuserName(String accuserName); @@ -318,9 +316,9 @@ interface WithTags { */ interface WithProperties { /** - * Specifies the properties property: The updatable properties of the TopLevelArmResource.. + * Specifies the properties property: The properties property.. * - * @param properties The updatable properties of the TopLevelArmResource. + * @param properties The properties property. * @return the next definition stage. */ Update withProperties(TopLevelArmResourceUpdateProperties properties); diff --git a/typespec-tests/src/main/java/com/cadl/armresourceprovider/models/TopLevelArmResourceInterfaces.java b/typespec-tests/src/main/java/com/cadl/armresourceprovider/models/TopLevelArmResourceInterfaces.java index 8dab318bb8..03b58fab6c 100644 --- a/typespec-tests/src/main/java/com/cadl/armresourceprovider/models/TopLevelArmResourceInterfaces.java +++ b/typespec-tests/src/main/java/com/cadl/armresourceprovider/models/TopLevelArmResourceInterfaces.java @@ -16,11 +16,7 @@ public interface TopLevelArmResourceInterfaces { * Get a TopLevelArmResource. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param topLevelArmResourceName A sequence of textual characters. - * - * The topLevelArmResourceName parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -34,11 +30,7 @@ Response getByResourceGroupWithResponse(String resourceGrou * Get a TopLevelArmResource. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param topLevelArmResourceName A sequence of textual characters. - * - * The topLevelArmResourceName parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -50,11 +42,7 @@ Response getByResourceGroupWithResponse(String resourceGrou * Delete a TopLevelArmResource. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param topLevelArmResourceName A sequence of textual characters. - * - * The topLevelArmResourceName parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -65,11 +53,7 @@ Response getByResourceGroupWithResponse(String resourceGrou * Delete a TopLevelArmResource. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param topLevelArmResourceName A sequence of textual characters. - * - * The topLevelArmResourceName parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -81,8 +65,6 @@ Response getByResourceGroupWithResponse(String resourceGrou * List TopLevelArmResource resources by resource group. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -94,8 +76,6 @@ Response getByResourceGroupWithResponse(String resourceGrou * List TopLevelArmResource resources by resource group. * * @param resourceGroupName A sequence of textual characters. - * - * The resourceGroupName parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. diff --git a/typespec-tests/src/main/java/com/cadl/armresourceprovider/models/TopLevelArmResourceUpdate.java b/typespec-tests/src/main/java/com/cadl/armresourceprovider/models/TopLevelArmResourceUpdate.java index 78a1de77e9..7d3f06c5c9 100644 --- a/typespec-tests/src/main/java/com/cadl/armresourceprovider/models/TopLevelArmResourceUpdate.java +++ b/typespec-tests/src/main/java/com/cadl/armresourceprovider/models/TopLevelArmResourceUpdate.java @@ -22,7 +22,7 @@ public final class TopLevelArmResourceUpdate { private Map tags; /* - * The updatable properties of the TopLevelArmResource. + * The properties property. */ @JsonProperty(value = "properties") private TopLevelArmResourceUpdateProperties properties; @@ -54,7 +54,7 @@ public TopLevelArmResourceUpdate withTags(Map tags) { } /** - * Get the properties property: The updatable properties of the TopLevelArmResource. + * Get the properties property: The properties property. * * @return the properties value. */ @@ -63,7 +63,7 @@ public TopLevelArmResourceUpdateProperties properties() { } /** - * Set the properties property: The updatable properties of the TopLevelArmResource. + * Set the properties property: The properties property. * * @param properties the properties value to set. * @return the TopLevelArmResourceUpdate object itself. diff --git a/typespec-tests/src/main/java/com/cadl/armresourceprovider/models/TopLevelArmResourceUpdateProperties.java b/typespec-tests/src/main/java/com/cadl/armresourceprovider/models/TopLevelArmResourceUpdateProperties.java index 736ea43851..9b278dd896 100644 --- a/typespec-tests/src/main/java/com/cadl/armresourceprovider/models/TopLevelArmResourceUpdateProperties.java +++ b/typespec-tests/src/main/java/com/cadl/armresourceprovider/models/TopLevelArmResourceUpdateProperties.java @@ -14,19 +14,19 @@ @Fluent public final class TopLevelArmResourceUpdateProperties { /* - * A sequence of textual characters. + * The userName property. */ @JsonProperty(value = "userName") private String userName; /* - * A sequence of textual characters. + * The userNames property. */ @JsonProperty(value = "userNames") private String userNames; /* - * A sequence of textual characters. + * The accuserName property. */ @JsonProperty(value = "accuserName") private String accuserName; @@ -44,7 +44,7 @@ public TopLevelArmResourceUpdateProperties() { } /** - * Get the userName property: A sequence of textual characters. + * Get the userName property: The userName property. * * @return the userName value. */ @@ -53,7 +53,7 @@ public String userName() { } /** - * Set the userName property: A sequence of textual characters. + * Set the userName property: The userName property. * * @param userName the userName value to set. * @return the TopLevelArmResourceUpdateProperties object itself. @@ -64,7 +64,7 @@ public TopLevelArmResourceUpdateProperties withUserName(String userName) { } /** - * Get the userNames property: A sequence of textual characters. + * Get the userNames property: The userNames property. * * @return the userNames value. */ @@ -73,7 +73,7 @@ public String userNames() { } /** - * Set the userNames property: A sequence of textual characters. + * Set the userNames property: The userNames property. * * @param userNames the userNames value to set. * @return the TopLevelArmResourceUpdateProperties object itself. @@ -84,7 +84,7 @@ public TopLevelArmResourceUpdateProperties withUserNames(String userNames) { } /** - * Get the accuserName property: A sequence of textual characters. + * Get the accuserName property: The accuserName property. * * @return the accuserName value. */ @@ -93,7 +93,7 @@ public String accuserName() { } /** - * Set the accuserName property: A sequence of textual characters. + * Set the accuserName property: The accuserName property. * * @param accuserName the accuserName value to set. * @return the TopLevelArmResourceUpdateProperties object itself. diff --git a/typespec-tests/src/main/java/com/cadl/armresourceprovider/models/UserAssignedIdentities.java b/typespec-tests/src/main/java/com/cadl/armresourceprovider/models/UserAssignedIdentities.java index 7404459bb5..a259c2a233 100644 --- a/typespec-tests/src/main/java/com/cadl/armresourceprovider/models/UserAssignedIdentities.java +++ b/typespec-tests/src/main/java/com/cadl/armresourceprovider/models/UserAssignedIdentities.java @@ -20,8 +20,6 @@ @Fluent public final class UserAssignedIdentities { /* - * The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.", - * * Additional properties */ @JsonIgnore @@ -34,12 +32,7 @@ public UserAssignedIdentities() { } /** - * Get the additionalProperties property: The set of user assigned identities associated with the resource. The - * userAssignedIdentities dictionary keys will be ARM resource ids in the form: - * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. - * The dictionary values can be empty objects ({}) in requests.", - * - * Additional properties. + * Get the additionalProperties property: Additional properties. * * @return the additionalProperties value. */ @@ -49,12 +42,7 @@ public Map additionalProperties() { } /** - * Set the additionalProperties property: The set of user assigned identities associated with the resource. The - * userAssignedIdentities dictionary keys will be ARM resource ids in the form: - * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. - * The dictionary values can be empty objects ({}) in requests.", - * - * Additional properties. + * Set the additionalProperties property: Additional properties. * * @param additionalProperties the additionalProperties value to set. * @return the UserAssignedIdentities object itself. diff --git a/typespec-tests/src/main/java/com/cadl/builtin/BuiltinAsyncClient.java b/typespec-tests/src/main/java/com/cadl/builtin/BuiltinAsyncClient.java index 7f4780ede8..d333f32584 100644 --- a/typespec-tests/src/main/java/com/cadl/builtin/BuiltinAsyncClient.java +++ b/typespec-tests/src/main/java/com/cadl/builtin/BuiltinAsyncClient.java @@ -47,16 +47,10 @@ public final class BuiltinAsyncClient { * * * - * - * + * + * * + * https://url.spec.whatwg.org/ *
Query Parameters
NameTypeRequiredDescription
filterStringNoA sequence of textual characters. - * - * The filter parameter
query-optStringNoA sequence of textual characters. - * - * The queryParamOptional parameter
filterStringNoA sequence of textual characters.
query-optStringNoA sequence of textual characters.
query-opt-encodedStringNoRepresent a URL string as described by - * https://url.spec.whatwg.org/ - * - * The queryParamOptionalEncoded parameter
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Header Parameters

@@ -105,11 +99,7 @@ public final class BuiltinAsyncClient { * } * * @param queryParam A sequence of textual characters. - * - * The queryParam parameter. - * @param queryParamEncoded Represent a URL string as described by https://url.spec.whatwg.org/ - * - * The queryParamEncoded parameter. + * @param queryParamEncoded Represent a URL string as described by https://url.spec.whatwg.org/. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -182,21 +172,11 @@ public Mono> writeWithResponse(BinaryData body, RequestOptions re * The read operation. * * @param queryParam A sequence of textual characters. - * - * The queryParam parameter. - * @param queryParamEncoded Represent a URL string as described by https://url.spec.whatwg.org/ - * - * The queryParamEncoded parameter. + * @param queryParamEncoded Represent a URL string as described by https://url.spec.whatwg.org/. * @param dateTime The dateTime parameter. * @param filter A sequence of textual characters. - * - * The filter parameter. * @param queryParamOptional A sequence of textual characters. - * - * The queryParamOptional parameter. - * @param queryParamOptionalEncoded Represent a URL string as described by https://url.spec.whatwg.org/ - * - * The queryParamOptionalEncoded parameter. + * @param queryParamOptionalEncoded Represent a URL string as described by https://url.spec.whatwg.org/. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -232,11 +212,7 @@ public Mono read(String queryParam, String queryParamEncoded, OffsetDat * The read operation. * * @param queryParam A sequence of textual characters. - * - * The queryParam parameter. - * @param queryParamEncoded Represent a URL string as described by https://url.spec.whatwg.org/ - * - * The queryParamEncoded parameter. + * @param queryParamEncoded Represent a URL string as described by https://url.spec.whatwg.org/. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/cadl/builtin/BuiltinClient.java b/typespec-tests/src/main/java/com/cadl/builtin/BuiltinClient.java index da18ecac63..60f024e584 100644 --- a/typespec-tests/src/main/java/com/cadl/builtin/BuiltinClient.java +++ b/typespec-tests/src/main/java/com/cadl/builtin/BuiltinClient.java @@ -45,16 +45,10 @@ public final class BuiltinClient { * * * - * - * + * + * * + * https://url.spec.whatwg.org/ *
Query Parameters
NameTypeRequiredDescription
filterStringNoA sequence of textual characters. - * - * The filter parameter
query-optStringNoA sequence of textual characters. - * - * The queryParamOptional parameter
filterStringNoA sequence of textual characters.
query-optStringNoA sequence of textual characters.
query-opt-encodedStringNoRepresent a URL string as described by - * https://url.spec.whatwg.org/ - * - * The queryParamOptionalEncoded parameter
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Header Parameters

@@ -103,11 +97,7 @@ public final class BuiltinClient { * } * * @param queryParam A sequence of textual characters. - * - * The queryParam parameter. - * @param queryParamEncoded Represent a URL string as described by https://url.spec.whatwg.org/ - * - * The queryParamEncoded parameter. + * @param queryParamEncoded Represent a URL string as described by https://url.spec.whatwg.org/. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -180,21 +170,11 @@ public Response writeWithResponse(BinaryData body, RequestOptions requestO * The read operation. * * @param queryParam A sequence of textual characters. - * - * The queryParam parameter. - * @param queryParamEncoded Represent a URL string as described by https://url.spec.whatwg.org/ - * - * The queryParamEncoded parameter. + * @param queryParamEncoded Represent a URL string as described by https://url.spec.whatwg.org/. * @param dateTime The dateTime parameter. * @param filter A sequence of textual characters. - * - * The filter parameter. * @param queryParamOptional A sequence of textual characters. - * - * The queryParamOptional parameter. - * @param queryParamOptionalEncoded Represent a URL string as described by https://url.spec.whatwg.org/ - * - * The queryParamOptionalEncoded parameter. + * @param queryParamOptionalEncoded Represent a URL string as described by https://url.spec.whatwg.org/. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -229,11 +209,7 @@ public Builtin read(String queryParam, String queryParamEncoded, OffsetDateTime * The read operation. * * @param queryParam A sequence of textual characters. - * - * The queryParam parameter. - * @param queryParamEncoded Represent a URL string as described by https://url.spec.whatwg.org/ - * - * The queryParamEncoded parameter. + * @param queryParamEncoded Represent a URL string as described by https://url.spec.whatwg.org/. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/cadl/builtin/implementation/BuiltinOpsImpl.java b/typespec-tests/src/main/java/com/cadl/builtin/implementation/BuiltinOpsImpl.java index 895763427f..33bea6243a 100644 --- a/typespec-tests/src/main/java/com/cadl/builtin/implementation/BuiltinOpsImpl.java +++ b/typespec-tests/src/main/java/com/cadl/builtin/implementation/BuiltinOpsImpl.java @@ -105,16 +105,10 @@ Response writeSync(@HostParam("endpoint") String endpoint, @HeaderParam("a * * * - * - * + * + * * + * https://url.spec.whatwg.org/ *
Query Parameters
NameTypeRequiredDescription
filterStringNoA sequence of textual characters. - * - * The filter parameter
query-optStringNoA sequence of textual characters. - * - * The queryParamOptional parameter
filterStringNoA sequence of textual characters.
query-optStringNoA sequence of textual characters.
query-opt-encodedStringNoRepresent a URL string as described by - * https://url.spec.whatwg.org/ - * - * The queryParamOptionalEncoded parameter
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Header Parameters

@@ -163,11 +157,7 @@ Response writeSync(@HostParam("endpoint") String endpoint, @HeaderParam("a * } * * @param queryParam A sequence of textual characters. - * - * The queryParam parameter. - * @param queryParamEncoded Represent a URL string as described by https://url.spec.whatwg.org/ - * - * The queryParamEncoded parameter. + * @param queryParamEncoded Represent a URL string as described by https://url.spec.whatwg.org/. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -189,16 +179,10 @@ public Mono> readWithResponseAsync(String queryParam, Strin * * * - * - * + * + * * + * https://url.spec.whatwg.org/ *
Query Parameters
NameTypeRequiredDescription
filterStringNoA sequence of textual characters. - * - * The filter parameter
query-optStringNoA sequence of textual characters. - * - * The queryParamOptional parameter
filterStringNoA sequence of textual characters.
query-optStringNoA sequence of textual characters.
query-opt-encodedStringNoRepresent a URL string as described by - * https://url.spec.whatwg.org/ - * - * The queryParamOptionalEncoded parameter
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Header Parameters

@@ -247,11 +231,7 @@ public Mono> readWithResponseAsync(String queryParam, Strin * } * * @param queryParam A sequence of textual characters. - * - * The queryParam parameter. - * @param queryParamEncoded Represent a URL string as described by https://url.spec.whatwg.org/ - * - * The queryParamEncoded parameter. + * @param queryParamEncoded Represent a URL string as described by https://url.spec.whatwg.org/. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/cadl/builtin/models/Builtin.java b/typespec-tests/src/main/java/com/cadl/builtin/models/Builtin.java index 2743a4694c..6015894866 100644 --- a/typespec-tests/src/main/java/com/cadl/builtin/models/Builtin.java +++ b/typespec-tests/src/main/java/com/cadl/builtin/models/Builtin.java @@ -27,56 +27,55 @@ @Immutable public final class Builtin implements JsonSerializable { /* - * Boolean with `true` and `false` values. + * The boolean property. */ @Generated private final boolean booleanProperty; /* - * A sequence of textual characters. + * The string property. */ @Generated private final String string; /* - * Represent a byte array + * The bytes property. */ @Generated private final byte[] bytes; /* - * A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) + * The int property. */ @Generated private final int intProperty; /* - * An integer that can be serialized to JSON (`−9007199254740991 (−(2^53 − 1))` to `9007199254740991 (2^53 − 1)` ) + * The safeint property. */ @Generated private final long safeint; /* - * A decimal number with any length and precision. This represent any `decimal` value possible. - * It is commonly represented as `BigDecimal` in some languages. + * The decimal property. */ @Generated private final BigDecimal decimal; /* - * A 64-bit integer. (`-9,223,372,036,854,775,808` to `9,223,372,036,854,775,807`) + * The long property. */ @Generated private final long longProperty; /* - * A 32 bit floating point number. (`±5.0 × 10^−324` to `±1.7 × 10^308`) + * The float property. */ @Generated private final double floatProperty; /* - * A 32 bit floating point number. (`±1.5 x 10^−45` to `±3.4 x 10^38`) + * The double property. */ @Generated private final double doubleProperty; @@ -88,7 +87,7 @@ public final class Builtin implements JsonSerializable { private final Duration duration; /* - * A date on a calendar without a time zone, e.g. "April 10th" + * The date property. */ @Generated private final LocalDate date; @@ -112,7 +111,7 @@ public final class Builtin implements JsonSerializable { private final Map bytesDict; /* - * Represent a URL string as described by https://url.spec.whatwg.org/ + * The url property. */ @Generated private final String url; @@ -175,7 +174,7 @@ public Builtin(boolean booleanProperty, String string, byte[] bytes, int intProp } /** - * Get the booleanProperty property: Boolean with `true` and `false` values. + * Get the booleanProperty property: The boolean property. * * @return the booleanProperty value. */ @@ -185,7 +184,7 @@ public boolean isBooleanProperty() { } /** - * Get the string property: A sequence of textual characters. + * Get the string property: The string property. * * @return the string value. */ @@ -195,7 +194,7 @@ public String getString() { } /** - * Get the bytes property: Represent a byte array. + * Get the bytes property: The bytes property. * * @return the bytes value. */ @@ -205,7 +204,7 @@ public byte[] getBytes() { } /** - * Get the intProperty property: A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`). + * Get the intProperty property: The int property. * * @return the intProperty value. */ @@ -215,8 +214,7 @@ public int getIntProperty() { } /** - * Get the safeint property: An integer that can be serialized to JSON (`−9007199254740991 (−(2^53 − 1))` to - * `9007199254740991 (2^53 − 1)` ). + * Get the safeint property: The safeint property. * * @return the safeint value. */ @@ -226,9 +224,7 @@ public long getSafeint() { } /** - * Get the decimal property: A decimal number with any length and precision. This represent any `decimal` value - * possible. - * It is commonly represented as `BigDecimal` in some languages. + * Get the decimal property: The decimal property. * * @return the decimal value. */ @@ -238,7 +234,7 @@ public BigDecimal getDecimal() { } /** - * Get the longProperty property: A 64-bit integer. (`-9,223,372,036,854,775,808` to `9,223,372,036,854,775,807`). + * Get the longProperty property: The long property. * * @return the longProperty value. */ @@ -248,7 +244,7 @@ public long getLongProperty() { } /** - * Get the floatProperty property: A 32 bit floating point number. (`±5.0 × 10^−324` to `±1.7 × 10^308`). + * Get the floatProperty property: The float property. * * @return the floatProperty value. */ @@ -258,7 +254,7 @@ public double getFloatProperty() { } /** - * Get the doubleProperty property: A 32 bit floating point number. (`±1.5 x 10^−45` to `±3.4 x 10^38`). + * Get the doubleProperty property: The double property. * * @return the doubleProperty value. */ @@ -278,7 +274,7 @@ public Duration getDuration() { } /** - * Get the date property: A date on a calendar without a time zone, e.g. "April 10th". + * Get the date property: The date property. * * @return the date value. */ @@ -318,7 +314,7 @@ public Map getBytesDict() { } /** - * Get the url property: Represent a URL string as described by https://url.spec.whatwg.org/. + * Get the url property: The url property. * * @return the url value. */ diff --git a/typespec-tests/src/main/java/com/cadl/builtin/models/Encoded.java b/typespec-tests/src/main/java/com/cadl/builtin/models/Encoded.java index ee6bd381e1..a05ccd710f 100644 --- a/typespec-tests/src/main/java/com/cadl/builtin/models/Encoded.java +++ b/typespec-tests/src/main/java/com/cadl/builtin/models/Encoded.java @@ -57,13 +57,13 @@ public final class Encoded implements JsonSerializable { private Long unixTimestamp; /* - * Represent a byte array + * The base64 property. */ @Generated private byte[] base64; /* - * Represent a byte array + * The base64url property. */ @Generated private Base64Url base64url; @@ -214,7 +214,7 @@ public Encoded setUnixTimestamp(OffsetDateTime unixTimestamp) { } /** - * Get the base64 property: Represent a byte array. + * Get the base64 property: The base64 property. * * @return the base64 value. */ @@ -224,7 +224,7 @@ public byte[] getBase64() { } /** - * Set the base64 property: Represent a byte array. + * Set the base64 property: The base64 property. * * @param base64 the base64 value to set. * @return the Encoded object itself. @@ -236,7 +236,7 @@ public Encoded setBase64(byte[] base64) { } /** - * Get the base64url property: Represent a byte array. + * Get the base64url property: The base64url property. * * @return the base64url value. */ @@ -249,7 +249,7 @@ public byte[] getBase64url() { } /** - * Set the base64url property: Represent a byte array. + * Set the base64url property: The base64url property. * * @param base64url the base64url value to set. * @return the Encoded object itself. diff --git a/typespec-tests/src/main/java/com/cadl/enumservice/EnumServiceAsyncClient.java b/typespec-tests/src/main/java/com/cadl/enumservice/EnumServiceAsyncClient.java index 51b5c4cfcf..7d5f661b92 100644 --- a/typespec-tests/src/main/java/com/cadl/enumservice/EnumServiceAsyncClient.java +++ b/typespec-tests/src/main/java/com/cadl/enumservice/EnumServiceAsyncClient.java @@ -109,7 +109,7 @@ public Mono> getColorModelWithResponse(RequestOptions reque * } * } * - * @param color The color parameter. Allowed values: "Red", "Blue", "Green". + * @param color . Allowed values: "Red", "Blue", "Green". * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -142,7 +142,7 @@ public Mono> setColorModelWithResponse(String color, Reques * } * } * - * @param priority The priority parameter. Allowed values: 100, 0. + * @param priority . Allowed values: 100, 0. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -207,7 +207,7 @@ public Mono> getRunningOperationWithResponse(RequestOptions * } * } * - * @param state The state parameter. Allowed values: "Running", "Completed", "Failed". + * @param state . Allowed values: "Running", "Completed", "Failed". * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/cadl/enumservice/EnumServiceClient.java b/typespec-tests/src/main/java/com/cadl/enumservice/EnumServiceClient.java index 97b21c8f17..0a411aaee2 100644 --- a/typespec-tests/src/main/java/com/cadl/enumservice/EnumServiceClient.java +++ b/typespec-tests/src/main/java/com/cadl/enumservice/EnumServiceClient.java @@ -107,7 +107,7 @@ public Response getColorModelWithResponse(RequestOptions requestOpti * } * } * - * @param color The color parameter. Allowed values: "Red", "Blue", "Green". + * @param color . Allowed values: "Red", "Blue", "Green". * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -140,7 +140,7 @@ public Response setColorModelWithResponse(String color, RequestOptio * } * } * - * @param priority The priority parameter. Allowed values: 100, 0. + * @param priority . Allowed values: 100, 0. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -205,7 +205,7 @@ public Response getRunningOperationWithResponse(RequestOptions reque * } * } * - * @param state The state parameter. Allowed values: "Running", "Completed", "Failed". + * @param state . Allowed values: "Running", "Completed", "Failed". * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/cadl/enumservice/implementation/EnumServiceClientImpl.java b/typespec-tests/src/main/java/com/cadl/enumservice/implementation/EnumServiceClientImpl.java index 23979b9a52..88828bf73c 100644 --- a/typespec-tests/src/main/java/com/cadl/enumservice/implementation/EnumServiceClientImpl.java +++ b/typespec-tests/src/main/java/com/cadl/enumservice/implementation/EnumServiceClientImpl.java @@ -529,7 +529,7 @@ public Response getColorModelWithResponse(RequestOptions requestOpti * } * } * - * @param color The color parameter. Allowed values: "Red", "Blue", "Green". + * @param color . Allowed values: "Red", "Blue", "Green". * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -563,7 +563,7 @@ public Mono> setColorModelWithResponseAsync(String color, R * } * } * - * @param color The color parameter. Allowed values: "Red", "Blue", "Green". + * @param color . Allowed values: "Red", "Blue", "Green". * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -596,7 +596,7 @@ public Response setColorModelWithResponse(String color, RequestOptio * } * } * - * @param priority The priority parameter. Allowed values: 100, 0. + * @param priority . Allowed values: 100, 0. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -630,7 +630,7 @@ public Mono> setPriorityWithResponseAsync(String priority, * } * } * - * @param priority The priority parameter. Allowed values: 100, 0. + * @param priority . Allowed values: 100, 0. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -730,7 +730,7 @@ public Response getRunningOperationWithResponse(RequestOptions reque * } * } * - * @param state The state parameter. Allowed values: "Running", "Completed", "Failed". + * @param state . Allowed values: "Running", "Completed", "Failed". * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -764,7 +764,7 @@ public Mono> getOperationWithResponseAsync(String state, Re * } * } * - * @param state The state parameter. Allowed values: "Running", "Completed", "Failed". + * @param state . Allowed values: "Running", "Completed", "Failed". * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/cadl/errormodel/models/Diagnostic.java b/typespec-tests/src/main/java/com/cadl/errormodel/models/Diagnostic.java index 858b2a10a0..51a81b39ea 100644 --- a/typespec-tests/src/main/java/com/cadl/errormodel/models/Diagnostic.java +++ b/typespec-tests/src/main/java/com/cadl/errormodel/models/Diagnostic.java @@ -19,13 +19,13 @@ @Immutable public final class Diagnostic implements JsonSerializable { /* - * A sequence of textual characters. + * The name property. */ @Generated private final String name; /* - * The error object. + * The error property. */ @Generated private final ResponseError error; @@ -43,7 +43,7 @@ private Diagnostic(String name, ResponseError error) { } /** - * Get the name property: A sequence of textual characters. + * Get the name property: The name property. * * @return the name value. */ @@ -53,7 +53,7 @@ public String getName() { } /** - * Get the error property: The error object. + * Get the error property: The error property. * * @return the error value. */ diff --git a/typespec-tests/src/main/java/com/cadl/flatten/FlattenAsyncClient.java b/typespec-tests/src/main/java/com/cadl/flatten/FlattenAsyncClient.java index 126c719815..04a07e7dea 100644 --- a/typespec-tests/src/main/java/com/cadl/flatten/FlattenAsyncClient.java +++ b/typespec-tests/src/main/java/com/cadl/flatten/FlattenAsyncClient.java @@ -66,8 +66,6 @@ public final class FlattenAsyncClient { * } * * @param id A sequence of textual characters. - * - * The id parameter. * @param request The request parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -93,8 +91,6 @@ public Mono> sendWithResponse(String id, BinaryData request, Requ * } * * @param id A sequence of textual characters. - * - * The id parameter. * @param request The request parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -116,9 +112,7 @@ public Mono> sendProjectedNameWithResponse(String id, BinaryData * * * - * + * *
Query Parameters
NameTypeRequiredDescription
filterStringNoA sequence of textual characters. - * - * The filter parameter
filterStringNoA sequence of textual characters.
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Request Body Schema

@@ -142,8 +136,6 @@ public Mono> sendProjectedNameWithResponse(String id, BinaryData * } * * @param name A sequence of textual characters. - * - * The name parameter. * @param request The request parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -188,9 +180,7 @@ public Mono> sendLongWithResponse(String name, BinaryData request * } * * @param id An integer that can be serialized to JSON (`−9007199254740991 (−(2^53 − 1))` to `9007199254740991 (2^53 - * − 1)` ) - * - * The id parameter. + * − 1)` ). * @param request The request parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -209,8 +199,6 @@ public Mono> updateWithResponse(long id, BinaryData request * The uploadFile operation. * * @param name A sequence of textual characters. - * - * The name parameter. * @param request The request parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -248,8 +236,6 @@ Mono> uploadTodoWithResponse(BinaryData request, RequestOptions r * The send operation. * * @param id A sequence of textual characters. - * - * The id parameter. * @param input The input parameter. * @param user The user parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -274,8 +260,6 @@ public Mono send(String id, String input, User user) { * The send operation. * * @param id A sequence of textual characters. - * - * The id parameter. * @param input The input parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -299,8 +283,6 @@ public Mono send(String id, String input) { * The sendProjectedName operation. * * @param id A sequence of textual characters. - * - * The id parameter. * @param fileIdentifier The fileIdentifier parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -358,9 +340,7 @@ public Mono sendLong(SendLongOptions options) { * The update operation. * * @param id An integer that can be serialized to JSON (`−9007199254740991 (−(2^53 − 1))` to `9007199254740991 (2^53 - * − 1)` ) - * - * The id parameter. + * − 1)` ). * @param request The request parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -386,9 +366,7 @@ public Mono update(long id, UpdatePatchRequest request) { * The uploadFile operation. * * @param name A sequence of textual characters. - * - * The name parameter. - * @param fileData The file details for the "file_data" field. + * @param fileData The fileData parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/cadl/flatten/FlattenClient.java b/typespec-tests/src/main/java/com/cadl/flatten/FlattenClient.java index 8865ce566c..e697c00fd8 100644 --- a/typespec-tests/src/main/java/com/cadl/flatten/FlattenClient.java +++ b/typespec-tests/src/main/java/com/cadl/flatten/FlattenClient.java @@ -64,8 +64,6 @@ public final class FlattenClient { * } * * @param id A sequence of textual characters. - * - * The id parameter. * @param request The request parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -91,8 +89,6 @@ public Response sendWithResponse(String id, BinaryData request, RequestOpt * } * * @param id A sequence of textual characters. - * - * The id parameter. * @param request The request parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -113,9 +109,7 @@ public Response sendProjectedNameWithResponse(String id, BinaryData reques * * * - * + * *
Query Parameters
NameTypeRequiredDescription
filterStringNoA sequence of textual characters. - * - * The filter parameter
filterStringNoA sequence of textual characters.
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Request Body Schema

@@ -139,8 +133,6 @@ public Response sendProjectedNameWithResponse(String id, BinaryData reques * } * * @param name A sequence of textual characters. - * - * The name parameter. * @param request The request parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -185,9 +177,7 @@ public Response sendLongWithResponse(String name, BinaryData request, Requ * } * * @param id An integer that can be serialized to JSON (`−9007199254740991 (−(2^53 − 1))` to `9007199254740991 (2^53 - * − 1)` ) - * - * The id parameter. + * − 1)` ). * @param request The request parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -206,8 +196,6 @@ public Response updateWithResponse(long id, BinaryData request, Requ * The uploadFile operation. * * @param name A sequence of textual characters. - * - * The name parameter. * @param request The request parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -245,8 +233,6 @@ Response uploadTodoWithResponse(BinaryData request, RequestOptions request * The send operation. * * @param id A sequence of textual characters. - * - * The id parameter. * @param input The input parameter. * @param user The user parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -270,8 +256,6 @@ public void send(String id, String input, User user) { * The send operation. * * @param id A sequence of textual characters. - * - * The id parameter. * @param input The input parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -294,8 +278,6 @@ public void send(String id, String input) { * The sendProjectedName operation. * * @param id A sequence of textual characters. - * - * The id parameter. * @param fileIdentifier The fileIdentifier parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -351,9 +333,7 @@ public void sendLong(SendLongOptions options) { * The update operation. * * @param id An integer that can be serialized to JSON (`−9007199254740991 (−(2^53 − 1))` to `9007199254740991 (2^53 - * − 1)` ) - * - * The id parameter. + * − 1)` ). * @param request The request parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -378,9 +358,7 @@ public TodoItem update(long id, UpdatePatchRequest request) { * The uploadFile operation. * * @param name A sequence of textual characters. - * - * The name parameter. - * @param fileData The file details for the "file_data" field. + * @param fileData The fileData parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/cadl/flatten/implementation/FlattenClientImpl.java b/typespec-tests/src/main/java/com/cadl/flatten/implementation/FlattenClientImpl.java index 7937e36ba4..ce4a492a00 100644 --- a/typespec-tests/src/main/java/com/cadl/flatten/implementation/FlattenClientImpl.java +++ b/typespec-tests/src/main/java/com/cadl/flatten/implementation/FlattenClientImpl.java @@ -287,8 +287,6 @@ Response uploadTodoSync(@HostParam("endpoint") String endpoint, * } * * @param id A sequence of textual characters. - * - * The id parameter. * @param request The request parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -319,8 +317,6 @@ public Mono> sendWithResponseAsync(String id, BinaryData request, * } * * @param id A sequence of textual characters. - * - * The id parameter. * @param request The request parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -347,8 +343,6 @@ public Response sendWithResponse(String id, BinaryData request, RequestOpt * } * * @param id A sequence of textual characters. - * - * The id parameter. * @param request The request parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -376,8 +370,6 @@ public Mono> sendProjectedNameWithResponseAsync(String id, Binary * } * * @param id A sequence of textual characters. - * - * The id parameter. * @param request The request parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -398,9 +390,7 @@ public Response sendProjectedNameWithResponse(String id, BinaryData reques * * * - * + * *
Query Parameters
NameTypeRequiredDescription
filterStringNoA sequence of textual characters. - * - * The filter parameter
filterStringNoA sequence of textual characters.
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Request Body Schema

@@ -424,8 +414,6 @@ public Response sendProjectedNameWithResponse(String id, BinaryData reques * } * * @param name A sequence of textual characters. - * - * The name parameter. * @param request The request parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -448,9 +436,7 @@ public Mono> sendLongWithResponseAsync(String name, BinaryData re * * * - * + * *
Query Parameters
NameTypeRequiredDescription
filterStringNoA sequence of textual characters. - * - * The filter parameter
filterStringNoA sequence of textual characters.
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Request Body Schema

@@ -474,8 +460,6 @@ public Mono> sendLongWithResponseAsync(String name, BinaryData re * } * * @param name A sequence of textual characters. - * - * The name parameter. * @param request The request parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -521,9 +505,7 @@ public Response sendLongWithResponse(String name, BinaryData request, Requ * } * * @param id An integer that can be serialized to JSON (`−9007199254740991 (−(2^53 − 1))` to `9007199254740991 (2^53 - * − 1)` ) - * - * The id parameter. + * − 1)` ). * @param request The request parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -571,9 +553,7 @@ public Mono> updateWithResponseAsync(long id, BinaryData re * } * * @param id An integer that can be serialized to JSON (`−9007199254740991 (−(2^53 − 1))` to `9007199254740991 (2^53 - * − 1)` ) - * - * The id parameter. + * − 1)` ). * @param request The request parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -593,8 +573,6 @@ public Response updateWithResponse(long id, BinaryData request, Requ * The uploadFile operation. * * @param name A sequence of textual characters. - * - * The name parameter. * @param request The request parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -616,8 +594,6 @@ public Mono> uploadFileWithResponseAsync(String name, BinaryData * The uploadFile operation. * * @param name A sequence of textual characters. - * - * The name parameter. * @param request The request parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. diff --git a/typespec-tests/src/main/java/com/cadl/flatten/implementation/models/SendLongRequest.java b/typespec-tests/src/main/java/com/cadl/flatten/implementation/models/SendLongRequest.java index 623ef79b3f..9b55f3f82f 100644 --- a/typespec-tests/src/main/java/com/cadl/flatten/implementation/models/SendLongRequest.java +++ b/typespec-tests/src/main/java/com/cadl/flatten/implementation/models/SendLongRequest.java @@ -26,31 +26,31 @@ public final class SendLongRequest implements JsonSerializable private User user; /* - * A sequence of textual characters. + * The input property. */ @Generated private final String input; /* - * A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) + * The dataInt property. */ @Generated private final int dataInt; /* - * A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) + * The dataIntOptional property. */ @Generated private Integer dataIntOptional; /* - * A 64-bit integer. (`-9,223,372,036,854,775,808` to `9,223,372,036,854,775,807`) + * The dataLong property. */ @Generated private Long dataLong; /* - * A 32 bit floating point number. (`±1.5 x 10^−45` to `±3.4 x 10^38`) + * The data_float property. */ @Generated private Double dataFloat; @@ -74,7 +74,7 @@ public final class SendLongRequest implements JsonSerializable private final SendLongRequestStatus status; /* - * A sequence of textual characters. + * The _dummy property. */ @Generated private String dummy; @@ -124,7 +124,7 @@ public SendLongRequest setUser(User user) { } /** - * Get the input property: A sequence of textual characters. + * Get the input property: The input property. * * @return the input value. */ @@ -134,7 +134,7 @@ public String getInput() { } /** - * Get the dataInt property: A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`). + * Get the dataInt property: The dataInt property. * * @return the dataInt value. */ @@ -144,7 +144,7 @@ public int getDataInt() { } /** - * Get the dataIntOptional property: A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`). + * Get the dataIntOptional property: The dataIntOptional property. * * @return the dataIntOptional value. */ @@ -154,7 +154,7 @@ public Integer getDataIntOptional() { } /** - * Set the dataIntOptional property: A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`). + * Set the dataIntOptional property: The dataIntOptional property. * * @param dataIntOptional the dataIntOptional value to set. * @return the SendLongRequest object itself. @@ -166,7 +166,7 @@ public SendLongRequest setDataIntOptional(Integer dataIntOptional) { } /** - * Get the dataLong property: A 64-bit integer. (`-9,223,372,036,854,775,808` to `9,223,372,036,854,775,807`). + * Get the dataLong property: The dataLong property. * * @return the dataLong value. */ @@ -176,7 +176,7 @@ public Long getDataLong() { } /** - * Set the dataLong property: A 64-bit integer. (`-9,223,372,036,854,775,808` to `9,223,372,036,854,775,807`). + * Set the dataLong property: The dataLong property. * * @param dataLong the dataLong value to set. * @return the SendLongRequest object itself. @@ -188,7 +188,7 @@ public SendLongRequest setDataLong(Long dataLong) { } /** - * Get the dataFloat property: A 32 bit floating point number. (`±1.5 x 10^−45` to `±3.4 x 10^38`). + * Get the dataFloat property: The data_float property. * * @return the dataFloat value. */ @@ -198,7 +198,7 @@ public Double getDataFloat() { } /** - * Set the dataFloat property: A 32 bit floating point number. (`±1.5 x 10^−45` to `±3.4 x 10^38`). + * Set the dataFloat property: The data_float property. * * @param dataFloat the dataFloat value to set. * @return the SendLongRequest object itself. @@ -252,7 +252,7 @@ public SendLongRequestStatus getStatus() { } /** - * Get the dummy property: A sequence of textual characters. + * Get the dummy property: The _dummy property. * * @return the dummy value. */ @@ -262,7 +262,7 @@ public String getDummy() { } /** - * Set the dummy property: A sequence of textual characters. + * Set the dummy property: The _dummy property. * * @param dummy the dummy value to set. * @return the SendLongRequest object itself. diff --git a/typespec-tests/src/main/java/com/cadl/flatten/implementation/models/SendProjectedNameRequest.java b/typespec-tests/src/main/java/com/cadl/flatten/implementation/models/SendProjectedNameRequest.java index 71d1da2ce4..5a00e401dc 100644 --- a/typespec-tests/src/main/java/com/cadl/flatten/implementation/models/SendProjectedNameRequest.java +++ b/typespec-tests/src/main/java/com/cadl/flatten/implementation/models/SendProjectedNameRequest.java @@ -18,7 +18,7 @@ @Immutable public final class SendProjectedNameRequest implements JsonSerializable { /* - * A sequence of textual characters. + * The file_id property. */ @Generated private final String fileIdentifier; @@ -34,7 +34,7 @@ public SendProjectedNameRequest(String fileIdentifier) { } /** - * Get the fileIdentifier property: A sequence of textual characters. + * Get the fileIdentifier property: The file_id property. * * @return the fileIdentifier value. */ diff --git a/typespec-tests/src/main/java/com/cadl/flatten/implementation/models/SendRequest.java b/typespec-tests/src/main/java/com/cadl/flatten/implementation/models/SendRequest.java index 827242c0cd..bd4ffab24e 100644 --- a/typespec-tests/src/main/java/com/cadl/flatten/implementation/models/SendRequest.java +++ b/typespec-tests/src/main/java/com/cadl/flatten/implementation/models/SendRequest.java @@ -25,7 +25,7 @@ public final class SendRequest implements JsonSerializable { private User user; /* - * A sequence of textual characters. + * The input property. */ @Generated private final String input; @@ -69,7 +69,7 @@ public SendRequest setUser(User user) { } /** - * Get the input property: A sequence of textual characters. + * Get the input property: The input property. * * @return the input value. */ diff --git a/typespec-tests/src/main/java/com/cadl/flatten/implementation/models/UploadTodoRequest.java b/typespec-tests/src/main/java/com/cadl/flatten/implementation/models/UploadTodoRequest.java index 9751aaeba3..a1b964c195 100644 --- a/typespec-tests/src/main/java/com/cadl/flatten/implementation/models/UploadTodoRequest.java +++ b/typespec-tests/src/main/java/com/cadl/flatten/implementation/models/UploadTodoRequest.java @@ -32,25 +32,25 @@ public final class UploadTodoRequest { private final SendLongRequestStatus status; /* - * A sequence of textual characters. + * The _dummy property. */ @Generated private String dummy; /* - * A sequence of textual characters. + * The prop1 property. */ @Generated private String prop1; /* - * A sequence of textual characters. + * The prop2 property. */ @Generated private String prop2; /* - * A sequence of textual characters. + * The prop3 property. */ @Generated private String prop3; @@ -110,7 +110,7 @@ public SendLongRequestStatus getStatus() { } /** - * Get the dummy property: A sequence of textual characters. + * Get the dummy property: The _dummy property. * * @return the dummy value. */ @@ -120,7 +120,7 @@ public String getDummy() { } /** - * Set the dummy property: A sequence of textual characters. + * Set the dummy property: The _dummy property. * * @param dummy the dummy value to set. * @return the UploadTodoRequest object itself. @@ -132,7 +132,7 @@ public UploadTodoRequest setDummy(String dummy) { } /** - * Get the prop1 property: A sequence of textual characters. + * Get the prop1 property: The prop1 property. * * @return the prop1 value. */ @@ -142,7 +142,7 @@ public String getProp1() { } /** - * Set the prop1 property: A sequence of textual characters. + * Set the prop1 property: The prop1 property. * * @param prop1 the prop1 value to set. * @return the UploadTodoRequest object itself. @@ -154,7 +154,7 @@ public UploadTodoRequest setProp1(String prop1) { } /** - * Get the prop2 property: A sequence of textual characters. + * Get the prop2 property: The prop2 property. * * @return the prop2 value. */ @@ -164,7 +164,7 @@ public String getProp2() { } /** - * Set the prop2 property: A sequence of textual characters. + * Set the prop2 property: The prop2 property. * * @param prop2 the prop2 value to set. * @return the UploadTodoRequest object itself. @@ -176,7 +176,7 @@ public UploadTodoRequest setProp2(String prop2) { } /** - * Get the prop3 property: A sequence of textual characters. + * Get the prop3 property: The prop3 property. * * @return the prop3 value. */ @@ -186,7 +186,7 @@ public String getProp3() { } /** - * Set the prop3 property: A sequence of textual characters. + * Set the prop3 property: The prop3 property. * * @param prop3 the prop3 value to set. * @return the UploadTodoRequest object itself. diff --git a/typespec-tests/src/main/java/com/cadl/flatten/models/SendLongOptions.java b/typespec-tests/src/main/java/com/cadl/flatten/models/SendLongOptions.java index d975000c01..a781927619 100644 --- a/typespec-tests/src/main/java/com/cadl/flatten/models/SendLongOptions.java +++ b/typespec-tests/src/main/java/com/cadl/flatten/models/SendLongOptions.java @@ -31,31 +31,31 @@ public final class SendLongOptions { private User user; /* - * A sequence of textual characters. + * The input property. */ @Generated private final String input; /* - * A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) + * The dataInt property. */ @Generated private final int dataInt; /* - * A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) + * The dataIntOptional property. */ @Generated private Integer dataIntOptional; /* - * A 64-bit integer. (`-9,223,372,036,854,775,808` to `9,223,372,036,854,775,807`) + * The dataLong property. */ @Generated private Long dataLong; /* - * A 32 bit floating point number. (`±1.5 x 10^−45` to `±3.4 x 10^38`) + * The data_float property. */ @Generated private Double dataFloat; @@ -79,7 +79,7 @@ public final class SendLongOptions { private final SendLongRequestStatus status; /* - * A sequence of textual characters. + * The _dummy property. */ @Generated private String dummy; @@ -157,7 +157,7 @@ public SendLongOptions setUser(User user) { } /** - * Get the input property: A sequence of textual characters. + * Get the input property: The input property. * * @return the input value. */ @@ -167,7 +167,7 @@ public String getInput() { } /** - * Get the dataInt property: A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`). + * Get the dataInt property: The dataInt property. * * @return the dataInt value. */ @@ -177,7 +177,7 @@ public int getDataInt() { } /** - * Get the dataIntOptional property: A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`). + * Get the dataIntOptional property: The dataIntOptional property. * * @return the dataIntOptional value. */ @@ -187,7 +187,7 @@ public Integer getDataIntOptional() { } /** - * Set the dataIntOptional property: A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`). + * Set the dataIntOptional property: The dataIntOptional property. * * @param dataIntOptional the dataIntOptional value to set. * @return the SendLongOptions object itself. @@ -199,7 +199,7 @@ public SendLongOptions setDataIntOptional(Integer dataIntOptional) { } /** - * Get the dataLong property: A 64-bit integer. (`-9,223,372,036,854,775,808` to `9,223,372,036,854,775,807`). + * Get the dataLong property: The dataLong property. * * @return the dataLong value. */ @@ -209,7 +209,7 @@ public Long getDataLong() { } /** - * Set the dataLong property: A 64-bit integer. (`-9,223,372,036,854,775,808` to `9,223,372,036,854,775,807`). + * Set the dataLong property: The dataLong property. * * @param dataLong the dataLong value to set. * @return the SendLongOptions object itself. @@ -221,7 +221,7 @@ public SendLongOptions setDataLong(Long dataLong) { } /** - * Get the dataFloat property: A 32 bit floating point number. (`±1.5 x 10^−45` to `±3.4 x 10^38`). + * Get the dataFloat property: The data_float property. * * @return the dataFloat value. */ @@ -231,7 +231,7 @@ public Double getDataFloat() { } /** - * Set the dataFloat property: A 32 bit floating point number. (`±1.5 x 10^−45` to `±3.4 x 10^38`). + * Set the dataFloat property: The data_float property. * * @param dataFloat the dataFloat value to set. * @return the SendLongOptions object itself. @@ -285,7 +285,7 @@ public SendLongRequestStatus getStatus() { } /** - * Get the dummy property: A sequence of textual characters. + * Get the dummy property: The _dummy property. * * @return the dummy value. */ @@ -295,7 +295,7 @@ public String getDummy() { } /** - * Set the dummy property: A sequence of textual characters. + * Set the dummy property: The _dummy property. * * @param dummy the dummy value to set. * @return the SendLongOptions object itself. diff --git a/typespec-tests/src/main/java/com/cadl/flatten/models/TodoItem.java b/typespec-tests/src/main/java/com/cadl/flatten/models/TodoItem.java index 2a3e01d59d..5b1ad37736 100644 --- a/typespec-tests/src/main/java/com/cadl/flatten/models/TodoItem.java +++ b/typespec-tests/src/main/java/com/cadl/flatten/models/TodoItem.java @@ -61,7 +61,7 @@ public final class TodoItem implements JsonSerializable { private OffsetDateTime completedAt; /* - * A sequence of textual characters. + * The _dummy property. */ @Generated private String dummy; @@ -149,7 +149,7 @@ public OffsetDateTime getCompletedAt() { } /** - * Get the dummy property: A sequence of textual characters. + * Get the dummy property: The _dummy property. * * @return the dummy value. */ diff --git a/typespec-tests/src/main/java/com/cadl/flatten/models/UploadTodoOptions.java b/typespec-tests/src/main/java/com/cadl/flatten/models/UploadTodoOptions.java index 89dd785c87..f05e56c243 100644 --- a/typespec-tests/src/main/java/com/cadl/flatten/models/UploadTodoOptions.java +++ b/typespec-tests/src/main/java/com/cadl/flatten/models/UploadTodoOptions.java @@ -31,25 +31,25 @@ public final class UploadTodoOptions { private final SendLongRequestStatus status; /* - * A sequence of textual characters. + * The _dummy property. */ @Generated private String dummy; /* - * A sequence of textual characters. + * The prop1 property. */ @Generated private String prop1; /* - * A sequence of textual characters. + * The prop2 property. */ @Generated private String prop2; /* - * A sequence of textual characters. + * The prop3 property. */ @Generated private String prop3; @@ -109,7 +109,7 @@ public SendLongRequestStatus getStatus() { } /** - * Get the dummy property: A sequence of textual characters. + * Get the dummy property: The _dummy property. * * @return the dummy value. */ @@ -119,7 +119,7 @@ public String getDummy() { } /** - * Set the dummy property: A sequence of textual characters. + * Set the dummy property: The _dummy property. * * @param dummy the dummy value to set. * @return the UploadTodoOptions object itself. @@ -131,7 +131,7 @@ public UploadTodoOptions setDummy(String dummy) { } /** - * Get the prop1 property: A sequence of textual characters. + * Get the prop1 property: The prop1 property. * * @return the prop1 value. */ @@ -141,7 +141,7 @@ public String getProp1() { } /** - * Set the prop1 property: A sequence of textual characters. + * Set the prop1 property: The prop1 property. * * @param prop1 the prop1 value to set. * @return the UploadTodoOptions object itself. @@ -153,7 +153,7 @@ public UploadTodoOptions setProp1(String prop1) { } /** - * Get the prop2 property: A sequence of textual characters. + * Get the prop2 property: The prop2 property. * * @return the prop2 value. */ @@ -163,7 +163,7 @@ public String getProp2() { } /** - * Set the prop2 property: A sequence of textual characters. + * Set the prop2 property: The prop2 property. * * @param prop2 the prop2 value to set. * @return the UploadTodoOptions object itself. @@ -175,7 +175,7 @@ public UploadTodoOptions setProp2(String prop2) { } /** - * Get the prop3 property: A sequence of textual characters. + * Get the prop3 property: The prop3 property. * * @return the prop3 value. */ @@ -185,7 +185,7 @@ public String getProp3() { } /** - * Set the prop3 property: A sequence of textual characters. + * Set the prop3 property: The prop3 property. * * @param prop3 the prop3 value to set. * @return the UploadTodoOptions object itself. diff --git a/typespec-tests/src/main/java/com/cadl/flatten/models/User.java b/typespec-tests/src/main/java/com/cadl/flatten/models/User.java index acceca671e..17214a4dba 100644 --- a/typespec-tests/src/main/java/com/cadl/flatten/models/User.java +++ b/typespec-tests/src/main/java/com/cadl/flatten/models/User.java @@ -18,7 +18,7 @@ @Immutable public final class User implements JsonSerializable { /* - * A sequence of textual characters. + * The user property. */ @Generated private final String user; @@ -34,7 +34,7 @@ public User(String user) { } /** - * Get the user property: A sequence of textual characters. + * Get the user property: The user property. * * @return the user value. */ diff --git a/typespec-tests/src/main/java/com/cadl/internal/implementation/models/ResponseInternalInner.java b/typespec-tests/src/main/java/com/cadl/internal/implementation/models/ResponseInternalInner.java index 9800c6c2ce..8e6b5cf0ad 100644 --- a/typespec-tests/src/main/java/com/cadl/internal/implementation/models/ResponseInternalInner.java +++ b/typespec-tests/src/main/java/com/cadl/internal/implementation/models/ResponseInternalInner.java @@ -18,7 +18,7 @@ @Immutable public final class ResponseInternalInner implements JsonSerializable { /* - * A sequence of textual characters. + * The name property. */ @Generated private final String name; @@ -34,7 +34,7 @@ private ResponseInternalInner(String name) { } /** - * Get the name property: A sequence of textual characters. + * Get the name property: The name property. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/cadl/internal/models/ApiResponse.java b/typespec-tests/src/main/java/com/cadl/internal/models/ApiResponse.java index db46c1bf92..82819de716 100644 --- a/typespec-tests/src/main/java/com/cadl/internal/models/ApiResponse.java +++ b/typespec-tests/src/main/java/com/cadl/internal/models/ApiResponse.java @@ -18,7 +18,7 @@ @Immutable public final class ApiResponse implements JsonSerializable { /* - * A sequence of textual characters. + * The name property. */ @Generated private final String name; @@ -34,7 +34,7 @@ private ApiResponse(String name) { } /** - * Get the name property: A sequence of textual characters. + * Get the name property: The name property. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/cadl/internal/models/RequestInner.java b/typespec-tests/src/main/java/com/cadl/internal/models/RequestInner.java index 9b023ea779..435589548e 100644 --- a/typespec-tests/src/main/java/com/cadl/internal/models/RequestInner.java +++ b/typespec-tests/src/main/java/com/cadl/internal/models/RequestInner.java @@ -18,7 +18,7 @@ @Immutable public final class RequestInner implements JsonSerializable { /* - * A sequence of textual characters. + * The name property. */ @Generated private final String name; @@ -34,7 +34,7 @@ public RequestInner(String name) { } /** - * Get the name property: A sequence of textual characters. + * Get the name property: The name property. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/cadl/internal/models/StandAloneDataInner.java b/typespec-tests/src/main/java/com/cadl/internal/models/StandAloneDataInner.java index 60472b8ce6..f5ff81611a 100644 --- a/typespec-tests/src/main/java/com/cadl/internal/models/StandAloneDataInner.java +++ b/typespec-tests/src/main/java/com/cadl/internal/models/StandAloneDataInner.java @@ -18,7 +18,7 @@ @Immutable public final class StandAloneDataInner implements JsonSerializable { /* - * A sequence of textual characters. + * The name property. */ @Generated private final String name; @@ -34,7 +34,7 @@ public StandAloneDataInner(String name) { } /** - * Get the name property: A sequence of textual characters. + * Get the name property: The name property. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/cadl/literalservice/LiteralServiceAsyncClient.java b/typespec-tests/src/main/java/com/cadl/literalservice/LiteralServiceAsyncClient.java index d409bba8fa..8f9a911085 100644 --- a/typespec-tests/src/main/java/com/cadl/literalservice/LiteralServiceAsyncClient.java +++ b/typespec-tests/src/main/java/com/cadl/literalservice/LiteralServiceAsyncClient.java @@ -45,8 +45,8 @@ public final class LiteralServiceAsyncClient { * * * - * + * *
Query Parameters
NameTypeRequiredDescription
optionalLiteralParamStringNoThe optionalLiteralParam parameter. Allowed - * values: "optionalLiteralParam".
optionalLiteralParamStringNo. Allowed values: + * "optionalLiteralParam".
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Request Body Schema

diff --git a/typespec-tests/src/main/java/com/cadl/literalservice/LiteralServiceClient.java b/typespec-tests/src/main/java/com/cadl/literalservice/LiteralServiceClient.java index 1536e39ca9..e02c023fa0 100644 --- a/typespec-tests/src/main/java/com/cadl/literalservice/LiteralServiceClient.java +++ b/typespec-tests/src/main/java/com/cadl/literalservice/LiteralServiceClient.java @@ -43,8 +43,8 @@ public final class LiteralServiceClient { * * * - * + * *
Query Parameters
NameTypeRequiredDescription
optionalLiteralParamStringNoThe optionalLiteralParam parameter. Allowed - * values: "optionalLiteralParam".
optionalLiteralParamStringNo. Allowed values: + * "optionalLiteralParam".
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Request Body Schema

diff --git a/typespec-tests/src/main/java/com/cadl/literalservice/implementation/LiteralOpsImpl.java b/typespec-tests/src/main/java/com/cadl/literalservice/implementation/LiteralOpsImpl.java index 156f1f896b..eac1a90e6d 100644 --- a/typespec-tests/src/main/java/com/cadl/literalservice/implementation/LiteralOpsImpl.java +++ b/typespec-tests/src/main/java/com/cadl/literalservice/implementation/LiteralOpsImpl.java @@ -86,8 +86,8 @@ Response putSync(@HostParam("endpoint") String endpoint, * * * - * + * *
Query Parameters
NameTypeRequiredDescription
optionalLiteralParamStringNoThe optionalLiteralParam parameter. Allowed - * values: "optionalLiteralParam".
optionalLiteralParamStringNo. Allowed values: + * "optionalLiteralParam".
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Request Body Schema

@@ -130,8 +130,8 @@ public Mono> putWithResponseAsync(BinaryData model, Request * * * - * + * *
Query Parameters
NameTypeRequiredDescription
optionalLiteralParamStringNoThe optionalLiteralParam parameter. Allowed - * values: "optionalLiteralParam".
optionalLiteralParamStringNo. Allowed values: + * "optionalLiteralParam".
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Request Body Schema

diff --git a/typespec-tests/src/main/java/com/cadl/longrunning/LongRunningAsyncClient.java b/typespec-tests/src/main/java/com/cadl/longrunning/LongRunningAsyncClient.java index e2814b1bdb..c9d6d7b15a 100644 --- a/typespec-tests/src/main/java/com/cadl/longrunning/LongRunningAsyncClient.java +++ b/typespec-tests/src/main/java/com/cadl/longrunning/LongRunningAsyncClient.java @@ -88,9 +88,7 @@ public PollerFlux beginLongRunning(RequestOptions reques * } * } * - * @param id Universally Unique Identifier - * - * The id parameter. + * @param id Universally Unique Identifier. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -182,9 +180,7 @@ public PollerFlux beginLongRunning() { /** * A remote procedure call (RPC) operation. * - * @param id Universally Unique Identifier - * - * The id parameter. + * @param id Universally Unique Identifier. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/cadl/longrunning/LongRunningClient.java b/typespec-tests/src/main/java/com/cadl/longrunning/LongRunningClient.java index a591a223db..7a28e9201a 100644 --- a/typespec-tests/src/main/java/com/cadl/longrunning/LongRunningClient.java +++ b/typespec-tests/src/main/java/com/cadl/longrunning/LongRunningClient.java @@ -86,9 +86,7 @@ public SyncPoller beginLongRunning(RequestOptions reques * } * } * - * @param id Universally Unique Identifier - * - * The id parameter. + * @param id Universally Unique Identifier. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -180,9 +178,7 @@ public SyncPoller beginLongRunning() { /** * A remote procedure call (RPC) operation. * - * @param id Universally Unique Identifier - * - * The id parameter. + * @param id Universally Unique Identifier. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/cadl/longrunning/implementation/LongRunningClientImpl.java b/typespec-tests/src/main/java/com/cadl/longrunning/implementation/LongRunningClientImpl.java index b451e6d7a0..bacd66244e 100644 --- a/typespec-tests/src/main/java/com/cadl/longrunning/implementation/LongRunningClientImpl.java +++ b/typespec-tests/src/main/java/com/cadl/longrunning/implementation/LongRunningClientImpl.java @@ -366,9 +366,7 @@ public SyncPoller beginLongRunningWithModel(RequestOptions r * } * } * - * @param id Universally Unique Identifier - * - * The id parameter. + * @param id Universally Unique Identifier. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -412,9 +410,7 @@ public Mono> getJobWithResponseAsync(String id, RequestOpti * } * } * - * @param id Universally Unique Identifier - * - * The id parameter. + * @param id Universally Unique Identifier. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/cadl/longrunning/models/JobData.java b/typespec-tests/src/main/java/com/cadl/longrunning/models/JobData.java index 30ca843b98..d0acbd8b73 100644 --- a/typespec-tests/src/main/java/com/cadl/longrunning/models/JobData.java +++ b/typespec-tests/src/main/java/com/cadl/longrunning/models/JobData.java @@ -19,7 +19,7 @@ @Fluent public final class JobData implements JsonSerializable { /* - * A sequence of textual characters. + * The configuration property. */ @Generated private String configuration; @@ -41,7 +41,7 @@ public JobData(Map nullableFloatDict) { } /** - * Get the configuration property: A sequence of textual characters. + * Get the configuration property: The configuration property. * * @return the configuration value. */ @@ -51,7 +51,7 @@ public String getConfiguration() { } /** - * Set the configuration property: A sequence of textual characters. + * Set the configuration property: The configuration property. * * @param configuration the configuration value to set. * @return the JobData object itself. diff --git a/typespec-tests/src/main/java/com/cadl/longrunning/models/JobResult.java b/typespec-tests/src/main/java/com/cadl/longrunning/models/JobResult.java index fa60fc8541..1294d08164 100644 --- a/typespec-tests/src/main/java/com/cadl/longrunning/models/JobResult.java +++ b/typespec-tests/src/main/java/com/cadl/longrunning/models/JobResult.java @@ -20,7 +20,7 @@ @Immutable public final class JobResult implements JsonSerializable { /* - * Universally Unique Identifier + * The id property. */ @Generated private String id; @@ -50,7 +50,7 @@ public final class JobResult implements JsonSerializable { private OffsetDateTime lastUpdateDateTime; /* - * The error object. + * The error property. */ @Generated private ResponseError error; @@ -69,7 +69,7 @@ private JobResult() { } /** - * Get the id property: Universally Unique Identifier. + * Get the id property: The id property. * * @return the id value. */ @@ -119,7 +119,7 @@ public OffsetDateTime getLastUpdateDateTime() { } /** - * Get the error property: The error object. + * Get the error property: The error property. * * @return the error value. */ diff --git a/typespec-tests/src/main/java/com/cadl/longrunning/models/JobResultResult.java b/typespec-tests/src/main/java/com/cadl/longrunning/models/JobResultResult.java index aa9e044fcf..9980b01ec6 100644 --- a/typespec-tests/src/main/java/com/cadl/longrunning/models/JobResultResult.java +++ b/typespec-tests/src/main/java/com/cadl/longrunning/models/JobResultResult.java @@ -18,7 +18,7 @@ @Immutable public final class JobResultResult implements JsonSerializable { /* - * A sequence of textual characters. + * The data property. */ @Generated private final String data; @@ -34,7 +34,7 @@ private JobResultResult(String data) { } /** - * Get the data property: A sequence of textual characters. + * Get the data property: The data property. * * @return the data value. */ diff --git a/typespec-tests/src/main/java/com/cadl/longrunning/models/PollResponse.java b/typespec-tests/src/main/java/com/cadl/longrunning/models/PollResponse.java index c7309dbea8..9b92d12a5c 100644 --- a/typespec-tests/src/main/java/com/cadl/longrunning/models/PollResponse.java +++ b/typespec-tests/src/main/java/com/cadl/longrunning/models/PollResponse.java @@ -18,13 +18,13 @@ @Immutable public final class PollResponse implements JsonSerializable { /* - * A sequence of textual characters. + * The operationId property. */ @Generated private final String operationId; /* - * Enum describing allowed operation states. + * The status property. */ @Generated private final OperationState status; @@ -42,7 +42,7 @@ private PollResponse(String operationId, OperationState status) { } /** - * Get the operationId property: A sequence of textual characters. + * Get the operationId property: The operationId property. * * @return the operationId value. */ @@ -52,7 +52,7 @@ public String getOperationId() { } /** - * Get the status property: Enum describing allowed operation states. + * Get the status property: The status property. * * @return the status value. */ diff --git a/typespec-tests/src/main/java/com/cadl/model/models/InputOutputData2.java b/typespec-tests/src/main/java/com/cadl/model/models/InputOutputData2.java index 7ccfe78733..7647768151 100644 --- a/typespec-tests/src/main/java/com/cadl/model/models/InputOutputData2.java +++ b/typespec-tests/src/main/java/com/cadl/model/models/InputOutputData2.java @@ -18,7 +18,7 @@ @Immutable public final class InputOutputData2 implements JsonSerializable { /* - * A sequence of textual characters. + * The data property. */ @Generated private final String data; @@ -34,7 +34,7 @@ public InputOutputData2(String data) { } /** - * Get the data property: A sequence of textual characters. + * Get the data property: The data property. * * @return the data value. */ diff --git a/typespec-tests/src/main/java/com/cadl/model/models/NestedModel2.java b/typespec-tests/src/main/java/com/cadl/model/models/NestedModel2.java index a5c4bcdbbf..ebd547cb7f 100644 --- a/typespec-tests/src/main/java/com/cadl/model/models/NestedModel2.java +++ b/typespec-tests/src/main/java/com/cadl/model/models/NestedModel2.java @@ -18,7 +18,7 @@ @Immutable public final class NestedModel2 implements JsonSerializable { /* - * A sequence of textual characters. + * The data property. */ @Generated private final String data; @@ -34,7 +34,7 @@ public NestedModel2(String data) { } /** - * Get the data property: A sequence of textual characters. + * Get the data property: The data property. * * @return the data value. */ diff --git a/typespec-tests/src/main/java/com/cadl/model/models/OutputData.java b/typespec-tests/src/main/java/com/cadl/model/models/OutputData.java index d37795dcd7..63cb716d58 100644 --- a/typespec-tests/src/main/java/com/cadl/model/models/OutputData.java +++ b/typespec-tests/src/main/java/com/cadl/model/models/OutputData.java @@ -18,7 +18,7 @@ @Immutable public final class OutputData implements JsonSerializable { /* - * A sequence of textual characters. + * The data property. */ @Generated private final String data; @@ -34,7 +34,7 @@ private OutputData(String data) { } /** - * Get the data property: A sequence of textual characters. + * Get the data property: The data property. * * @return the data value. */ diff --git a/typespec-tests/src/main/java/com/cadl/model/models/OutputData3.java b/typespec-tests/src/main/java/com/cadl/model/models/OutputData3.java index 50306418c8..b3a168e57d 100644 --- a/typespec-tests/src/main/java/com/cadl/model/models/OutputData3.java +++ b/typespec-tests/src/main/java/com/cadl/model/models/OutputData3.java @@ -18,7 +18,7 @@ @Immutable public final class OutputData3 implements JsonSerializable { /* - * A sequence of textual characters. + * The data property. */ @Generated private final String data; @@ -34,7 +34,7 @@ private OutputData3(String data) { } /** - * Get the data property: A sequence of textual characters. + * Get the data property: The data property. * * @return the data value. */ diff --git a/typespec-tests/src/main/java/com/cadl/model/models/Resource1.java b/typespec-tests/src/main/java/com/cadl/model/models/Resource1.java index 158474e81b..9b4719882b 100644 --- a/typespec-tests/src/main/java/com/cadl/model/models/Resource1.java +++ b/typespec-tests/src/main/java/com/cadl/model/models/Resource1.java @@ -18,7 +18,7 @@ @Immutable public final class Resource1 implements JsonSerializable { /* - * A sequence of textual characters. + * The name property. */ @Generated private final String name; @@ -46,7 +46,7 @@ public Resource1(String name) { } /** - * Get the name property: A sequence of textual characters. + * Get the name property: The name property. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/cadl/model/models/Resource2.java b/typespec-tests/src/main/java/com/cadl/model/models/Resource2.java index 49456e0d49..3eea2e2033 100644 --- a/typespec-tests/src/main/java/com/cadl/model/models/Resource2.java +++ b/typespec-tests/src/main/java/com/cadl/model/models/Resource2.java @@ -18,7 +18,7 @@ @Immutable public final class Resource2 implements JsonSerializable { /* - * A sequence of textual characters. + * The name property. */ @Generated private final String name; @@ -42,7 +42,7 @@ public Resource2(String name, InputOutputData2 data2) { } /** - * Get the name property: A sequence of textual characters. + * Get the name property: The name property. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/cadl/model/models/Resource3.java b/typespec-tests/src/main/java/com/cadl/model/models/Resource3.java index 357a276ef3..1ce5cb5c6e 100644 --- a/typespec-tests/src/main/java/com/cadl/model/models/Resource3.java +++ b/typespec-tests/src/main/java/com/cadl/model/models/Resource3.java @@ -18,7 +18,7 @@ @Immutable public final class Resource3 implements JsonSerializable { /* - * A sequence of textual characters. + * The name property. */ @Generated private final String name; @@ -42,7 +42,7 @@ private Resource3(String name, OutputData3 outputData3) { } /** - * Get the name property: A sequence of textual characters. + * Get the name property: The name property. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/cadl/multicontenttypes/MultiContentTypesAsyncClient.java b/typespec-tests/src/main/java/com/cadl/multicontenttypes/MultiContentTypesAsyncClient.java index f79c741b0e..0c2da2acca 100644 --- a/typespec-tests/src/main/java/com/cadl/multicontenttypes/MultiContentTypesAsyncClient.java +++ b/typespec-tests/src/main/java/com/cadl/multicontenttypes/MultiContentTypesAsyncClient.java @@ -44,8 +44,8 @@ public final class MultiContentTypesAsyncClient { * BinaryData * } * - * @param contentType The contentType parameter. Allowed values: "text/plain", "application/json", - * "application/octet-stream", "image/jpeg", "image/png". + * @param contentType . Allowed values: "text/plain", "application/json", "application/octet-stream", "image/jpeg", + * "image/png". * @param data The data parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. diff --git a/typespec-tests/src/main/java/com/cadl/multicontenttypes/MultiContentTypesClient.java b/typespec-tests/src/main/java/com/cadl/multicontenttypes/MultiContentTypesClient.java index 46fccf0d94..a3cf751c85 100644 --- a/typespec-tests/src/main/java/com/cadl/multicontenttypes/MultiContentTypesClient.java +++ b/typespec-tests/src/main/java/com/cadl/multicontenttypes/MultiContentTypesClient.java @@ -43,8 +43,8 @@ public final class MultiContentTypesClient { * BinaryData * } * - * @param contentType The contentType parameter. Allowed values: "text/plain", "application/json", - * "application/octet-stream", "image/jpeg", "image/png". + * @param contentType . Allowed values: "text/plain", "application/json", "application/octet-stream", "image/jpeg", + * "image/png". * @param data The data parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. diff --git a/typespec-tests/src/main/java/com/cadl/multicontenttypes/MultipleContentTypesOnRequestAsyncClient.java b/typespec-tests/src/main/java/com/cadl/multicontenttypes/MultipleContentTypesOnRequestAsyncClient.java index 2fe16bf287..7381a4e1e8 100644 --- a/typespec-tests/src/main/java/com/cadl/multicontenttypes/MultipleContentTypesOnRequestAsyncClient.java +++ b/typespec-tests/src/main/java/com/cadl/multicontenttypes/MultipleContentTypesOnRequestAsyncClient.java @@ -46,8 +46,7 @@ public final class MultipleContentTypesOnRequestAsyncClient { * BinaryData * } * - * @param contentType The contentType parameter. Allowed values: "application/octet-stream", "image/jpeg", - * "image/png". + * @param contentType . Allowed values: "application/octet-stream", "image/jpeg", "image/png". * @param data Represent a byte array. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -73,8 +72,7 @@ public Mono> uploadBytesWithSingleBodyTypeForMultiContentTypesWit * BinaryData * } * - * @param contentType The contentType parameter. Allowed values: "application/octet-stream", "image/jpeg", - * "image/png". + * @param contentType . Allowed values: "application/octet-stream", "image/jpeg", "image/png". * @param data Represent a byte array. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -127,8 +125,7 @@ public Mono> uploadJsonWithMultiBodyTypesForMultiContentTypesWith * BinaryData * } * - * @param contentType The contentType parameter. Allowed values: "application/json", "application/octet-stream", - * "image/jpeg", "image/png". + * @param contentType . Allowed values: "application/json", "application/octet-stream", "image/jpeg", "image/png". * @param data The data parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. diff --git a/typespec-tests/src/main/java/com/cadl/multicontenttypes/MultipleContentTypesOnRequestClient.java b/typespec-tests/src/main/java/com/cadl/multicontenttypes/MultipleContentTypesOnRequestClient.java index d9849b1785..d57ac0e198 100644 --- a/typespec-tests/src/main/java/com/cadl/multicontenttypes/MultipleContentTypesOnRequestClient.java +++ b/typespec-tests/src/main/java/com/cadl/multicontenttypes/MultipleContentTypesOnRequestClient.java @@ -44,8 +44,7 @@ public final class MultipleContentTypesOnRequestClient { * BinaryData * } * - * @param contentType The contentType parameter. Allowed values: "application/octet-stream", "image/jpeg", - * "image/png". + * @param contentType . Allowed values: "application/octet-stream", "image/jpeg", "image/png". * @param data Represent a byte array. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -71,8 +70,7 @@ public Response uploadBytesWithSingleBodyTypeForMultiContentTypesWithRespo * BinaryData * } * - * @param contentType The contentType parameter. Allowed values: "application/octet-stream", "image/jpeg", - * "image/png". + * @param contentType . Allowed values: "application/octet-stream", "image/jpeg", "image/png". * @param data Represent a byte array. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -124,8 +122,7 @@ public Response uploadJsonWithMultiBodyTypesForMultiContentTypesWithRespon * BinaryData * } * - * @param contentType The contentType parameter. Allowed values: "application/json", "application/octet-stream", - * "image/jpeg", "image/png". + * @param contentType . Allowed values: "application/json", "application/octet-stream", "image/jpeg", "image/png". * @param data The data parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. diff --git a/typespec-tests/src/main/java/com/cadl/multicontenttypes/implementation/MultiContentTypesClientImpl.java b/typespec-tests/src/main/java/com/cadl/multicontenttypes/implementation/MultiContentTypesClientImpl.java index ee1a36ecb4..8794261623 100644 --- a/typespec-tests/src/main/java/com/cadl/multicontenttypes/implementation/MultiContentTypesClientImpl.java +++ b/typespec-tests/src/main/java/com/cadl/multicontenttypes/implementation/MultiContentTypesClientImpl.java @@ -185,8 +185,8 @@ Response uploadWithOverloadSync(@HostParam("endpoint") String endpoint, * BinaryData * } * - * @param contentType The contentType parameter. Allowed values: "text/plain", "application/json", - * "application/octet-stream", "image/jpeg", "image/png". + * @param contentType . Allowed values: "text/plain", "application/json", "application/octet-stream", "image/jpeg", + * "image/png". * @param data The data parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -211,8 +211,8 @@ public Mono> uploadWithOverloadWithResponseAsync(String contentTy * BinaryData * } * - * @param contentType The contentType parameter. Allowed values: "text/plain", "application/json", - * "application/octet-stream", "image/jpeg", "image/png". + * @param contentType . Allowed values: "text/plain", "application/json", "application/octet-stream", "image/jpeg", + * "image/png". * @param data The data parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. diff --git a/typespec-tests/src/main/java/com/cadl/multicontenttypes/implementation/MultipleContentTypesOnRequestsImpl.java b/typespec-tests/src/main/java/com/cadl/multicontenttypes/implementation/MultipleContentTypesOnRequestsImpl.java index e26f693601..88eb218f7d 100644 --- a/typespec-tests/src/main/java/com/cadl/multicontenttypes/implementation/MultipleContentTypesOnRequestsImpl.java +++ b/typespec-tests/src/main/java/com/cadl/multicontenttypes/implementation/MultipleContentTypesOnRequestsImpl.java @@ -149,8 +149,7 @@ Response uploadJsonOrBytesWithMultiBodyTypesForMultiContentTypesSync( * BinaryData * } * - * @param contentType The contentType parameter. Allowed values: "application/octet-stream", "image/jpeg", - * "image/png". + * @param contentType . Allowed values: "application/octet-stream", "image/jpeg", "image/png". * @param data Represent a byte array. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -176,8 +175,7 @@ public Mono> uploadBytesWithSingleBodyTypeForMultiContentTypesWit * BinaryData * } * - * @param contentType The contentType parameter. Allowed values: "application/octet-stream", "image/jpeg", - * "image/png". + * @param contentType . Allowed values: "application/octet-stream", "image/jpeg", "image/png". * @param data Represent a byte array. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -202,8 +200,7 @@ public Response uploadBytesWithSingleBodyTypeForMultiContentTypesWithRespo * BinaryData * } * - * @param contentType The contentType parameter. Allowed values: "application/octet-stream", "image/jpeg", - * "image/png". + * @param contentType . Allowed values: "application/octet-stream", "image/jpeg", "image/png". * @param data Represent a byte array. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -229,8 +226,7 @@ public Mono> uploadBytesWithMultiBodyTypesForMultiContentTypesWit * BinaryData * } * - * @param contentType The contentType parameter. Allowed values: "application/octet-stream", "image/jpeg", - * "image/png". + * @param contentType . Allowed values: "application/octet-stream", "image/jpeg", "image/png". * @param data Represent a byte array. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -312,8 +308,7 @@ public Response uploadJsonWithMultiBodyTypesForMultiContentTypesWithRespon * BinaryData * } * - * @param contentType The contentType parameter. Allowed values: "application/json", "application/octet-stream", - * "image/jpeg", "image/png". + * @param contentType . Allowed values: "application/json", "application/octet-stream", "image/jpeg", "image/png". * @param data The data parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -338,8 +333,7 @@ public Mono> uploadJsonOrBytesWithMultiBodyTypesForMultiContentTy * BinaryData * } * - * @param contentType The contentType parameter. Allowed values: "application/json", "application/octet-stream", - * "image/jpeg", "image/png". + * @param contentType . Allowed values: "application/json", "application/octet-stream", "image/jpeg", "image/png". * @param data The data parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. diff --git a/typespec-tests/src/main/java/com/cadl/multicontenttypes/models/Resource.java b/typespec-tests/src/main/java/com/cadl/multicontenttypes/models/Resource.java index 267a112db9..c658bbc865 100644 --- a/typespec-tests/src/main/java/com/cadl/multicontenttypes/models/Resource.java +++ b/typespec-tests/src/main/java/com/cadl/multicontenttypes/models/Resource.java @@ -18,13 +18,13 @@ @Immutable public final class Resource implements JsonSerializable { /* - * A sequence of textual characters. + * The id property. */ @Generated private String id; /* - * A sequence of textual characters. + * The name property. */ @Generated private String name; @@ -37,7 +37,7 @@ public Resource() { } /** - * Get the id property: A sequence of textual characters. + * Get the id property: The id property. * * @return the id value. */ @@ -47,7 +47,7 @@ public String getId() { } /** - * Get the name property: A sequence of textual characters. + * Get the name property: The name property. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/cadl/multipart/MultipartAsyncClient.java b/typespec-tests/src/main/java/com/cadl/multipart/MultipartAsyncClient.java index 9aed5aa7f1..37410f1a25 100644 --- a/typespec-tests/src/main/java/com/cadl/multipart/MultipartAsyncClient.java +++ b/typespec-tests/src/main/java/com/cadl/multipart/MultipartAsyncClient.java @@ -48,15 +48,11 @@ public final class MultipartAsyncClient { * * * - * + * *
Query Parameters
NameTypeRequiredDescription
compressBooleanNoBoolean with `true` and `false` values. - * - * The compress parameter
compressBooleanNoBoolean with `true` and `false` values.
* You can add these to a request with {@link RequestOptions#addQueryParam} * * @param name A sequence of textual characters. - * - * The name parameter. * @param data The data parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -76,12 +72,8 @@ Mono> uploadWithResponse(String name, BinaryData data, RequestOpt * The upload operation. * * @param name A sequence of textual characters. - * - * The name parameter. * @param data The data parameter. * @param compress Boolean with `true` and `false` values. - * - * The compress parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -124,8 +116,6 @@ public Mono upload(String name, FormData data, Boolean compress) { * The upload operation. * * @param name A sequence of textual characters. - * - * The name parameter. * @param data The data parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. diff --git a/typespec-tests/src/main/java/com/cadl/multipart/MultipartClient.java b/typespec-tests/src/main/java/com/cadl/multipart/MultipartClient.java index 7149787fb6..a50e7dec9b 100644 --- a/typespec-tests/src/main/java/com/cadl/multipart/MultipartClient.java +++ b/typespec-tests/src/main/java/com/cadl/multipart/MultipartClient.java @@ -46,15 +46,11 @@ public final class MultipartClient { * * * - * + * *
Query Parameters
NameTypeRequiredDescription
compressBooleanNoBoolean with `true` and `false` values. - * - * The compress parameter
compressBooleanNoBoolean with `true` and `false` values.
* You can add these to a request with {@link RequestOptions#addQueryParam} * * @param name A sequence of textual characters. - * - * The name parameter. * @param data The data parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -74,12 +70,8 @@ Response uploadWithResponse(String name, BinaryData data, RequestOptions r * The upload operation. * * @param name A sequence of textual characters. - * - * The name parameter. * @param data The data parameter. * @param compress Boolean with `true` and `false` values. - * - * The compress parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -121,8 +113,6 @@ public void upload(String name, FormData data, Boolean compress) { * The upload operation. * * @param name A sequence of textual characters. - * - * The name parameter. * @param data The data parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. diff --git a/typespec-tests/src/main/java/com/cadl/multipart/implementation/MultipartClientImpl.java b/typespec-tests/src/main/java/com/cadl/multipart/implementation/MultipartClientImpl.java index 51020635ab..360a52a5f2 100644 --- a/typespec-tests/src/main/java/com/cadl/multipart/implementation/MultipartClientImpl.java +++ b/typespec-tests/src/main/java/com/cadl/multipart/implementation/MultipartClientImpl.java @@ -154,15 +154,11 @@ Response uploadSync(@HostParam("endpoint") String endpoint, @PathParam("na * * * - * + * *
Query Parameters
NameTypeRequiredDescription
compressBooleanNoBoolean with `true` and `false` values. - * - * The compress parameter
compressBooleanNoBoolean with `true` and `false` values.
* You can add these to a request with {@link RequestOptions#addQueryParam} * * @param name A sequence of textual characters. - * - * The name parameter. * @param data The data parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -185,15 +181,11 @@ public Mono> uploadWithResponseAsync(String name, BinaryData data * * * - * + * *
Query Parameters
NameTypeRequiredDescription
compressBooleanNoBoolean with `true` and `false` values. - * - * The compress parameter
compressBooleanNoBoolean with `true` and `false` values.
* You can add these to a request with {@link RequestOptions#addQueryParam} * * @param name A sequence of textual characters. - * - * The name parameter. * @param data The data parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. diff --git a/typespec-tests/src/main/java/com/cadl/multipart/models/FormData.java b/typespec-tests/src/main/java/com/cadl/multipart/models/FormData.java index 2aeef17d7a..5e2df23775 100644 --- a/typespec-tests/src/main/java/com/cadl/multipart/models/FormData.java +++ b/typespec-tests/src/main/java/com/cadl/multipart/models/FormData.java @@ -14,13 +14,13 @@ @Fluent public final class FormData { /* - * A sequence of textual characters. + * The name property. */ @Generated private final String name; /* - * A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) + * The resolution property. */ @Generated private final int resolution; @@ -68,7 +68,7 @@ public FormData(String name, int resolution, ImageType type, Size size, ImageFil } /** - * Get the name property: A sequence of textual characters. + * Get the name property: The name property. * * @return the name value. */ @@ -78,7 +78,7 @@ public String getName() { } /** - * Get the resolution property: A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`). + * Get the resolution property: The resolution property. * * @return the resolution value. */ diff --git a/typespec-tests/src/main/java/com/cadl/multipart/models/Size.java b/typespec-tests/src/main/java/com/cadl/multipart/models/Size.java index bb94bf4c3c..e5d7ae3ade 100644 --- a/typespec-tests/src/main/java/com/cadl/multipart/models/Size.java +++ b/typespec-tests/src/main/java/com/cadl/multipart/models/Size.java @@ -18,13 +18,13 @@ @Immutable public final class Size implements JsonSerializable { /* - * A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) + * The width property. */ @Generated private final int width; /* - * A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) + * The height property. */ @Generated private final int height; @@ -42,7 +42,7 @@ public Size(int width, int height) { } /** - * Get the width property: A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`). + * Get the width property: The width property. * * @return the width value. */ @@ -52,7 +52,7 @@ public int getWidth() { } /** - * Get the height property: A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`). + * Get the height property: The height property. * * @return the height value. */ diff --git a/typespec-tests/src/main/java/com/cadl/multipleapiversion/FirstAsyncClient.java b/typespec-tests/src/main/java/com/cadl/multipleapiversion/FirstAsyncClient.java index 282f7abb71..3688875382 100644 --- a/typespec-tests/src/main/java/com/cadl/multipleapiversion/FirstAsyncClient.java +++ b/typespec-tests/src/main/java/com/cadl/multipleapiversion/FirstAsyncClient.java @@ -51,8 +51,6 @@ public final class FirstAsyncClient { * } * * @param name A sequence of textual characters. - * - * The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -70,8 +68,6 @@ public Mono> getWithResponse(String name, RequestOptions re * Resource read operation template. * * @param name A sequence of textual characters. - * - * The name parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/cadl/multipleapiversion/FirstClient.java b/typespec-tests/src/main/java/com/cadl/multipleapiversion/FirstClient.java index 481c7b7a0f..3432fbd872 100644 --- a/typespec-tests/src/main/java/com/cadl/multipleapiversion/FirstClient.java +++ b/typespec-tests/src/main/java/com/cadl/multipleapiversion/FirstClient.java @@ -49,8 +49,6 @@ public final class FirstClient { * } * * @param name A sequence of textual characters. - * - * The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -68,8 +66,6 @@ public Response getWithResponse(String name, RequestOptions requestO * Resource read operation template. * * @param name A sequence of textual characters. - * - * The name parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/cadl/multipleapiversion/NoApiVersionAsyncClient.java b/typespec-tests/src/main/java/com/cadl/multipleapiversion/NoApiVersionAsyncClient.java index f18eb41d12..8d95b1f364 100644 --- a/typespec-tests/src/main/java/com/cadl/multipleapiversion/NoApiVersionAsyncClient.java +++ b/typespec-tests/src/main/java/com/cadl/multipleapiversion/NoApiVersionAsyncClient.java @@ -42,9 +42,7 @@ public final class NoApiVersionAsyncClient { * * * - * + * *
Query Parameters
NameTypeRequiredDescription
param1StringNoA sequence of textual characters. - * - * The param1 parameter
param1StringNoA sequence of textual characters.
* You can add these to a request with {@link RequestOptions#addQueryParam} * @@ -65,8 +63,6 @@ public Mono> actionWithResponse(RequestOptions requestOptions) { * The action operation. * * @param param1 A sequence of textual characters. - * - * The param1 parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/cadl/multipleapiversion/NoApiVersionClient.java b/typespec-tests/src/main/java/com/cadl/multipleapiversion/NoApiVersionClient.java index c8f72402fe..6e17d90aa6 100644 --- a/typespec-tests/src/main/java/com/cadl/multipleapiversion/NoApiVersionClient.java +++ b/typespec-tests/src/main/java/com/cadl/multipleapiversion/NoApiVersionClient.java @@ -40,9 +40,7 @@ public final class NoApiVersionClient { * * * - * + * *
Query Parameters
NameTypeRequiredDescription
param1StringNoA sequence of textual characters. - * - * The param1 parameter
param1StringNoA sequence of textual characters.
* You can add these to a request with {@link RequestOptions#addQueryParam} * @@ -63,8 +61,6 @@ public Response actionWithResponse(RequestOptions requestOptions) { * The action operation. * * @param param1 A sequence of textual characters. - * - * The param1 parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/cadl/multipleapiversion/SecondAsyncClient.java b/typespec-tests/src/main/java/com/cadl/multipleapiversion/SecondAsyncClient.java index 107f7009c5..bd3b80c898 100644 --- a/typespec-tests/src/main/java/com/cadl/multipleapiversion/SecondAsyncClient.java +++ b/typespec-tests/src/main/java/com/cadl/multipleapiversion/SecondAsyncClient.java @@ -51,8 +51,6 @@ public final class SecondAsyncClient { * } * * @param name A sequence of textual characters. - * - * The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -70,8 +68,6 @@ public Mono> getWithResponse(String name, RequestOptions re * Resource read operation template. * * @param name A sequence of textual characters. - * - * The name parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/cadl/multipleapiversion/SecondClient.java b/typespec-tests/src/main/java/com/cadl/multipleapiversion/SecondClient.java index 297eaa0667..28f5c47773 100644 --- a/typespec-tests/src/main/java/com/cadl/multipleapiversion/SecondClient.java +++ b/typespec-tests/src/main/java/com/cadl/multipleapiversion/SecondClient.java @@ -49,8 +49,6 @@ public final class SecondClient { * } * * @param name A sequence of textual characters. - * - * The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -68,8 +66,6 @@ public Response getWithResponse(String name, RequestOptions requestO * Resource read operation template. * * @param name A sequence of textual characters. - * - * The name parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/cadl/multipleapiversion/implementation/FirstClientImpl.java b/typespec-tests/src/main/java/com/cadl/multipleapiversion/implementation/FirstClientImpl.java index 01570c34c9..e50c1c97f6 100644 --- a/typespec-tests/src/main/java/com/cadl/multipleapiversion/implementation/FirstClientImpl.java +++ b/typespec-tests/src/main/java/com/cadl/multipleapiversion/implementation/FirstClientImpl.java @@ -178,8 +178,6 @@ Response getSync(@HostParam("endpoint") String endpoint, * } * * @param name A sequence of textual characters. - * - * The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -207,8 +205,6 @@ public Mono> getWithResponseAsync(String name, RequestOptio * } * * @param name A sequence of textual characters. - * - * The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/cadl/multipleapiversion/implementation/NoApiVersionClientImpl.java b/typespec-tests/src/main/java/com/cadl/multipleapiversion/implementation/NoApiVersionClientImpl.java index 08efc97719..b4e206df60 100644 --- a/typespec-tests/src/main/java/com/cadl/multipleapiversion/implementation/NoApiVersionClientImpl.java +++ b/typespec-tests/src/main/java/com/cadl/multipleapiversion/implementation/NoApiVersionClientImpl.java @@ -169,9 +169,7 @@ Response actionSync(@HostParam("endpoint") String endpoint, @HeaderParam(" * * * - * + * *
Query Parameters
NameTypeRequiredDescription
param1StringNoA sequence of textual characters. - * - * The param1 parameter
param1StringNoA sequence of textual characters.
* You can add these to a request with {@link RequestOptions#addQueryParam} * @@ -194,9 +192,7 @@ public Mono> actionWithResponseAsync(RequestOptions requestOption * * * - * + * *
Query Parameters
NameTypeRequiredDescription
param1StringNoA sequence of textual characters. - * - * The param1 parameter
param1StringNoA sequence of textual characters.
* You can add these to a request with {@link RequestOptions#addQueryParam} * diff --git a/typespec-tests/src/main/java/com/cadl/multipleapiversion/implementation/SecondClientImpl.java b/typespec-tests/src/main/java/com/cadl/multipleapiversion/implementation/SecondClientImpl.java index cc0a95156f..d8e053341f 100644 --- a/typespec-tests/src/main/java/com/cadl/multipleapiversion/implementation/SecondClientImpl.java +++ b/typespec-tests/src/main/java/com/cadl/multipleapiversion/implementation/SecondClientImpl.java @@ -178,8 +178,6 @@ Response getSync(@HostParam("endpoint") String endpoint, * } * * @param name A sequence of textual characters. - * - * The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -207,8 +205,6 @@ public Mono> getWithResponseAsync(String name, RequestOptio * } * * @param name A sequence of textual characters. - * - * The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/cadl/multipleapiversion/models/Resource.java b/typespec-tests/src/main/java/com/cadl/multipleapiversion/models/Resource.java index 08af23dbcc..ac1472cd6b 100644 --- a/typespec-tests/src/main/java/com/cadl/multipleapiversion/models/Resource.java +++ b/typespec-tests/src/main/java/com/cadl/multipleapiversion/models/Resource.java @@ -18,19 +18,19 @@ @Immutable public final class Resource implements JsonSerializable { /* - * A sequence of textual characters. + * The id property. */ @Generated private String id; /* - * A sequence of textual characters. + * The name property. */ @Generated private String name; /* - * A sequence of textual characters. + * The type property. */ @Generated private final String type; @@ -46,7 +46,7 @@ private Resource(String type) { } /** - * Get the id property: A sequence of textual characters. + * Get the id property: The id property. * * @return the id value. */ @@ -56,7 +56,7 @@ public String getId() { } /** - * Get the name property: A sequence of textual characters. + * Get the name property: The name property. * * @return the name value. */ @@ -66,7 +66,7 @@ public String getName() { } /** - * Get the type property: A sequence of textual characters. + * Get the type property: The type property. * * @return the type value. */ diff --git a/typespec-tests/src/main/java/com/cadl/multipleapiversion/models/Resource2.java b/typespec-tests/src/main/java/com/cadl/multipleapiversion/models/Resource2.java index 9af027ce33..7bc2ab87df 100644 --- a/typespec-tests/src/main/java/com/cadl/multipleapiversion/models/Resource2.java +++ b/typespec-tests/src/main/java/com/cadl/multipleapiversion/models/Resource2.java @@ -18,19 +18,19 @@ @Immutable public final class Resource2 implements JsonSerializable { /* - * A sequence of textual characters. + * The id property. */ @Generated private String id; /* - * A sequence of textual characters. + * The name property. */ @Generated private String name; /* - * A sequence of textual characters. + * The type property. */ @Generated private final String type; @@ -46,7 +46,7 @@ private Resource2(String type) { } /** - * Get the id property: A sequence of textual characters. + * Get the id property: The id property. * * @return the id value. */ @@ -56,7 +56,7 @@ public String getId() { } /** - * Get the name property: A sequence of textual characters. + * Get the name property: The name property. * * @return the name value. */ @@ -66,7 +66,7 @@ public String getName() { } /** - * Get the type property: A sequence of textual characters. + * Get the type property: The type property. * * @return the type value. */ diff --git a/typespec-tests/src/main/java/com/cadl/naming/NamingAsyncClient.java b/typespec-tests/src/main/java/com/cadl/naming/NamingAsyncClient.java index 916602ba6f..ae1a199a21 100644 --- a/typespec-tests/src/main/java/com/cadl/naming/NamingAsyncClient.java +++ b/typespec-tests/src/main/java/com/cadl/naming/NamingAsyncClient.java @@ -49,9 +49,7 @@ public final class NamingAsyncClient { * * * - * + * *
Header Parameters
NameTypeRequiredDescription
etagStringNoA sequence of textual characters. - * - * The etag parameter
etagStringNoA sequence of textual characters.
* You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

@@ -85,8 +83,6 @@ public final class NamingAsyncClient { * } * * @param name A sequence of textual characters. - * - * The name parameter. * @param dataRequest summary of Request * * description of Request. @@ -133,14 +129,10 @@ public Mono> getAnonymousWithResponse(RequestOptions reques * description of POST op. * * @param name A sequence of textual characters. - * - * The name parameter. * @param dataRequest summary of Request * * description of Request. * @param etag A sequence of textual characters. - * - * The etag parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -167,8 +159,6 @@ public Mono post(String name, DataRequest dataRequest, String etag * description of POST op. * * @param name A sequence of textual characters. - * - * The name parameter. * @param dataRequest summary of Request * * description of Request. diff --git a/typespec-tests/src/main/java/com/cadl/naming/NamingClient.java b/typespec-tests/src/main/java/com/cadl/naming/NamingClient.java index e9a9a09519..de8cd5cf9f 100644 --- a/typespec-tests/src/main/java/com/cadl/naming/NamingClient.java +++ b/typespec-tests/src/main/java/com/cadl/naming/NamingClient.java @@ -89,14 +89,10 @@ public Response getAnonymousWithResponse(RequestOptions requestOptio * description of POST op. * * @param name A sequence of textual characters. - * - * The name parameter. * @param dataRequest summary of Request * * description of Request. * @param etag A sequence of textual characters. - * - * The etag parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -123,8 +119,6 @@ public DataResponse post(String name, DataRequest dataRequest, String etag) { * description of POST op. * * @param name A sequence of textual characters. - * - * The name parameter. * @param dataRequest summary of Request * * description of Request. diff --git a/typespec-tests/src/main/java/com/cadl/naming/implementation/NamingOpsImpl.java b/typespec-tests/src/main/java/com/cadl/naming/implementation/NamingOpsImpl.java index cdd1473bb8..4d8af5e036 100644 --- a/typespec-tests/src/main/java/com/cadl/naming/implementation/NamingOpsImpl.java +++ b/typespec-tests/src/main/java/com/cadl/naming/implementation/NamingOpsImpl.java @@ -107,9 +107,7 @@ Response getAnonymousSync(@HostParam("endpoint") String endpoint, * * * - * + * *
Header Parameters
NameTypeRequiredDescription
etagStringNoA sequence of textual characters. - * - * The etag parameter
etagStringNoA sequence of textual characters.
* You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

@@ -143,8 +141,6 @@ Response getAnonymousSync(@HostParam("endpoint") String endpoint, * } * * @param name A sequence of textual characters. - * - * The name parameter. * @param dataRequest summary of Request * * description of Request. @@ -171,9 +167,7 @@ public Mono> postWithResponseAsync(String name, BinaryData * * * - * + * *
Header Parameters
NameTypeRequiredDescription
etagStringNoA sequence of textual characters. - * - * The etag parameter
etagStringNoA sequence of textual characters.
* You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

@@ -207,8 +201,6 @@ public Mono> postWithResponseAsync(String name, BinaryData * } * * @param name A sequence of textual characters. - * - * The name parameter. * @param dataRequest summary of Request * * description of Request. diff --git a/typespec-tests/src/main/java/com/cadl/naming/models/BytesData.java b/typespec-tests/src/main/java/com/cadl/naming/models/BytesData.java index 5688e67cec..c67dcc97b4 100644 --- a/typespec-tests/src/main/java/com/cadl/naming/models/BytesData.java +++ b/typespec-tests/src/main/java/com/cadl/naming/models/BytesData.java @@ -18,7 +18,7 @@ @Immutable public final class BytesData extends Data { /* - * A sequence of textual characters. + * The @data.kind property. */ @Generated private String type = "bytes"; @@ -40,7 +40,7 @@ private BytesData(byte[] dataAsBytes) { } /** - * Get the type property: A sequence of textual characters. + * Get the type property: The @data.kind property. * * @return the type value. */ diff --git a/typespec-tests/src/main/java/com/cadl/naming/models/Data.java b/typespec-tests/src/main/java/com/cadl/naming/models/Data.java index 66b2584f48..c28af47bbf 100644 --- a/typespec-tests/src/main/java/com/cadl/naming/models/Data.java +++ b/typespec-tests/src/main/java/com/cadl/naming/models/Data.java @@ -19,7 +19,7 @@ @Immutable public class Data implements JsonSerializable { /* - * A sequence of textual characters. + * The @data.kind property. */ @Generated private String type; @@ -33,7 +33,7 @@ protected Data() { } /** - * Get the type property: A sequence of textual characters. + * Get the type property: The @data.kind property. * * @return the type value. */ diff --git a/typespec-tests/src/main/java/com/cadl/naming/models/GetAnonymousResponse.java b/typespec-tests/src/main/java/com/cadl/naming/models/GetAnonymousResponse.java index ec33a70c91..a976740fb1 100644 --- a/typespec-tests/src/main/java/com/cadl/naming/models/GetAnonymousResponse.java +++ b/typespec-tests/src/main/java/com/cadl/naming/models/GetAnonymousResponse.java @@ -18,7 +18,7 @@ @Immutable public final class GetAnonymousResponse implements JsonSerializable { /* - * A sequence of textual characters. + * The name property. */ @Generated private final String name; @@ -34,7 +34,7 @@ private GetAnonymousResponse(String name) { } /** - * Get the name property: A sequence of textual characters. + * Get the name property: The name property. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/cadl/optional/OptionalAsyncClient.java b/typespec-tests/src/main/java/com/cadl/optional/OptionalAsyncClient.java index db073bcac4..d28fd48808 100644 --- a/typespec-tests/src/main/java/com/cadl/optional/OptionalAsyncClient.java +++ b/typespec-tests/src/main/java/com/cadl/optional/OptionalAsyncClient.java @@ -46,24 +46,16 @@ public final class OptionalAsyncClient { * * * - * - * - * + * + * + * *
Query Parameters
NameTypeRequiredDescription
booleanNullableBooleanNoBoolean with `true` and `false` values. - * - * The booleanNullable parameter
stringStringNoA sequence of textual characters. - * - * The string parameter
stringNullableStringNoA sequence of textual characters. - * - * The stringNullable parameter
booleanNullableBooleanNoBoolean with `true` and `false` values.
stringStringNoA sequence of textual characters.
stringNullableStringNoA sequence of textual characters.
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Header Parameters

* * * - * + * *
Header Parameters
NameTypeRequiredDescription
request-header-optionalStringNoA sequence of textual characters. - * - * The requestHeaderOptional parameter
request-header-optionalStringNoA sequence of textual characters.
* You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

@@ -131,20 +123,10 @@ public final class OptionalAsyncClient { * } * * @param requestHeaderRequired A sequence of textual characters. - * - * The requestHeaderRequired parameter. * @param booleanRequired Boolean with `true` and `false` values. - * - * The booleanRequired parameter. * @param booleanRequiredNullable Boolean with `true` and `false` values. - * - * The booleanRequiredNullable parameter. * @param stringRequired A sequence of textual characters. - * - * The stringRequired parameter. * @param stringRequiredNullable A sequence of textual characters. - * - * The stringRequiredNullable parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -165,32 +147,14 @@ public Mono> putWithResponse(String requestHeaderRequired, * The put operation. * * @param requestHeaderRequired A sequence of textual characters. - * - * The requestHeaderRequired parameter. * @param booleanRequired Boolean with `true` and `false` values. - * - * The booleanRequired parameter. * @param booleanRequiredNullable Boolean with `true` and `false` values. - * - * The booleanRequiredNullable parameter. * @param stringRequired A sequence of textual characters. - * - * The stringRequired parameter. * @param stringRequiredNullable A sequence of textual characters. - * - * The stringRequiredNullable parameter. * @param requestHeaderOptional A sequence of textual characters. - * - * The requestHeaderOptional parameter. * @param booleanNullable Boolean with `true` and `false` values. - * - * The booleanNullable parameter. * @param string A sequence of textual characters. - * - * The string parameter. * @param stringNullable A sequence of textual characters. - * - * The stringNullable parameter. * @param optional The optional parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -232,20 +196,10 @@ public Mono put(String requestHeaderRequired, boolean boo * The put operation. * * @param requestHeaderRequired A sequence of textual characters. - * - * The requestHeaderRequired parameter. * @param booleanRequired Boolean with `true` and `false` values. - * - * The booleanRequired parameter. * @param booleanRequiredNullable Boolean with `true` and `false` values. - * - * The booleanRequiredNullable parameter. * @param stringRequired A sequence of textual characters. - * - * The stringRequired parameter. * @param stringRequiredNullable A sequence of textual characters. - * - * The stringRequiredNullable parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/cadl/optional/OptionalClient.java b/typespec-tests/src/main/java/com/cadl/optional/OptionalClient.java index 1fb6c3c894..176ae508a3 100644 --- a/typespec-tests/src/main/java/com/cadl/optional/OptionalClient.java +++ b/typespec-tests/src/main/java/com/cadl/optional/OptionalClient.java @@ -44,24 +44,16 @@ public final class OptionalClient { * * * - * - * - * + * + * + * *
Query Parameters
NameTypeRequiredDescription
booleanNullableBooleanNoBoolean with `true` and `false` values. - * - * The booleanNullable parameter
stringStringNoA sequence of textual characters. - * - * The string parameter
stringNullableStringNoA sequence of textual characters. - * - * The stringNullable parameter
booleanNullableBooleanNoBoolean with `true` and `false` values.
stringStringNoA sequence of textual characters.
stringNullableStringNoA sequence of textual characters.
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Header Parameters

* * * - * + * *
Header Parameters
NameTypeRequiredDescription
request-header-optionalStringNoA sequence of textual characters. - * - * The requestHeaderOptional parameter
request-header-optionalStringNoA sequence of textual characters.
* You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

@@ -129,20 +121,10 @@ public final class OptionalClient { * } * * @param requestHeaderRequired A sequence of textual characters. - * - * The requestHeaderRequired parameter. * @param booleanRequired Boolean with `true` and `false` values. - * - * The booleanRequired parameter. * @param booleanRequiredNullable Boolean with `true` and `false` values. - * - * The booleanRequiredNullable parameter. * @param stringRequired A sequence of textual characters. - * - * The stringRequired parameter. * @param stringRequiredNullable A sequence of textual characters. - * - * The stringRequiredNullable parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -163,32 +145,14 @@ public Response putWithResponse(String requestHeaderRequired, boolea * The put operation. * * @param requestHeaderRequired A sequence of textual characters. - * - * The requestHeaderRequired parameter. * @param booleanRequired Boolean with `true` and `false` values. - * - * The booleanRequired parameter. * @param booleanRequiredNullable Boolean with `true` and `false` values. - * - * The booleanRequiredNullable parameter. * @param stringRequired A sequence of textual characters. - * - * The stringRequired parameter. * @param stringRequiredNullable A sequence of textual characters. - * - * The stringRequiredNullable parameter. * @param requestHeaderOptional A sequence of textual characters. - * - * The requestHeaderOptional parameter. * @param booleanNullable Boolean with `true` and `false` values. - * - * The booleanNullable parameter. * @param string A sequence of textual characters. - * - * The string parameter. * @param stringNullable A sequence of textual characters. - * - * The stringNullable parameter. * @param optional The optional parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -229,20 +193,10 @@ public AllPropertiesOptional put(String requestHeaderRequired, boolean booleanRe * The put operation. * * @param requestHeaderRequired A sequence of textual characters. - * - * The requestHeaderRequired parameter. * @param booleanRequired Boolean with `true` and `false` values. - * - * The booleanRequired parameter. * @param booleanRequiredNullable Boolean with `true` and `false` values. - * - * The booleanRequiredNullable parameter. * @param stringRequired A sequence of textual characters. - * - * The stringRequired parameter. * @param stringRequiredNullable A sequence of textual characters. - * - * The stringRequiredNullable parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/cadl/optional/implementation/OptionalOpsImpl.java b/typespec-tests/src/main/java/com/cadl/optional/implementation/OptionalOpsImpl.java index 1e5aad5677..e26d0b9ec3 100644 --- a/typespec-tests/src/main/java/com/cadl/optional/implementation/OptionalOpsImpl.java +++ b/typespec-tests/src/main/java/com/cadl/optional/implementation/OptionalOpsImpl.java @@ -94,24 +94,16 @@ Response putSync(@HostParam("endpoint") String endpoint, * * * - * - * - * + * + * + * *
Query Parameters
NameTypeRequiredDescription
booleanNullableBooleanNoBoolean with `true` and `false` values. - * - * The booleanNullable parameter
stringStringNoA sequence of textual characters. - * - * The string parameter
stringNullableStringNoA sequence of textual characters. - * - * The stringNullable parameter
booleanNullableBooleanNoBoolean with `true` and `false` values.
stringStringNoA sequence of textual characters.
stringNullableStringNoA sequence of textual characters.
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Header Parameters

* * * - * + * *
Header Parameters
NameTypeRequiredDescription
request-header-optionalStringNoA sequence of textual characters. - * - * The requestHeaderOptional parameter
request-header-optionalStringNoA sequence of textual characters.
* You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

@@ -179,20 +171,10 @@ Response putSync(@HostParam("endpoint") String endpoint, * } * * @param requestHeaderRequired A sequence of textual characters. - * - * The requestHeaderRequired parameter. * @param booleanRequired Boolean with `true` and `false` values. - * - * The booleanRequired parameter. * @param booleanRequiredNullable Boolean with `true` and `false` values. - * - * The booleanRequiredNullable parameter. * @param stringRequired A sequence of textual characters. - * - * The stringRequired parameter. * @param stringRequiredNullable A sequence of textual characters. - * - * The stringRequiredNullable parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -222,24 +204,16 @@ public Mono> putWithResponseAsync(String requestHeaderRequi * * * - * - * - * + * + * + * *
Query Parameters
NameTypeRequiredDescription
booleanNullableBooleanNoBoolean with `true` and `false` values. - * - * The booleanNullable parameter
stringStringNoA sequence of textual characters. - * - * The string parameter
stringNullableStringNoA sequence of textual characters. - * - * The stringNullable parameter
booleanNullableBooleanNoBoolean with `true` and `false` values.
stringStringNoA sequence of textual characters.
stringNullableStringNoA sequence of textual characters.
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Header Parameters

* * * - * + * *
Header Parameters
NameTypeRequiredDescription
request-header-optionalStringNoA sequence of textual characters. - * - * The requestHeaderOptional parameter
request-header-optionalStringNoA sequence of textual characters.
* You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

@@ -307,20 +281,10 @@ public Mono> putWithResponseAsync(String requestHeaderRequi * } * * @param requestHeaderRequired A sequence of textual characters. - * - * The requestHeaderRequired parameter. * @param booleanRequired Boolean with `true` and `false` values. - * - * The booleanRequired parameter. * @param booleanRequiredNullable Boolean with `true` and `false` values. - * - * The booleanRequiredNullable parameter. * @param stringRequired A sequence of textual characters. - * - * The stringRequired parameter. * @param stringRequiredNullable A sequence of textual characters. - * - * The stringRequiredNullable parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/cadl/optional/models/AllPropertiesOptional.java b/typespec-tests/src/main/java/com/cadl/optional/models/AllPropertiesOptional.java index 46197045a2..66366bc78f 100644 --- a/typespec-tests/src/main/java/com/cadl/optional/models/AllPropertiesOptional.java +++ b/typespec-tests/src/main/java/com/cadl/optional/models/AllPropertiesOptional.java @@ -26,79 +26,79 @@ @Immutable public final class AllPropertiesOptional implements JsonSerializable { /* - * Boolean with `true` and `false` values. + * The boolean property. */ @Generated private Boolean booleanProperty; /* - * Boolean with `true` and `false` values. + * The booleanNullable property. */ @Generated private Boolean booleanNullable; /* - * Boolean with `true` and `false` values. + * The booleanRequired property. */ @Generated private Boolean booleanRequired; /* - * Boolean with `true` and `false` values. + * The booleanRequiredNullable property. */ @Generated private Boolean booleanRequiredNullable; /* - * A sequence of textual characters. + * The string property. */ @Generated private String string; /* - * A sequence of textual characters. + * The stringNullable property. */ @Generated private String stringNullable; /* - * A sequence of textual characters. + * The stringRequired property. */ @Generated private String stringRequired; /* - * A sequence of textual characters. + * The stringRequiredNullable property. */ @Generated private String stringRequiredNullable; /* - * Represent a byte array + * The bytes property. */ @Generated private byte[] bytes; /* - * A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) + * The int property. */ @Generated private Integer intProperty; /* - * A 64-bit integer. (`-9,223,372,036,854,775,808` to `9,223,372,036,854,775,807`) + * The long property. */ @Generated private Long longProperty; /* - * A 32 bit floating point number. (`±5.0 × 10^−324` to `±1.7 × 10^308`) + * The float property. */ @Generated private Double floatProperty; /* - * A 32 bit floating point number. (`±1.5 x 10^−45` to `±3.4 x 10^38`) + * The double property. */ @Generated private Double doubleProperty; @@ -153,7 +153,7 @@ private AllPropertiesOptional() { } /** - * Get the booleanProperty property: Boolean with `true` and `false` values. + * Get the booleanProperty property: The boolean property. * * @return the booleanProperty value. */ @@ -163,7 +163,7 @@ public Boolean isBooleanProperty() { } /** - * Get the booleanNullable property: Boolean with `true` and `false` values. + * Get the booleanNullable property: The booleanNullable property. * * @return the booleanNullable value. */ @@ -173,7 +173,7 @@ public Boolean isBooleanNullable() { } /** - * Get the booleanRequired property: Boolean with `true` and `false` values. + * Get the booleanRequired property: The booleanRequired property. * * @return the booleanRequired value. */ @@ -183,7 +183,7 @@ public Boolean isBooleanRequired() { } /** - * Get the booleanRequiredNullable property: Boolean with `true` and `false` values. + * Get the booleanRequiredNullable property: The booleanRequiredNullable property. * * @return the booleanRequiredNullable value. */ @@ -193,7 +193,7 @@ public Boolean isBooleanRequiredNullable() { } /** - * Get the string property: A sequence of textual characters. + * Get the string property: The string property. * * @return the string value. */ @@ -203,7 +203,7 @@ public String getString() { } /** - * Get the stringNullable property: A sequence of textual characters. + * Get the stringNullable property: The stringNullable property. * * @return the stringNullable value. */ @@ -213,7 +213,7 @@ public String getStringNullable() { } /** - * Get the stringRequired property: A sequence of textual characters. + * Get the stringRequired property: The stringRequired property. * * @return the stringRequired value. */ @@ -223,7 +223,7 @@ public String getStringRequired() { } /** - * Get the stringRequiredNullable property: A sequence of textual characters. + * Get the stringRequiredNullable property: The stringRequiredNullable property. * * @return the stringRequiredNullable value. */ @@ -233,7 +233,7 @@ public String getStringRequiredNullable() { } /** - * Get the bytes property: Represent a byte array. + * Get the bytes property: The bytes property. * * @return the bytes value. */ @@ -243,7 +243,7 @@ public byte[] getBytes() { } /** - * Get the intProperty property: A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`). + * Get the intProperty property: The int property. * * @return the intProperty value. */ @@ -253,7 +253,7 @@ public Integer getIntProperty() { } /** - * Get the longProperty property: A 64-bit integer. (`-9,223,372,036,854,775,808` to `9,223,372,036,854,775,807`). + * Get the longProperty property: The long property. * * @return the longProperty value. */ @@ -263,7 +263,7 @@ public Long getLongProperty() { } /** - * Get the floatProperty property: A 32 bit floating point number. (`±5.0 × 10^−324` to `±1.7 × 10^308`). + * Get the floatProperty property: The float property. * * @return the floatProperty value. */ @@ -273,7 +273,7 @@ public Double getFloatProperty() { } /** - * Get the doubleProperty property: A 32 bit floating point number. (`±1.5 x 10^−45` to `±3.4 x 10^38`). + * Get the doubleProperty property: The double property. * * @return the doubleProperty value. */ diff --git a/typespec-tests/src/main/java/com/cadl/optional/models/ImmutableModel.java b/typespec-tests/src/main/java/com/cadl/optional/models/ImmutableModel.java index abc45eaebd..6494cc8957 100644 --- a/typespec-tests/src/main/java/com/cadl/optional/models/ImmutableModel.java +++ b/typespec-tests/src/main/java/com/cadl/optional/models/ImmutableModel.java @@ -18,13 +18,13 @@ @Immutable public final class ImmutableModel implements JsonSerializable { /* - * A sequence of textual characters. + * The stringReadWriteRequired property. */ @Generated private final String stringReadWriteRequired; /* - * A sequence of textual characters. + * The stringReadOnlyOptional property. */ @Generated private String stringReadOnlyOptional; @@ -40,7 +40,7 @@ private ImmutableModel(String stringReadWriteRequired) { } /** - * Get the stringReadWriteRequired property: A sequence of textual characters. + * Get the stringReadWriteRequired property: The stringReadWriteRequired property. * * @return the stringReadWriteRequired value. */ @@ -50,7 +50,7 @@ public String getStringReadWriteRequired() { } /** - * Get the stringReadOnlyOptional property: A sequence of textual characters. + * Get the stringReadOnlyOptional property: The stringReadOnlyOptional property. * * @return the stringReadOnlyOptional value. */ diff --git a/typespec-tests/src/main/java/com/cadl/optional/models/Optional.java b/typespec-tests/src/main/java/com/cadl/optional/models/Optional.java index d05eccbbce..8efd0c185e 100644 --- a/typespec-tests/src/main/java/com/cadl/optional/models/Optional.java +++ b/typespec-tests/src/main/java/com/cadl/optional/models/Optional.java @@ -26,79 +26,79 @@ @Fluent public final class Optional implements JsonSerializable { /* - * Boolean with `true` and `false` values. + * The boolean property. */ @Generated private Boolean booleanProperty; /* - * Boolean with `true` and `false` values. + * The booleanNullable property. */ @Generated private Boolean booleanNullable; /* - * Boolean with `true` and `false` values. + * The booleanRequired property. */ @Generated private final boolean booleanRequired; /* - * Boolean with `true` and `false` values. + * The booleanRequiredNullable property. */ @Generated private final Boolean booleanRequiredNullable; /* - * A sequence of textual characters. + * The string property. */ @Generated private String string; /* - * A sequence of textual characters. + * The stringNullable property. */ @Generated private String stringNullable; /* - * A sequence of textual characters. + * The stringRequired property. */ @Generated private final String stringRequired; /* - * A sequence of textual characters. + * The stringRequiredNullable property. */ @Generated private final String stringRequiredNullable; /* - * Represent a byte array + * The bytes property. */ @Generated private byte[] bytes; /* - * A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) + * The int property. */ @Generated private Integer intProperty; /* - * A 64-bit integer. (`-9,223,372,036,854,775,808` to `9,223,372,036,854,775,807`) + * The long property. */ @Generated private Long longProperty; /* - * A 32 bit floating point number. (`±5.0 × 10^−324` to `±1.7 × 10^308`) + * The float property. */ @Generated private Double floatProperty; /* - * A 32 bit floating point number. (`±1.5 x 10^−45` to `±3.4 x 10^38`) + * The double property. */ @Generated private Double doubleProperty; @@ -163,7 +163,7 @@ public Optional(boolean booleanRequired, Boolean booleanRequiredNullable, String } /** - * Get the booleanProperty property: Boolean with `true` and `false` values. + * Get the booleanProperty property: The boolean property. * * @return the booleanProperty value. */ @@ -173,7 +173,7 @@ public Boolean isBooleanProperty() { } /** - * Set the booleanProperty property: Boolean with `true` and `false` values. + * Set the booleanProperty property: The boolean property. * * @param booleanProperty the booleanProperty value to set. * @return the Optional object itself. @@ -185,7 +185,7 @@ public Optional setBooleanProperty(Boolean booleanProperty) { } /** - * Get the booleanNullable property: Boolean with `true` and `false` values. + * Get the booleanNullable property: The booleanNullable property. * * @return the booleanNullable value. */ @@ -195,7 +195,7 @@ public Boolean isBooleanNullable() { } /** - * Set the booleanNullable property: Boolean with `true` and `false` values. + * Set the booleanNullable property: The booleanNullable property. * * @param booleanNullable the booleanNullable value to set. * @return the Optional object itself. @@ -207,7 +207,7 @@ public Optional setBooleanNullable(Boolean booleanNullable) { } /** - * Get the booleanRequired property: Boolean with `true` and `false` values. + * Get the booleanRequired property: The booleanRequired property. * * @return the booleanRequired value. */ @@ -217,7 +217,7 @@ public boolean isBooleanRequired() { } /** - * Get the booleanRequiredNullable property: Boolean with `true` and `false` values. + * Get the booleanRequiredNullable property: The booleanRequiredNullable property. * * @return the booleanRequiredNullable value. */ @@ -227,7 +227,7 @@ public Boolean isBooleanRequiredNullable() { } /** - * Get the string property: A sequence of textual characters. + * Get the string property: The string property. * * @return the string value. */ @@ -237,7 +237,7 @@ public String getString() { } /** - * Set the string property: A sequence of textual characters. + * Set the string property: The string property. * * @param string the string value to set. * @return the Optional object itself. @@ -249,7 +249,7 @@ public Optional setString(String string) { } /** - * Get the stringNullable property: A sequence of textual characters. + * Get the stringNullable property: The stringNullable property. * * @return the stringNullable value. */ @@ -259,7 +259,7 @@ public String getStringNullable() { } /** - * Set the stringNullable property: A sequence of textual characters. + * Set the stringNullable property: The stringNullable property. * * @param stringNullable the stringNullable value to set. * @return the Optional object itself. @@ -271,7 +271,7 @@ public Optional setStringNullable(String stringNullable) { } /** - * Get the stringRequired property: A sequence of textual characters. + * Get the stringRequired property: The stringRequired property. * * @return the stringRequired value. */ @@ -281,7 +281,7 @@ public String getStringRequired() { } /** - * Get the stringRequiredNullable property: A sequence of textual characters. + * Get the stringRequiredNullable property: The stringRequiredNullable property. * * @return the stringRequiredNullable value. */ @@ -291,7 +291,7 @@ public String getStringRequiredNullable() { } /** - * Get the bytes property: Represent a byte array. + * Get the bytes property: The bytes property. * * @return the bytes value. */ @@ -301,7 +301,7 @@ public byte[] getBytes() { } /** - * Set the bytes property: Represent a byte array. + * Set the bytes property: The bytes property. * * @param bytes the bytes value to set. * @return the Optional object itself. @@ -313,7 +313,7 @@ public Optional setBytes(byte[] bytes) { } /** - * Get the intProperty property: A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`). + * Get the intProperty property: The int property. * * @return the intProperty value. */ @@ -323,7 +323,7 @@ public Integer getIntProperty() { } /** - * Set the intProperty property: A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`). + * Set the intProperty property: The int property. * * @param intProperty the intProperty value to set. * @return the Optional object itself. @@ -335,7 +335,7 @@ public Optional setIntProperty(Integer intProperty) { } /** - * Get the longProperty property: A 64-bit integer. (`-9,223,372,036,854,775,808` to `9,223,372,036,854,775,807`). + * Get the longProperty property: The long property. * * @return the longProperty value. */ @@ -345,7 +345,7 @@ public Long getLongProperty() { } /** - * Set the longProperty property: A 64-bit integer. (`-9,223,372,036,854,775,808` to `9,223,372,036,854,775,807`). + * Set the longProperty property: The long property. * * @param longProperty the longProperty value to set. * @return the Optional object itself. @@ -357,7 +357,7 @@ public Optional setLongProperty(Long longProperty) { } /** - * Get the floatProperty property: A 32 bit floating point number. (`±5.0 × 10^−324` to `±1.7 × 10^308`). + * Get the floatProperty property: The float property. * * @return the floatProperty value. */ @@ -367,7 +367,7 @@ public Double getFloatProperty() { } /** - * Set the floatProperty property: A 32 bit floating point number. (`±5.0 × 10^−324` to `±1.7 × 10^308`). + * Set the floatProperty property: The float property. * * @param floatProperty the floatProperty value to set. * @return the Optional object itself. @@ -379,7 +379,7 @@ public Optional setFloatProperty(Double floatProperty) { } /** - * Get the doubleProperty property: A 32 bit floating point number. (`±1.5 x 10^−45` to `±3.4 x 10^38`). + * Get the doubleProperty property: The double property. * * @return the doubleProperty value. */ @@ -389,7 +389,7 @@ public Double getDoubleProperty() { } /** - * Set the doubleProperty property: A 32 bit floating point number. (`±1.5 x 10^−45` to `±3.4 x 10^38`). + * Set the doubleProperty property: The double property. * * @param doubleProperty the doubleProperty value to set. * @return the Optional object itself. diff --git a/typespec-tests/src/main/java/com/cadl/partialupdate/models/PartialUpdateModel.java b/typespec-tests/src/main/java/com/cadl/partialupdate/models/PartialUpdateModel.java index 3a95bc376e..f48074e1c7 100644 --- a/typespec-tests/src/main/java/com/cadl/partialupdate/models/PartialUpdateModel.java +++ b/typespec-tests/src/main/java/com/cadl/partialupdate/models/PartialUpdateModel.java @@ -19,19 +19,19 @@ public final class PartialUpdateModel implements JsonSerializable { /* - * Boolean with `true` and `false` values. + * The boolean property. */ @Generated private final boolean booleanProperty; /* - * A sequence of textual characters. + * The string property. */ @Generated private final String string; /* - * Represent a byte array + * The bytes property. */ @Generated private final byte[] bytes; @@ -65,7 +65,7 @@ private PartialUpdateModel(boolean booleanProperty, String string, byte[] bytes) } /** - * Get the booleanProperty property: Boolean with `true` and `false` values. + * Get the booleanProperty property: The boolean property. * * @return the booleanProperty value. */ @@ -75,7 +75,7 @@ public boolean isBooleanProperty() { } /** - * Get the string property: A sequence of textual characters. + * Get the string property: The string property. * * @return the string value. */ @@ -85,7 +85,7 @@ public String getString() { } /** - * Get the bytes property: Represent a byte array. + * Get the bytes property: The bytes property. * * @return the bytes value. */ diff --git a/typespec-tests/src/main/java/com/cadl/patch/PatchAsyncClient.java b/typespec-tests/src/main/java/com/cadl/patch/PatchAsyncClient.java index f060ecae71..f0b7f8c71a 100644 --- a/typespec-tests/src/main/java/com/cadl/patch/PatchAsyncClient.java +++ b/typespec-tests/src/main/java/com/cadl/patch/PatchAsyncClient.java @@ -219,8 +219,6 @@ public Mono> createOrUpdateOptionalResourceWithResponse(Req * } * * @param fish This is base model for polymorphic multiple levels inheritance with a discriminator. - * - * The fish parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -309,8 +307,6 @@ public Mono createOrUpdateOptionalResource() { * The createOrUpdateFish operation. * * @param fish This is base model for polymorphic multiple levels inheritance with a discriminator. - * - * The fish parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/cadl/patch/PatchClient.java b/typespec-tests/src/main/java/com/cadl/patch/PatchClient.java index d8c132d007..c84a6706ff 100644 --- a/typespec-tests/src/main/java/com/cadl/patch/PatchClient.java +++ b/typespec-tests/src/main/java/com/cadl/patch/PatchClient.java @@ -216,8 +216,6 @@ public Response createOrUpdateOptionalResourceWithResponse(RequestOp * } * * @param fish This is base model for polymorphic multiple levels inheritance with a discriminator. - * - * The fish parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -304,8 +302,6 @@ public Resource createOrUpdateOptionalResource() { * The createOrUpdateFish operation. * * @param fish This is base model for polymorphic multiple levels inheritance with a discriminator. - * - * The fish parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/cadl/patch/implementation/PatchesImpl.java b/typespec-tests/src/main/java/com/cadl/patch/implementation/PatchesImpl.java index 7d13b7a905..e746f756e1 100644 --- a/typespec-tests/src/main/java/com/cadl/patch/implementation/PatchesImpl.java +++ b/typespec-tests/src/main/java/com/cadl/patch/implementation/PatchesImpl.java @@ -471,8 +471,6 @@ public Response createOrUpdateOptionalResourceWithResponse(RequestOp * } * * @param fish This is base model for polymorphic multiple levels inheritance with a discriminator. - * - * The fish parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -517,8 +515,6 @@ public Mono> createOrUpdateFishWithResponseAsync(BinaryData * } * * @param fish This is base model for polymorphic multiple levels inheritance with a discriminator. - * - * The fish parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/cadl/patch/models/Fish.java b/typespec-tests/src/main/java/com/cadl/patch/models/Fish.java index c372f4d51e..db0480e59d 100644 --- a/typespec-tests/src/main/java/com/cadl/patch/models/Fish.java +++ b/typespec-tests/src/main/java/com/cadl/patch/models/Fish.java @@ -27,25 +27,25 @@ public class Fish implements JsonSerializable { private String kind; /* - * A sequence of textual characters. + * The id property. */ @Generated private String id; /* - * A sequence of textual characters. + * The name property. */ @Generated private String name; /* - * A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) + * The age property. */ @Generated private int age; /* - * A sequence of textual characters. + * The color property. */ @Generated private String color; @@ -91,7 +91,7 @@ public String getKind() { } /** - * Get the id property: A sequence of textual characters. + * Get the id property: The id property. * * @return the id value. */ @@ -101,7 +101,7 @@ public String getId() { } /** - * Set the id property: A sequence of textual characters. + * Set the id property: The id property. * * @param id the id value to set. * @return the Fish object itself. @@ -114,7 +114,7 @@ Fish setId(String id) { } /** - * Get the name property: A sequence of textual characters. + * Get the name property: The name property. * * @return the name value. */ @@ -124,7 +124,7 @@ public String getName() { } /** - * Set the name property: A sequence of textual characters. + * Set the name property: The name property. * * @param name the name value to set. * @return the Fish object itself. @@ -137,7 +137,7 @@ Fish setName(String name) { } /** - * Get the age property: A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`). + * Get the age property: The age property. * * @return the age value. */ @@ -147,7 +147,7 @@ public int getAge() { } /** - * Set the age property: A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`). + * Set the age property: The age property. *

Required when create the resource.

* * @param age the age value to set. @@ -161,7 +161,7 @@ public Fish setAge(int age) { } /** - * Get the color property: A sequence of textual characters. + * Get the color property: The color property. * * @return the color value. */ @@ -171,7 +171,7 @@ public String getColor() { } /** - * Set the color property: A sequence of textual characters. + * Set the color property: The color property. * * @param color the color value to set. * @return the Fish object itself. diff --git a/typespec-tests/src/main/java/com/cadl/patch/models/InnerModel.java b/typespec-tests/src/main/java/com/cadl/patch/models/InnerModel.java index d0491199f8..c48a55b913 100644 --- a/typespec-tests/src/main/java/com/cadl/patch/models/InnerModel.java +++ b/typespec-tests/src/main/java/com/cadl/patch/models/InnerModel.java @@ -21,13 +21,13 @@ @Fluent public final class InnerModel implements JsonSerializable { /* - * A sequence of textual characters. + * The name property. */ @Generated private String name; /* - * A sequence of textual characters. + * The description property. */ @Generated private String description; @@ -61,7 +61,7 @@ public InnerModel() { } /** - * Get the name property: A sequence of textual characters. + * Get the name property: The name property. * * @return the name value. */ @@ -71,7 +71,7 @@ public String getName() { } /** - * Set the name property: A sequence of textual characters. + * Set the name property: The name property. *

Required when create the resource.

* * @param name the name value to set. @@ -85,7 +85,7 @@ public InnerModel setName(String name) { } /** - * Get the description property: A sequence of textual characters. + * Get the description property: The description property. * * @return the description value. */ @@ -95,7 +95,7 @@ public String getDescription() { } /** - * Set the description property: A sequence of textual characters. + * Set the description property: The description property. * * @param description the description value to set. * @return the InnerModel object itself. diff --git a/typespec-tests/src/main/java/com/cadl/patch/models/Resource.java b/typespec-tests/src/main/java/com/cadl/patch/models/Resource.java index 9d5e7972c5..800d6f09fd 100644 --- a/typespec-tests/src/main/java/com/cadl/patch/models/Resource.java +++ b/typespec-tests/src/main/java/com/cadl/patch/models/Resource.java @@ -23,19 +23,19 @@ @Fluent public final class Resource implements JsonSerializable { /* - * A sequence of textual characters. + * The id property. */ @Generated private String id; /* - * A sequence of textual characters. + * The name property. */ @Generated private String name; /* - * A sequence of textual characters. + * The description property. */ @Generated private String description; @@ -47,13 +47,13 @@ public final class Resource implements JsonSerializable { private Map map; /* - * A 64-bit integer. (`-9,223,372,036,854,775,808` to `9,223,372,036,854,775,807`) + * The longValue property. */ @Generated private Long longValue; /* - * A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) + * The intValue property. */ @Generated private Integer intValue; @@ -77,7 +77,7 @@ public final class Resource implements JsonSerializable { private List array; /* - * This is base model for polymorphic multiple levels inheritance with a discriminator. + * The fish property. */ @Generated private Fish fish; @@ -111,7 +111,7 @@ public Resource() { } /** - * Get the id property: A sequence of textual characters. + * Get the id property: The id property. * * @return the id value. */ @@ -121,7 +121,7 @@ public String getId() { } /** - * Get the name property: A sequence of textual characters. + * Get the name property: The name property. * * @return the name value. */ @@ -131,7 +131,7 @@ public String getName() { } /** - * Get the description property: A sequence of textual characters. + * Get the description property: The description property. * * @return the description value. */ @@ -141,7 +141,7 @@ public String getDescription() { } /** - * Set the description property: A sequence of textual characters. + * Set the description property: The description property. * * @param description the description value to set. * @return the Resource object itself. @@ -178,7 +178,7 @@ public Resource setMap(Map map) { } /** - * Get the longValue property: A 64-bit integer. (`-9,223,372,036,854,775,808` to `9,223,372,036,854,775,807`). + * Get the longValue property: The longValue property. * * @return the longValue value. */ @@ -188,7 +188,7 @@ public Long getLongValue() { } /** - * Set the longValue property: A 64-bit integer. (`-9,223,372,036,854,775,808` to `9,223,372,036,854,775,807`). + * Set the longValue property: The longValue property. * * @param longValue the longValue value to set. * @return the Resource object itself. @@ -201,7 +201,7 @@ public Resource setLongValue(Long longValue) { } /** - * Get the intValue property: A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`). + * Get the intValue property: The intValue property. * * @return the intValue value. */ @@ -211,7 +211,7 @@ public Integer getIntValue() { } /** - * Set the intValue property: A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`). + * Set the intValue property: The intValue property. * * @param intValue the intValue value to set. * @return the Resource object itself. @@ -293,7 +293,7 @@ public Resource setArray(List array) { } /** - * Get the fish property: This is base model for polymorphic multiple levels inheritance with a discriminator. + * Get the fish property: The fish property. * * @return the fish value. */ @@ -303,7 +303,7 @@ public Fish getFish() { } /** - * Set the fish property: This is base model for polymorphic multiple levels inheritance with a discriminator. + * Set the fish property: The fish property. * * @param fish the fish value to set. * @return the Resource object itself. diff --git a/typespec-tests/src/main/java/com/cadl/patch/models/Salmon.java b/typespec-tests/src/main/java/com/cadl/patch/models/Salmon.java index 7dab95453d..5b7986ab13 100644 --- a/typespec-tests/src/main/java/com/cadl/patch/models/Salmon.java +++ b/typespec-tests/src/main/java/com/cadl/patch/models/Salmon.java @@ -41,7 +41,7 @@ public final class Salmon extends Fish { private Map hate; /* - * This is base model for polymorphic multiple levels inheritance with a discriminator. + * The partner property. */ @Generated private Fish partner; @@ -133,7 +133,7 @@ public Salmon setHate(Map hate) { } /** - * Get the partner property: This is base model for polymorphic multiple levels inheritance with a discriminator. + * Get the partner property: The partner property. * * @return the partner value. */ @@ -143,7 +143,7 @@ public Fish getPartner() { } /** - * Set the partner property: This is base model for polymorphic multiple levels inheritance with a discriminator. + * Set the partner property: The partner property. * * @param partner the partner value to set. * @return the Salmon object itself. diff --git a/typespec-tests/src/main/java/com/cadl/protocolandconvenient/ProtocolAndConvenientAsyncClient.java b/typespec-tests/src/main/java/com/cadl/protocolandconvenient/ProtocolAndConvenientAsyncClient.java index 85ab8347f7..c0d5a1cafe 100644 --- a/typespec-tests/src/main/java/com/cadl/protocolandconvenient/ProtocolAndConvenientAsyncClient.java +++ b/typespec-tests/src/main/java/com/cadl/protocolandconvenient/ProtocolAndConvenientAsyncClient.java @@ -211,8 +211,6 @@ Mono> errorSettingWithResponse(BinaryData body, RequestOpti * } * * @param name A sequence of textual characters. - * - * The name parameter. * @param resource The resource parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -235,9 +233,7 @@ PollerFlux beginCreateOrReplace(String name, BinaryData * Query Parameters * NameTypeRequiredDescription * maxresultsLongNoAn integer that can be serialized to JSON (`−9007199254740991 - * (−(2^53 − 1))` to `9007199254740991 (2^53 − 1)` ) - * - * The maxPageSize parameter + * (−(2^53 − 1))` to `9007199254740991 (2^53 − 1)` ) * * You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

@@ -310,8 +306,6 @@ public Mono bothConvenientAndProtocol(ResourceE body) { * Long running operation. * * @param name A sequence of textual characters. - * - * The name parameter. * @param resource The resource parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. diff --git a/typespec-tests/src/main/java/com/cadl/protocolandconvenient/ProtocolAndConvenientClient.java b/typespec-tests/src/main/java/com/cadl/protocolandconvenient/ProtocolAndConvenientClient.java index 210c90449c..27e222bd6c 100644 --- a/typespec-tests/src/main/java/com/cadl/protocolandconvenient/ProtocolAndConvenientClient.java +++ b/typespec-tests/src/main/java/com/cadl/protocolandconvenient/ProtocolAndConvenientClient.java @@ -204,8 +204,6 @@ Response errorSettingWithResponse(BinaryData body, RequestOptions re * } * * @param name A sequence of textual characters. - * - * The name parameter. * @param resource The resource parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -228,9 +226,7 @@ SyncPoller beginCreateOrReplace(String name, BinaryData * Query Parameters * NameTypeRequiredDescription * maxresultsLongNoAn integer that can be serialized to JSON (`−9007199254740991 - * (−(2^53 − 1))` to `9007199254740991 (2^53 − 1)` ) - * - * The maxPageSize parameter + * (−(2^53 − 1))` to `9007199254740991 (2^53 − 1)` ) * * You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

@@ -302,8 +298,6 @@ public ResourceF bothConvenientAndProtocol(ResourceE body) { * Long running operation. * * @param name A sequence of textual characters. - * - * The name parameter. * @param resource The resource parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. diff --git a/typespec-tests/src/main/java/com/cadl/protocolandconvenient/implementation/ProtocolAndConvenienceOpsImpl.java b/typespec-tests/src/main/java/com/cadl/protocolandconvenient/implementation/ProtocolAndConvenienceOpsImpl.java index 2030723c4b..814db4a063 100644 --- a/typespec-tests/src/main/java/com/cadl/protocolandconvenient/implementation/ProtocolAndConvenienceOpsImpl.java +++ b/typespec-tests/src/main/java/com/cadl/protocolandconvenient/implementation/ProtocolAndConvenienceOpsImpl.java @@ -533,8 +533,6 @@ public Response errorSettingWithResponse(BinaryData body, RequestOpt * } * * @param name A sequence of textual characters. - * - * The name parameter. * @param resource The resource parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -574,8 +572,6 @@ private Mono> createOrReplaceWithResponseAsync(String name, * } * * @param name A sequence of textual characters. - * - * The name parameter. * @param resource The resource parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -615,8 +611,6 @@ private Response createOrReplaceWithResponse(String name, BinaryData * } * * @param name A sequence of textual characters. - * - * The name parameter. * @param resource The resource parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -663,8 +657,6 @@ public PollerFlux beginCreateOrReplaceAsync(String name, * } * * @param name A sequence of textual characters. - * - * The name parameter. * @param resource The resource parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -711,8 +703,6 @@ public SyncPoller beginCreateOrReplace(String name, Bina * } * * @param name A sequence of textual characters. - * - * The name parameter. * @param resource The resource parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -759,8 +749,6 @@ public PollerFlux beginCreateOrReplaceWithModel * } * * @param name A sequence of textual characters. - * - * The name parameter. * @param resource The resource parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -791,9 +779,7 @@ public SyncPoller beginCreateOrReplaceWithModel * Query Parameters * NameTypeRequiredDescription * maxresultsLongNoAn integer that can be serialized to JSON (`−9007199254740991 - * (−(2^53 − 1))` to `9007199254740991 (2^53 − 1)` ) - * - * The maxPageSize parameter + * (−(2^53 − 1))` to `9007199254740991 (2^53 − 1)` ) * * You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

@@ -831,9 +817,7 @@ private Mono> listSinglePageAsync(RequestOptions reque * Query Parameters * NameTypeRequiredDescription * maxresultsLongNoAn integer that can be serialized to JSON (`−9007199254740991 - * (−(2^53 − 1))` to `9007199254740991 (2^53 − 1)` ) - * - * The maxPageSize parameter + * (−(2^53 − 1))` to `9007199254740991 (2^53 − 1)` ) * * You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

@@ -889,9 +873,7 @@ public PagedFlux listAsync(RequestOptions requestOptions) { * Query Parameters * NameTypeRequiredDescription * maxresultsLongNoAn integer that can be serialized to JSON (`−9007199254740991 - * (−(2^53 − 1))` to `9007199254740991 (2^53 − 1)` ) - * - * The maxPageSize parameter + * (−(2^53 − 1))` to `9007199254740991 (2^53 − 1)` ) * * You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

@@ -927,9 +909,7 @@ private PagedResponse listSinglePage(RequestOptions requestOptions) * Query Parameters * NameTypeRequiredDescription * maxresultsLongNoAn integer that can be serialized to JSON (`−9007199254740991 - * (−(2^53 − 1))` to `9007199254740991 (2^53 − 1)` ) - * - * The maxPageSize parameter + * (−(2^53 − 1))` to `9007199254740991 (2^53 − 1)` ) * * You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

@@ -990,9 +970,7 @@ public PagedIterable list(RequestOptions requestOptions) { * } * } * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1023,9 +1001,7 @@ private Mono> listNextSinglePageAsync(String nextLink, * } * } * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/cadl/protocolandconvenient/models/ResourceA.java b/typespec-tests/src/main/java/com/cadl/protocolandconvenient/models/ResourceA.java index 26fcb70dd2..458cc5470d 100644 --- a/typespec-tests/src/main/java/com/cadl/protocolandconvenient/models/ResourceA.java +++ b/typespec-tests/src/main/java/com/cadl/protocolandconvenient/models/ResourceA.java @@ -18,13 +18,13 @@ @Immutable public final class ResourceA implements JsonSerializable { /* - * A sequence of textual characters. + * The id property. */ @Generated private String id; /* - * A sequence of textual characters. + * The name property. */ @Generated private final String name; @@ -40,7 +40,7 @@ public ResourceA(String name) { } /** - * Get the id property: A sequence of textual characters. + * Get the id property: The id property. * * @return the id value. */ @@ -50,7 +50,7 @@ public String getId() { } /** - * Get the name property: A sequence of textual characters. + * Get the name property: The name property. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/cadl/protocolandconvenient/models/ResourceB.java b/typespec-tests/src/main/java/com/cadl/protocolandconvenient/models/ResourceB.java index e631704925..3b110fb40f 100644 --- a/typespec-tests/src/main/java/com/cadl/protocolandconvenient/models/ResourceB.java +++ b/typespec-tests/src/main/java/com/cadl/protocolandconvenient/models/ResourceB.java @@ -18,13 +18,13 @@ @Immutable public final class ResourceB implements JsonSerializable { /* - * A sequence of textual characters. + * The id property. */ @Generated private String id; /* - * A sequence of textual characters. + * The name property. */ @Generated private final String name; @@ -40,7 +40,7 @@ private ResourceB(String name) { } /** - * Get the id property: A sequence of textual characters. + * Get the id property: The id property. * * @return the id value. */ @@ -50,7 +50,7 @@ public String getId() { } /** - * Get the name property: A sequence of textual characters. + * Get the name property: The name property. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/cadl/protocolandconvenient/models/ResourceE.java b/typespec-tests/src/main/java/com/cadl/protocolandconvenient/models/ResourceE.java index 3f9d8d1b09..6072f07cb2 100644 --- a/typespec-tests/src/main/java/com/cadl/protocolandconvenient/models/ResourceE.java +++ b/typespec-tests/src/main/java/com/cadl/protocolandconvenient/models/ResourceE.java @@ -18,13 +18,13 @@ @Immutable public final class ResourceE implements JsonSerializable { /* - * A sequence of textual characters. + * The id property. */ @Generated private String id; /* - * A sequence of textual characters. + * The name property. */ @Generated private final String name; @@ -40,7 +40,7 @@ public ResourceE(String name) { } /** - * Get the id property: A sequence of textual characters. + * Get the id property: The id property. * * @return the id value. */ @@ -50,7 +50,7 @@ public String getId() { } /** - * Get the name property: A sequence of textual characters. + * Get the name property: The name property. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/cadl/protocolandconvenient/models/ResourceF.java b/typespec-tests/src/main/java/com/cadl/protocolandconvenient/models/ResourceF.java index dfc80d8832..b64e97d54f 100644 --- a/typespec-tests/src/main/java/com/cadl/protocolandconvenient/models/ResourceF.java +++ b/typespec-tests/src/main/java/com/cadl/protocolandconvenient/models/ResourceF.java @@ -18,13 +18,13 @@ @Immutable public final class ResourceF implements JsonSerializable { /* - * A sequence of textual characters. + * The id property. */ @Generated private String id; /* - * A sequence of textual characters. + * The name property. */ @Generated private final String name; @@ -40,7 +40,7 @@ private ResourceF(String name) { } /** - * Get the id property: A sequence of textual characters. + * Get the id property: The id property. * * @return the id value. */ @@ -50,7 +50,7 @@ public String getId() { } /** - * Get the name property: A sequence of textual characters. + * Get the name property: The name property. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/cadl/protocolandconvenient/models/ResourceI.java b/typespec-tests/src/main/java/com/cadl/protocolandconvenient/models/ResourceI.java index 9f94c59833..27a2880709 100644 --- a/typespec-tests/src/main/java/com/cadl/protocolandconvenient/models/ResourceI.java +++ b/typespec-tests/src/main/java/com/cadl/protocolandconvenient/models/ResourceI.java @@ -18,19 +18,19 @@ @Immutable public final class ResourceI implements JsonSerializable { /* - * A sequence of textual characters. + * The id property. */ @Generated private String id; /* - * A sequence of textual characters. + * The name property. */ @Generated private String name; /* - * A sequence of textual characters. + * The type property. */ @Generated private final String type; @@ -46,7 +46,7 @@ public ResourceI(String type) { } /** - * Get the id property: A sequence of textual characters. + * Get the id property: The id property. * * @return the id value. */ @@ -56,7 +56,7 @@ public String getId() { } /** - * Get the name property: A sequence of textual characters. + * Get the name property: The name property. * * @return the name value. */ @@ -66,7 +66,7 @@ public String getName() { } /** - * Get the type property: A sequence of textual characters. + * Get the type property: The type property. * * @return the type value. */ diff --git a/typespec-tests/src/main/java/com/cadl/protocolandconvenient/models/ResourceJ.java b/typespec-tests/src/main/java/com/cadl/protocolandconvenient/models/ResourceJ.java index 329d37bafa..a7acda88f5 100644 --- a/typespec-tests/src/main/java/com/cadl/protocolandconvenient/models/ResourceJ.java +++ b/typespec-tests/src/main/java/com/cadl/protocolandconvenient/models/ResourceJ.java @@ -18,19 +18,19 @@ @Immutable public final class ResourceJ implements JsonSerializable { /* - * A sequence of textual characters. + * The id property. */ @Generated private String id; /* - * A sequence of textual characters. + * The name property. */ @Generated private String name; /* - * A sequence of textual characters. + * The type property. */ @Generated private final String type; @@ -46,7 +46,7 @@ private ResourceJ(String type) { } /** - * Get the id property: A sequence of textual characters. + * Get the id property: The id property. * * @return the id value. */ @@ -56,7 +56,7 @@ public String getId() { } /** - * Get the name property: A sequence of textual characters. + * Get the name property: The name property. * * @return the name value. */ @@ -66,7 +66,7 @@ public String getName() { } /** - * Get the type property: A sequence of textual characters. + * Get the type property: The type property. * * @return the type value. */ diff --git a/typespec-tests/src/main/java/com/cadl/response/implementation/ResponseClientImpl.java b/typespec-tests/src/main/java/com/cadl/response/implementation/ResponseClientImpl.java index 098b3acc53..3768b19167 100644 --- a/typespec-tests/src/main/java/com/cadl/response/implementation/ResponseClientImpl.java +++ b/typespec-tests/src/main/java/com/cadl/response/implementation/ResponseClientImpl.java @@ -1266,9 +1266,7 @@ public PagedIterable listIntegers(RequestOptions requestOptions) { * String * } * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1295,9 +1293,7 @@ private Mono> listStringsNextSinglePageAsync(String ne * String * } * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1322,9 +1318,7 @@ private PagedResponse listStringsNextSinglePage(String nextLink, Req * int * } * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1351,9 +1345,7 @@ private Mono> listIntegersNextSinglePageAsync(String n * int * } * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/cadl/response/models/OperationDetails1.java b/typespec-tests/src/main/java/com/cadl/response/models/OperationDetails1.java index a3ae62c50b..ecffe912a1 100644 --- a/typespec-tests/src/main/java/com/cadl/response/models/OperationDetails1.java +++ b/typespec-tests/src/main/java/com/cadl/response/models/OperationDetails1.java @@ -25,13 +25,13 @@ public final class OperationDetails1 implements JsonSerializable { /* - * A sequence of textual characters. + * The id property. */ @Generated private String id; /* - * A sequence of textual characters. + * The name property. */ @Generated private String name; /* - * A sequence of textual characters. + * The description property. */ @Generated private String description; /* - * A sequence of textual characters. + * The type property. */ @Generated private final String type; @@ -52,7 +52,7 @@ public Resource(String type) { } /** - * Get the id property: A sequence of textual characters. + * Get the id property: The id property. * * @return the id value. */ @@ -62,7 +62,7 @@ public String getId() { } /** - * Get the name property: A sequence of textual characters. + * Get the name property: The name property. * * @return the name value. */ @@ -72,7 +72,7 @@ public String getName() { } /** - * Get the description property: A sequence of textual characters. + * Get the description property: The description property. * * @return the description value. */ @@ -82,7 +82,7 @@ public String getDescription() { } /** - * Set the description property: A sequence of textual characters. + * Set the description property: The description property. * * @param description the description value to set. * @return the Resource object itself. @@ -94,7 +94,7 @@ public Resource setDescription(String description) { } /** - * Get the type property: A sequence of textual characters. + * Get the type property: The type property. * * @return the type value. */ diff --git a/typespec-tests/src/main/java/com/cadl/server/ContosoAsyncClient.java b/typespec-tests/src/main/java/com/cadl/server/ContosoAsyncClient.java index 327a3d0dc5..fba993b0d3 100644 --- a/typespec-tests/src/main/java/com/cadl/server/ContosoAsyncClient.java +++ b/typespec-tests/src/main/java/com/cadl/server/ContosoAsyncClient.java @@ -39,9 +39,7 @@ public final class ContosoAsyncClient { /** * The get operation. * - * @param group Represent a URL string as described by https://url.spec.whatwg.org/ - * - * The group parameter. + * @param group Represent a URL string as described by https://url.spec.whatwg.org/. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -58,9 +56,7 @@ public Mono> getWithResponse(String group, RequestOptions request /** * The get operation. * - * @param group Represent a URL string as described by https://url.spec.whatwg.org/ - * - * The group parameter. + * @param group Represent a URL string as described by https://url.spec.whatwg.org/. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/cadl/server/ContosoClient.java b/typespec-tests/src/main/java/com/cadl/server/ContosoClient.java index a4ce8c133f..6e754fb8a5 100644 --- a/typespec-tests/src/main/java/com/cadl/server/ContosoClient.java +++ b/typespec-tests/src/main/java/com/cadl/server/ContosoClient.java @@ -37,9 +37,7 @@ public final class ContosoClient { /** * The get operation. * - * @param group Represent a URL string as described by https://url.spec.whatwg.org/ - * - * The group parameter. + * @param group Represent a URL string as described by https://url.spec.whatwg.org/. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -56,9 +54,7 @@ public Response getWithResponse(String group, RequestOptions requestOption /** * The get operation. * - * @param group Represent a URL string as described by https://url.spec.whatwg.org/ - * - * The group parameter. + * @param group Represent a URL string as described by https://url.spec.whatwg.org/. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/cadl/server/HttpbinAsyncClient.java b/typespec-tests/src/main/java/com/cadl/server/HttpbinAsyncClient.java index f55838f67b..421f32a5ee 100644 --- a/typespec-tests/src/main/java/com/cadl/server/HttpbinAsyncClient.java +++ b/typespec-tests/src/main/java/com/cadl/server/HttpbinAsyncClient.java @@ -39,9 +39,7 @@ public final class HttpbinAsyncClient { /** * The status operation. * - * @param code A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) - * - * The code parameter. + * @param code A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`). * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -58,9 +56,7 @@ public Mono> statusWithResponse(int code, RequestOptions requestO /** * The status operation. * - * @param code A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) - * - * The code parameter. + * @param code A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`). * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/cadl/server/HttpbinClient.java b/typespec-tests/src/main/java/com/cadl/server/HttpbinClient.java index 692b81ee96..229dab35e6 100644 --- a/typespec-tests/src/main/java/com/cadl/server/HttpbinClient.java +++ b/typespec-tests/src/main/java/com/cadl/server/HttpbinClient.java @@ -37,9 +37,7 @@ public final class HttpbinClient { /** * The status operation. * - * @param code A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) - * - * The code parameter. + * @param code A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`). * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -56,9 +54,7 @@ public Response statusWithResponse(int code, RequestOptions requestOptions /** * The status operation. * - * @param code A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) - * - * The code parameter. + * @param code A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`). * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/cadl/server/implementation/ContosoClientImpl.java b/typespec-tests/src/main/java/com/cadl/server/implementation/ContosoClientImpl.java index 68038e0530..24060b976d 100644 --- a/typespec-tests/src/main/java/com/cadl/server/implementation/ContosoClientImpl.java +++ b/typespec-tests/src/main/java/com/cadl/server/implementation/ContosoClientImpl.java @@ -166,9 +166,7 @@ Response getSync(@HostParam("Endpoint") String endpoint, @HostParam("ApiVe /** * The get operation. * - * @param group Represent a URL string as described by https://url.spec.whatwg.org/ - * - * The group parameter. + * @param group Represent a URL string as described by https://url.spec.whatwg.org/. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -186,9 +184,7 @@ public Mono> getWithResponseAsync(String group, RequestOptions re /** * The get operation. * - * @param group Represent a URL string as described by https://url.spec.whatwg.org/ - * - * The group parameter. + * @param group Represent a URL string as described by https://url.spec.whatwg.org/. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/cadl/server/implementation/HttpbinClientImpl.java b/typespec-tests/src/main/java/com/cadl/server/implementation/HttpbinClientImpl.java index 14edfc92d1..483b591b10 100644 --- a/typespec-tests/src/main/java/com/cadl/server/implementation/HttpbinClientImpl.java +++ b/typespec-tests/src/main/java/com/cadl/server/implementation/HttpbinClientImpl.java @@ -165,9 +165,7 @@ Response statusSync(@HostParam("domain") String domain, @HostParam("tld") /** * The status operation. * - * @param code A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) - * - * The code parameter. + * @param code A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`). * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -185,9 +183,7 @@ public Mono> statusWithResponseAsync(int code, RequestOptions req /** * The status operation. * - * @param code A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) - * - * The code parameter. + * @param code A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`). * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/cadl/specialchars/implementation/models/ReadRequest.java b/typespec-tests/src/main/java/com/cadl/specialchars/implementation/models/ReadRequest.java index a3588bd3d3..dd33077211 100644 --- a/typespec-tests/src/main/java/com/cadl/specialchars/implementation/models/ReadRequest.java +++ b/typespec-tests/src/main/java/com/cadl/specialchars/implementation/models/ReadRequest.java @@ -18,7 +18,7 @@ @Immutable public final class ReadRequest implements JsonSerializable { /* - * A sequence of textual characters. + * The id property. */ @Generated private final String id; @@ -34,7 +34,7 @@ public ReadRequest(String id) { } /** - * Get the id property: A sequence of textual characters. + * Get the id property: The id property. * * @return the id value. */ diff --git a/typespec-tests/src/main/java/com/cadl/specialheaders/EtagHeadersAsyncClient.java b/typespec-tests/src/main/java/com/cadl/specialheaders/EtagHeadersAsyncClient.java index 701d32af5f..877fd7d0d6 100644 --- a/typespec-tests/src/main/java/com/cadl/specialheaders/EtagHeadersAsyncClient.java +++ b/typespec-tests/src/main/java/com/cadl/specialheaders/EtagHeadersAsyncClient.java @@ -55,12 +55,8 @@ public final class EtagHeadersAsyncClient { * * * - * - * + * + * * * *
Header Parameters
NameTypeRequiredDescription
If-MatchStringNoA sequence of textual characters. - * - * The ifMatch parameter
If-None-MatchStringNoA sequence of textual characters. - * - * The ifNoneMatch parameter
If-MatchStringNoA sequence of textual characters.
If-None-MatchStringNoA sequence of textual characters.
If-Unmodified-SinceOffsetDateTimeNoThe ifUnmodifiedSince parameter
If-Modified-SinceOffsetDateTimeNoThe ifModifiedSince parameter
@@ -88,8 +84,6 @@ public final class EtagHeadersAsyncClient { * } * * @param name A sequence of textual characters. - * - * The name parameter. * @param resource The resource parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -111,12 +105,8 @@ public Mono> putWithRequestHeadersWithResponse(String name, * * * - * - * + * + * *
Header Parameters
NameTypeRequiredDescription
If-MatchStringNoA sequence of textual characters. - * - * The ifMatch parameter
If-None-MatchStringNoA sequence of textual characters. - * - * The ifNoneMatch parameter
If-MatchStringNoA sequence of textual characters.
If-None-MatchStringNoA sequence of textual characters.
* You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

@@ -142,8 +132,6 @@ public Mono> putWithRequestHeadersWithResponse(String name, * } * * @param name A sequence of textual characters. - * - * The name parameter. * @param resource The resource parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -189,8 +177,6 @@ public PagedFlux listWithEtag(RequestOptions requestOptions) { * Create or replace operation template. * * @param name A sequence of textual characters. - * - * The name parameter. * @param resource The resource parameter. * @param requestConditions Specifies HTTP options for conditional requests based on modification time. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -233,8 +219,6 @@ public Mono putWithRequestHeaders(String name, Resource resource, Requ * Create or replace operation template. * * @param name A sequence of textual characters. - * - * The name parameter. * @param resource The resource parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -258,8 +242,6 @@ public Mono putWithRequestHeaders(String name, Resource resource) { * Create or update operation template. * * @param name A sequence of textual characters. - * - * The name parameter. * @param resource The resource parameter. * @param matchConditions Specifies HTTP options for conditional requests. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -294,8 +276,6 @@ public Mono patchWithMatchHeaders(String name, Resource resource, Matc * Create or update operation template. * * @param name A sequence of textual characters. - * - * The name parameter. * @param resource The resource parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. diff --git a/typespec-tests/src/main/java/com/cadl/specialheaders/EtagHeadersClient.java b/typespec-tests/src/main/java/com/cadl/specialheaders/EtagHeadersClient.java index f49ea46245..aeeb3d781a 100644 --- a/typespec-tests/src/main/java/com/cadl/specialheaders/EtagHeadersClient.java +++ b/typespec-tests/src/main/java/com/cadl/specialheaders/EtagHeadersClient.java @@ -49,12 +49,8 @@ public final class EtagHeadersClient { * * * - * - * + * + * * * *
Header Parameters
NameTypeRequiredDescription
If-MatchStringNoA sequence of textual characters. - * - * The ifMatch parameter
If-None-MatchStringNoA sequence of textual characters. - * - * The ifNoneMatch parameter
If-MatchStringNoA sequence of textual characters.
If-None-MatchStringNoA sequence of textual characters.
If-Unmodified-SinceOffsetDateTimeNoThe ifUnmodifiedSince parameter
If-Modified-SinceOffsetDateTimeNoThe ifModifiedSince parameter
@@ -82,8 +78,6 @@ public final class EtagHeadersClient { * } * * @param name A sequence of textual characters. - * - * The name parameter. * @param resource The resource parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -105,12 +99,8 @@ public Response putWithRequestHeadersWithResponse(String name, Binar * * * - * - * + * + * *
Header Parameters
NameTypeRequiredDescription
If-MatchStringNoA sequence of textual characters. - * - * The ifMatch parameter
If-None-MatchStringNoA sequence of textual characters. - * - * The ifNoneMatch parameter
If-MatchStringNoA sequence of textual characters.
If-None-MatchStringNoA sequence of textual characters.
* You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

@@ -136,8 +126,6 @@ public Response putWithRequestHeadersWithResponse(String name, Binar * } * * @param name A sequence of textual characters. - * - * The name parameter. * @param resource The resource parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -183,8 +171,6 @@ public PagedIterable listWithEtag(RequestOptions requestOptions) { * Create or replace operation template. * * @param name A sequence of textual characters. - * - * The name parameter. * @param resource The resource parameter. * @param requestConditions Specifies HTTP options for conditional requests based on modification time. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -226,8 +212,6 @@ public Resource putWithRequestHeaders(String name, Resource resource, RequestCon * Create or replace operation template. * * @param name A sequence of textual characters. - * - * The name parameter. * @param resource The resource parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -250,8 +234,6 @@ public Resource putWithRequestHeaders(String name, Resource resource) { * Create or update operation template. * * @param name A sequence of textual characters. - * - * The name parameter. * @param resource The resource parameter. * @param matchConditions Specifies HTTP options for conditional requests. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -286,8 +268,6 @@ public Resource patchWithMatchHeaders(String name, Resource resource, MatchCondi * Create or update operation template. * * @param name A sequence of textual characters. - * - * The name parameter. * @param resource The resource parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. diff --git a/typespec-tests/src/main/java/com/cadl/specialheaders/EtagHeadersOptionalBodyAsyncClient.java b/typespec-tests/src/main/java/com/cadl/specialheaders/EtagHeadersOptionalBodyAsyncClient.java index bcaf4c7c96..fec0c22369 100644 --- a/typespec-tests/src/main/java/com/cadl/specialheaders/EtagHeadersOptionalBodyAsyncClient.java +++ b/typespec-tests/src/main/java/com/cadl/specialheaders/EtagHeadersOptionalBodyAsyncClient.java @@ -48,21 +48,15 @@ public final class EtagHeadersOptionalBodyAsyncClient { * * * - * + * *
Query Parameters
NameTypeRequiredDescription
filterStringNoA sequence of textual characters. - * - * The filter parameter
filterStringNoA sequence of textual characters.
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Header Parameters

* * * - * - * + * + * * * * @@ -91,8 +85,6 @@ public final class EtagHeadersOptionalBodyAsyncClient { * } * * @param format A sequence of textual characters. - * - * The format parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -110,11 +102,7 @@ public Mono> putWithOptionalBodyWithResponse(String format, * etag headers among other optional query/header/body parameters. * * @param format A sequence of textual characters. - * - * The format parameter. * @param filter A sequence of textual characters. - * - * The filter parameter. * @param timestamp The timestamp parameter. * @param body The body parameter. * @param requestConditions Specifies HTTP options for conditional requests based on modification time. @@ -167,8 +155,6 @@ public Mono putWithOptionalBody(String format, String filter, OffsetDa * etag headers among other optional query/header/body parameters. * * @param format A sequence of textual characters. - * - * The format parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/cadl/specialheaders/EtagHeadersOptionalBodyClient.java b/typespec-tests/src/main/java/com/cadl/specialheaders/EtagHeadersOptionalBodyClient.java index 2430a5024d..6c17029ad0 100644 --- a/typespec-tests/src/main/java/com/cadl/specialheaders/EtagHeadersOptionalBodyClient.java +++ b/typespec-tests/src/main/java/com/cadl/specialheaders/EtagHeadersOptionalBodyClient.java @@ -46,21 +46,15 @@ public final class EtagHeadersOptionalBodyClient { *
Header Parameters
NameTypeRequiredDescription
If-MatchStringNoA sequence of textual characters. - * - * The ifMatch parameter
If-None-MatchStringNoA sequence of textual characters. - * - * The ifNoneMatch parameter
If-MatchStringNoA sequence of textual characters.
If-None-MatchStringNoA sequence of textual characters.
If-Unmodified-SinceOffsetDateTimeNoThe ifUnmodifiedSince parameter
If-Modified-SinceOffsetDateTimeNoThe ifModifiedSince parameter
timestampOffsetDateTimeNoThe timestamp parameter
* * - * + * *
Query Parameters
NameTypeRequiredDescription
filterStringNoA sequence of textual characters. - * - * The filter parameter
filterStringNoA sequence of textual characters.
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Header Parameters

* * * - * - * + * + * * * * @@ -89,8 +83,6 @@ public final class EtagHeadersOptionalBodyClient { * } * * @param format A sequence of textual characters. - * - * The format parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -108,11 +100,7 @@ public Response putWithOptionalBodyWithResponse(String format, Reque * etag headers among other optional query/header/body parameters. * * @param format A sequence of textual characters. - * - * The format parameter. * @param filter A sequence of textual characters. - * - * The filter parameter. * @param timestamp The timestamp parameter. * @param body The body parameter. * @param requestConditions Specifies HTTP options for conditional requests based on modification time. @@ -164,8 +152,6 @@ public Resource putWithOptionalBody(String format, String filter, OffsetDateTime * etag headers among other optional query/header/body parameters. * * @param format A sequence of textual characters. - * - * The format parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/cadl/specialheaders/RepeatabilityHeadersAsyncClient.java b/typespec-tests/src/main/java/com/cadl/specialheaders/RepeatabilityHeadersAsyncClient.java index 3dbf828ac4..5c8ae33254 100644 --- a/typespec-tests/src/main/java/com/cadl/specialheaders/RepeatabilityHeadersAsyncClient.java +++ b/typespec-tests/src/main/java/com/cadl/specialheaders/RepeatabilityHeadersAsyncClient.java @@ -55,8 +55,6 @@ public final class RepeatabilityHeadersAsyncClient { * } * * @param name A sequence of textual characters. - * - * The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -104,8 +102,6 @@ public Mono> getWithResponse(String name, RequestOptions re * } * * @param name A sequence of textual characters. - * - * The name parameter. * @param resource The resource parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -143,8 +139,6 @@ public Mono> putWithResponse(String name, BinaryData resour * } * * @param name A sequence of textual characters. - * - * The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -192,8 +186,6 @@ public Mono> postWithResponse(String name, RequestOptions r * } * * @param name A sequence of textual characters. - * - * The name parameter. * @param resource The resource parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -213,8 +205,6 @@ public PollerFlux beginCreateLro(String name, BinaryData * Resource read operation template. * * @param name A sequence of textual characters. - * - * The name parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -236,8 +226,6 @@ public Mono get(String name) { * Send a put request with header Repeatability-Request-ID and Repeatability-First-Sent. * * @param name A sequence of textual characters. - * - * The name parameter. * @param resource The resource parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -260,8 +248,6 @@ public Mono put(String name, Resource resource) { * Send a post request with header Repeatability-Request-ID and Repeatability-First-Sent. * * @param name A sequence of textual characters. - * - * The name parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -283,8 +269,6 @@ public Mono post(String name) { * Send a LRO request with header Repeatability-Request-ID and Repeatability-First-Sent. * * @param name A sequence of textual characters. - * - * The name parameter. * @param resource The resource parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. diff --git a/typespec-tests/src/main/java/com/cadl/specialheaders/RepeatabilityHeadersClient.java b/typespec-tests/src/main/java/com/cadl/specialheaders/RepeatabilityHeadersClient.java index 88ab124658..684d1f9d03 100644 --- a/typespec-tests/src/main/java/com/cadl/specialheaders/RepeatabilityHeadersClient.java +++ b/typespec-tests/src/main/java/com/cadl/specialheaders/RepeatabilityHeadersClient.java @@ -53,8 +53,6 @@ public final class RepeatabilityHeadersClient { * } * * @param name A sequence of textual characters. - * - * The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -102,8 +100,6 @@ public Response getWithResponse(String name, RequestOptions requestO * } * * @param name A sequence of textual characters. - * - * The name parameter. * @param resource The resource parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -141,8 +137,6 @@ public Response putWithResponse(String name, BinaryData resource, Re * } * * @param name A sequence of textual characters. - * - * The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -190,8 +184,6 @@ public Response postWithResponse(String name, RequestOptions request * } * * @param name A sequence of textual characters. - * - * The name parameter. * @param resource The resource parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -211,8 +203,6 @@ public SyncPoller beginCreateLro(String name, BinaryData * Resource read operation template. * * @param name A sequence of textual characters. - * - * The name parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -233,8 +223,6 @@ public Resource get(String name) { * Send a put request with header Repeatability-Request-ID and Repeatability-First-Sent. * * @param name A sequence of textual characters. - * - * The name parameter. * @param resource The resource parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -257,8 +245,6 @@ public Resource put(String name, Resource resource) { * Send a post request with header Repeatability-Request-ID and Repeatability-First-Sent. * * @param name A sequence of textual characters. - * - * The name parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -279,8 +265,6 @@ public Resource post(String name) { * Send a LRO request with header Repeatability-Request-ID and Repeatability-First-Sent. * * @param name A sequence of textual characters. - * - * The name parameter. * @param resource The resource parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. diff --git a/typespec-tests/src/main/java/com/cadl/specialheaders/SkipSpecialHeadersAsyncClient.java b/typespec-tests/src/main/java/com/cadl/specialheaders/SkipSpecialHeadersAsyncClient.java index 88acae177b..e23ac72e00 100644 --- a/typespec-tests/src/main/java/com/cadl/specialheaders/SkipSpecialHeadersAsyncClient.java +++ b/typespec-tests/src/main/java/com/cadl/specialheaders/SkipSpecialHeadersAsyncClient.java @@ -40,11 +40,7 @@ public final class SkipSpecialHeadersAsyncClient { * skip special headers. * * @param name A sequence of textual characters. - * - * The name parameter. * @param foo A sequence of textual characters. - * - * The foo parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -63,11 +59,7 @@ public Mono> deleteWithSpecialHeadersWithResponse(String name, St * skip special headers. * * @param name A sequence of textual characters. - * - * The name parameter. * @param foo A sequence of textual characters. - * - * The foo parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/cadl/specialheaders/SkipSpecialHeadersClient.java b/typespec-tests/src/main/java/com/cadl/specialheaders/SkipSpecialHeadersClient.java index 2229b8d8e0..766fd2fd1a 100644 --- a/typespec-tests/src/main/java/com/cadl/specialheaders/SkipSpecialHeadersClient.java +++ b/typespec-tests/src/main/java/com/cadl/specialheaders/SkipSpecialHeadersClient.java @@ -38,11 +38,7 @@ public final class SkipSpecialHeadersClient { * skip special headers. * * @param name A sequence of textual characters. - * - * The name parameter. * @param foo A sequence of textual characters. - * - * The foo parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -60,11 +56,7 @@ public Response deleteWithSpecialHeadersWithResponse(String name, String f * skip special headers. * * @param name A sequence of textual characters. - * - * The name parameter. * @param foo A sequence of textual characters. - * - * The foo parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/cadl/specialheaders/implementation/EtagHeadersImpl.java b/typespec-tests/src/main/java/com/cadl/specialheaders/implementation/EtagHeadersImpl.java index dc0e69ebc4..284e85e8e0 100644 --- a/typespec-tests/src/main/java/com/cadl/specialheaders/implementation/EtagHeadersImpl.java +++ b/typespec-tests/src/main/java/com/cadl/specialheaders/implementation/EtagHeadersImpl.java @@ -172,12 +172,8 @@ Response listWithEtagNextSync(@PathParam(value = "nextLink", encoded *
Header Parameters
NameTypeRequiredDescription
If-MatchStringNoA sequence of textual characters. - * - * The ifMatch parameter
If-None-MatchStringNoA sequence of textual characters. - * - * The ifNoneMatch parameter
If-MatchStringNoA sequence of textual characters.
If-None-MatchStringNoA sequence of textual characters.
If-Unmodified-SinceOffsetDateTimeNoThe ifUnmodifiedSince parameter
If-Modified-SinceOffsetDateTimeNoThe ifModifiedSince parameter
timestampOffsetDateTimeNoThe timestamp parameter
* * - * - * + * + * * * *
Header Parameters
NameTypeRequiredDescription
If-MatchStringNoA sequence of textual characters. - * - * The ifMatch parameter
If-None-MatchStringNoA sequence of textual characters. - * - * The ifNoneMatch parameter
If-MatchStringNoA sequence of textual characters.
If-None-MatchStringNoA sequence of textual characters.
If-Unmodified-SinceOffsetDateTimeNoThe ifUnmodifiedSince parameter
If-Modified-SinceOffsetDateTimeNoThe ifModifiedSince parameter
@@ -205,8 +201,6 @@ Response listWithEtagNextSync(@PathParam(value = "nextLink", encoded * } * * @param name A sequence of textual characters. - * - * The name parameter. * @param resource The resource parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -229,12 +223,8 @@ public Mono> putWithRequestHeadersWithResponseAsync(String * * * - * - * + * + * * * *
Header Parameters
NameTypeRequiredDescription
If-MatchStringNoA sequence of textual characters. - * - * The ifMatch parameter
If-None-MatchStringNoA sequence of textual characters. - * - * The ifNoneMatch parameter
If-MatchStringNoA sequence of textual characters.
If-None-MatchStringNoA sequence of textual characters.
If-Unmodified-SinceOffsetDateTimeNoThe ifUnmodifiedSince parameter
If-Modified-SinceOffsetDateTimeNoThe ifModifiedSince parameter
@@ -262,8 +252,6 @@ public Mono> putWithRequestHeadersWithResponseAsync(String * } * * @param name A sequence of textual characters. - * - * The name parameter. * @param resource The resource parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -286,12 +274,8 @@ public Response putWithRequestHeadersWithResponse(String name, Binar * * * - * - * + * + * *
Header Parameters
NameTypeRequiredDescription
If-MatchStringNoA sequence of textual characters. - * - * The ifMatch parameter
If-None-MatchStringNoA sequence of textual characters. - * - * The ifNoneMatch parameter
If-MatchStringNoA sequence of textual characters.
If-None-MatchStringNoA sequence of textual characters.
* You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

@@ -317,8 +301,6 @@ public Response putWithRequestHeadersWithResponse(String name, Binar * } * * @param name A sequence of textual characters. - * - * The name parameter. * @param resource The resource parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -343,12 +325,8 @@ public Mono> patchWithMatchHeadersWithResponseAsync(String * * * - * - * + * + * *
Header Parameters
NameTypeRequiredDescription
If-MatchStringNoA sequence of textual characters. - * - * The ifMatch parameter
If-None-MatchStringNoA sequence of textual characters. - * - * The ifNoneMatch parameter
If-MatchStringNoA sequence of textual characters.
If-None-MatchStringNoA sequence of textual characters.
* You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

@@ -374,8 +352,6 @@ public Mono> patchWithMatchHeadersWithResponseAsync(String * } * * @param name A sequence of textual characters. - * - * The name parameter. * @param resource The resource parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -525,9 +501,7 @@ public PagedIterable listWithEtag(RequestOptions requestOptions) { * } * } * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -559,9 +533,7 @@ private Mono> listWithEtagNextSinglePageAsync(String n * } * } * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/cadl/specialheaders/implementation/EtagHeadersOptionalBodiesImpl.java b/typespec-tests/src/main/java/com/cadl/specialheaders/implementation/EtagHeadersOptionalBodiesImpl.java index 8415dfeb1e..dca49f0586 100644 --- a/typespec-tests/src/main/java/com/cadl/specialheaders/implementation/EtagHeadersOptionalBodiesImpl.java +++ b/typespec-tests/src/main/java/com/cadl/specialheaders/implementation/EtagHeadersOptionalBodiesImpl.java @@ -96,21 +96,15 @@ Response putWithOptionalBodySync(@HostParam("endpoint") String endpo * * * - * + * *
Query Parameters
NameTypeRequiredDescription
filterStringNoA sequence of textual characters. - * - * The filter parameter
filterStringNoA sequence of textual characters.
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Header Parameters

* * * - * - * + * + * * * * @@ -139,8 +133,6 @@ Response putWithOptionalBodySync(@HostParam("endpoint") String endpo * } * * @param format A sequence of textual characters. - * - * The format parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -168,21 +160,15 @@ public Mono> putWithOptionalBodyWithResponseAsync(String fo *
Header Parameters
NameTypeRequiredDescription
If-MatchStringNoA sequence of textual characters. - * - * The ifMatch parameter
If-None-MatchStringNoA sequence of textual characters. - * - * The ifNoneMatch parameter
If-MatchStringNoA sequence of textual characters.
If-None-MatchStringNoA sequence of textual characters.
If-Unmodified-SinceOffsetDateTimeNoThe ifUnmodifiedSince parameter
If-Modified-SinceOffsetDateTimeNoThe ifModifiedSince parameter
timestampOffsetDateTimeNoThe timestamp parameter
* * - * + * *
Query Parameters
NameTypeRequiredDescription
filterStringNoA sequence of textual characters. - * - * The filter parameter
filterStringNoA sequence of textual characters.
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Header Parameters

* * * - * - * + * + * * * * @@ -211,8 +197,6 @@ public Mono> putWithOptionalBodyWithResponseAsync(String fo * } * * @param format A sequence of textual characters. - * - * The format parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/cadl/specialheaders/implementation/RepeatabilityHeadersImpl.java b/typespec-tests/src/main/java/com/cadl/specialheaders/implementation/RepeatabilityHeadersImpl.java index 4ac3f489b9..b47ccde9a2 100644 --- a/typespec-tests/src/main/java/com/cadl/specialheaders/implementation/RepeatabilityHeadersImpl.java +++ b/typespec-tests/src/main/java/com/cadl/specialheaders/implementation/RepeatabilityHeadersImpl.java @@ -185,8 +185,6 @@ Response createLroSync(@HostParam("endpoint") String endpoint, * } * * @param name A sequence of textual characters. - * - * The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -215,8 +213,6 @@ public Mono> getWithResponseAsync(String name, RequestOptio * } * * @param name A sequence of textual characters. - * - * The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -265,8 +261,6 @@ public Response getWithResponse(String name, RequestOptions requestO * } * * @param name A sequence of textual characters. - * - * The name parameter. * @param resource The resource parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -332,8 +326,6 @@ public Mono> putWithResponseAsync(String name, BinaryData r * } * * @param name A sequence of textual characters. - * - * The name parameter. * @param resource The resource parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -387,8 +379,6 @@ public Response putWithResponse(String name, BinaryData resource, Re * } * * @param name A sequence of textual characters. - * - * The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -441,8 +431,6 @@ public Mono> postWithResponseAsync(String name, RequestOpti * } * * @param name A sequence of textual characters. - * - * The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -506,8 +494,6 @@ public Response postWithResponse(String name, RequestOptions request * } * * @param name A sequence of textual characters. - * - * The name parameter. * @param resource The resource parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -575,8 +561,6 @@ private Mono> createLroWithResponseAsync(String name, Binar * } * * @param name A sequence of textual characters. - * - * The name parameter. * @param resource The resource parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -643,8 +627,6 @@ private Response createLroWithResponse(String name, BinaryData resou * } * * @param name A sequence of textual characters. - * - * The name parameter. * @param resource The resource parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -702,8 +684,6 @@ public PollerFlux beginCreateLroAsync(String name, Binar * } * * @param name A sequence of textual characters. - * - * The name parameter. * @param resource The resource parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -761,8 +741,6 @@ public SyncPoller beginCreateLro(String name, BinaryData * } * * @param name A sequence of textual characters. - * - * The name parameter. * @param resource The resource parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -820,8 +798,6 @@ public PollerFlux beginCreateLroWithModelAsync(S * } * * @param name A sequence of textual characters. - * - * The name parameter. * @param resource The resource parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. diff --git a/typespec-tests/src/main/java/com/cadl/specialheaders/implementation/SkipSpecialHeadersImpl.java b/typespec-tests/src/main/java/com/cadl/specialheaders/implementation/SkipSpecialHeadersImpl.java index f21d3d4f51..cea6bf7e46 100644 --- a/typespec-tests/src/main/java/com/cadl/specialheaders/implementation/SkipSpecialHeadersImpl.java +++ b/typespec-tests/src/main/java/com/cadl/specialheaders/implementation/SkipSpecialHeadersImpl.java @@ -95,11 +95,7 @@ Response deleteWithSpecialHeadersSync(@HostParam("endpoint") String endpoi * skip special headers. * * @param name A sequence of textual characters. - * - * The name parameter. * @param foo A sequence of textual characters. - * - * The foo parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -119,11 +115,7 @@ public Mono> deleteWithSpecialHeadersWithResponseAsync(String nam * skip special headers. * * @param name A sequence of textual characters. - * - * The name parameter. * @param foo A sequence of textual characters. - * - * The foo parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/cadl/specialheaders/models/Resource.java b/typespec-tests/src/main/java/com/cadl/specialheaders/models/Resource.java index 6801547b39..1176172de2 100644 --- a/typespec-tests/src/main/java/com/cadl/specialheaders/models/Resource.java +++ b/typespec-tests/src/main/java/com/cadl/specialheaders/models/Resource.java @@ -21,25 +21,25 @@ @Fluent public final class Resource implements JsonSerializable { /* - * A sequence of textual characters. + * The id property. */ @Generated private String id; /* - * A sequence of textual characters. + * The name property. */ @Generated private String name; /* - * A sequence of textual characters. + * The description property. */ @Generated private String description; /* - * A sequence of textual characters. + * The type property. */ @Generated private String type; @@ -73,7 +73,7 @@ public Resource() { } /** - * Get the id property: A sequence of textual characters. + * Get the id property: The id property. * * @return the id value. */ @@ -83,7 +83,7 @@ public String getId() { } /** - * Get the name property: A sequence of textual characters. + * Get the name property: The name property. * * @return the name value. */ @@ -93,7 +93,7 @@ public String getName() { } /** - * Get the description property: A sequence of textual characters. + * Get the description property: The description property. * * @return the description value. */ @@ -103,7 +103,7 @@ public String getDescription() { } /** - * Set the description property: A sequence of textual characters. + * Set the description property: The description property. * * @param description the description value to set. * @return the Resource object itself. @@ -116,7 +116,7 @@ public Resource setDescription(String description) { } /** - * Get the type property: A sequence of textual characters. + * Get the type property: The type property. * * @return the type value. */ @@ -126,7 +126,7 @@ public String getType() { } /** - * Set the type property: A sequence of textual characters. + * Set the type property: The type property. *

Required when create the resource.

* * @param type the type value to set. diff --git a/typespec-tests/src/main/java/com/cadl/union/UnionAsyncClient.java b/typespec-tests/src/main/java/com/cadl/union/UnionAsyncClient.java index d46fec0cdf..2284c0a6e3 100644 --- a/typespec-tests/src/main/java/com/cadl/union/UnionAsyncClient.java +++ b/typespec-tests/src/main/java/com/cadl/union/UnionAsyncClient.java @@ -58,8 +58,6 @@ public final class UnionAsyncClient { * } * * @param id A sequence of textual characters. - * - * The id parameter. * @param request The request parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -80,9 +78,7 @@ public Mono> sendWithResponse(String id, BinaryData request, Requ *
Header Parameters
NameTypeRequiredDescription
If-MatchStringNoA sequence of textual characters. - * - * The ifMatch parameter
If-None-MatchStringNoA sequence of textual characters. - * - * The ifNoneMatch parameter
If-MatchStringNoA sequence of textual characters.
If-None-MatchStringNoA sequence of textual characters.
If-Unmodified-SinceOffsetDateTimeNoThe ifUnmodifiedSince parameter
If-Modified-SinceOffsetDateTimeNoThe ifModifiedSince parameter
timestampOffsetDateTimeNoThe timestamp parameter
* * - * + * *
Query Parameters
NameTypeRequiredDescription
filterStringNoA sequence of textual characters. - * - * The filter parameter
filterStringNoA sequence of textual characters.
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Request Body Schema

@@ -101,8 +97,6 @@ public Mono> sendWithResponse(String id, BinaryData request, Requ * } * * @param id A sequence of textual characters. - * - * The id parameter. * @param request The request parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -176,8 +170,6 @@ public PollerFlux beginGenerate(RequestOptions requestOp * The send operation. * * @param id A sequence of textual characters. - * - * The id parameter. * @param input The input parameter. * @param user The user parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -202,8 +194,6 @@ public Mono send(String id, BinaryData input, User user) { * The send operation. * * @param id A sequence of textual characters. - * - * The id parameter. * @param input The input parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. diff --git a/typespec-tests/src/main/java/com/cadl/union/UnionClient.java b/typespec-tests/src/main/java/com/cadl/union/UnionClient.java index 631b57fa69..e75374919a 100644 --- a/typespec-tests/src/main/java/com/cadl/union/UnionClient.java +++ b/typespec-tests/src/main/java/com/cadl/union/UnionClient.java @@ -56,8 +56,6 @@ public final class UnionClient { * } * * @param id A sequence of textual characters. - * - * The id parameter. * @param request The request parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -78,9 +76,7 @@ public Response sendWithResponse(String id, BinaryData request, RequestOpt * * * - * + * *
Query Parameters
NameTypeRequiredDescription
filterStringNoA sequence of textual characters. - * - * The filter parameter
filterStringNoA sequence of textual characters.
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Request Body Schema

@@ -99,8 +95,6 @@ public Response sendWithResponse(String id, BinaryData request, RequestOpt * } * * @param id A sequence of textual characters. - * - * The id parameter. * @param request The request parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -174,8 +168,6 @@ public SyncPoller beginGenerate(RequestOptions requestOp * The send operation. * * @param id A sequence of textual characters. - * - * The id parameter. * @param input The input parameter. * @param user The user parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -199,8 +191,6 @@ public void send(String id, BinaryData input, User user) { * The send operation. * * @param id A sequence of textual characters. - * - * The id parameter. * @param input The input parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. diff --git a/typespec-tests/src/main/java/com/cadl/union/implementation/UnionFlattenOpsImpl.java b/typespec-tests/src/main/java/com/cadl/union/implementation/UnionFlattenOpsImpl.java index cd806d061a..b4e3dd69b7 100644 --- a/typespec-tests/src/main/java/com/cadl/union/implementation/UnionFlattenOpsImpl.java +++ b/typespec-tests/src/main/java/com/cadl/union/implementation/UnionFlattenOpsImpl.java @@ -170,8 +170,6 @@ Response generateSync(@HostParam("endpoint") String endpoint, * } * * @param id A sequence of textual characters. - * - * The id parameter. * @param request The request parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -201,8 +199,6 @@ public Mono> sendWithResponseAsync(String id, BinaryData request, * } * * @param id A sequence of textual characters. - * - * The id parameter. * @param request The request parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -224,9 +220,7 @@ public Response sendWithResponse(String id, BinaryData request, RequestOpt * * * - * + * *
Query Parameters
NameTypeRequiredDescription
filterStringNoA sequence of textual characters. - * - * The filter parameter
filterStringNoA sequence of textual characters.
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Request Body Schema

@@ -245,8 +239,6 @@ public Response sendWithResponse(String id, BinaryData request, RequestOpt * } * * @param id A sequence of textual characters. - * - * The id parameter. * @param request The request parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -269,9 +261,7 @@ public Mono> sendLongWithResponseAsync(String id, BinaryData requ * * * - * + * *
Query Parameters
NameTypeRequiredDescription
filterStringNoA sequence of textual characters. - * - * The filter parameter
filterStringNoA sequence of textual characters.
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Request Body Schema

@@ -290,8 +280,6 @@ public Mono> sendLongWithResponseAsync(String id, BinaryData requ * } * * @param id A sequence of textual characters. - * - * The id parameter. * @param request The request parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. diff --git a/typespec-tests/src/main/java/com/cadl/union/implementation/models/SendLongRequest.java b/typespec-tests/src/main/java/com/cadl/union/implementation/models/SendLongRequest.java index 19724e5858..c5c4ee9c02 100644 --- a/typespec-tests/src/main/java/com/cadl/union/implementation/models/SendLongRequest.java +++ b/typespec-tests/src/main/java/com/cadl/union/implementation/models/SendLongRequest.java @@ -26,13 +26,13 @@ public final class SendLongRequest implements JsonSerializable private User user; /* - * A sequence of textual characters. + * The input property. */ @Generated private final String input; /* - * A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) + * The dataInt property. */ @Generated private final int dataInt; @@ -44,13 +44,13 @@ public final class SendLongRequest implements JsonSerializable private BinaryData dataUnion; /* - * A 64-bit integer. (`-9,223,372,036,854,775,808` to `9,223,372,036,854,775,807`) + * The dataLong property. */ @Generated private Long dataLong; /* - * A 32 bit floating point number. (`±1.5 x 10^−45` to `±3.4 x 10^38`) + * The data_float property. */ @Generated private Double dataFloat; @@ -90,7 +90,7 @@ public SendLongRequest setUser(User user) { } /** - * Get the input property: A sequence of textual characters. + * Get the input property: The input property. * * @return the input value. */ @@ -100,7 +100,7 @@ public String getInput() { } /** - * Get the dataInt property: A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`). + * Get the dataInt property: The dataInt property. * * @return the dataInt value. */ @@ -132,7 +132,7 @@ public SendLongRequest setDataUnion(BinaryData dataUnion) { } /** - * Get the dataLong property: A 64-bit integer. (`-9,223,372,036,854,775,808` to `9,223,372,036,854,775,807`). + * Get the dataLong property: The dataLong property. * * @return the dataLong value. */ @@ -142,7 +142,7 @@ public Long getDataLong() { } /** - * Set the dataLong property: A 64-bit integer. (`-9,223,372,036,854,775,808` to `9,223,372,036,854,775,807`). + * Set the dataLong property: The dataLong property. * * @param dataLong the dataLong value to set. * @return the SendLongRequest object itself. @@ -154,7 +154,7 @@ public SendLongRequest setDataLong(Long dataLong) { } /** - * Get the dataFloat property: A 32 bit floating point number. (`±1.5 x 10^−45` to `±3.4 x 10^38`). + * Get the dataFloat property: The data_float property. * * @return the dataFloat value. */ @@ -164,7 +164,7 @@ public Double getDataFloat() { } /** - * Set the dataFloat property: A 32 bit floating point number. (`±1.5 x 10^−45` to `±3.4 x 10^38`). + * Set the dataFloat property: The data_float property. * * @param dataFloat the dataFloat value to set. * @return the SendLongRequest object itself. diff --git a/typespec-tests/src/main/java/com/cadl/union/implementation/models/SubResult.java b/typespec-tests/src/main/java/com/cadl/union/implementation/models/SubResult.java index 17d0ec71b3..aa2f21de33 100644 --- a/typespec-tests/src/main/java/com/cadl/union/implementation/models/SubResult.java +++ b/typespec-tests/src/main/java/com/cadl/union/implementation/models/SubResult.java @@ -19,7 +19,7 @@ @Fluent public final class SubResult extends Result { /* - * A sequence of textual characters. + * The text property. */ @Generated private String text; @@ -42,7 +42,7 @@ public SubResult(String name, BinaryData data) { } /** - * Get the text property: A sequence of textual characters. + * Get the text property: The text property. * * @return the text value. */ @@ -52,7 +52,7 @@ public String getText() { } /** - * Set the text property: A sequence of textual characters. + * Set the text property: The text property. * * @param text the text value to set. * @return the SubResult object itself. diff --git a/typespec-tests/src/main/java/com/cadl/union/models/Result.java b/typespec-tests/src/main/java/com/cadl/union/models/Result.java index f66edbf047..0918b64826 100644 --- a/typespec-tests/src/main/java/com/cadl/union/models/Result.java +++ b/typespec-tests/src/main/java/com/cadl/union/models/Result.java @@ -19,7 +19,7 @@ @Fluent public class Result implements JsonSerializable { /* - * A sequence of textual characters. + * The name property. */ @Generated private final String name; @@ -49,7 +49,7 @@ public Result(String name, BinaryData data) { } /** - * Get the name property: A sequence of textual characters. + * Get the name property: The name property. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/cadl/union/models/SendLongOptions.java b/typespec-tests/src/main/java/com/cadl/union/models/SendLongOptions.java index d2515c600e..0c508df0a1 100644 --- a/typespec-tests/src/main/java/com/cadl/union/models/SendLongOptions.java +++ b/typespec-tests/src/main/java/com/cadl/union/models/SendLongOptions.java @@ -32,13 +32,13 @@ public final class SendLongOptions { private User user; /* - * A sequence of textual characters. + * The input property. */ @Generated private final String input; /* - * A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) + * The dataInt property. */ @Generated private final int dataInt; @@ -50,13 +50,13 @@ public final class SendLongOptions { private BinaryData dataUnion; /* - * A 64-bit integer. (`-9,223,372,036,854,775,808` to `9,223,372,036,854,775,807`) + * The dataLong property. */ @Generated private Long dataLong; /* - * A 32 bit floating point number. (`±1.5 x 10^−45` to `±3.4 x 10^38`) + * The data_float property. */ @Generated private Double dataFloat; @@ -130,7 +130,7 @@ public SendLongOptions setUser(User user) { } /** - * Get the input property: A sequence of textual characters. + * Get the input property: The input property. * * @return the input value. */ @@ -140,7 +140,7 @@ public String getInput() { } /** - * Get the dataInt property: A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`). + * Get the dataInt property: The dataInt property. * * @return the dataInt value. */ @@ -172,7 +172,7 @@ public SendLongOptions setDataUnion(BinaryData dataUnion) { } /** - * Get the dataLong property: A 64-bit integer. (`-9,223,372,036,854,775,808` to `9,223,372,036,854,775,807`). + * Get the dataLong property: The dataLong property. * * @return the dataLong value. */ @@ -182,7 +182,7 @@ public Long getDataLong() { } /** - * Set the dataLong property: A 64-bit integer. (`-9,223,372,036,854,775,808` to `9,223,372,036,854,775,807`). + * Set the dataLong property: The dataLong property. * * @param dataLong the dataLong value to set. * @return the SendLongOptions object itself. @@ -194,7 +194,7 @@ public SendLongOptions setDataLong(Long dataLong) { } /** - * Get the dataFloat property: A 32 bit floating point number. (`±1.5 x 10^−45` to `±3.4 x 10^38`). + * Get the dataFloat property: The data_float property. * * @return the dataFloat value. */ @@ -204,7 +204,7 @@ public Double getDataFloat() { } /** - * Set the dataFloat property: A 32 bit floating point number. (`±1.5 x 10^−45` to `±3.4 x 10^38`). + * Set the dataFloat property: The data_float property. * * @param dataFloat the dataFloat value to set. * @return the SendLongOptions object itself. diff --git a/typespec-tests/src/main/java/com/cadl/union/models/User.java b/typespec-tests/src/main/java/com/cadl/union/models/User.java index 41be82974e..120f2fa9e3 100644 --- a/typespec-tests/src/main/java/com/cadl/union/models/User.java +++ b/typespec-tests/src/main/java/com/cadl/union/models/User.java @@ -18,7 +18,7 @@ @Immutable public final class User implements JsonSerializable { /* - * A sequence of textual characters. + * The user property. */ @Generated private final String user; @@ -34,7 +34,7 @@ public User(String user) { } /** - * Get the user property: A sequence of textual characters. + * Get the user property: The user property. * * @return the user value. */ diff --git a/typespec-tests/src/main/java/com/cadl/versioning/VersioningAsyncClient.java b/typespec-tests/src/main/java/com/cadl/versioning/VersioningAsyncClient.java index a8e0626a62..eb989fabee 100644 --- a/typespec-tests/src/main/java/com/cadl/versioning/VersioningAsyncClient.java +++ b/typespec-tests/src/main/java/com/cadl/versioning/VersioningAsyncClient.java @@ -50,9 +50,7 @@ public final class VersioningAsyncClient { * * * - * + * *
Query Parameters
NameTypeRequiredDescription
projectFileVersionStringNoA sequence of textual characters. - * - * The projectFileVersion parameter
projectFileVersionStringNoA sequence of textual characters.
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

@@ -73,8 +71,6 @@ public final class VersioningAsyncClient { * } * * @param name A sequence of textual characters. - * - * The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -96,9 +92,7 @@ public PollerFlux beginExport(String name, RequestOption * NameTypeRequiredDescription * selectList<String>NoThe select parameter. Call * {@link RequestOptions#addQueryParam} to add string to array. - * expandStringNoA sequence of textual characters. - * - * The expand parameter + * expandStringNoA sequence of textual characters. * * You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

@@ -147,8 +141,6 @@ public PagedFlux list(RequestOptions requestOptions) { * } * * @param name A sequence of textual characters. - * - * The name parameter. * @param resource The resource parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -168,11 +160,7 @@ public PollerFlux beginCreateLongRunning(String name, Bi * Long-running resource action operation template. * * @param name A sequence of textual characters. - * - * The name parameter. * @param projectFileVersion A sequence of textual characters. - * - * The projectFileVersion parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -196,8 +184,6 @@ public PollerFlux beginExport(String nam * Long-running resource action operation template. * * @param name A sequence of textual characters. - * - * The name parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -219,8 +205,6 @@ public PollerFlux beginExport(String nam * * @param select The select parameter. * @param expand A sequence of textual characters. - * - * The expand parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -293,8 +277,6 @@ public PagedFlux list() { * Long-running resource create or replace operation template. * * @param name A sequence of textual characters. - * - * The name parameter. * @param resource The resource parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. diff --git a/typespec-tests/src/main/java/com/cadl/versioning/VersioningClient.java b/typespec-tests/src/main/java/com/cadl/versioning/VersioningClient.java index fc555c22a2..89bc5ca452 100644 --- a/typespec-tests/src/main/java/com/cadl/versioning/VersioningClient.java +++ b/typespec-tests/src/main/java/com/cadl/versioning/VersioningClient.java @@ -46,9 +46,7 @@ public final class VersioningClient { * * * - * + * *
Query Parameters
NameTypeRequiredDescription
projectFileVersionStringNoA sequence of textual characters. - * - * The projectFileVersion parameter
projectFileVersionStringNoA sequence of textual characters.
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

@@ -69,8 +67,6 @@ public final class VersioningClient { * } * * @param name A sequence of textual characters. - * - * The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -92,9 +88,7 @@ public SyncPoller beginExport(String name, RequestOption * NameTypeRequiredDescription * selectList<String>NoThe select parameter. Call * {@link RequestOptions#addQueryParam} to add string to array. - * expandStringNoA sequence of textual characters. - * - * The expand parameter + * expandStringNoA sequence of textual characters. * * You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

@@ -143,8 +137,6 @@ public PagedIterable list(RequestOptions requestOptions) { * } * * @param name A sequence of textual characters. - * - * The name parameter. * @param resource The resource parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -164,11 +156,7 @@ public SyncPoller beginCreateLongRunning(String name, Bi * Long-running resource action operation template. * * @param name A sequence of textual characters. - * - * The name parameter. * @param projectFileVersion A sequence of textual characters. - * - * The projectFileVersion parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -192,8 +180,6 @@ public SyncPoller beginExport(String nam * Long-running resource action operation template. * * @param name A sequence of textual characters. - * - * The name parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -215,8 +201,6 @@ public SyncPoller beginExport(String nam * * @param select The select parameter. * @param expand A sequence of textual characters. - * - * The expand parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -265,8 +249,6 @@ public PagedIterable list() { * Long-running resource create or replace operation template. * * @param name A sequence of textual characters. - * - * The name parameter. * @param resource The resource parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. diff --git a/typespec-tests/src/main/java/com/cadl/versioning/implementation/VersioningOpsImpl.java b/typespec-tests/src/main/java/com/cadl/versioning/implementation/VersioningOpsImpl.java index f448ba5fe0..f8a0c774ee 100644 --- a/typespec-tests/src/main/java/com/cadl/versioning/implementation/VersioningOpsImpl.java +++ b/typespec-tests/src/main/java/com/cadl/versioning/implementation/VersioningOpsImpl.java @@ -176,9 +176,7 @@ Response listNextSync(@PathParam(value = "nextLink", encoded = true) * * * - * + * *
Query Parameters
NameTypeRequiredDescription
projectFileVersionStringNoA sequence of textual characters. - * - * The projectFileVersion parameter
projectFileVersionStringNoA sequence of textual characters.
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

@@ -199,8 +197,6 @@ Response listNextSync(@PathParam(value = "nextLink", encoded = true) * } * * @param name A sequence of textual characters. - * - * The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -222,9 +218,7 @@ private Mono> exportWithResponseAsync(String name, RequestO * * * - * + * *
Query Parameters
NameTypeRequiredDescription
projectFileVersionStringNoA sequence of textual characters. - * - * The projectFileVersion parameter
projectFileVersionStringNoA sequence of textual characters.
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

@@ -245,8 +239,6 @@ private Mono> exportWithResponseAsync(String name, RequestO * } * * @param name A sequence of textual characters. - * - * The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -267,9 +259,7 @@ private Response exportWithResponse(String name, RequestOptions requ * * * - * + * *
Query Parameters
NameTypeRequiredDescription
projectFileVersionStringNoA sequence of textual characters. - * - * The projectFileVersion parameter
projectFileVersionStringNoA sequence of textual characters.
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

@@ -290,8 +280,6 @@ private Response exportWithResponse(String name, RequestOptions requ * } * * @param name A sequence of textual characters. - * - * The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -318,9 +306,7 @@ public PollerFlux beginExportAsync(String name, RequestO * * * - * + * *
Query Parameters
NameTypeRequiredDescription
projectFileVersionStringNoA sequence of textual characters. - * - * The projectFileVersion parameter
projectFileVersionStringNoA sequence of textual characters.
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

@@ -341,8 +327,6 @@ public PollerFlux beginExportAsync(String name, RequestO * } * * @param name A sequence of textual characters. - * - * The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -369,9 +353,7 @@ public SyncPoller beginExport(String name, RequestOption * * * - * + * *
Query Parameters
NameTypeRequiredDescription
projectFileVersionStringNoA sequence of textual characters. - * - * The projectFileVersion parameter
projectFileVersionStringNoA sequence of textual characters.
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

@@ -392,8 +374,6 @@ public SyncPoller beginExport(String name, RequestOption * } * * @param name A sequence of textual characters. - * - * The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -422,9 +402,7 @@ public PollerFlux beginExportWithModelAs * * * - * + * *
Query Parameters
NameTypeRequiredDescription
projectFileVersionStringNoA sequence of textual characters. - * - * The projectFileVersion parameter
projectFileVersionStringNoA sequence of textual characters.
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

@@ -445,8 +423,6 @@ public PollerFlux beginExportWithModelAs * } * * @param name A sequence of textual characters. - * - * The name parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -477,9 +453,7 @@ public SyncPoller beginExportWithModel(S * NameTypeRequiredDescription * selectList<String>NoThe select parameter. Call * {@link RequestOptions#addQueryParam} to add string to array. - * expandStringNoA sequence of textual characters. - * - * The expand parameter + * expandStringNoA sequence of textual characters. * * You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

@@ -518,9 +492,7 @@ private Mono> listSinglePageAsync(RequestOptions reque * NameTypeRequiredDescription * selectList<String>NoThe select parameter. Call * {@link RequestOptions#addQueryParam} to add string to array. - * expandStringNoA sequence of textual characters. - * - * The expand parameter + * expandStringNoA sequence of textual characters. * * You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

@@ -557,9 +529,7 @@ public PagedFlux listAsync(RequestOptions requestOptions) { * NameTypeRequiredDescription * selectList<String>NoThe select parameter. Call * {@link RequestOptions#addQueryParam} to add string to array. - * expandStringNoA sequence of textual characters. - * - * The expand parameter + * expandStringNoA sequence of textual characters. * * You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

@@ -596,9 +566,7 @@ private PagedResponse listSinglePage(RequestOptions requestOptions) * NameTypeRequiredDescription * selectList<String>NoThe select parameter. Call * {@link RequestOptions#addQueryParam} to add string to array. - * expandStringNoA sequence of textual characters. - * - * The expand parameter + * expandStringNoA sequence of textual characters. * * You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

@@ -650,8 +618,6 @@ public PagedIterable list(RequestOptions requestOptions) { * } * * @param name A sequence of textual characters. - * - * The name parameter. * @param resource The resource parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -691,8 +657,6 @@ private Mono> createLongRunningWithResponseAsync(String nam * } * * @param name A sequence of textual characters. - * - * The name parameter. * @param resource The resource parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -732,8 +696,6 @@ private Response createLongRunningWithResponse(String name, BinaryDa * } * * @param name A sequence of textual characters. - * - * The name parameter. * @param resource The resource parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -780,8 +742,6 @@ public PollerFlux beginCreateLongRunningAsync(String nam * } * * @param name A sequence of textual characters. - * - * The name parameter. * @param resource The resource parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -828,8 +788,6 @@ public SyncPoller beginCreateLongRunning(String name, Bi * } * * @param name A sequence of textual characters. - * - * The name parameter. * @param resource The resource parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -876,8 +834,6 @@ public PollerFlux beginCreateLongRunningWithMode * } * * @param name A sequence of textual characters. - * - * The name parameter. * @param resource The resource parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -913,9 +869,7 @@ public SyncPoller beginCreateLongRunningWithMode * } * } * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -946,9 +900,7 @@ private Mono> listNextSinglePageAsync(String nextLink, * } * } * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/cadl/versioning/models/ExportedResource.java b/typespec-tests/src/main/java/com/cadl/versioning/models/ExportedResource.java index 87d02a8ddd..a99b5ec773 100644 --- a/typespec-tests/src/main/java/com/cadl/versioning/models/ExportedResource.java +++ b/typespec-tests/src/main/java/com/cadl/versioning/models/ExportedResource.java @@ -18,13 +18,13 @@ @Immutable public final class ExportedResource implements JsonSerializable { /* - * A sequence of textual characters. + * The id property. */ @Generated private final String id; /* - * A sequence of textual characters. + * The resourceUri property. */ @Generated private final String resourceUri; @@ -42,7 +42,7 @@ private ExportedResource(String id, String resourceUri) { } /** - * Get the id property: A sequence of textual characters. + * Get the id property: The id property. * * @return the id value. */ @@ -52,7 +52,7 @@ public String getId() { } /** - * Get the resourceUri property: A sequence of textual characters. + * Get the resourceUri property: The resourceUri property. * * @return the resourceUri value. */ diff --git a/typespec-tests/src/main/java/com/cadl/versioning/models/Resource.java b/typespec-tests/src/main/java/com/cadl/versioning/models/Resource.java index 4c98020296..13a201baef 100644 --- a/typespec-tests/src/main/java/com/cadl/versioning/models/Resource.java +++ b/typespec-tests/src/main/java/com/cadl/versioning/models/Resource.java @@ -18,19 +18,19 @@ @Immutable public final class Resource implements JsonSerializable { /* - * A sequence of textual characters. + * The id property. */ @Generated private String id; /* - * A sequence of textual characters. + * The name property. */ @Generated private String name; /* - * A sequence of textual characters. + * The type property. */ @Generated private final String type; @@ -46,7 +46,7 @@ public Resource(String type) { } /** - * Get the id property: A sequence of textual characters. + * Get the id property: The id property. * * @return the id value. */ @@ -56,7 +56,7 @@ public String getId() { } /** - * Get the name property: A sequence of textual characters. + * Get the name property: The name property. * * @return the name value. */ @@ -66,7 +66,7 @@ public String getName() { } /** - * Get the type property: A sequence of textual characters. + * Get the type property: The type property. * * @return the type value. */ diff --git a/typespec-tests/src/main/java/com/cadl/visibility/models/Dog.java b/typespec-tests/src/main/java/com/cadl/visibility/models/Dog.java index 5827ccd906..4cee0b6e10 100644 --- a/typespec-tests/src/main/java/com/cadl/visibility/models/Dog.java +++ b/typespec-tests/src/main/java/com/cadl/visibility/models/Dog.java @@ -18,19 +18,19 @@ @Immutable public final class Dog implements JsonSerializable { /* - * A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) + * The id property. */ @Generated private int id; /* - * A sequence of textual characters. + * The secretName property. */ @Generated private final String secretName; /* - * A sequence of textual characters. + * The name property. */ @Generated private final String name; @@ -48,7 +48,7 @@ private Dog(String secretName, String name) { } /** - * Get the id property: A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`). + * Get the id property: The id property. * * @return the id value. */ @@ -58,7 +58,7 @@ public int getId() { } /** - * Get the secretName property: A sequence of textual characters. + * Get the secretName property: The secretName property. * * @return the secretName value. */ @@ -68,7 +68,7 @@ public String getSecretName() { } /** - * Get the name property: A sequence of textual characters. + * Get the name property: The name property. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/cadl/visibility/models/ReadDog.java b/typespec-tests/src/main/java/com/cadl/visibility/models/ReadDog.java index 335fd8d470..caf20c385a 100644 --- a/typespec-tests/src/main/java/com/cadl/visibility/models/ReadDog.java +++ b/typespec-tests/src/main/java/com/cadl/visibility/models/ReadDog.java @@ -18,13 +18,13 @@ @Immutable public final class ReadDog implements JsonSerializable { /* - * A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) + * The id property. */ @Generated private final int id; /* - * A sequence of textual characters. + * The name property. */ @Generated private final String name; @@ -42,7 +42,7 @@ public ReadDog(int id, String name) { } /** - * Get the id property: A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`). + * Get the id property: The id property. * * @return the id value. */ @@ -52,7 +52,7 @@ public int getId() { } /** - * Get the name property: A sequence of textual characters. + * Get the name property: The name property. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/cadl/visibility/models/RoundTripModel.java b/typespec-tests/src/main/java/com/cadl/visibility/models/RoundTripModel.java index 921ad34918..15b2835b0c 100644 --- a/typespec-tests/src/main/java/com/cadl/visibility/models/RoundTripModel.java +++ b/typespec-tests/src/main/java/com/cadl/visibility/models/RoundTripModel.java @@ -18,13 +18,13 @@ @Immutable public final class RoundTripModel implements JsonSerializable { /* - * A sequence of textual characters. + * The name property. */ @Generated private final String name; /* - * A sequence of textual characters. + * The secretName property. */ @Generated private final String secretName; @@ -42,7 +42,7 @@ public RoundTripModel(String name, String secretName) { } /** - * Get the name property: A sequence of textual characters. + * Get the name property: The name property. * * @return the name value. */ @@ -52,7 +52,7 @@ public String getName() { } /** - * Get the secretName property: A sequence of textual characters. + * Get the secretName property: The secretName property. * * @return the secretName value. */ diff --git a/typespec-tests/src/main/java/com/cadl/visibility/models/WriteDog.java b/typespec-tests/src/main/java/com/cadl/visibility/models/WriteDog.java index ef9fc2717b..7e5e80652a 100644 --- a/typespec-tests/src/main/java/com/cadl/visibility/models/WriteDog.java +++ b/typespec-tests/src/main/java/com/cadl/visibility/models/WriteDog.java @@ -18,7 +18,7 @@ @Immutable public final class WriteDog implements JsonSerializable { /* - * A sequence of textual characters. + * The name property. */ @Generated private final String name; @@ -34,7 +34,7 @@ public WriteDog(String name) { } /** - * Get the name property: A sequence of textual characters. + * Get the name property: The name property. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/cadl/wiretype/models/SubClassBothMismatch.java b/typespec-tests/src/main/java/com/cadl/wiretype/models/SubClassBothMismatch.java index 86c24f2273..6979c40eb3 100644 --- a/typespec-tests/src/main/java/com/cadl/wiretype/models/SubClassBothMismatch.java +++ b/typespec-tests/src/main/java/com/cadl/wiretype/models/SubClassBothMismatch.java @@ -21,7 +21,7 @@ @Immutable public final class SubClassBothMismatch extends SuperClassMismatch { /* - * Represent a byte array + * The base64url property. */ @Generated private final Base64Url base64url; @@ -43,7 +43,7 @@ public SubClassBothMismatch(OffsetDateTime dateTimeRfc7231, byte[] base64url) { } /** - * Get the base64url property: Represent a byte array. + * Get the base64url property: The base64url property. * * @return the base64url value. */ diff --git a/typespec-tests/src/main/java/com/client/naming/NamingAsyncClient.java b/typespec-tests/src/main/java/com/client/naming/NamingAsyncClient.java index 2b82721cf0..a78a2ea5c5 100644 --- a/typespec-tests/src/main/java/com/client/naming/NamingAsyncClient.java +++ b/typespec-tests/src/main/java/com/client/naming/NamingAsyncClient.java @@ -60,8 +60,6 @@ public Mono> clientNameWithResponse(RequestOptions requestOptions * The parameter operation. * * @param clientName A sequence of textual characters. - * - * The clientName parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -154,8 +152,6 @@ public Mono> compatibleWithEncodedNameWithResponse(BinaryData cli * The request operation. * * @param clientName A sequence of textual characters. - * - * The clientName parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -207,8 +203,6 @@ public Mono clientName() { * The parameter operation. * * @param clientName A sequence of textual characters. - * - * The clientName parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -291,8 +285,6 @@ public Mono compatibleWithEncodedName(ClientNameAndJsonEncodedNameModel cl * The request operation. * * @param clientName A sequence of textual characters. - * - * The clientName parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/client/naming/NamingClient.java b/typespec-tests/src/main/java/com/client/naming/NamingClient.java index 5f7c1e48bd..9b9ca52c05 100644 --- a/typespec-tests/src/main/java/com/client/naming/NamingClient.java +++ b/typespec-tests/src/main/java/com/client/naming/NamingClient.java @@ -58,8 +58,6 @@ public Response clientNameWithResponse(RequestOptions requestOptions) { * The parameter operation. * * @param clientName A sequence of textual characters. - * - * The clientName parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -151,8 +149,6 @@ public Response compatibleWithEncodedNameWithResponse(BinaryData clientNam * The request operation. * * @param clientName A sequence of textual characters. - * - * The clientName parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -203,8 +199,6 @@ public void clientName() { * The parameter operation. * * @param clientName A sequence of textual characters. - * - * The clientName parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -282,8 +276,6 @@ public void compatibleWithEncodedName(ClientNameAndJsonEncodedNameModel clientNa * The request operation. * * @param clientName A sequence of textual characters. - * - * The clientName parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/client/naming/implementation/NamingClientImpl.java b/typespec-tests/src/main/java/com/client/naming/implementation/NamingClientImpl.java index f2c8676abb..184ee56969 100644 --- a/typespec-tests/src/main/java/com/client/naming/implementation/NamingClientImpl.java +++ b/typespec-tests/src/main/java/com/client/naming/implementation/NamingClientImpl.java @@ -302,8 +302,6 @@ public Response clientNameWithResponse(RequestOptions requestOptions) { * The parameter operation. * * @param clientName A sequence of textual characters. - * - * The clientName parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -321,8 +319,6 @@ public Mono> parameterWithResponseAsync(String clientName, Reques * The parameter operation. * * @param clientName A sequence of textual characters. - * - * The clientName parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -490,8 +486,6 @@ public Response compatibleWithEncodedNameWithResponse(BinaryData clientNam * The request operation. * * @param clientName A sequence of textual characters. - * - * The clientName parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -509,8 +503,6 @@ public Mono> requestWithResponseAsync(String clientName, RequestO * The request operation. * * @param clientName A sequence of textual characters. - * - * The clientName parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/encode/bytes/HeaderAsyncClient.java b/typespec-tests/src/main/java/com/encode/bytes/HeaderAsyncClient.java index 8450227528..e962b2d99c 100644 --- a/typespec-tests/src/main/java/com/encode/bytes/HeaderAsyncClient.java +++ b/typespec-tests/src/main/java/com/encode/bytes/HeaderAsyncClient.java @@ -40,9 +40,7 @@ public final class HeaderAsyncClient { /** * The defaultMethod operation. * - * @param value Represent a byte array - * - * The value parameter. + * @param value Represent a byte array. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -59,9 +57,7 @@ public Mono> defaultMethodWithResponse(byte[] value, RequestOptio /** * The base64 operation. * - * @param value Represent a byte array - * - * The value parameter. + * @param value Represent a byte array. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -78,9 +74,7 @@ public Mono> base64WithResponse(byte[] value, RequestOptions requ /** * The base64url operation. * - * @param value Represent a byte array - * - * The value parameter. + * @param value Represent a byte array. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -114,9 +108,7 @@ public Mono> base64urlArrayWithResponse(List value, Reque /** * The defaultMethod operation. * - * @param value Represent a byte array - * - * The value parameter. + * @param value Represent a byte array. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -136,9 +128,7 @@ public Mono defaultMethod(byte[] value) { /** * The base64 operation. * - * @param value Represent a byte array - * - * The value parameter. + * @param value Represent a byte array. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -158,9 +148,7 @@ public Mono base64(byte[] value) { /** * The base64url operation. * - * @param value Represent a byte array - * - * The value parameter. + * @param value Represent a byte array. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/encode/bytes/HeaderClient.java b/typespec-tests/src/main/java/com/encode/bytes/HeaderClient.java index a91d1cc266..0cb59d3fca 100644 --- a/typespec-tests/src/main/java/com/encode/bytes/HeaderClient.java +++ b/typespec-tests/src/main/java/com/encode/bytes/HeaderClient.java @@ -38,9 +38,7 @@ public final class HeaderClient { /** * The defaultMethod operation. * - * @param value Represent a byte array - * - * The value parameter. + * @param value Represent a byte array. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -57,9 +55,7 @@ public Response defaultMethodWithResponse(byte[] value, RequestOptions req /** * The base64 operation. * - * @param value Represent a byte array - * - * The value parameter. + * @param value Represent a byte array. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -76,9 +72,7 @@ public Response base64WithResponse(byte[] value, RequestOptions requestOpt /** * The base64url operation. * - * @param value Represent a byte array - * - * The value parameter. + * @param value Represent a byte array. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -112,9 +106,7 @@ public Response base64urlArrayWithResponse(List value, RequestOpti /** * The defaultMethod operation. * - * @param value Represent a byte array - * - * The value parameter. + * @param value Represent a byte array. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -133,9 +125,7 @@ public void defaultMethod(byte[] value) { /** * The base64 operation. * - * @param value Represent a byte array - * - * The value parameter. + * @param value Represent a byte array. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -154,9 +144,7 @@ public void base64(byte[] value) { /** * The base64url operation. * - * @param value Represent a byte array - * - * The value parameter. + * @param value Represent a byte array. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/encode/bytes/QueryAsyncClient.java b/typespec-tests/src/main/java/com/encode/bytes/QueryAsyncClient.java index 0571c42dc4..3492088bec 100644 --- a/typespec-tests/src/main/java/com/encode/bytes/QueryAsyncClient.java +++ b/typespec-tests/src/main/java/com/encode/bytes/QueryAsyncClient.java @@ -40,9 +40,7 @@ public final class QueryAsyncClient { /** * The defaultMethod operation. * - * @param value Represent a byte array - * - * The value parameter. + * @param value Represent a byte array. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -59,9 +57,7 @@ public Mono> defaultMethodWithResponse(byte[] value, RequestOptio /** * The base64 operation. * - * @param value Represent a byte array - * - * The value parameter. + * @param value Represent a byte array. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -78,9 +74,7 @@ public Mono> base64WithResponse(byte[] value, RequestOptions requ /** * The base64url operation. * - * @param value Represent a byte array - * - * The value parameter. + * @param value Represent a byte array. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -114,9 +108,7 @@ public Mono> base64urlArrayWithResponse(List value, Reque /** * The defaultMethod operation. * - * @param value Represent a byte array - * - * The value parameter. + * @param value Represent a byte array. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -136,9 +128,7 @@ public Mono defaultMethod(byte[] value) { /** * The base64 operation. * - * @param value Represent a byte array - * - * The value parameter. + * @param value Represent a byte array. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -158,9 +148,7 @@ public Mono base64(byte[] value) { /** * The base64url operation. * - * @param value Represent a byte array - * - * The value parameter. + * @param value Represent a byte array. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/encode/bytes/QueryClient.java b/typespec-tests/src/main/java/com/encode/bytes/QueryClient.java index fcb92c3890..8e75959e78 100644 --- a/typespec-tests/src/main/java/com/encode/bytes/QueryClient.java +++ b/typespec-tests/src/main/java/com/encode/bytes/QueryClient.java @@ -38,9 +38,7 @@ public final class QueryClient { /** * The defaultMethod operation. * - * @param value Represent a byte array - * - * The value parameter. + * @param value Represent a byte array. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -57,9 +55,7 @@ public Response defaultMethodWithResponse(byte[] value, RequestOptions req /** * The base64 operation. * - * @param value Represent a byte array - * - * The value parameter. + * @param value Represent a byte array. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -76,9 +72,7 @@ public Response base64WithResponse(byte[] value, RequestOptions requestOpt /** * The base64url operation. * - * @param value Represent a byte array - * - * The value parameter. + * @param value Represent a byte array. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -112,9 +106,7 @@ public Response base64urlArrayWithResponse(List value, RequestOpti /** * The defaultMethod operation. * - * @param value Represent a byte array - * - * The value parameter. + * @param value Represent a byte array. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -133,9 +125,7 @@ public void defaultMethod(byte[] value) { /** * The base64 operation. * - * @param value Represent a byte array - * - * The value parameter. + * @param value Represent a byte array. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -154,9 +144,7 @@ public void base64(byte[] value) { /** * The base64url operation. * - * @param value Represent a byte array - * - * The value parameter. + * @param value Represent a byte array. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/encode/bytes/RequestBodyAsyncClient.java b/typespec-tests/src/main/java/com/encode/bytes/RequestBodyAsyncClient.java index bb0c70d019..b10c1def1f 100644 --- a/typespec-tests/src/main/java/com/encode/bytes/RequestBodyAsyncClient.java +++ b/typespec-tests/src/main/java/com/encode/bytes/RequestBodyAsyncClient.java @@ -46,9 +46,7 @@ public final class RequestBodyAsyncClient { * byte[] * } * - * @param value Represent a byte array - * - * The value parameter. + * @param value Represent a byte array. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -114,9 +112,7 @@ public Mono> customContentTypeWithResponse(BinaryData value, Requ * byte[] * } * - * @param value Represent a byte array - * - * The value parameter. + * @param value Represent a byte array. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -138,9 +134,7 @@ public Mono> base64WithResponse(BinaryData value, RequestOptions * Base64Url * } * - * @param value Represent a byte array - * - * The value parameter. + * @param value Represent a byte array. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -157,9 +151,7 @@ public Mono> base64urlWithResponse(BinaryData value, RequestOptio /** * The defaultMethod operation. * - * @param value Represent a byte array - * - * The value parameter. + * @param value Represent a byte array. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -219,9 +211,7 @@ public Mono customContentType(BinaryData value) { /** * The base64 operation. * - * @param value Represent a byte array - * - * The value parameter. + * @param value Represent a byte array. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -241,9 +231,7 @@ public Mono base64(byte[] value) { /** * The base64url operation. * - * @param value Represent a byte array - * - * The value parameter. + * @param value Represent a byte array. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/encode/bytes/RequestBodyClient.java b/typespec-tests/src/main/java/com/encode/bytes/RequestBodyClient.java index 618dc342bf..03567d9c46 100644 --- a/typespec-tests/src/main/java/com/encode/bytes/RequestBodyClient.java +++ b/typespec-tests/src/main/java/com/encode/bytes/RequestBodyClient.java @@ -44,9 +44,7 @@ public final class RequestBodyClient { * byte[] * } * - * @param value Represent a byte array - * - * The value parameter. + * @param value Represent a byte array. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -112,9 +110,7 @@ public Response customContentTypeWithResponse(BinaryData value, RequestOpt * byte[] * } * - * @param value Represent a byte array - * - * The value parameter. + * @param value Represent a byte array. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -136,9 +132,7 @@ public Response base64WithResponse(BinaryData value, RequestOptions reques * Base64Url * } * - * @param value Represent a byte array - * - * The value parameter. + * @param value Represent a byte array. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -155,9 +149,7 @@ public Response base64urlWithResponse(BinaryData value, RequestOptions req /** * The defaultMethod operation. * - * @param value Represent a byte array - * - * The value parameter. + * @param value Represent a byte array. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -214,9 +206,7 @@ public void customContentType(BinaryData value) { /** * The base64 operation. * - * @param value Represent a byte array - * - * The value parameter. + * @param value Represent a byte array. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -235,9 +225,7 @@ public void base64(byte[] value) { /** * The base64url operation. * - * @param value Represent a byte array - * - * The value parameter. + * @param value Represent a byte array. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/encode/bytes/implementation/HeadersImpl.java b/typespec-tests/src/main/java/com/encode/bytes/implementation/HeadersImpl.java index 609336504a..d62a0cdcf0 100644 --- a/typespec-tests/src/main/java/com/encode/bytes/implementation/HeadersImpl.java +++ b/typespec-tests/src/main/java/com/encode/bytes/implementation/HeadersImpl.java @@ -136,9 +136,7 @@ Response base64urlArraySync(@HeaderParam("value") String value, @HeaderPar /** * The defaultMethod operation. * - * @param value Represent a byte array - * - * The value parameter. + * @param value Represent a byte array. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -156,9 +154,7 @@ public Mono> defaultMethodWithResponseAsync(byte[] value, Request /** * The defaultMethod operation. * - * @param value Represent a byte array - * - * The value parameter. + * @param value Represent a byte array. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -176,9 +172,7 @@ public Response defaultMethodWithResponse(byte[] value, RequestOptions req /** * The base64 operation. * - * @param value Represent a byte array - * - * The value parameter. + * @param value Represent a byte array. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -196,9 +190,7 @@ public Mono> base64WithResponseAsync(byte[] value, RequestOptions /** * The base64 operation. * - * @param value Represent a byte array - * - * The value parameter. + * @param value Represent a byte array. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -216,9 +208,7 @@ public Response base64WithResponse(byte[] value, RequestOptions requestOpt /** * The base64url operation. * - * @param value Represent a byte array - * - * The value parameter. + * @param value Represent a byte array. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -236,9 +226,7 @@ public Mono> base64urlWithResponseAsync(byte[] value, RequestOpti /** * The base64url operation. * - * @param value Represent a byte array - * - * The value parameter. + * @param value Represent a byte array. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/encode/bytes/implementation/QueriesImpl.java b/typespec-tests/src/main/java/com/encode/bytes/implementation/QueriesImpl.java index 9dba21f373..3fc7c943da 100644 --- a/typespec-tests/src/main/java/com/encode/bytes/implementation/QueriesImpl.java +++ b/typespec-tests/src/main/java/com/encode/bytes/implementation/QueriesImpl.java @@ -137,9 +137,7 @@ Response base64urlArraySync(@QueryParam("value") String value, @HeaderPara /** * The defaultMethod operation. * - * @param value Represent a byte array - * - * The value parameter. + * @param value Represent a byte array. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -157,9 +155,7 @@ public Mono> defaultMethodWithResponseAsync(byte[] value, Request /** * The defaultMethod operation. * - * @param value Represent a byte array - * - * The value parameter. + * @param value Represent a byte array. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -177,9 +173,7 @@ public Response defaultMethodWithResponse(byte[] value, RequestOptions req /** * The base64 operation. * - * @param value Represent a byte array - * - * The value parameter. + * @param value Represent a byte array. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -197,9 +191,7 @@ public Mono> base64WithResponseAsync(byte[] value, RequestOptions /** * The base64 operation. * - * @param value Represent a byte array - * - * The value parameter. + * @param value Represent a byte array. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -217,9 +209,7 @@ public Response base64WithResponse(byte[] value, RequestOptions requestOpt /** * The base64url operation. * - * @param value Represent a byte array - * - * The value parameter. + * @param value Represent a byte array. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -237,9 +227,7 @@ public Mono> base64urlWithResponseAsync(byte[] value, RequestOpti /** * The base64url operation. * - * @param value Represent a byte array - * - * The value parameter. + * @param value Represent a byte array. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/encode/bytes/implementation/RequestBodiesImpl.java b/typespec-tests/src/main/java/com/encode/bytes/implementation/RequestBodiesImpl.java index d15d345d7c..0214c7bf4a 100644 --- a/typespec-tests/src/main/java/com/encode/bytes/implementation/RequestBodiesImpl.java +++ b/typespec-tests/src/main/java/com/encode/bytes/implementation/RequestBodiesImpl.java @@ -160,9 +160,7 @@ Response base64urlSync(@HeaderParam("accept") String accept, * byte[] * } * - * @param value Represent a byte array - * - * The value parameter. + * @param value Represent a byte array. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -184,9 +182,7 @@ public Mono> defaultMethodWithResponseAsync(BinaryData value, Req * byte[] * } * - * @param value Represent a byte array - * - * The value parameter. + * @param value Represent a byte array. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -302,9 +298,7 @@ public Response customContentTypeWithResponse(BinaryData value, RequestOpt * byte[] * } * - * @param value Represent a byte array - * - * The value parameter. + * @param value Represent a byte array. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -326,9 +320,7 @@ public Mono> base64WithResponseAsync(BinaryData value, RequestOpt * byte[] * } * - * @param value Represent a byte array - * - * The value parameter. + * @param value Represent a byte array. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -350,9 +342,7 @@ public Response base64WithResponse(BinaryData value, RequestOptions reques * Base64Url * } * - * @param value Represent a byte array - * - * The value parameter. + * @param value Represent a byte array. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -374,9 +364,7 @@ public Mono> base64urlWithResponseAsync(BinaryData value, Request * Base64Url * } * - * @param value Represent a byte array - * - * The value parameter. + * @param value Represent a byte array. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/encode/bytes/models/Base64BytesProperty.java b/typespec-tests/src/main/java/com/encode/bytes/models/Base64BytesProperty.java index dd8001bb46..9be79abd29 100644 --- a/typespec-tests/src/main/java/com/encode/bytes/models/Base64BytesProperty.java +++ b/typespec-tests/src/main/java/com/encode/bytes/models/Base64BytesProperty.java @@ -19,7 +19,7 @@ @Immutable public final class Base64BytesProperty implements JsonSerializable { /* - * Represent a byte array + * The value property. */ @Generated private final byte[] value; @@ -35,7 +35,7 @@ public Base64BytesProperty(byte[] value) { } /** - * Get the value property: Represent a byte array. + * Get the value property: The value property. * * @return the value value. */ diff --git a/typespec-tests/src/main/java/com/encode/bytes/models/Base64urlBytesProperty.java b/typespec-tests/src/main/java/com/encode/bytes/models/Base64urlBytesProperty.java index d7e08fb11c..38789ff8e5 100644 --- a/typespec-tests/src/main/java/com/encode/bytes/models/Base64urlBytesProperty.java +++ b/typespec-tests/src/main/java/com/encode/bytes/models/Base64urlBytesProperty.java @@ -20,7 +20,7 @@ @Immutable public final class Base64urlBytesProperty implements JsonSerializable { /* - * Represent a byte array + * The value property. */ @Generated private final Base64Url value; @@ -40,7 +40,7 @@ public Base64urlBytesProperty(byte[] value) { } /** - * Get the value property: Represent a byte array. + * Get the value property: The value property. * * @return the value value. */ diff --git a/typespec-tests/src/main/java/com/encode/bytes/models/DefaultBytesProperty.java b/typespec-tests/src/main/java/com/encode/bytes/models/DefaultBytesProperty.java index 62afecf494..e008d43c66 100644 --- a/typespec-tests/src/main/java/com/encode/bytes/models/DefaultBytesProperty.java +++ b/typespec-tests/src/main/java/com/encode/bytes/models/DefaultBytesProperty.java @@ -19,7 +19,7 @@ @Immutable public final class DefaultBytesProperty implements JsonSerializable { /* - * Represent a byte array + * The value property. */ @Generated private final byte[] value; @@ -35,7 +35,7 @@ public DefaultBytesProperty(byte[] value) { } /** - * Get the value property: Represent a byte array. + * Get the value property: The value property. * * @return the value value. */ diff --git a/typespec-tests/src/main/java/com/parameters/basic/ExplicitBodyAsyncClient.java b/typespec-tests/src/main/java/com/parameters/basic/ExplicitBodyAsyncClient.java index 951ac158c2..f7665a1c10 100644 --- a/typespec-tests/src/main/java/com/parameters/basic/ExplicitBodyAsyncClient.java +++ b/typespec-tests/src/main/java/com/parameters/basic/ExplicitBodyAsyncClient.java @@ -49,8 +49,6 @@ public final class ExplicitBodyAsyncClient { * } * * @param body This is a simple model. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -68,8 +66,6 @@ public Mono> simpleWithResponse(BinaryData body, RequestOptions r * The simple operation. * * @param body This is a simple model. - * - * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/parameters/basic/ExplicitBodyClient.java b/typespec-tests/src/main/java/com/parameters/basic/ExplicitBodyClient.java index 936f0bb0f3..1930fe32f0 100644 --- a/typespec-tests/src/main/java/com/parameters/basic/ExplicitBodyClient.java +++ b/typespec-tests/src/main/java/com/parameters/basic/ExplicitBodyClient.java @@ -47,8 +47,6 @@ public final class ExplicitBodyClient { * } * * @param body This is a simple model. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -66,8 +64,6 @@ public Response simpleWithResponse(BinaryData body, RequestOptions request * The simple operation. * * @param body This is a simple model. - * - * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/parameters/basic/implementation/ExplicitBodiesImpl.java b/typespec-tests/src/main/java/com/parameters/basic/implementation/ExplicitBodiesImpl.java index a19e859193..8542c193be 100644 --- a/typespec-tests/src/main/java/com/parameters/basic/implementation/ExplicitBodiesImpl.java +++ b/typespec-tests/src/main/java/com/parameters/basic/implementation/ExplicitBodiesImpl.java @@ -87,8 +87,6 @@ Response simpleSync(@HeaderParam("accept") String accept, @BodyParam("appl * } * * @param body This is a simple model. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -113,8 +111,6 @@ public Mono> simpleWithResponseAsync(BinaryData body, RequestOpti * } * * @param body This is a simple model. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/parameters/basic/implementation/models/SimpleRequest.java b/typespec-tests/src/main/java/com/parameters/basic/implementation/models/SimpleRequest.java index 9f15c173eb..842595b4d5 100644 --- a/typespec-tests/src/main/java/com/parameters/basic/implementation/models/SimpleRequest.java +++ b/typespec-tests/src/main/java/com/parameters/basic/implementation/models/SimpleRequest.java @@ -18,7 +18,7 @@ @Immutable public final class SimpleRequest implements JsonSerializable { /* - * A sequence of textual characters. + * The name property. */ @Generated private final String name; @@ -34,7 +34,7 @@ public SimpleRequest(String name) { } /** - * Get the name property: A sequence of textual characters. + * Get the name property: The name property. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/parameters/basic/models/User.java b/typespec-tests/src/main/java/com/parameters/basic/models/User.java index 91f6e46710..47c8d308f3 100644 --- a/typespec-tests/src/main/java/com/parameters/basic/models/User.java +++ b/typespec-tests/src/main/java/com/parameters/basic/models/User.java @@ -18,7 +18,7 @@ @Immutable public final class User implements JsonSerializable { /* - * A sequence of textual characters. + * The name property. */ @Generated private final String name; @@ -34,7 +34,7 @@ public User(String name) { } /** - * Get the name property: A sequence of textual characters. + * Get the name property: The name property. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/parameters/bodyoptionality/models/BodyModel.java b/typespec-tests/src/main/java/com/parameters/bodyoptionality/models/BodyModel.java index 6a0873e2af..a189b4c10a 100644 --- a/typespec-tests/src/main/java/com/parameters/bodyoptionality/models/BodyModel.java +++ b/typespec-tests/src/main/java/com/parameters/bodyoptionality/models/BodyModel.java @@ -18,7 +18,7 @@ @Immutable public final class BodyModel implements JsonSerializable { /* - * A sequence of textual characters. + * The name property. */ @Generated private final String name; @@ -34,7 +34,7 @@ public BodyModel(String name) { } /** - * Get the name property: A sequence of textual characters. + * Get the name property: The name property. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/parameters/spread/AliasAsyncClient.java b/typespec-tests/src/main/java/com/parameters/spread/AliasAsyncClient.java index 6457953cfd..9208ecaac5 100644 --- a/typespec-tests/src/main/java/com/parameters/spread/AliasAsyncClient.java +++ b/typespec-tests/src/main/java/com/parameters/spread/AliasAsyncClient.java @@ -76,11 +76,7 @@ public Mono> spreadAsRequestBodyWithResponse(BinaryData request, * } * * @param id A sequence of textual characters. - * - * The id parameter. * @param xMsTestHeader A sequence of textual characters. - * - * The xMsTestHeader parameter. * @param request The request parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -112,11 +108,7 @@ public Mono> spreadAsRequestParameterWithResponse(String id, Stri * } * * @param id A sequence of textual characters. - * - * The id parameter. * @param xMsTestHeader A sequence of textual characters. - * - * The xMsTestHeader parameter. * @param request The request parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -159,11 +151,7 @@ public Mono spreadAsRequestBody(String name) { * The spreadAsRequestParameter operation. * * @param id A sequence of textual characters. - * - * The id parameter. * @param xMsTestHeader A sequence of textual characters. - * - * The xMsTestHeader parameter. * @param name The name parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. diff --git a/typespec-tests/src/main/java/com/parameters/spread/AliasClient.java b/typespec-tests/src/main/java/com/parameters/spread/AliasClient.java index 70b6aa2132..a47bba0c8d 100644 --- a/typespec-tests/src/main/java/com/parameters/spread/AliasClient.java +++ b/typespec-tests/src/main/java/com/parameters/spread/AliasClient.java @@ -74,11 +74,7 @@ public Response spreadAsRequestBodyWithResponse(BinaryData request, Reques * } * * @param id A sequence of textual characters. - * - * The id parameter. * @param xMsTestHeader A sequence of textual characters. - * - * The xMsTestHeader parameter. * @param request The request parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -110,11 +106,7 @@ public Response spreadAsRequestParameterWithResponse(String id, String xMs * } * * @param id A sequence of textual characters. - * - * The id parameter. * @param xMsTestHeader A sequence of textual characters. - * - * The xMsTestHeader parameter. * @param request The request parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -155,11 +147,7 @@ public void spreadAsRequestBody(String name) { * The spreadAsRequestParameter operation. * * @param id A sequence of textual characters. - * - * The id parameter. * @param xMsTestHeader A sequence of textual characters. - * - * The xMsTestHeader parameter. * @param name The name parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. diff --git a/typespec-tests/src/main/java/com/parameters/spread/ModelAsyncClient.java b/typespec-tests/src/main/java/com/parameters/spread/ModelAsyncClient.java index 109bfc9c90..4b56bed476 100644 --- a/typespec-tests/src/main/java/com/parameters/spread/ModelAsyncClient.java +++ b/typespec-tests/src/main/java/com/parameters/spread/ModelAsyncClient.java @@ -50,8 +50,6 @@ public final class ModelAsyncClient { * } * * @param bodyParameter This is a simple model. - * - * The bodyParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -77,8 +75,6 @@ public Mono> spreadAsRequestBodyWithResponse(BinaryData bodyParam * } * * @param body This is a simple model. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -97,11 +93,7 @@ public Mono> spreadCompositeRequestOnlyWithBodyWithResponse(Binar * The spreadCompositeRequestWithoutBody operation. * * @param name A sequence of textual characters. - * - * The name parameter. * @param testHeader A sequence of textual characters. - * - * The testHeader parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -127,14 +119,8 @@ public Mono> spreadCompositeRequestWithoutBodyWithResponse(String * } * * @param name A sequence of textual characters. - * - * The name parameter. * @param testHeader A sequence of textual characters. - * - * The testHeader parameter. * @param body This is a simple model. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -160,14 +146,8 @@ public Mono> spreadCompositeRequestWithResponse(String name, Stri * } * * @param name A sequence of textual characters. - * - * The name parameter. * @param testHeader A sequence of textual characters. - * - * The testHeader parameter. * @param compositeRequestMix This is a model with non-body http request decorator. - * - * The compositeRequestMix parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -187,8 +167,6 @@ public Mono> spreadCompositeRequestMixWithResponse(String name, S * The spreadAsRequestBody operation. * * @param bodyParameter This is a simple model. - * - * The bodyParameter parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -210,8 +188,6 @@ public Mono spreadAsRequestBody(BodyParameter bodyParameter) { * The spreadCompositeRequestOnlyWithBody operation. * * @param body This is a simple model. - * - * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -233,11 +209,7 @@ public Mono spreadCompositeRequestOnlyWithBody(BodyParameter body) { * The spreadCompositeRequestWithoutBody operation. * * @param name A sequence of textual characters. - * - * The name parameter. * @param testHeader A sequence of textual characters. - * - * The testHeader parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -259,14 +231,8 @@ public Mono spreadCompositeRequestWithoutBody(String name, String testHead * The spreadCompositeRequest operation. * * @param name A sequence of textual characters. - * - * The name parameter. * @param testHeader A sequence of textual characters. - * - * The testHeader parameter. * @param body This is a simple model. - * - * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -288,14 +254,8 @@ public Mono spreadCompositeRequest(String name, String testHeader, BodyPar * The spreadCompositeRequestMix operation. * * @param name A sequence of textual characters. - * - * The name parameter. * @param testHeader A sequence of textual characters. - * - * The testHeader parameter. * @param compositeRequestMix This is a model with non-body http request decorator. - * - * The compositeRequestMix parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/parameters/spread/ModelClient.java b/typespec-tests/src/main/java/com/parameters/spread/ModelClient.java index c8d673e80e..1689d10f4d 100644 --- a/typespec-tests/src/main/java/com/parameters/spread/ModelClient.java +++ b/typespec-tests/src/main/java/com/parameters/spread/ModelClient.java @@ -48,8 +48,6 @@ public final class ModelClient { * } * * @param bodyParameter This is a simple model. - * - * The bodyParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -74,8 +72,6 @@ public Response spreadAsRequestBodyWithResponse(BinaryData bodyParameter, * } * * @param body This is a simple model. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -94,11 +90,7 @@ public Response spreadCompositeRequestOnlyWithBodyWithResponse(BinaryData * The spreadCompositeRequestWithoutBody operation. * * @param name A sequence of textual characters. - * - * The name parameter. * @param testHeader A sequence of textual characters. - * - * The testHeader parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -124,14 +116,8 @@ public Response spreadCompositeRequestWithoutBodyWithResponse(String name, * } * * @param name A sequence of textual characters. - * - * The name parameter. * @param testHeader A sequence of textual characters. - * - * The testHeader parameter. * @param body This is a simple model. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -157,14 +143,8 @@ public Response spreadCompositeRequestWithResponse(String name, String tes * } * * @param name A sequence of textual characters. - * - * The name parameter. * @param testHeader A sequence of textual characters. - * - * The testHeader parameter. * @param compositeRequestMix This is a model with non-body http request decorator. - * - * The compositeRequestMix parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -184,8 +164,6 @@ public Response spreadCompositeRequestMixWithResponse(String name, String * The spreadAsRequestBody operation. * * @param bodyParameter This is a simple model. - * - * The bodyParameter parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -205,8 +183,6 @@ public void spreadAsRequestBody(BodyParameter bodyParameter) { * The spreadCompositeRequestOnlyWithBody operation. * * @param body This is a simple model. - * - * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -226,11 +202,7 @@ public void spreadCompositeRequestOnlyWithBody(BodyParameter body) { * The spreadCompositeRequestWithoutBody operation. * * @param name A sequence of textual characters. - * - * The name parameter. * @param testHeader A sequence of textual characters. - * - * The testHeader parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -250,14 +222,8 @@ public void spreadCompositeRequestWithoutBody(String name, String testHeader) { * The spreadCompositeRequest operation. * * @param name A sequence of textual characters. - * - * The name parameter. * @param testHeader A sequence of textual characters. - * - * The testHeader parameter. * @param body This is a simple model. - * - * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -277,14 +243,8 @@ public void spreadCompositeRequest(String name, String testHeader, BodyParameter * The spreadCompositeRequestMix operation. * * @param name A sequence of textual characters. - * - * The name parameter. * @param testHeader A sequence of textual characters. - * - * The testHeader parameter. * @param compositeRequestMix This is a model with non-body http request decorator. - * - * The compositeRequestMix parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/parameters/spread/implementation/AliasImpl.java b/typespec-tests/src/main/java/com/parameters/spread/implementation/AliasImpl.java index cb9ce2f330..1a361b8ecb 100644 --- a/typespec-tests/src/main/java/com/parameters/spread/implementation/AliasImpl.java +++ b/typespec-tests/src/main/java/com/parameters/spread/implementation/AliasImpl.java @@ -176,11 +176,7 @@ public Response spreadAsRequestBodyWithResponse(BinaryData request, Reques * } * * @param id A sequence of textual characters. - * - * The id parameter. * @param xMsTestHeader A sequence of textual characters. - * - * The xMsTestHeader parameter. * @param request The request parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -208,11 +204,7 @@ public Mono> spreadAsRequestParameterWithResponseAsync(String id, * } * * @param id A sequence of textual characters. - * - * The id parameter. * @param xMsTestHeader A sequence of textual characters. - * - * The xMsTestHeader parameter. * @param request The request parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -244,11 +236,7 @@ public Response spreadAsRequestParameterWithResponse(String id, String xMs * } * * @param id A sequence of textual characters. - * - * The id parameter. * @param xMsTestHeader A sequence of textual characters. - * - * The xMsTestHeader parameter. * @param request The request parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -281,11 +269,7 @@ public Mono> spreadWithMultipleParametersWithResponseAsync(String * } * * @param id A sequence of textual characters. - * - * The id parameter. * @param xMsTestHeader A sequence of textual characters. - * - * The xMsTestHeader parameter. * @param request The request parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. diff --git a/typespec-tests/src/main/java/com/parameters/spread/implementation/ModelsImpl.java b/typespec-tests/src/main/java/com/parameters/spread/implementation/ModelsImpl.java index 681ea80f0f..fa2cb3b8bd 100644 --- a/typespec-tests/src/main/java/com/parameters/spread/implementation/ModelsImpl.java +++ b/typespec-tests/src/main/java/com/parameters/spread/implementation/ModelsImpl.java @@ -167,8 +167,6 @@ Response spreadCompositeRequestMixSync(@PathParam("name") String name, * } * * @param bodyParameter This is a simple model. - * - * The bodyParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -195,8 +193,6 @@ public Mono> spreadAsRequestBodyWithResponseAsync(BinaryData body * } * * @param bodyParameter This is a simple model. - * - * The bodyParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -221,8 +217,6 @@ public Response spreadAsRequestBodyWithResponse(BinaryData bodyParameter, * } * * @param body This is a simple model. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -249,8 +243,6 @@ public Mono> spreadCompositeRequestOnlyWithBodyWithResponseAsync( * } * * @param body This is a simple model. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -269,11 +261,7 @@ public Response spreadCompositeRequestOnlyWithBodyWithResponse(BinaryData * The spreadCompositeRequestWithoutBody operation. * * @param name A sequence of textual characters. - * - * The name parameter. * @param testHeader A sequence of textual characters. - * - * The testHeader parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -293,11 +281,7 @@ public Mono> spreadCompositeRequestWithoutBodyWithResponseAsync(S * The spreadCompositeRequestWithoutBody operation. * * @param name A sequence of textual characters. - * - * The name parameter. * @param testHeader A sequence of textual characters. - * - * The testHeader parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -323,14 +307,8 @@ public Response spreadCompositeRequestWithoutBodyWithResponse(String name, * } * * @param name A sequence of textual characters. - * - * The name parameter. * @param testHeader A sequence of textual characters. - * - * The testHeader parameter. * @param body This is a simple model. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -357,14 +335,8 @@ public Mono> spreadCompositeRequestWithResponseAsync(String name, * } * * @param name A sequence of textual characters. - * - * The name parameter. * @param testHeader A sequence of textual characters. - * - * The testHeader parameter. * @param body This is a simple model. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -390,14 +362,8 @@ public Response spreadCompositeRequestWithResponse(String name, String tes * } * * @param name A sequence of textual characters. - * - * The name parameter. * @param testHeader A sequence of textual characters. - * - * The testHeader parameter. * @param compositeRequestMix This is a model with non-body http request decorator. - * - * The compositeRequestMix parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -424,14 +390,8 @@ public Mono> spreadCompositeRequestMixWithResponseAsync(String na * } * * @param name A sequence of textual characters. - * - * The name parameter. * @param testHeader A sequence of textual characters. - * - * The testHeader parameter. * @param compositeRequestMix This is a model with non-body http request decorator. - * - * The compositeRequestMix parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/parameters/spread/implementation/models/SpreadAsRequestBodyRequest.java b/typespec-tests/src/main/java/com/parameters/spread/implementation/models/SpreadAsRequestBodyRequest.java index 9aff3b60d9..78983e9b01 100644 --- a/typespec-tests/src/main/java/com/parameters/spread/implementation/models/SpreadAsRequestBodyRequest.java +++ b/typespec-tests/src/main/java/com/parameters/spread/implementation/models/SpreadAsRequestBodyRequest.java @@ -18,7 +18,7 @@ @Immutable public final class SpreadAsRequestBodyRequest implements JsonSerializable { /* - * A sequence of textual characters. + * The name property. */ @Generated private final String name; @@ -34,7 +34,7 @@ public SpreadAsRequestBodyRequest(String name) { } /** - * Get the name property: A sequence of textual characters. + * Get the name property: The name property. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/parameters/spread/implementation/models/SpreadAsRequestParameterRequest.java b/typespec-tests/src/main/java/com/parameters/spread/implementation/models/SpreadAsRequestParameterRequest.java index ab4aea5d8e..f5fc735edb 100644 --- a/typespec-tests/src/main/java/com/parameters/spread/implementation/models/SpreadAsRequestParameterRequest.java +++ b/typespec-tests/src/main/java/com/parameters/spread/implementation/models/SpreadAsRequestParameterRequest.java @@ -18,7 +18,7 @@ @Immutable public final class SpreadAsRequestParameterRequest implements JsonSerializable { /* - * A sequence of textual characters. + * The name property. */ @Generated private final String name; @@ -34,7 +34,7 @@ public SpreadAsRequestParameterRequest(String name) { } /** - * Get the name property: A sequence of textual characters. + * Get the name property: The name property. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/parameters/spread/implementation/models/SpreadWithMultipleParametersRequest.java b/typespec-tests/src/main/java/com/parameters/spread/implementation/models/SpreadWithMultipleParametersRequest.java index 2c1555d1e7..cda36d801c 100644 --- a/typespec-tests/src/main/java/com/parameters/spread/implementation/models/SpreadWithMultipleParametersRequest.java +++ b/typespec-tests/src/main/java/com/parameters/spread/implementation/models/SpreadWithMultipleParametersRequest.java @@ -19,37 +19,37 @@ public final class SpreadWithMultipleParametersRequest implements JsonSerializable { /* - * A sequence of textual characters. + * The prop1 property. */ @Generated private final String prop1; /* - * A sequence of textual characters. + * The prop2 property. */ @Generated private final String prop2; /* - * A sequence of textual characters. + * The prop3 property. */ @Generated private final String prop3; /* - * A sequence of textual characters. + * The prop4 property. */ @Generated private final String prop4; /* - * A sequence of textual characters. + * The prop5 property. */ @Generated private final String prop5; /* - * A sequence of textual characters. + * The prop6 property. */ @Generated private final String prop6; @@ -76,7 +76,7 @@ public SpreadWithMultipleParametersRequest(String prop1, String prop2, String pr } /** - * Get the prop1 property: A sequence of textual characters. + * Get the prop1 property: The prop1 property. * * @return the prop1 value. */ @@ -86,7 +86,7 @@ public String getProp1() { } /** - * Get the prop2 property: A sequence of textual characters. + * Get the prop2 property: The prop2 property. * * @return the prop2 value. */ @@ -96,7 +96,7 @@ public String getProp2() { } /** - * Get the prop3 property: A sequence of textual characters. + * Get the prop3 property: The prop3 property. * * @return the prop3 value. */ @@ -106,7 +106,7 @@ public String getProp3() { } /** - * Get the prop4 property: A sequence of textual characters. + * Get the prop4 property: The prop4 property. * * @return the prop4 value. */ @@ -116,7 +116,7 @@ public String getProp4() { } /** - * Get the prop5 property: A sequence of textual characters. + * Get the prop5 property: The prop5 property. * * @return the prop5 value. */ @@ -126,7 +126,7 @@ public String getProp5() { } /** - * Get the prop6 property: A sequence of textual characters. + * Get the prop6 property: The prop6 property. * * @return the prop6 value. */ diff --git a/typespec-tests/src/main/java/com/parameters/spread/models/BodyParameter.java b/typespec-tests/src/main/java/com/parameters/spread/models/BodyParameter.java index 592c27afc0..aeed38d750 100644 --- a/typespec-tests/src/main/java/com/parameters/spread/models/BodyParameter.java +++ b/typespec-tests/src/main/java/com/parameters/spread/models/BodyParameter.java @@ -18,7 +18,7 @@ @Immutable public final class BodyParameter implements JsonSerializable { /* - * A sequence of textual characters. + * The name property. */ @Generated private final String name; @@ -34,7 +34,7 @@ public BodyParameter(String name) { } /** - * Get the name property: A sequence of textual characters. + * Get the name property: The name property. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/parameters/spread/models/CompositeRequestMix.java b/typespec-tests/src/main/java/com/parameters/spread/models/CompositeRequestMix.java index d345e732db..8c2cce8c38 100644 --- a/typespec-tests/src/main/java/com/parameters/spread/models/CompositeRequestMix.java +++ b/typespec-tests/src/main/java/com/parameters/spread/models/CompositeRequestMix.java @@ -18,7 +18,7 @@ @Immutable public final class CompositeRequestMix implements JsonSerializable { /* - * A sequence of textual characters. + * The prop property. */ @Generated private final String prop; @@ -34,7 +34,7 @@ public CompositeRequestMix(String prop) { } /** - * Get the prop property: A sequence of textual characters. + * Get the prop property: The prop property. * * @return the prop value. */ diff --git a/typespec-tests/src/main/java/com/parameters/spread/models/SpreadWithMultipleParametersOptions.java b/typespec-tests/src/main/java/com/parameters/spread/models/SpreadWithMultipleParametersOptions.java index 3c036c167a..a8979ac29f 100644 --- a/typespec-tests/src/main/java/com/parameters/spread/models/SpreadWithMultipleParametersOptions.java +++ b/typespec-tests/src/main/java/com/parameters/spread/models/SpreadWithMultipleParametersOptions.java @@ -25,37 +25,37 @@ public final class SpreadWithMultipleParametersOptions { private final String xMsTestHeader; /* - * A sequence of textual characters. + * The prop1 property. */ @Generated private final String prop1; /* - * A sequence of textual characters. + * The prop2 property. */ @Generated private final String prop2; /* - * A sequence of textual characters. + * The prop3 property. */ @Generated private final String prop3; /* - * A sequence of textual characters. + * The prop4 property. */ @Generated private final String prop4; /* - * A sequence of textual characters. + * The prop5 property. */ @Generated private final String prop5; /* - * A sequence of textual characters. + * The prop6 property. */ @Generated private final String prop6; @@ -106,7 +106,7 @@ public String getXMsTestHeader() { } /** - * Get the prop1 property: A sequence of textual characters. + * Get the prop1 property: The prop1 property. * * @return the prop1 value. */ @@ -116,7 +116,7 @@ public String getProp1() { } /** - * Get the prop2 property: A sequence of textual characters. + * Get the prop2 property: The prop2 property. * * @return the prop2 value. */ @@ -126,7 +126,7 @@ public String getProp2() { } /** - * Get the prop3 property: A sequence of textual characters. + * Get the prop3 property: The prop3 property. * * @return the prop3 value. */ @@ -136,7 +136,7 @@ public String getProp3() { } /** - * Get the prop4 property: A sequence of textual characters. + * Get the prop4 property: The prop4 property. * * @return the prop4 value. */ @@ -146,7 +146,7 @@ public String getProp4() { } /** - * Get the prop5 property: A sequence of textual characters. + * Get the prop5 property: The prop5 property. * * @return the prop5 value. */ @@ -156,7 +156,7 @@ public String getProp5() { } /** - * Get the prop6 property: A sequence of textual characters. + * Get the prop6 property: The prop6 property. * * @return the prop6 value. */ diff --git a/typespec-tests/src/main/java/com/payload/contentnegotiation/models/PngImageAsJson.java b/typespec-tests/src/main/java/com/payload/contentnegotiation/models/PngImageAsJson.java index 10167785d5..71c1853358 100644 --- a/typespec-tests/src/main/java/com/payload/contentnegotiation/models/PngImageAsJson.java +++ b/typespec-tests/src/main/java/com/payload/contentnegotiation/models/PngImageAsJson.java @@ -19,7 +19,7 @@ @Immutable public final class PngImageAsJson implements JsonSerializable { /* - * Represent a byte array + * The content property. */ @Generated private final byte[] content; @@ -35,7 +35,7 @@ private PngImageAsJson(byte[] content) { } /** - * Get the content property: Represent a byte array. + * Get the content property: The content property. * * @return the content value. */ diff --git a/typespec-tests/src/main/java/com/payload/jsonmergepatch/JsonMergePatchAsyncClient.java b/typespec-tests/src/main/java/com/payload/jsonmergepatch/JsonMergePatchAsyncClient.java index 8dd074894b..6472063356 100644 --- a/typespec-tests/src/main/java/com/payload/jsonmergepatch/JsonMergePatchAsyncClient.java +++ b/typespec-tests/src/main/java/com/payload/jsonmergepatch/JsonMergePatchAsyncClient.java @@ -91,8 +91,6 @@ public final class JsonMergePatchAsyncClient { * } * * @param body Details about a resource. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -156,8 +154,6 @@ public Mono> createResourceWithResponse(BinaryData body, Re * } * * @param body Details about a resource for patch operation. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -237,8 +233,6 @@ public Mono> updateOptionalResourceWithResponse(RequestOpti * Test content-type: application/merge-patch+json with required body. * * @param body Details about a resource. - * - * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -260,8 +254,6 @@ public Mono createResource(Resource body) { * Test content-type: application/merge-patch+json with required body. * * @param body Details about a resource for patch operation. - * - * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -286,8 +278,6 @@ public Mono updateResource(ResourcePatch body) { * Test content-type: application/merge-patch+json with optional body. * * @param body Details about a resource for patch operation. - * - * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/payload/jsonmergepatch/JsonMergePatchClient.java b/typespec-tests/src/main/java/com/payload/jsonmergepatch/JsonMergePatchClient.java index 4b50e59583..13fdadee8c 100644 --- a/typespec-tests/src/main/java/com/payload/jsonmergepatch/JsonMergePatchClient.java +++ b/typespec-tests/src/main/java/com/payload/jsonmergepatch/JsonMergePatchClient.java @@ -89,8 +89,6 @@ public final class JsonMergePatchClient { * } * * @param body Details about a resource. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -154,8 +152,6 @@ public Response createResourceWithResponse(BinaryData body, RequestO * } * * @param body Details about a resource for patch operation. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -235,8 +231,6 @@ public Response updateOptionalResourceWithResponse(RequestOptions re * Test content-type: application/merge-patch+json with required body. * * @param body Details about a resource. - * - * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -258,8 +252,6 @@ public Resource createResource(Resource body) { * Test content-type: application/merge-patch+json with required body. * * @param body Details about a resource for patch operation. - * - * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -283,8 +275,6 @@ public Resource updateResource(ResourcePatch body) { * Test content-type: application/merge-patch+json with optional body. * * @param body Details about a resource for patch operation. - * - * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/payload/jsonmergepatch/implementation/JsonMergePatchClientImpl.java b/typespec-tests/src/main/java/com/payload/jsonmergepatch/implementation/JsonMergePatchClientImpl.java index 0a76f4f623..8e572006e0 100644 --- a/typespec-tests/src/main/java/com/payload/jsonmergepatch/implementation/JsonMergePatchClientImpl.java +++ b/typespec-tests/src/main/java/com/payload/jsonmergepatch/implementation/JsonMergePatchClientImpl.java @@ -215,8 +215,6 @@ Response updateOptionalResourceSync(@HeaderParam("content-type") Str * } * * @param body Details about a resource. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -281,8 +279,6 @@ public Mono> createResourceWithResponseAsync(BinaryData bod * } * * @param body Details about a resource. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -346,8 +342,6 @@ public Response createResourceWithResponse(BinaryData body, RequestO * } * * @param body Details about a resource for patch operation. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -413,8 +407,6 @@ public Mono> updateResourceWithResponseAsync(BinaryData bod * } * * @param body Details about a resource for patch operation. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/payload/jsonmergepatch/models/InnerModel.java b/typespec-tests/src/main/java/com/payload/jsonmergepatch/models/InnerModel.java index 1b5d9e61c2..3bd12a4ae1 100644 --- a/typespec-tests/src/main/java/com/payload/jsonmergepatch/models/InnerModel.java +++ b/typespec-tests/src/main/java/com/payload/jsonmergepatch/models/InnerModel.java @@ -21,13 +21,13 @@ @Fluent public final class InnerModel implements JsonSerializable { /* - * A sequence of textual characters. + * The name property. */ @Generated private String name; /* - * A sequence of textual characters. + * The description property. */ @Generated private String description; @@ -61,7 +61,7 @@ public InnerModel() { } /** - * Get the name property: A sequence of textual characters. + * Get the name property: The name property. * * @return the name value. */ @@ -71,7 +71,7 @@ public String getName() { } /** - * Set the name property: A sequence of textual characters. + * Set the name property: The name property. * * @param name the name value to set. * @return the InnerModel object itself. @@ -84,7 +84,7 @@ public InnerModel setName(String name) { } /** - * Get the description property: A sequence of textual characters. + * Get the description property: The description property. * * @return the description value. */ @@ -94,7 +94,7 @@ public String getDescription() { } /** - * Set the description property: A sequence of textual characters. + * Set the description property: The description property. * * @param description the description value to set. * @return the InnerModel object itself. diff --git a/typespec-tests/src/main/java/com/payload/jsonmergepatch/models/Resource.java b/typespec-tests/src/main/java/com/payload/jsonmergepatch/models/Resource.java index c3fd734418..38f1a13ffa 100644 --- a/typespec-tests/src/main/java/com/payload/jsonmergepatch/models/Resource.java +++ b/typespec-tests/src/main/java/com/payload/jsonmergepatch/models/Resource.java @@ -20,13 +20,13 @@ @Fluent public final class Resource implements JsonSerializable { /* - * A sequence of textual characters. + * The name property. */ @Generated private final String name; /* - * A sequence of textual characters. + * The description property. */ @Generated private String description; @@ -44,19 +44,19 @@ public final class Resource implements JsonSerializable { private List array; /* - * A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) + * The intValue property. */ @Generated private Integer intValue; /* - * A 32 bit floating point number. (`±5.0 × 10^−324` to `±1.7 × 10^308`) + * The floatValue property. */ @Generated private Double floatValue; /* - * It is the model used by Resource model + * The innerModel property. */ @Generated private InnerModel innerModel; @@ -78,7 +78,7 @@ public Resource(String name) { } /** - * Get the name property: A sequence of textual characters. + * Get the name property: The name property. * * @return the name value. */ @@ -88,7 +88,7 @@ public String getName() { } /** - * Get the description property: A sequence of textual characters. + * Get the description property: The description property. * * @return the description value. */ @@ -98,7 +98,7 @@ public String getDescription() { } /** - * Set the description property: A sequence of textual characters. + * Set the description property: The description property. * * @param description the description value to set. * @return the Resource object itself. @@ -154,7 +154,7 @@ public Resource setArray(List array) { } /** - * Get the intValue property: A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`). + * Get the intValue property: The intValue property. * * @return the intValue value. */ @@ -164,7 +164,7 @@ public Integer getIntValue() { } /** - * Set the intValue property: A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`). + * Set the intValue property: The intValue property. * * @param intValue the intValue value to set. * @return the Resource object itself. @@ -176,7 +176,7 @@ public Resource setIntValue(Integer intValue) { } /** - * Get the floatValue property: A 32 bit floating point number. (`±5.0 × 10^−324` to `±1.7 × 10^308`). + * Get the floatValue property: The floatValue property. * * @return the floatValue value. */ @@ -186,7 +186,7 @@ public Double getFloatValue() { } /** - * Set the floatValue property: A 32 bit floating point number. (`±5.0 × 10^−324` to `±1.7 × 10^308`). + * Set the floatValue property: The floatValue property. * * @param floatValue the floatValue value to set. * @return the Resource object itself. @@ -198,7 +198,7 @@ public Resource setFloatValue(Double floatValue) { } /** - * Get the innerModel property: It is the model used by Resource model. + * Get the innerModel property: The innerModel property. * * @return the innerModel value. */ @@ -208,7 +208,7 @@ public InnerModel getInnerModel() { } /** - * Set the innerModel property: It is the model used by Resource model. + * Set the innerModel property: The innerModel property. * * @param innerModel the innerModel value to set. * @return the Resource object itself. diff --git a/typespec-tests/src/main/java/com/payload/jsonmergepatch/models/ResourcePatch.java b/typespec-tests/src/main/java/com/payload/jsonmergepatch/models/ResourcePatch.java index 14d4f80181..059cb485cf 100644 --- a/typespec-tests/src/main/java/com/payload/jsonmergepatch/models/ResourcePatch.java +++ b/typespec-tests/src/main/java/com/payload/jsonmergepatch/models/ResourcePatch.java @@ -23,7 +23,7 @@ @Fluent public final class ResourcePatch implements JsonSerializable { /* - * A sequence of textual characters. + * The description property. */ @Generated private String description; @@ -41,19 +41,19 @@ public final class ResourcePatch implements JsonSerializable { private List array; /* - * A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) + * The intValue property. */ @Generated private Integer intValue; /* - * A 32 bit floating point number. (`±5.0 × 10^−324` to `±1.7 × 10^308`) + * The floatValue property. */ @Generated private Double floatValue; /* - * It is the model used by Resource model + * The innerModel property. */ @Generated private InnerModel innerModel; @@ -93,7 +93,7 @@ public ResourcePatch() { } /** - * Get the description property: A sequence of textual characters. + * Get the description property: The description property. * * @return the description value. */ @@ -103,7 +103,7 @@ public String getDescription() { } /** - * Set the description property: A sequence of textual characters. + * Set the description property: The description property. * * @param description the description value to set. * @return the ResourcePatch object itself. @@ -162,7 +162,7 @@ public ResourcePatch setArray(List array) { } /** - * Get the intValue property: A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`). + * Get the intValue property: The intValue property. * * @return the intValue value. */ @@ -172,7 +172,7 @@ public Integer getIntValue() { } /** - * Set the intValue property: A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`). + * Set the intValue property: The intValue property. * * @param intValue the intValue value to set. * @return the ResourcePatch object itself. @@ -185,7 +185,7 @@ public ResourcePatch setIntValue(Integer intValue) { } /** - * Get the floatValue property: A 32 bit floating point number. (`±5.0 × 10^−324` to `±1.7 × 10^308`). + * Get the floatValue property: The floatValue property. * * @return the floatValue value. */ @@ -195,7 +195,7 @@ public Double getFloatValue() { } /** - * Set the floatValue property: A 32 bit floating point number. (`±5.0 × 10^−324` to `±1.7 × 10^308`). + * Set the floatValue property: The floatValue property. * * @param floatValue the floatValue value to set. * @return the ResourcePatch object itself. @@ -208,7 +208,7 @@ public ResourcePatch setFloatValue(Double floatValue) { } /** - * Get the innerModel property: It is the model used by Resource model. + * Get the innerModel property: The innerModel property. * * @return the innerModel value. */ @@ -218,7 +218,7 @@ public InnerModel getInnerModel() { } /** - * Set the innerModel property: It is the model used by Resource model. + * Set the innerModel property: The innerModel property. * * @param innerModel the innerModel value to set. * @return the ResourcePatch object itself. diff --git a/typespec-tests/src/main/java/com/payload/mediatype/MediaTypeAsyncClient.java b/typespec-tests/src/main/java/com/payload/mediatype/MediaTypeAsyncClient.java index 580a96c773..630feed5c4 100644 --- a/typespec-tests/src/main/java/com/payload/mediatype/MediaTypeAsyncClient.java +++ b/typespec-tests/src/main/java/com/payload/mediatype/MediaTypeAsyncClient.java @@ -46,8 +46,6 @@ public final class MediaTypeAsyncClient { * } * * @param text A sequence of textual characters. - * - * The text parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -91,8 +89,6 @@ public Mono> getAsTextWithResponse(RequestOptions requestOp * } * * @param text A sequence of textual characters. - * - * The text parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -131,8 +127,6 @@ public Mono> getAsJsonWithResponse(RequestOptions requestOp * The sendAsText operation. * * @param text A sequence of textual characters. - * - * The text parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -172,8 +166,6 @@ public Mono getAsText() { * The sendAsJson operation. * * @param text A sequence of textual characters. - * - * The text parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/payload/mediatype/MediaTypeClient.java b/typespec-tests/src/main/java/com/payload/mediatype/MediaTypeClient.java index fce9c4abef..01bf8234fc 100644 --- a/typespec-tests/src/main/java/com/payload/mediatype/MediaTypeClient.java +++ b/typespec-tests/src/main/java/com/payload/mediatype/MediaTypeClient.java @@ -44,8 +44,6 @@ public final class MediaTypeClient { * } * * @param text A sequence of textual characters. - * - * The text parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -89,8 +87,6 @@ public Response getAsTextWithResponse(RequestOptions requestOptions) * } * * @param text A sequence of textual characters. - * - * The text parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -129,8 +125,6 @@ public Response getAsJsonWithResponse(RequestOptions requestOptions) * The sendAsText operation. * * @param text A sequence of textual characters. - * - * The text parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -168,8 +162,6 @@ public String getAsText() { * The sendAsJson operation. * * @param text A sequence of textual characters. - * - * The text parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/payload/mediatype/implementation/StringBodiesImpl.java b/typespec-tests/src/main/java/com/payload/mediatype/implementation/StringBodiesImpl.java index fb5118e085..6174c3efd9 100644 --- a/typespec-tests/src/main/java/com/payload/mediatype/implementation/StringBodiesImpl.java +++ b/typespec-tests/src/main/java/com/payload/mediatype/implementation/StringBodiesImpl.java @@ -144,8 +144,6 @@ Response getAsJsonSync(@HeaderParam("accept") String accept, Request * } * * @param text A sequence of textual characters. - * - * The text parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -169,8 +167,6 @@ public Mono> sendAsTextWithResponseAsync(BinaryData text, Request * } * * @param text A sequence of textual characters. - * - * The text parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -236,8 +232,6 @@ public Response getAsTextWithResponse(RequestOptions requestOptions) * } * * @param text A sequence of textual characters. - * - * The text parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -261,8 +255,6 @@ public Mono> sendAsJsonWithResponseAsync(BinaryData text, Request * } * * @param text A sequence of textual characters. - * - * The text parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/payload/multipart/MultiPartAsyncClient.java b/typespec-tests/src/main/java/com/payload/multipart/MultiPartAsyncClient.java index 204db3ce65..d154076752 100644 --- a/typespec-tests/src/main/java/com/payload/multipart/MultiPartAsyncClient.java +++ b/typespec-tests/src/main/java/com/payload/multipart/MultiPartAsyncClient.java @@ -381,7 +381,7 @@ public Mono checkFileNameAndContentType(MultiPartRequest body) { /** * Test content-type: multipart/form-data. * - * @param profileImage The file details for the "profileImage" field. + * @param profileImage The profileImage parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/payload/multipart/MultiPartClient.java b/typespec-tests/src/main/java/com/payload/multipart/MultiPartClient.java index 948741eb65..8dfb7ade7e 100644 --- a/typespec-tests/src/main/java/com/payload/multipart/MultiPartClient.java +++ b/typespec-tests/src/main/java/com/payload/multipart/MultiPartClient.java @@ -370,7 +370,7 @@ public void checkFileNameAndContentType(MultiPartRequest body) { /** * Test content-type: multipart/form-data. * - * @param profileImage The file details for the "profileImage" field. + * @param profileImage The profileImage parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/payload/multipart/models/Address.java b/typespec-tests/src/main/java/com/payload/multipart/models/Address.java index ef6cb778de..000d1cc4cb 100644 --- a/typespec-tests/src/main/java/com/payload/multipart/models/Address.java +++ b/typespec-tests/src/main/java/com/payload/multipart/models/Address.java @@ -18,7 +18,7 @@ @Immutable public final class Address implements JsonSerializable
{ /* - * A sequence of textual characters. + * The city property. */ @Generated private final String city; @@ -34,7 +34,7 @@ public Address(String city) { } /** - * Get the city property: A sequence of textual characters. + * Get the city property: The city property. * * @return the city value. */ diff --git a/typespec-tests/src/main/java/com/payload/multipart/models/BinaryArrayPartsRequest.java b/typespec-tests/src/main/java/com/payload/multipart/models/BinaryArrayPartsRequest.java index d59648c5f0..e7d2b13e3d 100644 --- a/typespec-tests/src/main/java/com/payload/multipart/models/BinaryArrayPartsRequest.java +++ b/typespec-tests/src/main/java/com/payload/multipart/models/BinaryArrayPartsRequest.java @@ -14,7 +14,7 @@ @Immutable public final class BinaryArrayPartsRequest { /* - * A sequence of textual characters. + * The id property. */ @Generated private final String id; @@ -38,7 +38,7 @@ public BinaryArrayPartsRequest(String id, List pictures) { } /** - * Get the id property: A sequence of textual characters. + * Get the id property: The id property. * * @return the id value. */ diff --git a/typespec-tests/src/main/java/com/payload/multipart/models/ComplexPartsRequest.java b/typespec-tests/src/main/java/com/payload/multipart/models/ComplexPartsRequest.java index 904ae4d86a..59e2ed120c 100644 --- a/typespec-tests/src/main/java/com/payload/multipart/models/ComplexPartsRequest.java +++ b/typespec-tests/src/main/java/com/payload/multipart/models/ComplexPartsRequest.java @@ -14,7 +14,7 @@ @Immutable public final class ComplexPartsRequest { /* - * A sequence of textual characters. + * The id property. */ @Generated private final String id; @@ -63,7 +63,7 @@ public ComplexPartsRequest(String id, Address address, ProfileImageFileDetails p } /** - * Get the id property: A sequence of textual characters. + * Get the id property: The id property. * * @return the id value. */ diff --git a/typespec-tests/src/main/java/com/payload/multipart/models/MultiPartRequest.java b/typespec-tests/src/main/java/com/payload/multipart/models/MultiPartRequest.java index b64b6ac193..8a3f9877ff 100644 --- a/typespec-tests/src/main/java/com/payload/multipart/models/MultiPartRequest.java +++ b/typespec-tests/src/main/java/com/payload/multipart/models/MultiPartRequest.java @@ -13,7 +13,7 @@ @Immutable public final class MultiPartRequest { /* - * A sequence of textual characters. + * The id property. */ @Generated private final String id; @@ -37,7 +37,7 @@ public MultiPartRequest(String id, ProfileImageFileDetails profileImage) { } /** - * Get the id property: A sequence of textual characters. + * Get the id property: The id property. * * @return the id value. */ diff --git a/typespec-tests/src/main/java/com/payload/pageable/PageableAsyncClient.java b/typespec-tests/src/main/java/com/payload/pageable/PageableAsyncClient.java index 6e37182faa..f3539f4079 100644 --- a/typespec-tests/src/main/java/com/payload/pageable/PageableAsyncClient.java +++ b/typespec-tests/src/main/java/com/payload/pageable/PageableAsyncClient.java @@ -46,9 +46,8 @@ public final class PageableAsyncClient { * * * - * + * *
Query Parameters
NameTypeRequiredDescription
maxpagesizeIntegerNoA 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) - * - * The maxPageSize parameter
maxpagesizeIntegerNoA 32-bit integer. (`-2,147,483,648` to + * `2,147,483,647`)
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

diff --git a/typespec-tests/src/main/java/com/payload/pageable/PageableClient.java b/typespec-tests/src/main/java/com/payload/pageable/PageableClient.java index 2a2e266a2e..8a1e3e42bb 100644 --- a/typespec-tests/src/main/java/com/payload/pageable/PageableClient.java +++ b/typespec-tests/src/main/java/com/payload/pageable/PageableClient.java @@ -42,9 +42,8 @@ public final class PageableClient { * * * - * + * *
Query Parameters
NameTypeRequiredDescription
maxpagesizeIntegerNoA 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) - * - * The maxPageSize parameter
maxpagesizeIntegerNoA 32-bit integer. (`-2,147,483,648` to + * `2,147,483,647`)
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

diff --git a/typespec-tests/src/main/java/com/payload/pageable/implementation/PageableClientImpl.java b/typespec-tests/src/main/java/com/payload/pageable/implementation/PageableClientImpl.java index 2ec022bcf2..527ab4477f 100644 --- a/typespec-tests/src/main/java/com/payload/pageable/implementation/PageableClientImpl.java +++ b/typespec-tests/src/main/java/com/payload/pageable/implementation/PageableClientImpl.java @@ -154,9 +154,8 @@ Response listNextSync(@PathParam(value = "nextLink", encoded = true) * * * - * + * *
Query Parameters
NameTypeRequiredDescription
maxpagesizeIntegerNoA 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) - * - * The maxPageSize parameter
maxpagesizeIntegerNoA 32-bit integer. (`-2,147,483,648` to + * `2,147,483,647`)
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

@@ -188,9 +187,8 @@ private Mono> listSinglePageAsync(RequestOptions reque * * * - * + * *
Query Parameters
NameTypeRequiredDescription
maxpagesizeIntegerNoA 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) - * - * The maxPageSize parameter
maxpagesizeIntegerNoA 32-bit integer. (`-2,147,483,648` to + * `2,147,483,647`)
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

@@ -243,9 +241,8 @@ public PagedFlux listAsync(RequestOptions requestOptions) { * * * - * + * *
Query Parameters
NameTypeRequiredDescription
maxpagesizeIntegerNoA 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) - * - * The maxPageSize parameter
maxpagesizeIntegerNoA 32-bit integer. (`-2,147,483,648` to + * `2,147,483,647`)
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

@@ -277,9 +274,8 @@ private PagedResponse listSinglePage(RequestOptions requestOptions) * * * - * + * *
Query Parameters
NameTypeRequiredDescription
maxpagesizeIntegerNoA 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) - * - * The maxPageSize parameter
maxpagesizeIntegerNoA 32-bit integer. (`-2,147,483,648` to + * `2,147,483,647`)
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

@@ -336,9 +332,7 @@ public PagedIterable list(RequestOptions requestOptions) { * } * } * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -364,9 +358,7 @@ private Mono> listNextSinglePageAsync(String nextLink, * } * } * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/resiliency/servicedriven/ResiliencyServiceDrivenAsyncClient.java b/typespec-tests/src/main/java/com/resiliency/servicedriven/ResiliencyServiceDrivenAsyncClient.java index 7403ab0740..cf0cb1cbf2 100644 --- a/typespec-tests/src/main/java/com/resiliency/servicedriven/ResiliencyServiceDrivenAsyncClient.java +++ b/typespec-tests/src/main/java/com/resiliency/servicedriven/ResiliencyServiceDrivenAsyncClient.java @@ -59,9 +59,7 @@ public Mono> addOperationWithResponse(RequestOptions requestOptio * * * - * + * *
Query Parameters
NameTypeRequiredDescription
new-parameterStringNoA sequence of textual characters. - * - * The newParameter parameter
new-parameterStringNoA sequence of textual characters.
* You can add these to a request with {@link RequestOptions#addQueryParam} * @@ -85,15 +83,11 @@ public Mono> fromNoneWithResponse(RequestOptions requestOptions) * * * - * + * *
Query Parameters
NameTypeRequiredDescription
new-parameterStringNoA sequence of textual characters. - * - * The newParameter parameter
new-parameterStringNoA sequence of textual characters.
* You can add these to a request with {@link RequestOptions#addQueryParam} * * @param parameter A sequence of textual characters. - * - * The parameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -114,12 +108,8 @@ public Mono> fromOneRequiredWithResponse(String parameter, Reques * * * - * - * + * + * *
Query Parameters
NameTypeRequiredDescription
parameterStringNoA sequence of textual characters. - * - * The parameter parameter
new-parameterStringNoA sequence of textual characters. - * - * The newParameter parameter
parameterStringNoA sequence of textual characters.
new-parameterStringNoA sequence of textual characters.
* You can add these to a request with {@link RequestOptions#addQueryParam} * @@ -158,8 +148,6 @@ public Mono addOperation() { * Test that grew up from accepting no parameters to an optional input parameter. * * @param newParameter A sequence of textual characters. - * - * The newParameter parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -206,11 +194,7 @@ public Mono fromNone() { * parameter. * * @param parameter A sequence of textual characters. - * - * The parameter parameter. * @param newParameter A sequence of textual characters. - * - * The newParameter parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -239,8 +223,6 @@ public Mono fromOneRequired(String parameter, String newParameter) { * parameter. * * @param parameter A sequence of textual characters. - * - * The parameter parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -262,11 +244,7 @@ public Mono fromOneRequired(String parameter) { * parameters. * * @param parameter A sequence of textual characters. - * - * The parameter parameter. * @param newParameter A sequence of textual characters. - * - * The newParameter parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -298,8 +276,6 @@ public Mono fromOneOptional(String parameter, String newParameter) { * parameters. * * @param parameter A sequence of textual characters. - * - * The parameter parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/resiliency/servicedriven/ResiliencyServiceDrivenClient.java b/typespec-tests/src/main/java/com/resiliency/servicedriven/ResiliencyServiceDrivenClient.java index 25472c354c..59f2ebdf72 100644 --- a/typespec-tests/src/main/java/com/resiliency/servicedriven/ResiliencyServiceDrivenClient.java +++ b/typespec-tests/src/main/java/com/resiliency/servicedriven/ResiliencyServiceDrivenClient.java @@ -58,9 +58,7 @@ public Response addOperationWithResponse(RequestOptions requestOptions) { * * * - * + * *
Query Parameters
NameTypeRequiredDescription
new-parameterStringNoA sequence of textual characters. - * - * The newParameter parameter
new-parameterStringNoA sequence of textual characters.
* You can add these to a request with {@link RequestOptions#addQueryParam} * @@ -84,15 +82,11 @@ public Response fromNoneWithResponse(RequestOptions requestOptions) { * * * - * + * *
Query Parameters
NameTypeRequiredDescription
new-parameterStringNoA sequence of textual characters. - * - * The newParameter parameter
new-parameterStringNoA sequence of textual characters.
* You can add these to a request with {@link RequestOptions#addQueryParam} * * @param parameter A sequence of textual characters. - * - * The parameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -113,12 +107,8 @@ public Response fromOneRequiredWithResponse(String parameter, RequestOptio * * * - * - * + * + * *
Query Parameters
NameTypeRequiredDescription
parameterStringNoA sequence of textual characters. - * - * The parameter parameter
new-parameterStringNoA sequence of textual characters. - * - * The newParameter parameter
parameterStringNoA sequence of textual characters.
new-parameterStringNoA sequence of textual characters.
* You can add these to a request with {@link RequestOptions#addQueryParam} * @@ -156,8 +146,6 @@ public void addOperation() { * Test that grew up from accepting no parameters to an optional input parameter. * * @param newParameter A sequence of textual characters. - * - * The newParameter parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -202,11 +190,7 @@ public void fromNone() { * parameter. * * @param parameter A sequence of textual characters. - * - * The parameter parameter. * @param newParameter A sequence of textual characters. - * - * The newParameter parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -234,8 +218,6 @@ public void fromOneRequired(String parameter, String newParameter) { * parameter. * * @param parameter A sequence of textual characters. - * - * The parameter parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -256,11 +238,7 @@ public void fromOneRequired(String parameter) { * parameters. * * @param parameter A sequence of textual characters. - * - * The parameter parameter. * @param newParameter A sequence of textual characters. - * - * The newParameter parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -291,8 +269,6 @@ public void fromOneOptional(String parameter, String newParameter) { * parameters. * * @param parameter A sequence of textual characters. - * - * The parameter parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/resiliency/servicedriven/implementation/ResiliencyServiceDrivenClientImpl.java b/typespec-tests/src/main/java/com/resiliency/servicedriven/implementation/ResiliencyServiceDrivenClientImpl.java index 7a998b2cde..25bec90b23 100644 --- a/typespec-tests/src/main/java/com/resiliency/servicedriven/implementation/ResiliencyServiceDrivenClientImpl.java +++ b/typespec-tests/src/main/java/com/resiliency/servicedriven/implementation/ResiliencyServiceDrivenClientImpl.java @@ -307,9 +307,7 @@ public Response addOperationWithResponse(RequestOptions requestOptions) { * * * - * + * *
Query Parameters
NameTypeRequiredDescription
new-parameterStringNoA sequence of textual characters. - * - * The newParameter parameter
new-parameterStringNoA sequence of textual characters.
* You can add these to a request with {@link RequestOptions#addQueryParam} * @@ -333,9 +331,7 @@ public Mono> fromNoneWithResponseAsync(RequestOptions requestOpti * * * - * + * *
Query Parameters
NameTypeRequiredDescription
new-parameterStringNoA sequence of textual characters. - * - * The newParameter parameter
new-parameterStringNoA sequence of textual characters.
* You can add these to a request with {@link RequestOptions#addQueryParam} * @@ -360,15 +356,11 @@ public Response fromNoneWithResponse(RequestOptions requestOptions) { * * * - * + * *
Query Parameters
NameTypeRequiredDescription
new-parameterStringNoA sequence of textual characters. - * - * The newParameter parameter
new-parameterStringNoA sequence of textual characters.
* You can add these to a request with {@link RequestOptions#addQueryParam} * * @param parameter A sequence of textual characters. - * - * The parameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -391,15 +383,11 @@ public Mono> fromOneRequiredWithResponseAsync(String parameter, R * * * - * + * *
Query Parameters
NameTypeRequiredDescription
new-parameterStringNoA sequence of textual characters. - * - * The newParameter parameter
new-parameterStringNoA sequence of textual characters.
* You can add these to a request with {@link RequestOptions#addQueryParam} * * @param parameter A sequence of textual characters. - * - * The parameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -421,12 +409,8 @@ public Response fromOneRequiredWithResponse(String parameter, RequestOptio * * * - * - * + * + * *
Query Parameters
NameTypeRequiredDescription
parameterStringNoA sequence of textual characters. - * - * The parameter parameter
new-parameterStringNoA sequence of textual characters. - * - * The newParameter parameter
parameterStringNoA sequence of textual characters.
new-parameterStringNoA sequence of textual characters.
* You can add these to a request with {@link RequestOptions#addQueryParam} * @@ -452,12 +436,8 @@ public Mono> fromOneOptionalWithResponseAsync(RequestOptions requ * * * - * - * + * + * *
Query Parameters
NameTypeRequiredDescription
parameterStringNoA sequence of textual characters. - * - * The parameter parameter
new-parameterStringNoA sequence of textual characters. - * - * The newParameter parameter
parameterStringNoA sequence of textual characters.
new-parameterStringNoA sequence of textual characters.
* You can add these to a request with {@link RequestOptions#addQueryParam} * diff --git a/typespec-tests/src/main/java/com/resiliency/servicedriven/v1/ResiliencyServiceDrivenAsyncClient.java b/typespec-tests/src/main/java/com/resiliency/servicedriven/v1/ResiliencyServiceDrivenAsyncClient.java index c0035bb1d6..3108893c3d 100644 --- a/typespec-tests/src/main/java/com/resiliency/servicedriven/v1/ResiliencyServiceDrivenAsyncClient.java +++ b/typespec-tests/src/main/java/com/resiliency/servicedriven/v1/ResiliencyServiceDrivenAsyncClient.java @@ -58,8 +58,6 @@ public Mono> fromNoneWithResponse(RequestOptions requestOptions) * parameter as well. * * @param parameter A sequence of textual characters. - * - * The parameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -80,9 +78,7 @@ public Mono> fromOneRequiredWithResponse(String parameter, Reques * * * - * + * *
Query Parameters
NameTypeRequiredDescription
parameterStringNoA sequence of textual characters. - * - * The parameter parameter
parameterStringNoA sequence of textual characters.
* You can add these to a request with {@link RequestOptions#addQueryParam} * @@ -123,8 +119,6 @@ public Mono fromNone() { * parameter as well. * * @param parameter A sequence of textual characters. - * - * The parameter parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -146,8 +140,6 @@ public Mono fromOneRequired(String parameter) { * parameter as well. * * @param parameter A sequence of textual characters. - * - * The parameter parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/resiliency/servicedriven/v1/ResiliencyServiceDrivenClient.java b/typespec-tests/src/main/java/com/resiliency/servicedriven/v1/ResiliencyServiceDrivenClient.java index c0d7b4476d..48c25d5e2d 100644 --- a/typespec-tests/src/main/java/com/resiliency/servicedriven/v1/ResiliencyServiceDrivenClient.java +++ b/typespec-tests/src/main/java/com/resiliency/servicedriven/v1/ResiliencyServiceDrivenClient.java @@ -56,8 +56,6 @@ public Response fromNoneWithResponse(RequestOptions requestOptions) { * parameter as well. * * @param parameter A sequence of textual characters. - * - * The parameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -78,9 +76,7 @@ public Response fromOneRequiredWithResponse(String parameter, RequestOptio * * * - * + * *
Query Parameters
NameTypeRequiredDescription
parameterStringNoA sequence of textual characters. - * - * The parameter parameter
parameterStringNoA sequence of textual characters.
* You can add these to a request with {@link RequestOptions#addQueryParam} * @@ -120,8 +116,6 @@ public void fromNone() { * parameter as well. * * @param parameter A sequence of textual characters. - * - * The parameter parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -142,8 +136,6 @@ public void fromOneRequired(String parameter) { * parameter as well. * * @param parameter A sequence of textual characters. - * - * The parameter parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/resiliency/servicedriven/v1/implementation/ResiliencyServiceDrivenClientImpl.java b/typespec-tests/src/main/java/com/resiliency/servicedriven/v1/implementation/ResiliencyServiceDrivenClientImpl.java index a656d1dd73..e4ba3a75da 100644 --- a/typespec-tests/src/main/java/com/resiliency/servicedriven/v1/implementation/ResiliencyServiceDrivenClientImpl.java +++ b/typespec-tests/src/main/java/com/resiliency/servicedriven/v1/implementation/ResiliencyServiceDrivenClientImpl.java @@ -284,8 +284,6 @@ public Response fromNoneWithResponse(RequestOptions requestOptions) { * parameter as well. * * @param parameter A sequence of textual characters. - * - * The parameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -306,8 +304,6 @@ public Mono> fromOneRequiredWithResponseAsync(String parameter, R * parameter as well. * * @param parameter A sequence of textual characters. - * - * The parameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -329,9 +325,7 @@ public Response fromOneRequiredWithResponse(String parameter, RequestOptio * * * - * + * *
Query Parameters
NameTypeRequiredDescription
parameterStringNoA sequence of textual characters. - * - * The parameter parameter
parameterStringNoA sequence of textual characters.
* You can add these to a request with {@link RequestOptions#addQueryParam} * @@ -357,9 +351,7 @@ public Mono> fromOneOptionalWithResponseAsync(RequestOptions requ * * * - * + * *
Query Parameters
NameTypeRequiredDescription
parameterStringNoA sequence of textual characters. - * - * The parameter parameter
parameterStringNoA sequence of textual characters.
* You can add these to a request with {@link RequestOptions#addQueryParam} * diff --git a/typespec-tests/src/main/java/com/server/path/multiple/MultipleAsyncClient.java b/typespec-tests/src/main/java/com/server/path/multiple/MultipleAsyncClient.java index 7cbe26fac3..04b311cd86 100644 --- a/typespec-tests/src/main/java/com/server/path/multiple/MultipleAsyncClient.java +++ b/typespec-tests/src/main/java/com/server/path/multiple/MultipleAsyncClient.java @@ -56,8 +56,6 @@ public Mono> noOperationParamsWithResponse(RequestOptions request * The withOperationPathParam operation. * * @param keyword A sequence of textual characters. - * - * The keyword parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -93,8 +91,6 @@ public Mono noOperationParams() { * The withOperationPathParam operation. * * @param keyword A sequence of textual characters. - * - * The keyword parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/server/path/multiple/MultipleClient.java b/typespec-tests/src/main/java/com/server/path/multiple/MultipleClient.java index 6b61e03394..9589294dd1 100644 --- a/typespec-tests/src/main/java/com/server/path/multiple/MultipleClient.java +++ b/typespec-tests/src/main/java/com/server/path/multiple/MultipleClient.java @@ -54,8 +54,6 @@ public Response noOperationParamsWithResponse(RequestOptions requestOption * The withOperationPathParam operation. * * @param keyword A sequence of textual characters. - * - * The keyword parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -90,8 +88,6 @@ public void noOperationParams() { * The withOperationPathParam operation. * * @param keyword A sequence of textual characters. - * - * The keyword parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/server/path/multiple/implementation/MultipleClientImpl.java b/typespec-tests/src/main/java/com/server/path/multiple/implementation/MultipleClientImpl.java index 21b469191c..412cb2d901 100644 --- a/typespec-tests/src/main/java/com/server/path/multiple/implementation/MultipleClientImpl.java +++ b/typespec-tests/src/main/java/com/server/path/multiple/implementation/MultipleClientImpl.java @@ -221,8 +221,6 @@ public Response noOperationParamsWithResponse(RequestOptions requestOption * The withOperationPathParam operation. * * @param keyword A sequence of textual characters. - * - * The keyword parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -241,8 +239,6 @@ public Mono> withOperationPathParamWithResponseAsync(String keywo * The withOperationPathParam operation. * * @param keyword A sequence of textual characters. - * - * The keyword parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/server/versions/notversioned/NotVersionedAsyncClient.java b/typespec-tests/src/main/java/com/server/versions/notversioned/NotVersionedAsyncClient.java index f8e9035b27..9ea0d1aea3 100644 --- a/typespec-tests/src/main/java/com/server/versions/notversioned/NotVersionedAsyncClient.java +++ b/typespec-tests/src/main/java/com/server/versions/notversioned/NotVersionedAsyncClient.java @@ -56,8 +56,6 @@ public Mono> withoutApiVersionWithResponse(RequestOptions request * The withQueryApiVersion operation. * * @param apiVersion A sequence of textual characters. - * - * The apiVersion parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -75,8 +73,6 @@ public Mono> withQueryApiVersionWithResponse(String apiVersion, R * The withPathApiVersion operation. * * @param apiVersion A sequence of textual characters. - * - * The apiVersion parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -112,8 +108,6 @@ public Mono withoutApiVersion() { * The withQueryApiVersion operation. * * @param apiVersion A sequence of textual characters. - * - * The apiVersion parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -134,8 +128,6 @@ public Mono withQueryApiVersion(String apiVersion) { * The withPathApiVersion operation. * * @param apiVersion A sequence of textual characters. - * - * The apiVersion parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/server/versions/notversioned/NotVersionedClient.java b/typespec-tests/src/main/java/com/server/versions/notversioned/NotVersionedClient.java index 176cf4a19c..f55fe3059c 100644 --- a/typespec-tests/src/main/java/com/server/versions/notversioned/NotVersionedClient.java +++ b/typespec-tests/src/main/java/com/server/versions/notversioned/NotVersionedClient.java @@ -54,8 +54,6 @@ public Response withoutApiVersionWithResponse(RequestOptions requestOption * The withQueryApiVersion operation. * * @param apiVersion A sequence of textual characters. - * - * The apiVersion parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -73,8 +71,6 @@ public Response withQueryApiVersionWithResponse(String apiVersion, Request * The withPathApiVersion operation. * * @param apiVersion A sequence of textual characters. - * - * The apiVersion parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -109,8 +105,6 @@ public void withoutApiVersion() { * The withQueryApiVersion operation. * * @param apiVersion A sequence of textual characters. - * - * The apiVersion parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -130,8 +124,6 @@ public void withQueryApiVersion(String apiVersion) { * The withPathApiVersion operation. * * @param apiVersion A sequence of textual characters. - * - * The apiVersion parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/server/versions/notversioned/implementation/NotVersionedClientImpl.java b/typespec-tests/src/main/java/com/server/versions/notversioned/implementation/NotVersionedClientImpl.java index ca4105e9d0..91b6fb3571 100644 --- a/typespec-tests/src/main/java/com/server/versions/notversioned/implementation/NotVersionedClientImpl.java +++ b/typespec-tests/src/main/java/com/server/versions/notversioned/implementation/NotVersionedClientImpl.java @@ -221,8 +221,6 @@ public Response withoutApiVersionWithResponse(RequestOptions requestOption * The withQueryApiVersion operation. * * @param apiVersion A sequence of textual characters. - * - * The apiVersion parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -241,8 +239,6 @@ public Mono> withQueryApiVersionWithResponseAsync(String apiVersi * The withQueryApiVersion operation. * * @param apiVersion A sequence of textual characters. - * - * The apiVersion parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -260,8 +256,6 @@ public Response withQueryApiVersionWithResponse(String apiVersion, Request * The withPathApiVersion operation. * * @param apiVersion A sequence of textual characters. - * - * The apiVersion parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -280,8 +274,6 @@ public Mono> withPathApiVersionWithResponseAsync(String apiVersio * The withPathApiVersion operation. * * @param apiVersion A sequence of textual characters. - * - * The apiVersion parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/specialheaders/conditionalrequest/ConditionalRequestAsyncClient.java b/typespec-tests/src/main/java/com/specialheaders/conditionalrequest/ConditionalRequestAsyncClient.java index e97787f536..046861b2c0 100644 --- a/typespec-tests/src/main/java/com/specialheaders/conditionalrequest/ConditionalRequestAsyncClient.java +++ b/typespec-tests/src/main/java/com/specialheaders/conditionalrequest/ConditionalRequestAsyncClient.java @@ -43,9 +43,7 @@ public final class ConditionalRequestAsyncClient { * * * - * + * *
Header Parameters
NameTypeRequiredDescription
If-MatchStringNoA sequence of textual characters. - * - * The ifMatch parameter
If-MatchStringNoA sequence of textual characters.
* You can add these to a request with {@link RequestOptions#addHeader} * @@ -68,9 +66,7 @@ public Mono> postIfMatchWithResponse(RequestOptions requestOption * * * - * + * *
Header Parameters
NameTypeRequiredDescription
If-None-MatchStringNoA sequence of textual characters. - * - * The ifNoneMatch parameter
If-None-MatchStringNoA sequence of textual characters.
* You can add these to a request with {@link RequestOptions#addHeader} * @@ -91,8 +87,6 @@ public Mono> postIfNoneMatchWithResponse(RequestOptions requestOp * Check when only If-Match in header is defined. * * @param ifMatch A sequence of textual characters. - * - * The ifMatch parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -134,8 +128,6 @@ public Mono postIfMatch() { * Check when only If-None-Match in header is defined. * * @param ifNoneMatch A sequence of textual characters. - * - * The ifNoneMatch parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/specialheaders/conditionalrequest/ConditionalRequestClient.java b/typespec-tests/src/main/java/com/specialheaders/conditionalrequest/ConditionalRequestClient.java index 6313ecde49..dc8a49b6c4 100644 --- a/typespec-tests/src/main/java/com/specialheaders/conditionalrequest/ConditionalRequestClient.java +++ b/typespec-tests/src/main/java/com/specialheaders/conditionalrequest/ConditionalRequestClient.java @@ -41,9 +41,7 @@ public final class ConditionalRequestClient { * * * - * + * *
Header Parameters
NameTypeRequiredDescription
If-MatchStringNoA sequence of textual characters. - * - * The ifMatch parameter
If-MatchStringNoA sequence of textual characters.
* You can add these to a request with {@link RequestOptions#addHeader} * @@ -66,9 +64,7 @@ public Response postIfMatchWithResponse(RequestOptions requestOptions) { * * * - * + * *
Header Parameters
NameTypeRequiredDescription
If-None-MatchStringNoA sequence of textual characters. - * - * The ifNoneMatch parameter
If-None-MatchStringNoA sequence of textual characters.
* You can add these to a request with {@link RequestOptions#addHeader} * @@ -89,8 +85,6 @@ public Response postIfNoneMatchWithResponse(RequestOptions requestOptions) * Check when only If-Match in header is defined. * * @param ifMatch A sequence of textual characters. - * - * The ifMatch parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -130,8 +124,6 @@ public void postIfMatch() { * Check when only If-None-Match in header is defined. * * @param ifNoneMatch A sequence of textual characters. - * - * The ifNoneMatch parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/specialheaders/conditionalrequest/implementation/ConditionalRequestClientImpl.java b/typespec-tests/src/main/java/com/specialheaders/conditionalrequest/implementation/ConditionalRequestClientImpl.java index efe141a045..8f29b505d4 100644 --- a/typespec-tests/src/main/java/com/specialheaders/conditionalrequest/implementation/ConditionalRequestClientImpl.java +++ b/typespec-tests/src/main/java/com/specialheaders/conditionalrequest/implementation/ConditionalRequestClientImpl.java @@ -146,9 +146,7 @@ Response postIfNoneMatchSync(@HeaderParam("accept") String accept, Request * * * - * + * *
Header Parameters
NameTypeRequiredDescription
If-MatchStringNoA sequence of textual characters. - * - * The ifMatch parameter
If-MatchStringNoA sequence of textual characters.
* You can add these to a request with {@link RequestOptions#addHeader} * @@ -171,9 +169,7 @@ public Mono> postIfMatchWithResponseAsync(RequestOptions requestO * * * - * + * *
Header Parameters
NameTypeRequiredDescription
If-MatchStringNoA sequence of textual characters. - * - * The ifMatch parameter
If-MatchStringNoA sequence of textual characters.
* You can add these to a request with {@link RequestOptions#addHeader} * @@ -196,9 +192,7 @@ public Response postIfMatchWithResponse(RequestOptions requestOptions) { * * * - * + * *
Header Parameters
NameTypeRequiredDescription
If-None-MatchStringNoA sequence of textual characters. - * - * The ifNoneMatch parameter
If-None-MatchStringNoA sequence of textual characters.
* You can add these to a request with {@link RequestOptions#addHeader} * @@ -221,9 +215,7 @@ public Mono> postIfNoneMatchWithResponseAsync(RequestOptions requ * * * - * + * *
Header Parameters
NameTypeRequiredDescription
If-None-MatchStringNoA sequence of textual characters. - * - * The ifNoneMatch parameter
If-None-MatchStringNoA sequence of textual characters.
* You can add these to a request with {@link RequestOptions#addHeader} * diff --git a/typespec-tests/src/main/java/com/specialwords/ParametersAsyncClient.java b/typespec-tests/src/main/java/com/specialwords/ParametersAsyncClient.java index ff52e15497..60fb2f9186 100644 --- a/typespec-tests/src/main/java/com/specialwords/ParametersAsyncClient.java +++ b/typespec-tests/src/main/java/com/specialwords/ParametersAsyncClient.java @@ -40,8 +40,6 @@ public final class ParametersAsyncClient { * The withAnd operation. * * @param and A sequence of textual characters. - * - * The and parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -59,8 +57,6 @@ public Mono> withAndWithResponse(String and, RequestOptions reque * The withAs operation. * * @param as A sequence of textual characters. - * - * The as parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -78,8 +74,6 @@ public Mono> withAsWithResponse(String as, RequestOptions request * The withAssert operation. * * @param assertParameter A sequence of textual characters. - * - * The assertParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -97,8 +91,6 @@ public Mono> withAssertWithResponse(String assertParameter, Reque * The withAsync operation. * * @param async A sequence of textual characters. - * - * The async parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -116,8 +108,6 @@ public Mono> withAsyncWithResponse(String async, RequestOptions r * The withAwait operation. * * @param await A sequence of textual characters. - * - * The await parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -135,8 +125,6 @@ public Mono> withAwaitWithResponse(String await, RequestOptions r * The withBreak operation. * * @param breakParameter A sequence of textual characters. - * - * The breakParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -154,8 +142,6 @@ public Mono> withBreakWithResponse(String breakParameter, Request * The withClass operation. * * @param classParameter A sequence of textual characters. - * - * The classParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -173,8 +159,6 @@ public Mono> withClassWithResponse(String classParameter, Request * The withConstructor operation. * * @param constructor A sequence of textual characters. - * - * The constructor parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -192,8 +176,6 @@ public Mono> withConstructorWithResponse(String constructor, Requ * The withContinue operation. * * @param continueParameter A sequence of textual characters. - * - * The continueParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -211,8 +193,6 @@ public Mono> withContinueWithResponse(String continueParameter, R * The withDef operation. * * @param def A sequence of textual characters. - * - * The def parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -230,8 +210,6 @@ public Mono> withDefWithResponse(String def, RequestOptions reque * The withDel operation. * * @param del A sequence of textual characters. - * - * The del parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -249,8 +227,6 @@ public Mono> withDelWithResponse(String del, RequestOptions reque * The withElif operation. * * @param elif A sequence of textual characters. - * - * The elif parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -268,8 +244,6 @@ public Mono> withElifWithResponse(String elif, RequestOptions req * The withElse operation. * * @param elseParameter A sequence of textual characters. - * - * The elseParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -287,8 +261,6 @@ public Mono> withElseWithResponse(String elseParameter, RequestOp * The withExcept operation. * * @param except A sequence of textual characters. - * - * The except parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -306,8 +278,6 @@ public Mono> withExceptWithResponse(String except, RequestOptions * The withExec operation. * * @param exec A sequence of textual characters. - * - * The exec parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -325,8 +295,6 @@ public Mono> withExecWithResponse(String exec, RequestOptions req * The withFinally operation. * * @param finallyParameter A sequence of textual characters. - * - * The finallyParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -344,8 +312,6 @@ public Mono> withFinallyWithResponse(String finallyParameter, Req * The withFor operation. * * @param forParameter A sequence of textual characters. - * - * The forParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -363,8 +329,6 @@ public Mono> withForWithResponse(String forParameter, RequestOpti * The withFrom operation. * * @param from A sequence of textual characters. - * - * The from parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -382,8 +346,6 @@ public Mono> withFromWithResponse(String from, RequestOptions req * The withGlobal operation. * * @param global A sequence of textual characters. - * - * The global parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -401,8 +363,6 @@ public Mono> withGlobalWithResponse(String global, RequestOptions * The withIf operation. * * @param ifParameter A sequence of textual characters. - * - * The ifParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -420,8 +380,6 @@ public Mono> withIfWithResponse(String ifParameter, RequestOption * The withImport operation. * * @param importParameter A sequence of textual characters. - * - * The importParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -439,8 +397,6 @@ public Mono> withImportWithResponse(String importParameter, Reque * The withIn operation. * * @param in A sequence of textual characters. - * - * The in parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -458,8 +414,6 @@ public Mono> withInWithResponse(String in, RequestOptions request * The withIs operation. * * @param is A sequence of textual characters. - * - * The is parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -477,8 +431,6 @@ public Mono> withIsWithResponse(String is, RequestOptions request * The withLambda operation. * * @param lambda A sequence of textual characters. - * - * The lambda parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -496,8 +448,6 @@ public Mono> withLambdaWithResponse(String lambda, RequestOptions * The withNot operation. * * @param not A sequence of textual characters. - * - * The not parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -515,8 +465,6 @@ public Mono> withNotWithResponse(String not, RequestOptions reque * The withOr operation. * * @param or A sequence of textual characters. - * - * The or parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -534,8 +482,6 @@ public Mono> withOrWithResponse(String or, RequestOptions request * The withPass operation. * * @param pass A sequence of textual characters. - * - * The pass parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -553,8 +499,6 @@ public Mono> withPassWithResponse(String pass, RequestOptions req * The withRaise operation. * * @param raise A sequence of textual characters. - * - * The raise parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -572,8 +516,6 @@ public Mono> withRaiseWithResponse(String raise, RequestOptions r * The withReturn operation. * * @param returnParameter A sequence of textual characters. - * - * The returnParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -591,8 +533,6 @@ public Mono> withReturnWithResponse(String returnParameter, Reque * The withTry operation. * * @param tryParameter A sequence of textual characters. - * - * The tryParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -610,8 +550,6 @@ public Mono> withTryWithResponse(String tryParameter, RequestOpti * The withWhile operation. * * @param whileParameter A sequence of textual characters. - * - * The whileParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -629,8 +567,6 @@ public Mono> withWhileWithResponse(String whileParameter, Request * The withWith operation. * * @param with A sequence of textual characters. - * - * The with parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -648,8 +584,6 @@ public Mono> withWithWithResponse(String with, RequestOptions req * The withYield operation. * * @param yield A sequence of textual characters. - * - * The yield parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -667,8 +601,6 @@ public Mono> withYieldWithResponse(String yield, RequestOptions r * The withCancellationToken operation. * * @param cancellationToken A sequence of textual characters. - * - * The cancellationToken parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -687,8 +619,6 @@ public Mono> withCancellationTokenWithResponse(String cancellatio * The withAnd operation. * * @param and A sequence of textual characters. - * - * The and parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -709,8 +639,6 @@ public Mono withAnd(String and) { * The withAs operation. * * @param as A sequence of textual characters. - * - * The as parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -731,8 +659,6 @@ public Mono withAs(String as) { * The withAssert operation. * * @param assertParameter A sequence of textual characters. - * - * The assertParameter parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -753,8 +679,6 @@ public Mono withAssert(String assertParameter) { * The withAsync operation. * * @param async A sequence of textual characters. - * - * The async parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -775,8 +699,6 @@ public Mono withAsync(String async) { * The withAwait operation. * * @param await A sequence of textual characters. - * - * The await parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -797,8 +719,6 @@ public Mono withAwait(String await) { * The withBreak operation. * * @param breakParameter A sequence of textual characters. - * - * The breakParameter parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -819,8 +739,6 @@ public Mono withBreak(String breakParameter) { * The withClass operation. * * @param classParameter A sequence of textual characters. - * - * The classParameter parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -841,8 +759,6 @@ public Mono withClass(String classParameter) { * The withConstructor operation. * * @param constructor A sequence of textual characters. - * - * The constructor parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -863,8 +779,6 @@ public Mono withConstructor(String constructor) { * The withContinue operation. * * @param continueParameter A sequence of textual characters. - * - * The continueParameter parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -885,8 +799,6 @@ public Mono withContinue(String continueParameter) { * The withDef operation. * * @param def A sequence of textual characters. - * - * The def parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -907,8 +819,6 @@ public Mono withDef(String def) { * The withDel operation. * * @param del A sequence of textual characters. - * - * The del parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -929,8 +839,6 @@ public Mono withDel(String del) { * The withElif operation. * * @param elif A sequence of textual characters. - * - * The elif parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -951,8 +859,6 @@ public Mono withElif(String elif) { * The withElse operation. * * @param elseParameter A sequence of textual characters. - * - * The elseParameter parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -973,8 +879,6 @@ public Mono withElse(String elseParameter) { * The withExcept operation. * * @param except A sequence of textual characters. - * - * The except parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -995,8 +899,6 @@ public Mono withExcept(String except) { * The withExec operation. * * @param exec A sequence of textual characters. - * - * The exec parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1017,8 +919,6 @@ public Mono withExec(String exec) { * The withFinally operation. * * @param finallyParameter A sequence of textual characters. - * - * The finallyParameter parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1039,8 +939,6 @@ public Mono withFinally(String finallyParameter) { * The withFor operation. * * @param forParameter A sequence of textual characters. - * - * The forParameter parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1061,8 +959,6 @@ public Mono withFor(String forParameter) { * The withFrom operation. * * @param from A sequence of textual characters. - * - * The from parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1083,8 +979,6 @@ public Mono withFrom(String from) { * The withGlobal operation. * * @param global A sequence of textual characters. - * - * The global parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1105,8 +999,6 @@ public Mono withGlobal(String global) { * The withIf operation. * * @param ifParameter A sequence of textual characters. - * - * The ifParameter parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1127,8 +1019,6 @@ public Mono withIf(String ifParameter) { * The withImport operation. * * @param importParameter A sequence of textual characters. - * - * The importParameter parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1149,8 +1039,6 @@ public Mono withImport(String importParameter) { * The withIn operation. * * @param in A sequence of textual characters. - * - * The in parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1171,8 +1059,6 @@ public Mono withIn(String in) { * The withIs operation. * * @param is A sequence of textual characters. - * - * The is parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1193,8 +1079,6 @@ public Mono withIs(String is) { * The withLambda operation. * * @param lambda A sequence of textual characters. - * - * The lambda parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1215,8 +1099,6 @@ public Mono withLambda(String lambda) { * The withNot operation. * * @param not A sequence of textual characters. - * - * The not parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1237,8 +1119,6 @@ public Mono withNot(String not) { * The withOr operation. * * @param or A sequence of textual characters. - * - * The or parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1259,8 +1139,6 @@ public Mono withOr(String or) { * The withPass operation. * * @param pass A sequence of textual characters. - * - * The pass parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1281,8 +1159,6 @@ public Mono withPass(String pass) { * The withRaise operation. * * @param raise A sequence of textual characters. - * - * The raise parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1303,8 +1179,6 @@ public Mono withRaise(String raise) { * The withReturn operation. * * @param returnParameter A sequence of textual characters. - * - * The returnParameter parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1325,8 +1199,6 @@ public Mono withReturn(String returnParameter) { * The withTry operation. * * @param tryParameter A sequence of textual characters. - * - * The tryParameter parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1347,8 +1219,6 @@ public Mono withTry(String tryParameter) { * The withWhile operation. * * @param whileParameter A sequence of textual characters. - * - * The whileParameter parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1369,8 +1239,6 @@ public Mono withWhile(String whileParameter) { * The withWith operation. * * @param with A sequence of textual characters. - * - * The with parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1391,8 +1259,6 @@ public Mono withWith(String with) { * The withYield operation. * * @param yield A sequence of textual characters. - * - * The yield parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1413,8 +1279,6 @@ public Mono withYield(String yield) { * The withCancellationToken operation. * * @param cancellationToken A sequence of textual characters. - * - * The cancellationToken parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/specialwords/ParametersClient.java b/typespec-tests/src/main/java/com/specialwords/ParametersClient.java index cd9d6ff467..2614040dba 100644 --- a/typespec-tests/src/main/java/com/specialwords/ParametersClient.java +++ b/typespec-tests/src/main/java/com/specialwords/ParametersClient.java @@ -38,8 +38,6 @@ public final class ParametersClient { * The withAnd operation. * * @param and A sequence of textual characters. - * - * The and parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -57,8 +55,6 @@ public Response withAndWithResponse(String and, RequestOptions requestOpti * The withAs operation. * * @param as A sequence of textual characters. - * - * The as parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -76,8 +72,6 @@ public Response withAsWithResponse(String as, RequestOptions requestOption * The withAssert operation. * * @param assertParameter A sequence of textual characters. - * - * The assertParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -95,8 +89,6 @@ public Response withAssertWithResponse(String assertParameter, RequestOpti * The withAsync operation. * * @param async A sequence of textual characters. - * - * The async parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -114,8 +106,6 @@ public Response withAsyncWithResponse(String async, RequestOptions request * The withAwait operation. * * @param await A sequence of textual characters. - * - * The await parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -133,8 +123,6 @@ public Response withAwaitWithResponse(String await, RequestOptions request * The withBreak operation. * * @param breakParameter A sequence of textual characters. - * - * The breakParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -152,8 +140,6 @@ public Response withBreakWithResponse(String breakParameter, RequestOption * The withClass operation. * * @param classParameter A sequence of textual characters. - * - * The classParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -171,8 +157,6 @@ public Response withClassWithResponse(String classParameter, RequestOption * The withConstructor operation. * * @param constructor A sequence of textual characters. - * - * The constructor parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -190,8 +174,6 @@ public Response withConstructorWithResponse(String constructor, RequestOpt * The withContinue operation. * * @param continueParameter A sequence of textual characters. - * - * The continueParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -209,8 +191,6 @@ public Response withContinueWithResponse(String continueParameter, Request * The withDef operation. * * @param def A sequence of textual characters. - * - * The def parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -228,8 +208,6 @@ public Response withDefWithResponse(String def, RequestOptions requestOpti * The withDel operation. * * @param del A sequence of textual characters. - * - * The del parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -247,8 +225,6 @@ public Response withDelWithResponse(String del, RequestOptions requestOpti * The withElif operation. * * @param elif A sequence of textual characters. - * - * The elif parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -266,8 +242,6 @@ public Response withElifWithResponse(String elif, RequestOptions requestOp * The withElse operation. * * @param elseParameter A sequence of textual characters. - * - * The elseParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -285,8 +259,6 @@ public Response withElseWithResponse(String elseParameter, RequestOptions * The withExcept operation. * * @param except A sequence of textual characters. - * - * The except parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -304,8 +276,6 @@ public Response withExceptWithResponse(String except, RequestOptions reque * The withExec operation. * * @param exec A sequence of textual characters. - * - * The exec parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -323,8 +293,6 @@ public Response withExecWithResponse(String exec, RequestOptions requestOp * The withFinally operation. * * @param finallyParameter A sequence of textual characters. - * - * The finallyParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -342,8 +310,6 @@ public Response withFinallyWithResponse(String finallyParameter, RequestOp * The withFor operation. * * @param forParameter A sequence of textual characters. - * - * The forParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -361,8 +327,6 @@ public Response withForWithResponse(String forParameter, RequestOptions re * The withFrom operation. * * @param from A sequence of textual characters. - * - * The from parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -380,8 +344,6 @@ public Response withFromWithResponse(String from, RequestOptions requestOp * The withGlobal operation. * * @param global A sequence of textual characters. - * - * The global parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -399,8 +361,6 @@ public Response withGlobalWithResponse(String global, RequestOptions reque * The withIf operation. * * @param ifParameter A sequence of textual characters. - * - * The ifParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -418,8 +378,6 @@ public Response withIfWithResponse(String ifParameter, RequestOptions requ * The withImport operation. * * @param importParameter A sequence of textual characters. - * - * The importParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -437,8 +395,6 @@ public Response withImportWithResponse(String importParameter, RequestOpti * The withIn operation. * * @param in A sequence of textual characters. - * - * The in parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -456,8 +412,6 @@ public Response withInWithResponse(String in, RequestOptions requestOption * The withIs operation. * * @param is A sequence of textual characters. - * - * The is parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -475,8 +429,6 @@ public Response withIsWithResponse(String is, RequestOptions requestOption * The withLambda operation. * * @param lambda A sequence of textual characters. - * - * The lambda parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -494,8 +446,6 @@ public Response withLambdaWithResponse(String lambda, RequestOptions reque * The withNot operation. * * @param not A sequence of textual characters. - * - * The not parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -513,8 +463,6 @@ public Response withNotWithResponse(String not, RequestOptions requestOpti * The withOr operation. * * @param or A sequence of textual characters. - * - * The or parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -532,8 +480,6 @@ public Response withOrWithResponse(String or, RequestOptions requestOption * The withPass operation. * * @param pass A sequence of textual characters. - * - * The pass parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -551,8 +497,6 @@ public Response withPassWithResponse(String pass, RequestOptions requestOp * The withRaise operation. * * @param raise A sequence of textual characters. - * - * The raise parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -570,8 +514,6 @@ public Response withRaiseWithResponse(String raise, RequestOptions request * The withReturn operation. * * @param returnParameter A sequence of textual characters. - * - * The returnParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -589,8 +531,6 @@ public Response withReturnWithResponse(String returnParameter, RequestOpti * The withTry operation. * * @param tryParameter A sequence of textual characters. - * - * The tryParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -608,8 +548,6 @@ public Response withTryWithResponse(String tryParameter, RequestOptions re * The withWhile operation. * * @param whileParameter A sequence of textual characters. - * - * The whileParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -627,8 +565,6 @@ public Response withWhileWithResponse(String whileParameter, RequestOption * The withWith operation. * * @param with A sequence of textual characters. - * - * The with parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -646,8 +582,6 @@ public Response withWithWithResponse(String with, RequestOptions requestOp * The withYield operation. * * @param yield A sequence of textual characters. - * - * The yield parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -665,8 +599,6 @@ public Response withYieldWithResponse(String yield, RequestOptions request * The withCancellationToken operation. * * @param cancellationToken A sequence of textual characters. - * - * The cancellationToken parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -684,8 +616,6 @@ public Response withCancellationTokenWithResponse(String cancellationToken * The withAnd operation. * * @param and A sequence of textual characters. - * - * The and parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -705,8 +635,6 @@ public void withAnd(String and) { * The withAs operation. * * @param as A sequence of textual characters. - * - * The as parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -726,8 +654,6 @@ public void withAs(String as) { * The withAssert operation. * * @param assertParameter A sequence of textual characters. - * - * The assertParameter parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -747,8 +673,6 @@ public void withAssert(String assertParameter) { * The withAsync operation. * * @param async A sequence of textual characters. - * - * The async parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -768,8 +692,6 @@ public void withAsync(String async) { * The withAwait operation. * * @param await A sequence of textual characters. - * - * The await parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -789,8 +711,6 @@ public void withAwait(String await) { * The withBreak operation. * * @param breakParameter A sequence of textual characters. - * - * The breakParameter parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -810,8 +730,6 @@ public void withBreak(String breakParameter) { * The withClass operation. * * @param classParameter A sequence of textual characters. - * - * The classParameter parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -831,8 +749,6 @@ public void withClass(String classParameter) { * The withConstructor operation. * * @param constructor A sequence of textual characters. - * - * The constructor parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -852,8 +768,6 @@ public void withConstructor(String constructor) { * The withContinue operation. * * @param continueParameter A sequence of textual characters. - * - * The continueParameter parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -873,8 +787,6 @@ public void withContinue(String continueParameter) { * The withDef operation. * * @param def A sequence of textual characters. - * - * The def parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -894,8 +806,6 @@ public void withDef(String def) { * The withDel operation. * * @param del A sequence of textual characters. - * - * The del parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -915,8 +825,6 @@ public void withDel(String del) { * The withElif operation. * * @param elif A sequence of textual characters. - * - * The elif parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -936,8 +844,6 @@ public void withElif(String elif) { * The withElse operation. * * @param elseParameter A sequence of textual characters. - * - * The elseParameter parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -957,8 +863,6 @@ public void withElse(String elseParameter) { * The withExcept operation. * * @param except A sequence of textual characters. - * - * The except parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -978,8 +882,6 @@ public void withExcept(String except) { * The withExec operation. * * @param exec A sequence of textual characters. - * - * The exec parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -999,8 +901,6 @@ public void withExec(String exec) { * The withFinally operation. * * @param finallyParameter A sequence of textual characters. - * - * The finallyParameter parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1020,8 +920,6 @@ public void withFinally(String finallyParameter) { * The withFor operation. * * @param forParameter A sequence of textual characters. - * - * The forParameter parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1041,8 +939,6 @@ public void withFor(String forParameter) { * The withFrom operation. * * @param from A sequence of textual characters. - * - * The from parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1062,8 +958,6 @@ public void withFrom(String from) { * The withGlobal operation. * * @param global A sequence of textual characters. - * - * The global parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1083,8 +977,6 @@ public void withGlobal(String global) { * The withIf operation. * * @param ifParameter A sequence of textual characters. - * - * The ifParameter parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1104,8 +996,6 @@ public void withIf(String ifParameter) { * The withImport operation. * * @param importParameter A sequence of textual characters. - * - * The importParameter parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1125,8 +1015,6 @@ public void withImport(String importParameter) { * The withIn operation. * * @param in A sequence of textual characters. - * - * The in parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1146,8 +1034,6 @@ public void withIn(String in) { * The withIs operation. * * @param is A sequence of textual characters. - * - * The is parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1167,8 +1053,6 @@ public void withIs(String is) { * The withLambda operation. * * @param lambda A sequence of textual characters. - * - * The lambda parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1188,8 +1072,6 @@ public void withLambda(String lambda) { * The withNot operation. * * @param not A sequence of textual characters. - * - * The not parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1209,8 +1091,6 @@ public void withNot(String not) { * The withOr operation. * * @param or A sequence of textual characters. - * - * The or parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1230,8 +1110,6 @@ public void withOr(String or) { * The withPass operation. * * @param pass A sequence of textual characters. - * - * The pass parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1251,8 +1129,6 @@ public void withPass(String pass) { * The withRaise operation. * * @param raise A sequence of textual characters. - * - * The raise parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1272,8 +1148,6 @@ public void withRaise(String raise) { * The withReturn operation. * * @param returnParameter A sequence of textual characters. - * - * The returnParameter parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1293,8 +1167,6 @@ public void withReturn(String returnParameter) { * The withTry operation. * * @param tryParameter A sequence of textual characters. - * - * The tryParameter parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1314,8 +1186,6 @@ public void withTry(String tryParameter) { * The withWhile operation. * * @param whileParameter A sequence of textual characters. - * - * The whileParameter parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1335,8 +1205,6 @@ public void withWhile(String whileParameter) { * The withWith operation. * * @param with A sequence of textual characters. - * - * The with parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1356,8 +1224,6 @@ public void withWith(String with) { * The withYield operation. * * @param yield A sequence of textual characters. - * - * The yield parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1377,8 +1243,6 @@ public void withYield(String yield) { * The withCancellationToken operation. * * @param cancellationToken A sequence of textual characters. - * - * The cancellationToken parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/specialwords/implementation/ParametersImpl.java b/typespec-tests/src/main/java/com/specialwords/implementation/ParametersImpl.java index 6f16928e79..813a8f8c94 100644 --- a/typespec-tests/src/main/java/com/specialwords/implementation/ParametersImpl.java +++ b/typespec-tests/src/main/java/com/specialwords/implementation/ParametersImpl.java @@ -673,8 +673,6 @@ Response withCancellationTokenSync(@QueryParam("cancellationToken") String * The withAnd operation. * * @param and A sequence of textual characters. - * - * The and parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -692,8 +690,6 @@ public Mono> withAndWithResponseAsync(String and, RequestOptions * The withAnd operation. * * @param and A sequence of textual characters. - * - * The and parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -711,8 +707,6 @@ public Response withAndWithResponse(String and, RequestOptions requestOpti * The withAs operation. * * @param as A sequence of textual characters. - * - * The as parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -730,8 +724,6 @@ public Mono> withAsWithResponseAsync(String as, RequestOptions re * The withAs operation. * * @param as A sequence of textual characters. - * - * The as parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -749,8 +741,6 @@ public Response withAsWithResponse(String as, RequestOptions requestOption * The withAssert operation. * * @param assertParameter A sequence of textual characters. - * - * The assertParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -768,8 +758,6 @@ public Mono> withAssertWithResponseAsync(String assertParameter, * The withAssert operation. * * @param assertParameter A sequence of textual characters. - * - * The assertParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -787,8 +775,6 @@ public Response withAssertWithResponse(String assertParameter, RequestOpti * The withAsync operation. * * @param async A sequence of textual characters. - * - * The async parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -806,8 +792,6 @@ public Mono> withAsyncWithResponseAsync(String async, RequestOpti * The withAsync operation. * * @param async A sequence of textual characters. - * - * The async parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -825,8 +809,6 @@ public Response withAsyncWithResponse(String async, RequestOptions request * The withAwait operation. * * @param await A sequence of textual characters. - * - * The await parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -844,8 +826,6 @@ public Mono> withAwaitWithResponseAsync(String await, RequestOpti * The withAwait operation. * * @param await A sequence of textual characters. - * - * The await parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -863,8 +843,6 @@ public Response withAwaitWithResponse(String await, RequestOptions request * The withBreak operation. * * @param breakParameter A sequence of textual characters. - * - * The breakParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -882,8 +860,6 @@ public Mono> withBreakWithResponseAsync(String breakParameter, Re * The withBreak operation. * * @param breakParameter A sequence of textual characters. - * - * The breakParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -901,8 +877,6 @@ public Response withBreakWithResponse(String breakParameter, RequestOption * The withClass operation. * * @param classParameter A sequence of textual characters. - * - * The classParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -920,8 +894,6 @@ public Mono> withClassWithResponseAsync(String classParameter, Re * The withClass operation. * * @param classParameter A sequence of textual characters. - * - * The classParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -939,8 +911,6 @@ public Response withClassWithResponse(String classParameter, RequestOption * The withConstructor operation. * * @param constructor A sequence of textual characters. - * - * The constructor parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -958,8 +928,6 @@ public Mono> withConstructorWithResponseAsync(String constructor, * The withConstructor operation. * * @param constructor A sequence of textual characters. - * - * The constructor parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -977,8 +945,6 @@ public Response withConstructorWithResponse(String constructor, RequestOpt * The withContinue operation. * * @param continueParameter A sequence of textual characters. - * - * The continueParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -997,8 +963,6 @@ public Mono> withContinueWithResponseAsync(String continueParamet * The withContinue operation. * * @param continueParameter A sequence of textual characters. - * - * The continueParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1016,8 +980,6 @@ public Response withContinueWithResponse(String continueParameter, Request * The withDef operation. * * @param def A sequence of textual characters. - * - * The def parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1035,8 +997,6 @@ public Mono> withDefWithResponseAsync(String def, RequestOptions * The withDef operation. * * @param def A sequence of textual characters. - * - * The def parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1054,8 +1014,6 @@ public Response withDefWithResponse(String def, RequestOptions requestOpti * The withDel operation. * * @param del A sequence of textual characters. - * - * The del parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1073,8 +1031,6 @@ public Mono> withDelWithResponseAsync(String del, RequestOptions * The withDel operation. * * @param del A sequence of textual characters. - * - * The del parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1092,8 +1048,6 @@ public Response withDelWithResponse(String del, RequestOptions requestOpti * The withElif operation. * * @param elif A sequence of textual characters. - * - * The elif parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1111,8 +1065,6 @@ public Mono> withElifWithResponseAsync(String elif, RequestOption * The withElif operation. * * @param elif A sequence of textual characters. - * - * The elif parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1130,8 +1082,6 @@ public Response withElifWithResponse(String elif, RequestOptions requestOp * The withElse operation. * * @param elseParameter A sequence of textual characters. - * - * The elseParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1149,8 +1099,6 @@ public Mono> withElseWithResponseAsync(String elseParameter, Requ * The withElse operation. * * @param elseParameter A sequence of textual characters. - * - * The elseParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1168,8 +1116,6 @@ public Response withElseWithResponse(String elseParameter, RequestOptions * The withExcept operation. * * @param except A sequence of textual characters. - * - * The except parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1187,8 +1133,6 @@ public Mono> withExceptWithResponseAsync(String except, RequestOp * The withExcept operation. * * @param except A sequence of textual characters. - * - * The except parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1206,8 +1150,6 @@ public Response withExceptWithResponse(String except, RequestOptions reque * The withExec operation. * * @param exec A sequence of textual characters. - * - * The exec parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1225,8 +1167,6 @@ public Mono> withExecWithResponseAsync(String exec, RequestOption * The withExec operation. * * @param exec A sequence of textual characters. - * - * The exec parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1244,8 +1184,6 @@ public Response withExecWithResponse(String exec, RequestOptions requestOp * The withFinally operation. * * @param finallyParameter A sequence of textual characters. - * - * The finallyParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1263,8 +1201,6 @@ public Mono> withFinallyWithResponseAsync(String finallyParameter * The withFinally operation. * * @param finallyParameter A sequence of textual characters. - * - * The finallyParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1282,8 +1218,6 @@ public Response withFinallyWithResponse(String finallyParameter, RequestOp * The withFor operation. * * @param forParameter A sequence of textual characters. - * - * The forParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1301,8 +1235,6 @@ public Mono> withForWithResponseAsync(String forParameter, Reques * The withFor operation. * * @param forParameter A sequence of textual characters. - * - * The forParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1320,8 +1252,6 @@ public Response withForWithResponse(String forParameter, RequestOptions re * The withFrom operation. * * @param from A sequence of textual characters. - * - * The from parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1339,8 +1269,6 @@ public Mono> withFromWithResponseAsync(String from, RequestOption * The withFrom operation. * * @param from A sequence of textual characters. - * - * The from parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1358,8 +1286,6 @@ public Response withFromWithResponse(String from, RequestOptions requestOp * The withGlobal operation. * * @param global A sequence of textual characters. - * - * The global parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1377,8 +1303,6 @@ public Mono> withGlobalWithResponseAsync(String global, RequestOp * The withGlobal operation. * * @param global A sequence of textual characters. - * - * The global parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1396,8 +1320,6 @@ public Response withGlobalWithResponse(String global, RequestOptions reque * The withIf operation. * * @param ifParameter A sequence of textual characters. - * - * The ifParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1415,8 +1337,6 @@ public Mono> withIfWithResponseAsync(String ifParameter, RequestO * The withIf operation. * * @param ifParameter A sequence of textual characters. - * - * The ifParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1434,8 +1354,6 @@ public Response withIfWithResponse(String ifParameter, RequestOptions requ * The withImport operation. * * @param importParameter A sequence of textual characters. - * - * The importParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1453,8 +1371,6 @@ public Mono> withImportWithResponseAsync(String importParameter, * The withImport operation. * * @param importParameter A sequence of textual characters. - * - * The importParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1472,8 +1388,6 @@ public Response withImportWithResponse(String importParameter, RequestOpti * The withIn operation. * * @param in A sequence of textual characters. - * - * The in parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1491,8 +1405,6 @@ public Mono> withInWithResponseAsync(String in, RequestOptions re * The withIn operation. * * @param in A sequence of textual characters. - * - * The in parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1510,8 +1422,6 @@ public Response withInWithResponse(String in, RequestOptions requestOption * The withIs operation. * * @param is A sequence of textual characters. - * - * The is parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1529,8 +1439,6 @@ public Mono> withIsWithResponseAsync(String is, RequestOptions re * The withIs operation. * * @param is A sequence of textual characters. - * - * The is parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1548,8 +1456,6 @@ public Response withIsWithResponse(String is, RequestOptions requestOption * The withLambda operation. * * @param lambda A sequence of textual characters. - * - * The lambda parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1567,8 +1473,6 @@ public Mono> withLambdaWithResponseAsync(String lambda, RequestOp * The withLambda operation. * * @param lambda A sequence of textual characters. - * - * The lambda parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1586,8 +1490,6 @@ public Response withLambdaWithResponse(String lambda, RequestOptions reque * The withNot operation. * * @param not A sequence of textual characters. - * - * The not parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1605,8 +1507,6 @@ public Mono> withNotWithResponseAsync(String not, RequestOptions * The withNot operation. * * @param not A sequence of textual characters. - * - * The not parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1624,8 +1524,6 @@ public Response withNotWithResponse(String not, RequestOptions requestOpti * The withOr operation. * * @param or A sequence of textual characters. - * - * The or parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1643,8 +1541,6 @@ public Mono> withOrWithResponseAsync(String or, RequestOptions re * The withOr operation. * * @param or A sequence of textual characters. - * - * The or parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1662,8 +1558,6 @@ public Response withOrWithResponse(String or, RequestOptions requestOption * The withPass operation. * * @param pass A sequence of textual characters. - * - * The pass parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1681,8 +1575,6 @@ public Mono> withPassWithResponseAsync(String pass, RequestOption * The withPass operation. * * @param pass A sequence of textual characters. - * - * The pass parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1700,8 +1592,6 @@ public Response withPassWithResponse(String pass, RequestOptions requestOp * The withRaise operation. * * @param raise A sequence of textual characters. - * - * The raise parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1719,8 +1609,6 @@ public Mono> withRaiseWithResponseAsync(String raise, RequestOpti * The withRaise operation. * * @param raise A sequence of textual characters. - * - * The raise parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1738,8 +1626,6 @@ public Response withRaiseWithResponse(String raise, RequestOptions request * The withReturn operation. * * @param returnParameter A sequence of textual characters. - * - * The returnParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1757,8 +1643,6 @@ public Mono> withReturnWithResponseAsync(String returnParameter, * The withReturn operation. * * @param returnParameter A sequence of textual characters. - * - * The returnParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1776,8 +1660,6 @@ public Response withReturnWithResponse(String returnParameter, RequestOpti * The withTry operation. * * @param tryParameter A sequence of textual characters. - * - * The tryParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1795,8 +1677,6 @@ public Mono> withTryWithResponseAsync(String tryParameter, Reques * The withTry operation. * * @param tryParameter A sequence of textual characters. - * - * The tryParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1814,8 +1694,6 @@ public Response withTryWithResponse(String tryParameter, RequestOptions re * The withWhile operation. * * @param whileParameter A sequence of textual characters. - * - * The whileParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1833,8 +1711,6 @@ public Mono> withWhileWithResponseAsync(String whileParameter, Re * The withWhile operation. * * @param whileParameter A sequence of textual characters. - * - * The whileParameter parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1852,8 +1728,6 @@ public Response withWhileWithResponse(String whileParameter, RequestOption * The withWith operation. * * @param with A sequence of textual characters. - * - * The with parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1871,8 +1745,6 @@ public Mono> withWithWithResponseAsync(String with, RequestOption * The withWith operation. * * @param with A sequence of textual characters. - * - * The with parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1890,8 +1762,6 @@ public Response withWithWithResponse(String with, RequestOptions requestOp * The withYield operation. * * @param yield A sequence of textual characters. - * - * The yield parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1909,8 +1779,6 @@ public Mono> withYieldWithResponseAsync(String yield, RequestOpti * The withYield operation. * * @param yield A sequence of textual characters. - * - * The yield parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1928,8 +1796,6 @@ public Response withYieldWithResponse(String yield, RequestOptions request * The withCancellationToken operation. * * @param cancellationToken A sequence of textual characters. - * - * The cancellationToken parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1949,8 +1815,6 @@ public Mono> withCancellationTokenWithResponseAsync(String cancel * The withCancellationToken operation. * * @param cancellationToken A sequence of textual characters. - * - * The cancellationToken parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/specialwords/models/And.java b/typespec-tests/src/main/java/com/specialwords/models/And.java index 55fefb9a1b..8b6ed94f84 100644 --- a/typespec-tests/src/main/java/com/specialwords/models/And.java +++ b/typespec-tests/src/main/java/com/specialwords/models/And.java @@ -18,7 +18,7 @@ @Immutable public final class And implements JsonSerializable { /* - * A sequence of textual characters. + * The name property. */ @Generated private final String name; @@ -34,7 +34,7 @@ public And(String name) { } /** - * Get the name property: A sequence of textual characters. + * Get the name property: The name property. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/specialwords/models/As.java b/typespec-tests/src/main/java/com/specialwords/models/As.java index 548265f564..6c42e17fc7 100644 --- a/typespec-tests/src/main/java/com/specialwords/models/As.java +++ b/typespec-tests/src/main/java/com/specialwords/models/As.java @@ -18,7 +18,7 @@ @Immutable public final class As implements JsonSerializable { /* - * A sequence of textual characters. + * The name property. */ @Generated private final String name; @@ -34,7 +34,7 @@ public As(String name) { } /** - * Get the name property: A sequence of textual characters. + * Get the name property: The name property. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/specialwords/models/Assert.java b/typespec-tests/src/main/java/com/specialwords/models/Assert.java index 90e344b323..857a22c525 100644 --- a/typespec-tests/src/main/java/com/specialwords/models/Assert.java +++ b/typespec-tests/src/main/java/com/specialwords/models/Assert.java @@ -18,7 +18,7 @@ @Immutable public final class Assert implements JsonSerializable { /* - * A sequence of textual characters. + * The name property. */ @Generated private final String name; @@ -34,7 +34,7 @@ public Assert(String name) { } /** - * Get the name property: A sequence of textual characters. + * Get the name property: The name property. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/specialwords/models/Async.java b/typespec-tests/src/main/java/com/specialwords/models/Async.java index 62463b8778..b781bb1e45 100644 --- a/typespec-tests/src/main/java/com/specialwords/models/Async.java +++ b/typespec-tests/src/main/java/com/specialwords/models/Async.java @@ -18,7 +18,7 @@ @Immutable public final class Async implements JsonSerializable { /* - * A sequence of textual characters. + * The name property. */ @Generated private final String name; @@ -34,7 +34,7 @@ public Async(String name) { } /** - * Get the name property: A sequence of textual characters. + * Get the name property: The name property. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/specialwords/models/Await.java b/typespec-tests/src/main/java/com/specialwords/models/Await.java index 18fd62bc1d..a1baa673eb 100644 --- a/typespec-tests/src/main/java/com/specialwords/models/Await.java +++ b/typespec-tests/src/main/java/com/specialwords/models/Await.java @@ -18,7 +18,7 @@ @Immutable public final class Await implements JsonSerializable { /* - * A sequence of textual characters. + * The name property. */ @Generated private final String name; @@ -34,7 +34,7 @@ public Await(String name) { } /** - * Get the name property: A sequence of textual characters. + * Get the name property: The name property. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/specialwords/models/Break.java b/typespec-tests/src/main/java/com/specialwords/models/Break.java index e35bf2ebd6..37e6804f87 100644 --- a/typespec-tests/src/main/java/com/specialwords/models/Break.java +++ b/typespec-tests/src/main/java/com/specialwords/models/Break.java @@ -18,7 +18,7 @@ @Immutable public final class Break implements JsonSerializable { /* - * A sequence of textual characters. + * The name property. */ @Generated private final String name; @@ -34,7 +34,7 @@ public Break(String name) { } /** - * Get the name property: A sequence of textual characters. + * Get the name property: The name property. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/specialwords/models/ClassModel.java b/typespec-tests/src/main/java/com/specialwords/models/ClassModel.java index 2056b4a62b..3c2021733e 100644 --- a/typespec-tests/src/main/java/com/specialwords/models/ClassModel.java +++ b/typespec-tests/src/main/java/com/specialwords/models/ClassModel.java @@ -18,7 +18,7 @@ @Immutable public final class ClassModel implements JsonSerializable { /* - * A sequence of textual characters. + * The name property. */ @Generated private final String name; @@ -34,7 +34,7 @@ public ClassModel(String name) { } /** - * Get the name property: A sequence of textual characters. + * Get the name property: The name property. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/specialwords/models/Constructor.java b/typespec-tests/src/main/java/com/specialwords/models/Constructor.java index 13b7b0620c..c468430e20 100644 --- a/typespec-tests/src/main/java/com/specialwords/models/Constructor.java +++ b/typespec-tests/src/main/java/com/specialwords/models/Constructor.java @@ -18,7 +18,7 @@ @Immutable public final class Constructor implements JsonSerializable { /* - * A sequence of textual characters. + * The name property. */ @Generated private final String name; @@ -34,7 +34,7 @@ public Constructor(String name) { } /** - * Get the name property: A sequence of textual characters. + * Get the name property: The name property. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/specialwords/models/Continue.java b/typespec-tests/src/main/java/com/specialwords/models/Continue.java index dfd99b07ec..451debd4fd 100644 --- a/typespec-tests/src/main/java/com/specialwords/models/Continue.java +++ b/typespec-tests/src/main/java/com/specialwords/models/Continue.java @@ -18,7 +18,7 @@ @Immutable public final class Continue implements JsonSerializable { /* - * A sequence of textual characters. + * The name property. */ @Generated private final String name; @@ -34,7 +34,7 @@ public Continue(String name) { } /** - * Get the name property: A sequence of textual characters. + * Get the name property: The name property. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/specialwords/models/Def.java b/typespec-tests/src/main/java/com/specialwords/models/Def.java index b865229612..40a10f325c 100644 --- a/typespec-tests/src/main/java/com/specialwords/models/Def.java +++ b/typespec-tests/src/main/java/com/specialwords/models/Def.java @@ -18,7 +18,7 @@ @Immutable public final class Def implements JsonSerializable { /* - * A sequence of textual characters. + * The name property. */ @Generated private final String name; @@ -34,7 +34,7 @@ public Def(String name) { } /** - * Get the name property: A sequence of textual characters. + * Get the name property: The name property. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/specialwords/models/Del.java b/typespec-tests/src/main/java/com/specialwords/models/Del.java index fe612e701a..a0f1d38a88 100644 --- a/typespec-tests/src/main/java/com/specialwords/models/Del.java +++ b/typespec-tests/src/main/java/com/specialwords/models/Del.java @@ -18,7 +18,7 @@ @Immutable public final class Del implements JsonSerializable { /* - * A sequence of textual characters. + * The name property. */ @Generated private final String name; @@ -34,7 +34,7 @@ public Del(String name) { } /** - * Get the name property: A sequence of textual characters. + * Get the name property: The name property. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/specialwords/models/Elif.java b/typespec-tests/src/main/java/com/specialwords/models/Elif.java index 924fe31be6..8b55d72d7d 100644 --- a/typespec-tests/src/main/java/com/specialwords/models/Elif.java +++ b/typespec-tests/src/main/java/com/specialwords/models/Elif.java @@ -18,7 +18,7 @@ @Immutable public final class Elif implements JsonSerializable { /* - * A sequence of textual characters. + * The name property. */ @Generated private final String name; @@ -34,7 +34,7 @@ public Elif(String name) { } /** - * Get the name property: A sequence of textual characters. + * Get the name property: The name property. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/specialwords/models/Else.java b/typespec-tests/src/main/java/com/specialwords/models/Else.java index ba2c15ae7a..993f034422 100644 --- a/typespec-tests/src/main/java/com/specialwords/models/Else.java +++ b/typespec-tests/src/main/java/com/specialwords/models/Else.java @@ -18,7 +18,7 @@ @Immutable public final class Else implements JsonSerializable { /* - * A sequence of textual characters. + * The name property. */ @Generated private final String name; @@ -34,7 +34,7 @@ public Else(String name) { } /** - * Get the name property: A sequence of textual characters. + * Get the name property: The name property. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/specialwords/models/Except.java b/typespec-tests/src/main/java/com/specialwords/models/Except.java index 0f2337414d..b582f00f80 100644 --- a/typespec-tests/src/main/java/com/specialwords/models/Except.java +++ b/typespec-tests/src/main/java/com/specialwords/models/Except.java @@ -18,7 +18,7 @@ @Immutable public final class Except implements JsonSerializable { /* - * A sequence of textual characters. + * The name property. */ @Generated private final String name; @@ -34,7 +34,7 @@ public Except(String name) { } /** - * Get the name property: A sequence of textual characters. + * Get the name property: The name property. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/specialwords/models/Exec.java b/typespec-tests/src/main/java/com/specialwords/models/Exec.java index 524b191895..86abb02427 100644 --- a/typespec-tests/src/main/java/com/specialwords/models/Exec.java +++ b/typespec-tests/src/main/java/com/specialwords/models/Exec.java @@ -18,7 +18,7 @@ @Immutable public final class Exec implements JsonSerializable { /* - * A sequence of textual characters. + * The name property. */ @Generated private final String name; @@ -34,7 +34,7 @@ public Exec(String name) { } /** - * Get the name property: A sequence of textual characters. + * Get the name property: The name property. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/specialwords/models/Finally.java b/typespec-tests/src/main/java/com/specialwords/models/Finally.java index 56115d5751..fde8f76a9a 100644 --- a/typespec-tests/src/main/java/com/specialwords/models/Finally.java +++ b/typespec-tests/src/main/java/com/specialwords/models/Finally.java @@ -18,7 +18,7 @@ @Immutable public final class Finally implements JsonSerializable { /* - * A sequence of textual characters. + * The name property. */ @Generated private final String name; @@ -34,7 +34,7 @@ public Finally(String name) { } /** - * Get the name property: A sequence of textual characters. + * Get the name property: The name property. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/specialwords/models/For.java b/typespec-tests/src/main/java/com/specialwords/models/For.java index 8baf7961af..f053a7d0b4 100644 --- a/typespec-tests/src/main/java/com/specialwords/models/For.java +++ b/typespec-tests/src/main/java/com/specialwords/models/For.java @@ -18,7 +18,7 @@ @Immutable public final class For implements JsonSerializable { /* - * A sequence of textual characters. + * The name property. */ @Generated private final String name; @@ -34,7 +34,7 @@ public For(String name) { } /** - * Get the name property: A sequence of textual characters. + * Get the name property: The name property. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/specialwords/models/From.java b/typespec-tests/src/main/java/com/specialwords/models/From.java index 64da751348..a03a4ffa8b 100644 --- a/typespec-tests/src/main/java/com/specialwords/models/From.java +++ b/typespec-tests/src/main/java/com/specialwords/models/From.java @@ -18,7 +18,7 @@ @Immutable public final class From implements JsonSerializable { /* - * A sequence of textual characters. + * The name property. */ @Generated private final String name; @@ -34,7 +34,7 @@ public From(String name) { } /** - * Get the name property: A sequence of textual characters. + * Get the name property: The name property. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/specialwords/models/Global.java b/typespec-tests/src/main/java/com/specialwords/models/Global.java index fa1692a40c..c755713593 100644 --- a/typespec-tests/src/main/java/com/specialwords/models/Global.java +++ b/typespec-tests/src/main/java/com/specialwords/models/Global.java @@ -18,7 +18,7 @@ @Immutable public final class Global implements JsonSerializable { /* - * A sequence of textual characters. + * The name property. */ @Generated private final String name; @@ -34,7 +34,7 @@ public Global(String name) { } /** - * Get the name property: A sequence of textual characters. + * Get the name property: The name property. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/specialwords/models/If.java b/typespec-tests/src/main/java/com/specialwords/models/If.java index 7a5b74d996..389d02faaf 100644 --- a/typespec-tests/src/main/java/com/specialwords/models/If.java +++ b/typespec-tests/src/main/java/com/specialwords/models/If.java @@ -18,7 +18,7 @@ @Immutable public final class If implements JsonSerializable { /* - * A sequence of textual characters. + * The name property. */ @Generated private final String name; @@ -34,7 +34,7 @@ public If(String name) { } /** - * Get the name property: A sequence of textual characters. + * Get the name property: The name property. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/specialwords/models/Import.java b/typespec-tests/src/main/java/com/specialwords/models/Import.java index 355a66098c..2ceeb5850c 100644 --- a/typespec-tests/src/main/java/com/specialwords/models/Import.java +++ b/typespec-tests/src/main/java/com/specialwords/models/Import.java @@ -18,7 +18,7 @@ @Immutable public final class Import implements JsonSerializable { /* - * A sequence of textual characters. + * The name property. */ @Generated private final String name; @@ -34,7 +34,7 @@ public Import(String name) { } /** - * Get the name property: A sequence of textual characters. + * Get the name property: The name property. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/specialwords/models/In.java b/typespec-tests/src/main/java/com/specialwords/models/In.java index 8af9980e2c..a100188076 100644 --- a/typespec-tests/src/main/java/com/specialwords/models/In.java +++ b/typespec-tests/src/main/java/com/specialwords/models/In.java @@ -18,7 +18,7 @@ @Immutable public final class In implements JsonSerializable { /* - * A sequence of textual characters. + * The name property. */ @Generated private final String name; @@ -34,7 +34,7 @@ public In(String name) { } /** - * Get the name property: A sequence of textual characters. + * Get the name property: The name property. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/specialwords/models/Is.java b/typespec-tests/src/main/java/com/specialwords/models/Is.java index e6f1e006fa..b566efa9f2 100644 --- a/typespec-tests/src/main/java/com/specialwords/models/Is.java +++ b/typespec-tests/src/main/java/com/specialwords/models/Is.java @@ -18,7 +18,7 @@ @Immutable public final class Is implements JsonSerializable { /* - * A sequence of textual characters. + * The name property. */ @Generated private final String name; @@ -34,7 +34,7 @@ public Is(String name) { } /** - * Get the name property: A sequence of textual characters. + * Get the name property: The name property. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/specialwords/models/Lambda.java b/typespec-tests/src/main/java/com/specialwords/models/Lambda.java index 7f23774ec2..9a8df91941 100644 --- a/typespec-tests/src/main/java/com/specialwords/models/Lambda.java +++ b/typespec-tests/src/main/java/com/specialwords/models/Lambda.java @@ -18,7 +18,7 @@ @Immutable public final class Lambda implements JsonSerializable { /* - * A sequence of textual characters. + * The name property. */ @Generated private final String name; @@ -34,7 +34,7 @@ public Lambda(String name) { } /** - * Get the name property: A sequence of textual characters. + * Get the name property: The name property. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/specialwords/models/Not.java b/typespec-tests/src/main/java/com/specialwords/models/Not.java index 6e2501e6fa..a1597c8ee9 100644 --- a/typespec-tests/src/main/java/com/specialwords/models/Not.java +++ b/typespec-tests/src/main/java/com/specialwords/models/Not.java @@ -18,7 +18,7 @@ @Immutable public final class Not implements JsonSerializable { /* - * A sequence of textual characters. + * The name property. */ @Generated private final String name; @@ -34,7 +34,7 @@ public Not(String name) { } /** - * Get the name property: A sequence of textual characters. + * Get the name property: The name property. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/specialwords/models/Or.java b/typespec-tests/src/main/java/com/specialwords/models/Or.java index f872d4fa33..61ea318a3c 100644 --- a/typespec-tests/src/main/java/com/specialwords/models/Or.java +++ b/typespec-tests/src/main/java/com/specialwords/models/Or.java @@ -18,7 +18,7 @@ @Immutable public final class Or implements JsonSerializable { /* - * A sequence of textual characters. + * The name property. */ @Generated private final String name; @@ -34,7 +34,7 @@ public Or(String name) { } /** - * Get the name property: A sequence of textual characters. + * Get the name property: The name property. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/specialwords/models/Pass.java b/typespec-tests/src/main/java/com/specialwords/models/Pass.java index 2947fb0257..de3b6e7101 100644 --- a/typespec-tests/src/main/java/com/specialwords/models/Pass.java +++ b/typespec-tests/src/main/java/com/specialwords/models/Pass.java @@ -18,7 +18,7 @@ @Immutable public final class Pass implements JsonSerializable { /* - * A sequence of textual characters. + * The name property. */ @Generated private final String name; @@ -34,7 +34,7 @@ public Pass(String name) { } /** - * Get the name property: A sequence of textual characters. + * Get the name property: The name property. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/specialwords/models/Raise.java b/typespec-tests/src/main/java/com/specialwords/models/Raise.java index 6d36799fcb..dd0f72ddd8 100644 --- a/typespec-tests/src/main/java/com/specialwords/models/Raise.java +++ b/typespec-tests/src/main/java/com/specialwords/models/Raise.java @@ -18,7 +18,7 @@ @Immutable public final class Raise implements JsonSerializable { /* - * A sequence of textual characters. + * The name property. */ @Generated private final String name; @@ -34,7 +34,7 @@ public Raise(String name) { } /** - * Get the name property: A sequence of textual characters. + * Get the name property: The name property. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/specialwords/models/Return.java b/typespec-tests/src/main/java/com/specialwords/models/Return.java index 7422ab3ea5..0578b68a5e 100644 --- a/typespec-tests/src/main/java/com/specialwords/models/Return.java +++ b/typespec-tests/src/main/java/com/specialwords/models/Return.java @@ -18,7 +18,7 @@ @Immutable public final class Return implements JsonSerializable { /* - * A sequence of textual characters. + * The name property. */ @Generated private final String name; @@ -34,7 +34,7 @@ public Return(String name) { } /** - * Get the name property: A sequence of textual characters. + * Get the name property: The name property. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/specialwords/models/SameAsModel.java b/typespec-tests/src/main/java/com/specialwords/models/SameAsModel.java index f022841390..c50a506701 100644 --- a/typespec-tests/src/main/java/com/specialwords/models/SameAsModel.java +++ b/typespec-tests/src/main/java/com/specialwords/models/SameAsModel.java @@ -18,7 +18,7 @@ @Immutable public final class SameAsModel implements JsonSerializable { /* - * A sequence of textual characters. + * The SameAsModel property. */ @Generated private final String sameAsModel; @@ -34,7 +34,7 @@ public SameAsModel(String sameAsModel) { } /** - * Get the sameAsModel property: A sequence of textual characters. + * Get the sameAsModel property: The SameAsModel property. * * @return the sameAsModel value. */ diff --git a/typespec-tests/src/main/java/com/specialwords/models/Try.java b/typespec-tests/src/main/java/com/specialwords/models/Try.java index 1b576fe974..b3f9f64a4a 100644 --- a/typespec-tests/src/main/java/com/specialwords/models/Try.java +++ b/typespec-tests/src/main/java/com/specialwords/models/Try.java @@ -18,7 +18,7 @@ @Immutable public final class Try implements JsonSerializable { /* - * A sequence of textual characters. + * The name property. */ @Generated private final String name; @@ -34,7 +34,7 @@ public Try(String name) { } /** - * Get the name property: A sequence of textual characters. + * Get the name property: The name property. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/specialwords/models/While.java b/typespec-tests/src/main/java/com/specialwords/models/While.java index a4cfece3ce..07be263295 100644 --- a/typespec-tests/src/main/java/com/specialwords/models/While.java +++ b/typespec-tests/src/main/java/com/specialwords/models/While.java @@ -18,7 +18,7 @@ @Immutable public final class While implements JsonSerializable { /* - * A sequence of textual characters. + * The name property. */ @Generated private final String name; @@ -34,7 +34,7 @@ public While(String name) { } /** - * Get the name property: A sequence of textual characters. + * Get the name property: The name property. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/specialwords/models/With.java b/typespec-tests/src/main/java/com/specialwords/models/With.java index 47b2854828..de21df4d21 100644 --- a/typespec-tests/src/main/java/com/specialwords/models/With.java +++ b/typespec-tests/src/main/java/com/specialwords/models/With.java @@ -18,7 +18,7 @@ @Immutable public final class With implements JsonSerializable { /* - * A sequence of textual characters. + * The name property. */ @Generated private final String name; @@ -34,7 +34,7 @@ public With(String name) { } /** - * Get the name property: A sequence of textual characters. + * Get the name property: The name property. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/specialwords/models/Yield.java b/typespec-tests/src/main/java/com/specialwords/models/Yield.java index 9629a04c85..6f293d4be0 100644 --- a/typespec-tests/src/main/java/com/specialwords/models/Yield.java +++ b/typespec-tests/src/main/java/com/specialwords/models/Yield.java @@ -18,7 +18,7 @@ @Immutable public final class Yield implements JsonSerializable { /* - * A sequence of textual characters. + * The name property. */ @Generated private final String name; @@ -34,7 +34,7 @@ public Yield(String name) { } /** - * Get the name property: A sequence of textual characters. + * Get the name property: The name property. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/type/enums/extensible/ExtensibleAsyncClient.java b/typespec-tests/src/main/java/com/type/enums/extensible/ExtensibleAsyncClient.java index 5a16e7cbd8..a0bd6e5260 100644 --- a/typespec-tests/src/main/java/com/type/enums/extensible/ExtensibleAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/enums/extensible/ExtensibleAsyncClient.java @@ -88,9 +88,7 @@ public Mono> getUnknownValueWithResponse(RequestOptions req * String(Monday / Tuesday / Wednesday / Thursday / Friday / Saturday / Sunday) * } * - * @param body Days of the week - * - * The body parameter. + * @param body Days of the week. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -112,9 +110,7 @@ public Mono> putKnownValueWithResponse(BinaryData body, RequestOp * String(Monday / Tuesday / Wednesday / Thursday / Friday / Saturday / Sunday) * } * - * @param body Days of the week - * - * The body parameter. + * @param body Days of the week. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -169,9 +165,7 @@ public Mono getUnknownValue() { /** * The putKnownValue operation. * - * @param body Days of the week - * - * The body parameter. + * @param body Days of the week. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -192,9 +186,7 @@ public Mono putKnownValue(DaysOfWeekExtensibleEnum body) { /** * The putUnknownValue operation. * - * @param body Days of the week - * - * The body parameter. + * @param body Days of the week. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/enums/extensible/ExtensibleClient.java b/typespec-tests/src/main/java/com/type/enums/extensible/ExtensibleClient.java index 24ea4d7d8b..2e8cdfd1c3 100644 --- a/typespec-tests/src/main/java/com/type/enums/extensible/ExtensibleClient.java +++ b/typespec-tests/src/main/java/com/type/enums/extensible/ExtensibleClient.java @@ -86,9 +86,7 @@ public Response getUnknownValueWithResponse(RequestOptions requestOp * String(Monday / Tuesday / Wednesday / Thursday / Friday / Saturday / Sunday) * } * - * @param body Days of the week - * - * The body parameter. + * @param body Days of the week. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -110,9 +108,7 @@ public Response putKnownValueWithResponse(BinaryData body, RequestOptions * String(Monday / Tuesday / Wednesday / Thursday / Friday / Saturday / Sunday) * } * - * @param body Days of the week - * - * The body parameter. + * @param body Days of the week. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -167,9 +163,7 @@ public DaysOfWeekExtensibleEnum getUnknownValue() { /** * The putKnownValue operation. * - * @param body Days of the week - * - * The body parameter. + * @param body Days of the week. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -189,9 +183,7 @@ public void putKnownValue(DaysOfWeekExtensibleEnum body) { /** * The putUnknownValue operation. * - * @param body Days of the week - * - * The body parameter. + * @param body Days of the week. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/enums/extensible/implementation/StringOperationsImpl.java b/typespec-tests/src/main/java/com/type/enums/extensible/implementation/StringOperationsImpl.java index 49faf9cf70..b807b40746 100644 --- a/typespec-tests/src/main/java/com/type/enums/extensible/implementation/StringOperationsImpl.java +++ b/typespec-tests/src/main/java/com/type/enums/extensible/implementation/StringOperationsImpl.java @@ -223,9 +223,7 @@ public Response getUnknownValueWithResponse(RequestOptions requestOp * String(Monday / Tuesday / Wednesday / Thursday / Friday / Saturday / Sunday) * } * - * @param body Days of the week - * - * The body parameter. + * @param body Days of the week. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -247,9 +245,7 @@ public Mono> putKnownValueWithResponseAsync(BinaryData body, Requ * String(Monday / Tuesday / Wednesday / Thursday / Friday / Saturday / Sunday) * } * - * @param body Days of the week - * - * The body parameter. + * @param body Days of the week. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -271,9 +267,7 @@ public Response putKnownValueWithResponse(BinaryData body, RequestOptions * String(Monday / Tuesday / Wednesday / Thursday / Friday / Saturday / Sunday) * } * - * @param body Days of the week - * - * The body parameter. + * @param body Days of the week. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -295,9 +289,7 @@ public Mono> putUnknownValueWithResponseAsync(BinaryData body, Re * String(Monday / Tuesday / Wednesday / Thursday / Friday / Saturday / Sunday) * } * - * @param body Days of the week - * - * The body parameter. + * @param body Days of the week. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/enums/fixed/FixedAsyncClient.java b/typespec-tests/src/main/java/com/type/enums/fixed/FixedAsyncClient.java index df6bd576f6..ac403ef7b2 100644 --- a/typespec-tests/src/main/java/com/type/enums/fixed/FixedAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/enums/fixed/FixedAsyncClient.java @@ -67,9 +67,7 @@ public Mono> getKnownValueWithResponse(RequestOptions reque * String(Monday / Tuesday / Wednesday / Thursday / Friday / Saturday / Sunday) * } * - * @param body Days of the week - * - * The body parameter. + * @param body Days of the week. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -91,9 +89,7 @@ public Mono> putKnownValueWithResponse(BinaryData body, RequestOp * String(Monday / Tuesday / Wednesday / Thursday / Friday / Saturday / Sunday) * } * - * @param body Days of the week - * - * The body parameter. + * @param body Days of the week. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -129,9 +125,7 @@ public Mono getKnownValue() { /** * putKnownValue. * - * @param body Days of the week - * - * The body parameter. + * @param body Days of the week. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -152,9 +146,7 @@ public Mono putKnownValue(DaysOfWeekEnum body) { /** * putUnknownValue. * - * @param body Days of the week - * - * The body parameter. + * @param body Days of the week. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/enums/fixed/FixedClient.java b/typespec-tests/src/main/java/com/type/enums/fixed/FixedClient.java index 283962a244..df2e5f92a3 100644 --- a/typespec-tests/src/main/java/com/type/enums/fixed/FixedClient.java +++ b/typespec-tests/src/main/java/com/type/enums/fixed/FixedClient.java @@ -65,9 +65,7 @@ public Response getKnownValueWithResponse(RequestOptions requestOpti * String(Monday / Tuesday / Wednesday / Thursday / Friday / Saturday / Sunday) * } * - * @param body Days of the week - * - * The body parameter. + * @param body Days of the week. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -89,9 +87,7 @@ public Response putKnownValueWithResponse(BinaryData body, RequestOptions * String(Monday / Tuesday / Wednesday / Thursday / Friday / Saturday / Sunday) * } * - * @param body Days of the week - * - * The body parameter. + * @param body Days of the week. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -126,9 +122,7 @@ public DaysOfWeekEnum getKnownValue() { /** * putKnownValue. * - * @param body Days of the week - * - * The body parameter. + * @param body Days of the week. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -148,9 +142,7 @@ public void putKnownValue(DaysOfWeekEnum body) { /** * putUnknownValue. * - * @param body Days of the week - * - * The body parameter. + * @param body Days of the week. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/enums/fixed/implementation/StringOperationsImpl.java b/typespec-tests/src/main/java/com/type/enums/fixed/implementation/StringOperationsImpl.java index cb074ca429..eaea1df32b 100644 --- a/typespec-tests/src/main/java/com/type/enums/fixed/implementation/StringOperationsImpl.java +++ b/typespec-tests/src/main/java/com/type/enums/fixed/implementation/StringOperationsImpl.java @@ -163,9 +163,7 @@ public Response getKnownValueWithResponse(RequestOptions requestOpti * String(Monday / Tuesday / Wednesday / Thursday / Friday / Saturday / Sunday) * } * - * @param body Days of the week - * - * The body parameter. + * @param body Days of the week. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -187,9 +185,7 @@ public Mono> putKnownValueWithResponseAsync(BinaryData body, Requ * String(Monday / Tuesday / Wednesday / Thursday / Friday / Saturday / Sunday) * } * - * @param body Days of the week - * - * The body parameter. + * @param body Days of the week. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -211,9 +207,7 @@ public Response putKnownValueWithResponse(BinaryData body, RequestOptions * String(Monday / Tuesday / Wednesday / Thursday / Friday / Saturday / Sunday) * } * - * @param body Days of the week - * - * The body parameter. + * @param body Days of the week. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -235,9 +229,7 @@ public Mono> putUnknownValueWithResponseAsync(BinaryData body, Re * String(Monday / Tuesday / Wednesday / Thursday / Friday / Saturday / Sunday) * } * - * @param body Days of the week - * - * The body parameter. + * @param body Days of the week. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/model/empty/EmptyAsyncClient.java b/typespec-tests/src/main/java/com/type/model/empty/EmptyAsyncClient.java index b115e67717..e06a881294 100644 --- a/typespec-tests/src/main/java/com/type/model/empty/EmptyAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/model/empty/EmptyAsyncClient.java @@ -48,9 +48,7 @@ public final class EmptyAsyncClient { * { } * } * - * @param input Empty model used in operation parameters - * - * The input parameter. + * @param input Empty model used in operation parameters. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -100,9 +98,7 @@ public Mono> getEmptyWithResponse(RequestOptions requestOpt * { } * } * - * @param body Empty model used in both parameter and return type - * - * The body parameter. + * @param body Empty model used in both parameter and return type. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -120,9 +116,7 @@ public Mono> postRoundTripEmptyWithResponse(BinaryData body /** * The putEmpty operation. * - * @param input Empty model used in operation parameters - * - * The input parameter. + * @param input Empty model used in operation parameters. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -161,9 +155,7 @@ public Mono getEmpty() { /** * The postRoundTripEmpty operation. * - * @param body Empty model used in both parameter and return type - * - * The body parameter. + * @param body Empty model used in both parameter and return type. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/model/empty/EmptyClient.java b/typespec-tests/src/main/java/com/type/model/empty/EmptyClient.java index f45be1b130..48569ad2bc 100644 --- a/typespec-tests/src/main/java/com/type/model/empty/EmptyClient.java +++ b/typespec-tests/src/main/java/com/type/model/empty/EmptyClient.java @@ -46,9 +46,7 @@ public final class EmptyClient { * { } * } * - * @param input Empty model used in operation parameters - * - * The input parameter. + * @param input Empty model used in operation parameters. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -97,9 +95,7 @@ public Response getEmptyWithResponse(RequestOptions requestOptions) * { } * } * - * @param body Empty model used in both parameter and return type - * - * The body parameter. + * @param body Empty model used in both parameter and return type. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -116,9 +112,7 @@ public Response postRoundTripEmptyWithResponse(BinaryData body, Requ /** * The putEmpty operation. * - * @param input Empty model used in operation parameters - * - * The input parameter. + * @param input Empty model used in operation parameters. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -155,9 +149,7 @@ public EmptyOutput getEmpty() { /** * The postRoundTripEmpty operation. * - * @param body Empty model used in both parameter and return type - * - * The body parameter. + * @param body Empty model used in both parameter and return type. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/model/empty/implementation/EmptyClientImpl.java b/typespec-tests/src/main/java/com/type/model/empty/implementation/EmptyClientImpl.java index ff46d23838..5dbd1206ab 100644 --- a/typespec-tests/src/main/java/com/type/model/empty/implementation/EmptyClientImpl.java +++ b/typespec-tests/src/main/java/com/type/model/empty/implementation/EmptyClientImpl.java @@ -168,9 +168,7 @@ Response postRoundTripEmptySync(@HeaderParam("accept") String accept * { } * } * - * @param input Empty model used in operation parameters - * - * The input parameter. + * @param input Empty model used in operation parameters. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -192,9 +190,7 @@ public Mono> putEmptyWithResponseAsync(BinaryData input, RequestO * { } * } * - * @param input Empty model used in operation parameters - * - * The input parameter. + * @param input Empty model used in operation parameters. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -265,9 +261,7 @@ public Response getEmptyWithResponse(RequestOptions requestOptions) * { } * } * - * @param body Empty model used in both parameter and return type - * - * The body parameter. + * @param body Empty model used in both parameter and return type. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -297,9 +291,7 @@ public Mono> postRoundTripEmptyWithResponseAsync(BinaryData * { } * } * - * @param body Empty model used in both parameter and return type - * - * The body parameter. + * @param body Empty model used in both parameter and return type. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/model/flatten/FlattenAsyncClient.java b/typespec-tests/src/main/java/com/type/model/flatten/FlattenAsyncClient.java index f4fe5014dc..093cda534e 100644 --- a/typespec-tests/src/main/java/com/type/model/flatten/FlattenAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/model/flatten/FlattenAsyncClient.java @@ -66,8 +66,6 @@ public final class FlattenAsyncClient { * } * * @param input This is the model with one level of flattening. - * - * The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -115,8 +113,6 @@ public Mono> putFlattenModelWithResponse(BinaryData input, * } * * @param input This is the model with two levels of flattening. - * - * The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -136,8 +132,6 @@ public Mono> putNestedFlattenModelWithResponse(BinaryData i * The putFlattenModel operation. * * @param input This is the model with one level of flattening. - * - * The input parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -159,8 +153,6 @@ public Mono putFlattenModel(FlattenModel input) { * The putNestedFlattenModel operation. * * @param input This is the model with two levels of flattening. - * - * The input parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/model/flatten/FlattenClient.java b/typespec-tests/src/main/java/com/type/model/flatten/FlattenClient.java index 890568747e..beceabd6c8 100644 --- a/typespec-tests/src/main/java/com/type/model/flatten/FlattenClient.java +++ b/typespec-tests/src/main/java/com/type/model/flatten/FlattenClient.java @@ -64,8 +64,6 @@ public final class FlattenClient { * } * * @param input This is the model with one level of flattening. - * - * The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -112,8 +110,6 @@ public Response putFlattenModelWithResponse(BinaryData input, Reques * } * * @param input This is the model with two levels of flattening. - * - * The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -131,8 +127,6 @@ public Response putNestedFlattenModelWithResponse(BinaryData input, * The putFlattenModel operation. * * @param input This is the model with one level of flattening. - * - * The input parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -154,8 +148,6 @@ public FlattenModel putFlattenModel(FlattenModel input) { * The putNestedFlattenModel operation. * * @param input This is the model with two levels of flattening. - * - * The input parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/model/flatten/implementation/FlattenClientImpl.java b/typespec-tests/src/main/java/com/type/model/flatten/implementation/FlattenClientImpl.java index eab8ec2953..228ffd37fd 100644 --- a/typespec-tests/src/main/java/com/type/model/flatten/implementation/FlattenClientImpl.java +++ b/typespec-tests/src/main/java/com/type/model/flatten/implementation/FlattenClientImpl.java @@ -167,8 +167,6 @@ Response putNestedFlattenModelSync(@HeaderParam("accept") String acc * } * * @param input This is the model with one level of flattening. - * - * The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -211,8 +209,6 @@ public Mono> putFlattenModelWithResponseAsync(BinaryData in * } * * @param input This is the model with one level of flattening. - * - * The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -259,8 +255,6 @@ public Response putFlattenModelWithResponse(BinaryData input, Reques * } * * @param input This is the model with two levels of flattening. - * - * The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -309,8 +303,6 @@ public Mono> putNestedFlattenModelWithResponseAsync(BinaryD * } * * @param input This is the model with two levels of flattening. - * - * The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/model/flatten/models/ChildFlattenModel.java b/typespec-tests/src/main/java/com/type/model/flatten/models/ChildFlattenModel.java index 50890676a4..8235a70ad9 100644 --- a/typespec-tests/src/main/java/com/type/model/flatten/models/ChildFlattenModel.java +++ b/typespec-tests/src/main/java/com/type/model/flatten/models/ChildFlattenModel.java @@ -18,13 +18,13 @@ @Immutable public final class ChildFlattenModel implements JsonSerializable { /* - * A sequence of textual characters. + * The summary property. */ @Generated private final String summary; /* - * This is the child model to be flattened. + * The properties property. */ @Generated private final ChildModel properties; @@ -42,7 +42,7 @@ public ChildFlattenModel(String summary, ChildModel properties) { } /** - * Get the summary property: A sequence of textual characters. + * Get the summary property: The summary property. * * @return the summary value. */ @@ -52,7 +52,7 @@ public String getSummary() { } /** - * Get the properties property: This is the child model to be flattened. + * Get the properties property: The properties property. * * @return the properties value. */ diff --git a/typespec-tests/src/main/java/com/type/model/flatten/models/ChildModel.java b/typespec-tests/src/main/java/com/type/model/flatten/models/ChildModel.java index b24d5f40ae..caaa34c2ff 100644 --- a/typespec-tests/src/main/java/com/type/model/flatten/models/ChildModel.java +++ b/typespec-tests/src/main/java/com/type/model/flatten/models/ChildModel.java @@ -18,13 +18,13 @@ @Immutable public final class ChildModel implements JsonSerializable { /* - * A sequence of textual characters. + * The description property. */ @Generated private final String description; /* - * A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) + * The age property. */ @Generated private final int age; @@ -42,7 +42,7 @@ public ChildModel(String description, int age) { } /** - * Get the description property: A sequence of textual characters. + * Get the description property: The description property. * * @return the description value. */ @@ -52,7 +52,7 @@ public String getDescription() { } /** - * Get the age property: A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`). + * Get the age property: The age property. * * @return the age value. */ diff --git a/typespec-tests/src/main/java/com/type/model/flatten/models/FlattenModel.java b/typespec-tests/src/main/java/com/type/model/flatten/models/FlattenModel.java index 55d9b962a7..cd45018216 100644 --- a/typespec-tests/src/main/java/com/type/model/flatten/models/FlattenModel.java +++ b/typespec-tests/src/main/java/com/type/model/flatten/models/FlattenModel.java @@ -18,13 +18,13 @@ @Immutable public final class FlattenModel implements JsonSerializable { /* - * A sequence of textual characters. + * The name property. */ @Generated private final String name; /* - * This is the child model to be flattened. + * The properties property. */ @Generated private final ChildModel properties; @@ -42,7 +42,7 @@ public FlattenModel(String name, ChildModel properties) { } /** - * Get the name property: A sequence of textual characters. + * Get the name property: The name property. * * @return the name value. */ @@ -52,7 +52,7 @@ public String getName() { } /** - * Get the properties property: This is the child model to be flattened. + * Get the properties property: The properties property. * * @return the properties value. */ diff --git a/typespec-tests/src/main/java/com/type/model/flatten/models/NestedFlattenModel.java b/typespec-tests/src/main/java/com/type/model/flatten/models/NestedFlattenModel.java index cc6cfba0a7..088e4c5abe 100644 --- a/typespec-tests/src/main/java/com/type/model/flatten/models/NestedFlattenModel.java +++ b/typespec-tests/src/main/java/com/type/model/flatten/models/NestedFlattenModel.java @@ -18,13 +18,13 @@ @Immutable public final class NestedFlattenModel implements JsonSerializable { /* - * A sequence of textual characters. + * The name property. */ @Generated private final String name; /* - * This is the child model to be flattened. And it has flattened property as well. + * The properties property. */ @Generated private final ChildFlattenModel properties; @@ -42,7 +42,7 @@ public NestedFlattenModel(String name, ChildFlattenModel properties) { } /** - * Get the name property: A sequence of textual characters. + * Get the name property: The name property. * * @return the name value. */ @@ -52,7 +52,7 @@ public String getName() { } /** - * Get the properties property: This is the child model to be flattened. And it has flattened property as well. + * Get the properties property: The properties property. * * @return the properties value. */ diff --git a/typespec-tests/src/main/java/com/type/model/inheritance/enumdiscriminator/EnumDiscriminatorAsyncClient.java b/typespec-tests/src/main/java/com/type/model/inheritance/enumdiscriminator/EnumDiscriminatorAsyncClient.java index 09f3a1cf45..296860abbf 100644 --- a/typespec-tests/src/main/java/com/type/model/inheritance/enumdiscriminator/EnumDiscriminatorAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/model/inheritance/enumdiscriminator/EnumDiscriminatorAsyncClient.java @@ -75,9 +75,7 @@ public Mono> getExtensibleModelWithResponse(RequestOptions * } * } * - * @param input Test extensible enum type for discriminator - * - * The input parameter. + * @param input Test extensible enum type for discriminator. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -177,9 +175,7 @@ public Mono> getFixedModelWithResponse(RequestOptions reque * } * } * - * @param input Test fixed enum type for discriminator - * - * The input parameter. + * @param input Test fixed enum type for discriminator. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -264,9 +260,7 @@ public Mono getExtensibleModel() { /** * Send model with extensible enum discriminator type. * - * @param input Test extensible enum type for discriminator - * - * The input parameter. + * @param input Test extensible enum type for discriminator. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -343,9 +337,7 @@ public Mono getFixedModel() { /** * Send model with fixed enum discriminator type. * - * @param input Test fixed enum type for discriminator - * - * The input parameter. + * @param input Test fixed enum type for discriminator. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/model/inheritance/enumdiscriminator/EnumDiscriminatorClient.java b/typespec-tests/src/main/java/com/type/model/inheritance/enumdiscriminator/EnumDiscriminatorClient.java index 4a26240798..f0c856005e 100644 --- a/typespec-tests/src/main/java/com/type/model/inheritance/enumdiscriminator/EnumDiscriminatorClient.java +++ b/typespec-tests/src/main/java/com/type/model/inheritance/enumdiscriminator/EnumDiscriminatorClient.java @@ -72,9 +72,7 @@ public Response getExtensibleModelWithResponse(RequestOptions reques * } * } * - * @param input Test extensible enum type for discriminator - * - * The input parameter. + * @param input Test extensible enum type for discriminator. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -171,9 +169,7 @@ public Response getFixedModelWithResponse(RequestOptions requestOpti * } * } * - * @param input Test fixed enum type for discriminator - * - * The input parameter. + * @param input Test fixed enum type for discriminator. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -256,9 +252,7 @@ public Dog getExtensibleModel() { /** * Send model with extensible enum discriminator type. * - * @param input Test extensible enum type for discriminator - * - * The input parameter. + * @param input Test extensible enum type for discriminator. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -331,9 +325,7 @@ public Snake getFixedModel() { /** * Send model with fixed enum discriminator type. * - * @param input Test fixed enum type for discriminator - * - * The input parameter. + * @param input Test fixed enum type for discriminator. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/model/inheritance/enumdiscriminator/implementation/EnumDiscriminatorClientImpl.java b/typespec-tests/src/main/java/com/type/model/inheritance/enumdiscriminator/implementation/EnumDiscriminatorClientImpl.java index 263b3953bb..08c7b018c3 100644 --- a/typespec-tests/src/main/java/com/type/model/inheritance/enumdiscriminator/implementation/EnumDiscriminatorClientImpl.java +++ b/typespec-tests/src/main/java/com/type/model/inheritance/enumdiscriminator/implementation/EnumDiscriminatorClientImpl.java @@ -311,9 +311,7 @@ public Response getExtensibleModelWithResponse(RequestOptions reques * } * } * - * @param input Test extensible enum type for discriminator - * - * The input parameter. + * @param input Test extensible enum type for discriminator. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -338,9 +336,7 @@ public Mono> putExtensibleModelWithResponseAsync(BinaryData input * } * } * - * @param input Test extensible enum type for discriminator - * - * The input parameter. + * @param input Test extensible enum type for discriminator. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -515,9 +511,7 @@ public Response getFixedModelWithResponse(RequestOptions requestOpti * } * } * - * @param input Test fixed enum type for discriminator - * - * The input parameter. + * @param input Test fixed enum type for discriminator. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -542,9 +536,7 @@ public Mono> putFixedModelWithResponseAsync(BinaryData input, Req * } * } * - * @param input Test fixed enum type for discriminator - * - * The input parameter. + * @param input Test fixed enum type for discriminator. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/model/inheritance/nesteddiscriminator/NestedDiscriminatorAsyncClient.java b/typespec-tests/src/main/java/com/type/model/inheritance/nesteddiscriminator/NestedDiscriminatorAsyncClient.java index 73e135e39c..bba1266eeb 100644 --- a/typespec-tests/src/main/java/com/type/model/inheritance/nesteddiscriminator/NestedDiscriminatorAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/model/inheritance/nesteddiscriminator/NestedDiscriminatorAsyncClient.java @@ -75,8 +75,6 @@ public Mono> getModelWithResponse(RequestOptions requestOpt * } * * @param input This is base model for polymorphic multiple levels inheritance with a discriminator. - * - * The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -127,8 +125,6 @@ public Mono> getRecursiveModelWithResponse(RequestOptions r * } * * @param input This is base model for polymorphic multiple levels inheritance with a discriminator. - * - * The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -216,8 +212,6 @@ public Mono getModel() { * The putModel operation. * * @param input This is base model for polymorphic multiple levels inheritance with a discriminator. - * - * The input parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -258,8 +252,6 @@ public Mono getRecursiveModel() { * The putRecursiveModel operation. * * @param input This is base model for polymorphic multiple levels inheritance with a discriminator. - * - * The input parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/model/inheritance/nesteddiscriminator/NestedDiscriminatorClient.java b/typespec-tests/src/main/java/com/type/model/inheritance/nesteddiscriminator/NestedDiscriminatorClient.java index bf5254352b..ba6f2e0250 100644 --- a/typespec-tests/src/main/java/com/type/model/inheritance/nesteddiscriminator/NestedDiscriminatorClient.java +++ b/typespec-tests/src/main/java/com/type/model/inheritance/nesteddiscriminator/NestedDiscriminatorClient.java @@ -73,8 +73,6 @@ public Response getModelWithResponse(RequestOptions requestOptions) * } * * @param input This is base model for polymorphic multiple levels inheritance with a discriminator. - * - * The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -125,8 +123,6 @@ public Response getRecursiveModelWithResponse(RequestOptions request * } * * @param input This is base model for polymorphic multiple levels inheritance with a discriminator. - * - * The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -212,8 +208,6 @@ public Fish getModel() { * The putModel operation. * * @param input This is base model for polymorphic multiple levels inheritance with a discriminator. - * - * The input parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -251,8 +245,6 @@ public Fish getRecursiveModel() { * The putRecursiveModel operation. * * @param input This is base model for polymorphic multiple levels inheritance with a discriminator. - * - * The input parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/model/inheritance/nesteddiscriminator/implementation/NestedDiscriminatorClientImpl.java b/typespec-tests/src/main/java/com/type/model/inheritance/nesteddiscriminator/implementation/NestedDiscriminatorClientImpl.java index cb0a2f9b5b..1f0e5c19eb 100644 --- a/typespec-tests/src/main/java/com/type/model/inheritance/nesteddiscriminator/implementation/NestedDiscriminatorClientImpl.java +++ b/typespec-tests/src/main/java/com/type/model/inheritance/nesteddiscriminator/implementation/NestedDiscriminatorClientImpl.java @@ -277,8 +277,6 @@ public Response getModelWithResponse(RequestOptions requestOptions) * } * * @param input This is base model for polymorphic multiple levels inheritance with a discriminator. - * - * The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -304,8 +302,6 @@ public Mono> putModelWithResponseAsync(BinaryData input, RequestO * } * * @param input This is base model for polymorphic multiple levels inheritance with a discriminator. - * - * The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -381,8 +377,6 @@ public Response getRecursiveModelWithResponse(RequestOptions request * } * * @param input This is base model for polymorphic multiple levels inheritance with a discriminator. - * - * The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -408,8 +402,6 @@ public Mono> putRecursiveModelWithResponseAsync(BinaryData input, * } * * @param input This is base model for polymorphic multiple levels inheritance with a discriminator. - * - * The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/model/inheritance/nesteddiscriminator/models/Fish.java b/typespec-tests/src/main/java/com/type/model/inheritance/nesteddiscriminator/models/Fish.java index 1506603a48..fce0019c27 100644 --- a/typespec-tests/src/main/java/com/type/model/inheritance/nesteddiscriminator/models/Fish.java +++ b/typespec-tests/src/main/java/com/type/model/inheritance/nesteddiscriminator/models/Fish.java @@ -24,7 +24,7 @@ public class Fish implements JsonSerializable { private String kind; /* - * A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) + * The age property. */ @Generated private final int age; @@ -51,7 +51,7 @@ public String getKind() { } /** - * Get the age property: A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`). + * Get the age property: The age property. * * @return the age value. */ diff --git a/typespec-tests/src/main/java/com/type/model/inheritance/nesteddiscriminator/models/GoblinShark.java b/typespec-tests/src/main/java/com/type/model/inheritance/nesteddiscriminator/models/GoblinShark.java index 4ef8405e39..0fc4bc3b8c 100644 --- a/typespec-tests/src/main/java/com/type/model/inheritance/nesteddiscriminator/models/GoblinShark.java +++ b/typespec-tests/src/main/java/com/type/model/inheritance/nesteddiscriminator/models/GoblinShark.java @@ -17,7 +17,7 @@ @Immutable public final class GoblinShark extends Shark { /* - * A sequence of textual characters. + * The sharktype property. */ @Generated private String sharktype = "goblin"; @@ -33,7 +33,7 @@ public GoblinShark(int age) { } /** - * Get the sharktype property: A sequence of textual characters. + * Get the sharktype property: The sharktype property. * * @return the sharktype value. */ diff --git a/typespec-tests/src/main/java/com/type/model/inheritance/nesteddiscriminator/models/Salmon.java b/typespec-tests/src/main/java/com/type/model/inheritance/nesteddiscriminator/models/Salmon.java index 4ce4ff6aea..d1472a035e 100644 --- a/typespec-tests/src/main/java/com/type/model/inheritance/nesteddiscriminator/models/Salmon.java +++ b/typespec-tests/src/main/java/com/type/model/inheritance/nesteddiscriminator/models/Salmon.java @@ -38,7 +38,7 @@ public final class Salmon extends Fish { private Map hate; /* - * This is base model for polymorphic multiple levels inheritance with a discriminator. + * The partner property. */ @Generated private Fish partner; @@ -109,7 +109,7 @@ public Salmon setHate(Map hate) { } /** - * Get the partner property: This is base model for polymorphic multiple levels inheritance with a discriminator. + * Get the partner property: The partner property. * * @return the partner value. */ @@ -119,7 +119,7 @@ public Fish getPartner() { } /** - * Set the partner property: This is base model for polymorphic multiple levels inheritance with a discriminator. + * Set the partner property: The partner property. * * @param partner the partner value to set. * @return the Salmon object itself. diff --git a/typespec-tests/src/main/java/com/type/model/inheritance/nesteddiscriminator/models/SawShark.java b/typespec-tests/src/main/java/com/type/model/inheritance/nesteddiscriminator/models/SawShark.java index 005c7d4af6..ef7305ac0f 100644 --- a/typespec-tests/src/main/java/com/type/model/inheritance/nesteddiscriminator/models/SawShark.java +++ b/typespec-tests/src/main/java/com/type/model/inheritance/nesteddiscriminator/models/SawShark.java @@ -17,7 +17,7 @@ @Immutable public final class SawShark extends Shark { /* - * A sequence of textual characters. + * The sharktype property. */ @Generated private String sharktype = "saw"; @@ -33,7 +33,7 @@ public SawShark(int age) { } /** - * Get the sharktype property: A sequence of textual characters. + * Get the sharktype property: The sharktype property. * * @return the sharktype value. */ diff --git a/typespec-tests/src/main/java/com/type/model/inheritance/nesteddiscriminator/models/Shark.java b/typespec-tests/src/main/java/com/type/model/inheritance/nesteddiscriminator/models/Shark.java index 9c4daf4f23..0d1e3edb01 100644 --- a/typespec-tests/src/main/java/com/type/model/inheritance/nesteddiscriminator/models/Shark.java +++ b/typespec-tests/src/main/java/com/type/model/inheritance/nesteddiscriminator/models/Shark.java @@ -17,7 +17,7 @@ @Immutable public class Shark extends Fish { /* - * A sequence of textual characters. + * The sharktype property. */ @Generated private String sharktype = "shark"; @@ -34,7 +34,7 @@ public Shark(int age) { } /** - * Get the sharktype property: A sequence of textual characters. + * Get the sharktype property: The sharktype property. * * @return the sharktype value. */ diff --git a/typespec-tests/src/main/java/com/type/model/inheritance/notdiscriminated/NotDiscriminatedAsyncClient.java b/typespec-tests/src/main/java/com/type/model/inheritance/notdiscriminated/NotDiscriminatedAsyncClient.java index cd2fdeb68e..0144f13b0f 100644 --- a/typespec-tests/src/main/java/com/type/model/inheritance/notdiscriminated/NotDiscriminatedAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/model/inheritance/notdiscriminated/NotDiscriminatedAsyncClient.java @@ -51,8 +51,6 @@ public final class NotDiscriminatedAsyncClient { * } * * @param input The third level model in the normal multiple levels inheritance. - * - * The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -115,8 +113,6 @@ public Mono> getValidWithResponse(RequestOptions requestOpt * } * * @param input The third level model in the normal multiple levels inheritance. - * - * The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -135,8 +131,6 @@ public Mono> putValidWithResponse(BinaryData input, Request * The postValid operation. * * @param input The third level model in the normal multiple levels inheritance. - * - * The input parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -176,8 +170,6 @@ public Mono getValid() { * The putValid operation. * * @param input The third level model in the normal multiple levels inheritance. - * - * The input parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/model/inheritance/notdiscriminated/NotDiscriminatedClient.java b/typespec-tests/src/main/java/com/type/model/inheritance/notdiscriminated/NotDiscriminatedClient.java index baf6f03e75..9029612180 100644 --- a/typespec-tests/src/main/java/com/type/model/inheritance/notdiscriminated/NotDiscriminatedClient.java +++ b/typespec-tests/src/main/java/com/type/model/inheritance/notdiscriminated/NotDiscriminatedClient.java @@ -49,8 +49,6 @@ public final class NotDiscriminatedClient { * } * * @param input The third level model in the normal multiple levels inheritance. - * - * The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -112,8 +110,6 @@ public Response getValidWithResponse(RequestOptions requestOptions) * } * * @param input The third level model in the normal multiple levels inheritance. - * - * The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -131,8 +127,6 @@ public Response putValidWithResponse(BinaryData input, RequestOption * The postValid operation. * * @param input The third level model in the normal multiple levels inheritance. - * - * The input parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -170,8 +164,6 @@ public Siamese getValid() { * The putValid operation. * * @param input The third level model in the normal multiple levels inheritance. - * - * The input parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/model/inheritance/notdiscriminated/implementation/NotDiscriminatedClientImpl.java b/typespec-tests/src/main/java/com/type/model/inheritance/notdiscriminated/implementation/NotDiscriminatedClientImpl.java index 721101e9e2..f690512d2a 100644 --- a/typespec-tests/src/main/java/com/type/model/inheritance/notdiscriminated/implementation/NotDiscriminatedClientImpl.java +++ b/typespec-tests/src/main/java/com/type/model/inheritance/notdiscriminated/implementation/NotDiscriminatedClientImpl.java @@ -175,8 +175,6 @@ Response putValidSync(@HeaderParam("accept") String accept, * } * * @param input The third level model in the normal multiple levels inheritance. - * - * The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -203,8 +201,6 @@ public Mono> postValidWithResponseAsync(BinaryData input, Request * } * * @param input The third level model in the normal multiple levels inheritance. - * - * The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -292,8 +288,6 @@ public Response getValidWithResponse(RequestOptions requestOptions) * } * * @param input The third level model in the normal multiple levels inheritance. - * - * The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -331,8 +325,6 @@ public Mono> putValidWithResponseAsync(BinaryData input, Re * } * * @param input The third level model in the normal multiple levels inheritance. - * - * The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/model/inheritance/notdiscriminated/models/Cat.java b/typespec-tests/src/main/java/com/type/model/inheritance/notdiscriminated/models/Cat.java index dcd6730ef8..5182b2905b 100644 --- a/typespec-tests/src/main/java/com/type/model/inheritance/notdiscriminated/models/Cat.java +++ b/typespec-tests/src/main/java/com/type/model/inheritance/notdiscriminated/models/Cat.java @@ -17,7 +17,7 @@ @Immutable public class Cat extends Pet { /* - * A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) + * The age property. */ @Generated private final int age; @@ -35,7 +35,7 @@ public Cat(String name, int age) { } /** - * Get the age property: A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`). + * Get the age property: The age property. * * @return the age value. */ diff --git a/typespec-tests/src/main/java/com/type/model/inheritance/notdiscriminated/models/Pet.java b/typespec-tests/src/main/java/com/type/model/inheritance/notdiscriminated/models/Pet.java index 8a7a28322e..6005597a77 100644 --- a/typespec-tests/src/main/java/com/type/model/inheritance/notdiscriminated/models/Pet.java +++ b/typespec-tests/src/main/java/com/type/model/inheritance/notdiscriminated/models/Pet.java @@ -18,7 +18,7 @@ @Immutable public class Pet implements JsonSerializable { /* - * A sequence of textual characters. + * The name property. */ @Generated private final String name; @@ -34,7 +34,7 @@ public Pet(String name) { } /** - * Get the name property: A sequence of textual characters. + * Get the name property: The name property. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/type/model/inheritance/notdiscriminated/models/Siamese.java b/typespec-tests/src/main/java/com/type/model/inheritance/notdiscriminated/models/Siamese.java index da79fa04b9..6438aa5025 100644 --- a/typespec-tests/src/main/java/com/type/model/inheritance/notdiscriminated/models/Siamese.java +++ b/typespec-tests/src/main/java/com/type/model/inheritance/notdiscriminated/models/Siamese.java @@ -17,7 +17,7 @@ @Immutable public final class Siamese extends Cat { /* - * Boolean with `true` and `false` values. + * The smart property. */ @Generated private final boolean smart; @@ -36,7 +36,7 @@ public Siamese(String name, int age, boolean smart) { } /** - * Get the smart property: Boolean with `true` and `false` values. + * Get the smart property: The smart property. * * @return the smart value. */ diff --git a/typespec-tests/src/main/java/com/type/model/inheritance/recursive/RecursiveAsyncClient.java b/typespec-tests/src/main/java/com/type/model/inheritance/recursive/RecursiveAsyncClient.java index f831fae619..c6e87c3772 100644 --- a/typespec-tests/src/main/java/com/type/model/inheritance/recursive/RecursiveAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/model/inheritance/recursive/RecursiveAsyncClient.java @@ -51,9 +51,7 @@ public final class RecursiveAsyncClient { * } * } * - * @param input extension - * - * The input parameter. + * @param input extension. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -96,9 +94,7 @@ public Mono> getWithResponse(RequestOptions requestOptions) /** * The put operation. * - * @param input extension - * - * The input parameter. + * @param input extension. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/model/inheritance/recursive/RecursiveClient.java b/typespec-tests/src/main/java/com/type/model/inheritance/recursive/RecursiveClient.java index 0141fbfb6a..c61ef98757 100644 --- a/typespec-tests/src/main/java/com/type/model/inheritance/recursive/RecursiveClient.java +++ b/typespec-tests/src/main/java/com/type/model/inheritance/recursive/RecursiveClient.java @@ -49,9 +49,7 @@ public final class RecursiveClient { * } * } * - * @param input extension - * - * The input parameter. + * @param input extension. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -94,9 +92,7 @@ public Response getWithResponse(RequestOptions requestOptions) { /** * The put operation. * - * @param input extension - * - * The input parameter. + * @param input extension. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/model/inheritance/recursive/implementation/RecursiveClientImpl.java b/typespec-tests/src/main/java/com/type/model/inheritance/recursive/implementation/RecursiveClientImpl.java index 9ebf1d13fd..deabd59fe9 100644 --- a/typespec-tests/src/main/java/com/type/model/inheritance/recursive/implementation/RecursiveClientImpl.java +++ b/typespec-tests/src/main/java/com/type/model/inheritance/recursive/implementation/RecursiveClientImpl.java @@ -155,9 +155,7 @@ Response getSync(@HeaderParam("accept") String accept, RequestOption * } * } * - * @param input extension - * - * The input parameter. + * @param input extension. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -184,9 +182,7 @@ public Mono> putWithResponseAsync(BinaryData input, RequestOption * } * } * - * @param input extension - * - * The input parameter. + * @param input extension. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/model/inheritance/recursive/models/Extension.java b/typespec-tests/src/main/java/com/type/model/inheritance/recursive/models/Extension.java index 60ae53fe36..822497fc01 100644 --- a/typespec-tests/src/main/java/com/type/model/inheritance/recursive/models/Extension.java +++ b/typespec-tests/src/main/java/com/type/model/inheritance/recursive/models/Extension.java @@ -18,7 +18,7 @@ @Fluent public final class Extension extends Element { /* - * A 8-bit integer. (`-128` to `127`) + * The level property. */ @Generated private final int level; @@ -34,7 +34,7 @@ public Extension(int level) { } /** - * Get the level property: A 8-bit integer. (`-128` to `127`). + * Get the level property: The level property. * * @return the level value. */ diff --git a/typespec-tests/src/main/java/com/type/model/inheritance/singlediscriminator/SingleDiscriminatorAsyncClient.java b/typespec-tests/src/main/java/com/type/model/inheritance/singlediscriminator/SingleDiscriminatorAsyncClient.java index 44632d8a70..ad25e0abc4 100644 --- a/typespec-tests/src/main/java/com/type/model/inheritance/singlediscriminator/SingleDiscriminatorAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/model/inheritance/singlediscriminator/SingleDiscriminatorAsyncClient.java @@ -76,8 +76,6 @@ public Mono> getModelWithResponse(RequestOptions requestOpt * } * * @param input This is base model for polymorphic single level inheritance with a discriminator. - * - * The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -128,8 +126,6 @@ public Mono> getRecursiveModelWithResponse(RequestOptions r * } * * @param input This is base model for polymorphic single level inheritance with a discriminator. - * - * The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -242,8 +238,6 @@ public Mono getModel() { * The putModel operation. * * @param input This is base model for polymorphic single level inheritance with a discriminator. - * - * The input parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -284,8 +278,6 @@ public Mono getRecursiveModel() { * The putRecursiveModel operation. * * @param input This is base model for polymorphic single level inheritance with a discriminator. - * - * The input parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/model/inheritance/singlediscriminator/SingleDiscriminatorClient.java b/typespec-tests/src/main/java/com/type/model/inheritance/singlediscriminator/SingleDiscriminatorClient.java index 138f588860..d65048120f 100644 --- a/typespec-tests/src/main/java/com/type/model/inheritance/singlediscriminator/SingleDiscriminatorClient.java +++ b/typespec-tests/src/main/java/com/type/model/inheritance/singlediscriminator/SingleDiscriminatorClient.java @@ -74,8 +74,6 @@ public Response getModelWithResponse(RequestOptions requestOptions) * } * * @param input This is base model for polymorphic single level inheritance with a discriminator. - * - * The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -126,8 +124,6 @@ public Response getRecursiveModelWithResponse(RequestOptions request * } * * @param input This is base model for polymorphic single level inheritance with a discriminator. - * - * The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -237,8 +233,6 @@ public Bird getModel() { * The putModel operation. * * @param input This is base model for polymorphic single level inheritance with a discriminator. - * - * The input parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -276,8 +270,6 @@ public Bird getRecursiveModel() { * The putRecursiveModel operation. * * @param input This is base model for polymorphic single level inheritance with a discriminator. - * - * The input parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/model/inheritance/singlediscriminator/implementation/SingleDiscriminatorClientImpl.java b/typespec-tests/src/main/java/com/type/model/inheritance/singlediscriminator/implementation/SingleDiscriminatorClientImpl.java index ba48194fc9..e9440cee5a 100644 --- a/typespec-tests/src/main/java/com/type/model/inheritance/singlediscriminator/implementation/SingleDiscriminatorClientImpl.java +++ b/typespec-tests/src/main/java/com/type/model/inheritance/singlediscriminator/implementation/SingleDiscriminatorClientImpl.java @@ -295,8 +295,6 @@ public Response getModelWithResponse(RequestOptions requestOptions) * } * * @param input This is base model for polymorphic single level inheritance with a discriminator. - * - * The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -322,8 +320,6 @@ public Mono> putModelWithResponseAsync(BinaryData input, RequestO * } * * @param input This is base model for polymorphic single level inheritance with a discriminator. - * - * The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -399,8 +395,6 @@ public Response getRecursiveModelWithResponse(RequestOptions request * } * * @param input This is base model for polymorphic single level inheritance with a discriminator. - * - * The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -426,8 +420,6 @@ public Mono> putRecursiveModelWithResponseAsync(BinaryData input, * } * * @param input This is base model for polymorphic single level inheritance with a discriminator. - * - * The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/model/inheritance/singlediscriminator/models/Bird.java b/typespec-tests/src/main/java/com/type/model/inheritance/singlediscriminator/models/Bird.java index b97c5cb342..8cd05d6b41 100644 --- a/typespec-tests/src/main/java/com/type/model/inheritance/singlediscriminator/models/Bird.java +++ b/typespec-tests/src/main/java/com/type/model/inheritance/singlediscriminator/models/Bird.java @@ -18,13 +18,13 @@ @Immutable public class Bird implements JsonSerializable { /* - * A sequence of textual characters. + * The kind property. */ @Generated private String kind; /* - * A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) + * The wingspan property. */ @Generated private final int wingspan; @@ -41,7 +41,7 @@ public Bird(int wingspan) { } /** - * Get the kind property: A sequence of textual characters. + * Get the kind property: The kind property. * * @return the kind value. */ @@ -51,7 +51,7 @@ public String getKind() { } /** - * Get the wingspan property: A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`). + * Get the wingspan property: The wingspan property. * * @return the wingspan value. */ diff --git a/typespec-tests/src/main/java/com/type/model/inheritance/singlediscriminator/models/Dinosaur.java b/typespec-tests/src/main/java/com/type/model/inheritance/singlediscriminator/models/Dinosaur.java index 56de0d2f34..c95181e5d1 100644 --- a/typespec-tests/src/main/java/com/type/model/inheritance/singlediscriminator/models/Dinosaur.java +++ b/typespec-tests/src/main/java/com/type/model/inheritance/singlediscriminator/models/Dinosaur.java @@ -24,7 +24,7 @@ public class Dinosaur implements JsonSerializable { private String kind; /* - * A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`) + * The size property. */ @Generated private final int size; @@ -51,7 +51,7 @@ public String getKind() { } /** - * Get the size property: A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`). + * Get the size property: The size property. * * @return the size value. */ diff --git a/typespec-tests/src/main/java/com/type/model/inheritance/singlediscriminator/models/Eagle.java b/typespec-tests/src/main/java/com/type/model/inheritance/singlediscriminator/models/Eagle.java index bf2cfa3fc4..c49d2e0ed3 100644 --- a/typespec-tests/src/main/java/com/type/model/inheritance/singlediscriminator/models/Eagle.java +++ b/typespec-tests/src/main/java/com/type/model/inheritance/singlediscriminator/models/Eagle.java @@ -20,7 +20,7 @@ @Fluent public final class Eagle extends Bird { /* - * A sequence of textual characters. + * The kind property. */ @Generated private String kind = "eagle"; @@ -38,7 +38,7 @@ public final class Eagle extends Bird { private Map hate; /* - * This is base model for polymorphic single level inheritance with a discriminator. + * The partner property. */ @Generated private Bird partner; @@ -54,7 +54,7 @@ public Eagle(int wingspan) { } /** - * Get the kind property: A sequence of textual characters. + * Get the kind property: The kind property. * * @return the kind value. */ @@ -109,7 +109,7 @@ public Eagle setHate(Map hate) { } /** - * Get the partner property: This is base model for polymorphic single level inheritance with a discriminator. + * Get the partner property: The partner property. * * @return the partner value. */ @@ -119,7 +119,7 @@ public Bird getPartner() { } /** - * Set the partner property: This is base model for polymorphic single level inheritance with a discriminator. + * Set the partner property: The partner property. * * @param partner the partner value to set. * @return the Eagle object itself. diff --git a/typespec-tests/src/main/java/com/type/model/inheritance/singlediscriminator/models/Goose.java b/typespec-tests/src/main/java/com/type/model/inheritance/singlediscriminator/models/Goose.java index ed6603b709..d097786368 100644 --- a/typespec-tests/src/main/java/com/type/model/inheritance/singlediscriminator/models/Goose.java +++ b/typespec-tests/src/main/java/com/type/model/inheritance/singlediscriminator/models/Goose.java @@ -17,7 +17,7 @@ @Immutable public final class Goose extends Bird { /* - * A sequence of textual characters. + * The kind property. */ @Generated private String kind = "goose"; @@ -33,7 +33,7 @@ public Goose(int wingspan) { } /** - * Get the kind property: A sequence of textual characters. + * Get the kind property: The kind property. * * @return the kind value. */ diff --git a/typespec-tests/src/main/java/com/type/model/inheritance/singlediscriminator/models/SeaGull.java b/typespec-tests/src/main/java/com/type/model/inheritance/singlediscriminator/models/SeaGull.java index 88f1e5400c..07256e55c6 100644 --- a/typespec-tests/src/main/java/com/type/model/inheritance/singlediscriminator/models/SeaGull.java +++ b/typespec-tests/src/main/java/com/type/model/inheritance/singlediscriminator/models/SeaGull.java @@ -17,7 +17,7 @@ @Immutable public final class SeaGull extends Bird { /* - * A sequence of textual characters. + * The kind property. */ @Generated private String kind = "seagull"; @@ -33,7 +33,7 @@ public SeaGull(int wingspan) { } /** - * Get the kind property: A sequence of textual characters. + * Get the kind property: The kind property. * * @return the kind value. */ diff --git a/typespec-tests/src/main/java/com/type/model/inheritance/singlediscriminator/models/Sparrow.java b/typespec-tests/src/main/java/com/type/model/inheritance/singlediscriminator/models/Sparrow.java index e9ca156ac5..93da94c4b7 100644 --- a/typespec-tests/src/main/java/com/type/model/inheritance/singlediscriminator/models/Sparrow.java +++ b/typespec-tests/src/main/java/com/type/model/inheritance/singlediscriminator/models/Sparrow.java @@ -17,7 +17,7 @@ @Immutable public final class Sparrow extends Bird { /* - * A sequence of textual characters. + * The kind property. */ @Generated private String kind = "sparrow"; @@ -33,7 +33,7 @@ public Sparrow(int wingspan) { } /** - * Get the kind property: A sequence of textual characters. + * Get the kind property: The kind property. * * @return the kind value. */ diff --git a/typespec-tests/src/main/java/com/type/model/usage/UsageAsyncClient.java b/typespec-tests/src/main/java/com/type/model/usage/UsageAsyncClient.java index 8af89ff3e7..c2c1065941 100644 --- a/typespec-tests/src/main/java/com/type/model/usage/UsageAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/model/usage/UsageAsyncClient.java @@ -50,9 +50,7 @@ public final class UsageAsyncClient { * } * } * - * @param input Record used in operation parameters - * - * The input parameter. + * @param input Record used in operation parameters. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -108,9 +106,7 @@ public Mono> outputWithResponse(RequestOptions requestOptio * } * } * - * @param body Record used both as operation parameter and return type - * - * The body parameter. + * @param body Record used both as operation parameter and return type. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -128,9 +124,7 @@ public Mono> inputAndOutputWithResponse(BinaryData body, Re /** * The input operation. * - * @param input Record used in operation parameters - * - * The input parameter. + * @param input Record used in operation parameters. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -169,9 +163,7 @@ public Mono output() { /** * The inputAndOutput operation. * - * @param body Record used both as operation parameter and return type - * - * The body parameter. + * @param body Record used both as operation parameter and return type. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/model/usage/UsageClient.java b/typespec-tests/src/main/java/com/type/model/usage/UsageClient.java index ec6d48f74b..5d9326464d 100644 --- a/typespec-tests/src/main/java/com/type/model/usage/UsageClient.java +++ b/typespec-tests/src/main/java/com/type/model/usage/UsageClient.java @@ -48,9 +48,7 @@ public final class UsageClient { * } * } * - * @param input Record used in operation parameters - * - * The input parameter. + * @param input Record used in operation parameters. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -105,9 +103,7 @@ public Response outputWithResponse(RequestOptions requestOptions) { * } * } * - * @param body Record used both as operation parameter and return type - * - * The body parameter. + * @param body Record used both as operation parameter and return type. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -124,9 +120,7 @@ public Response inputAndOutputWithResponse(BinaryData body, RequestO /** * The input operation. * - * @param input Record used in operation parameters - * - * The input parameter. + * @param input Record used in operation parameters. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -163,9 +157,7 @@ public OutputRecord output() { /** * The inputAndOutput operation. * - * @param body Record used both as operation parameter and return type - * - * The body parameter. + * @param body Record used both as operation parameter and return type. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/model/usage/implementation/UsageClientImpl.java b/typespec-tests/src/main/java/com/type/model/usage/implementation/UsageClientImpl.java index dbafbc9728..2fb068492e 100644 --- a/typespec-tests/src/main/java/com/type/model/usage/implementation/UsageClientImpl.java +++ b/typespec-tests/src/main/java/com/type/model/usage/implementation/UsageClientImpl.java @@ -169,9 +169,7 @@ Response inputAndOutputSync(@HeaderParam("accept") String accept, * } * } * - * @param input Record used in operation parameters - * - * The input parameter. + * @param input Record used in operation parameters. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -195,9 +193,7 @@ public Mono> inputWithResponseAsync(BinaryData input, RequestOpti * } * } * - * @param input Record used in operation parameters - * - * The input parameter. + * @param input Record used in operation parameters. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -276,9 +272,7 @@ public Response outputWithResponse(RequestOptions requestOptions) { * } * } * - * @param body Record used both as operation parameter and return type - * - * The body parameter. + * @param body Record used both as operation parameter and return type. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -311,9 +305,7 @@ public Mono> inputAndOutputWithResponseAsync(BinaryData bod * } * } * - * @param body Record used both as operation parameter and return type - * - * The body parameter. + * @param body Record used both as operation parameter and return type. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/model/usage/models/InputOutputRecord.java b/typespec-tests/src/main/java/com/type/model/usage/models/InputOutputRecord.java index 8d439fcd9f..efee5367f1 100644 --- a/typespec-tests/src/main/java/com/type/model/usage/models/InputOutputRecord.java +++ b/typespec-tests/src/main/java/com/type/model/usage/models/InputOutputRecord.java @@ -18,7 +18,7 @@ @Immutable public final class InputOutputRecord implements JsonSerializable { /* - * A sequence of textual characters. + * The requiredProp property. */ @Generated private final String requiredProp; @@ -34,7 +34,7 @@ public InputOutputRecord(String requiredProp) { } /** - * Get the requiredProp property: A sequence of textual characters. + * Get the requiredProp property: The requiredProp property. * * @return the requiredProp value. */ diff --git a/typespec-tests/src/main/java/com/type/model/usage/models/InputRecord.java b/typespec-tests/src/main/java/com/type/model/usage/models/InputRecord.java index dab148a559..f006ebbdbe 100644 --- a/typespec-tests/src/main/java/com/type/model/usage/models/InputRecord.java +++ b/typespec-tests/src/main/java/com/type/model/usage/models/InputRecord.java @@ -18,7 +18,7 @@ @Immutable public final class InputRecord implements JsonSerializable { /* - * A sequence of textual characters. + * The requiredProp property. */ @Generated private final String requiredProp; @@ -34,7 +34,7 @@ public InputRecord(String requiredProp) { } /** - * Get the requiredProp property: A sequence of textual characters. + * Get the requiredProp property: The requiredProp property. * * @return the requiredProp value. */ diff --git a/typespec-tests/src/main/java/com/type/model/usage/models/OutputRecord.java b/typespec-tests/src/main/java/com/type/model/usage/models/OutputRecord.java index d6bfe51011..64d3420373 100644 --- a/typespec-tests/src/main/java/com/type/model/usage/models/OutputRecord.java +++ b/typespec-tests/src/main/java/com/type/model/usage/models/OutputRecord.java @@ -18,7 +18,7 @@ @Immutable public final class OutputRecord implements JsonSerializable { /* - * A sequence of textual characters. + * The requiredProp property. */ @Generated private final String requiredProp; @@ -34,7 +34,7 @@ private OutputRecord(String requiredProp) { } /** - * Get the requiredProp property: A sequence of textual characters. + * Get the requiredProp property: The requiredProp property. * * @return the requiredProp value. */ diff --git a/typespec-tests/src/main/java/com/type/model/visibility/VisibilityAsyncClient.java b/typespec-tests/src/main/java/com/type/model/visibility/VisibilityAsyncClient.java index 93c09dc8fc..4961adfe0d 100644 --- a/typespec-tests/src/main/java/com/type/model/visibility/VisibilityAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/model/visibility/VisibilityAsyncClient.java @@ -73,8 +73,6 @@ public final class VisibilityAsyncClient { * } * * @param input Output model with visibility properties. - * - * The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -108,8 +106,6 @@ public Mono> getModelWithResponse(BinaryData input, Request * } * * @param input Output model with visibility properties. - * - * The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -142,8 +138,6 @@ public Mono> headModelWithResponse(BinaryData input, RequestOptio * } * * @param input Output model with visibility properties. - * - * The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -176,8 +170,6 @@ public Mono> putModelWithResponse(BinaryData input, RequestOption * } * * @param input Output model with visibility properties. - * - * The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -210,8 +202,6 @@ public Mono> patchModelWithResponse(BinaryData input, RequestOpti * } * * @param input Output model with visibility properties. - * - * The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -244,8 +234,6 @@ public Mono> postModelWithResponse(BinaryData input, RequestOptio * } * * @param input Output model with visibility properties. - * - * The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -263,8 +251,6 @@ public Mono> deleteModelWithResponse(BinaryData input, RequestOpt * The getModel operation. * * @param input Output model with visibility properties. - * - * The input parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -286,8 +272,6 @@ public Mono getModel(VisibilityModel input) { * The headModel operation. * * @param input Output model with visibility properties. - * - * The input parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -308,8 +292,6 @@ public Mono headModel(VisibilityModel input) { * The putModel operation. * * @param input Output model with visibility properties. - * - * The input parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -330,8 +312,6 @@ public Mono putModel(VisibilityModel input) { * The patchModel operation. * * @param input Output model with visibility properties. - * - * The input parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -352,8 +332,6 @@ public Mono patchModel(VisibilityModel input) { * The postModel operation. * * @param input Output model with visibility properties. - * - * The input parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -374,8 +352,6 @@ public Mono postModel(VisibilityModel input) { * The deleteModel operation. * * @param input Output model with visibility properties. - * - * The input parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/model/visibility/VisibilityClient.java b/typespec-tests/src/main/java/com/type/model/visibility/VisibilityClient.java index f65383a728..f840ebe813 100644 --- a/typespec-tests/src/main/java/com/type/model/visibility/VisibilityClient.java +++ b/typespec-tests/src/main/java/com/type/model/visibility/VisibilityClient.java @@ -71,8 +71,6 @@ public final class VisibilityClient { * } * * @param input Output model with visibility properties. - * - * The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -105,8 +103,6 @@ public Response getModelWithResponse(BinaryData input, RequestOption * } * * @param input Output model with visibility properties. - * - * The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -139,8 +135,6 @@ public Response headModelWithResponse(BinaryData input, RequestOptions req * } * * @param input Output model with visibility properties. - * - * The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -173,8 +167,6 @@ public Response putModelWithResponse(BinaryData input, RequestOptions requ * } * * @param input Output model with visibility properties. - * - * The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -207,8 +199,6 @@ public Response patchModelWithResponse(BinaryData input, RequestOptions re * } * * @param input Output model with visibility properties. - * - * The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -241,8 +231,6 @@ public Response postModelWithResponse(BinaryData input, RequestOptions req * } * * @param input Output model with visibility properties. - * - * The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -260,8 +248,6 @@ public Response deleteModelWithResponse(BinaryData input, RequestOptions r * The getModel operation. * * @param input Output model with visibility properties. - * - * The input parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -283,8 +269,6 @@ public VisibilityModel getModel(VisibilityModel input) { * The headModel operation. * * @param input Output model with visibility properties. - * - * The input parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -304,8 +288,6 @@ public void headModel(VisibilityModel input) { * The putModel operation. * * @param input Output model with visibility properties. - * - * The input parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -325,8 +307,6 @@ public void putModel(VisibilityModel input) { * The patchModel operation. * * @param input Output model with visibility properties. - * - * The input parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -346,8 +326,6 @@ public void patchModel(VisibilityModel input) { * The postModel operation. * * @param input Output model with visibility properties. - * - * The input parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -367,8 +345,6 @@ public void postModel(VisibilityModel input) { * The deleteModel operation. * * @param input Output model with visibility properties. - * - * The input parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/model/visibility/implementation/VisibilityClientImpl.java b/typespec-tests/src/main/java/com/type/model/visibility/implementation/VisibilityClientImpl.java index 487e7a599c..497dedec9b 100644 --- a/typespec-tests/src/main/java/com/type/model/visibility/implementation/VisibilityClientImpl.java +++ b/typespec-tests/src/main/java/com/type/model/visibility/implementation/VisibilityClientImpl.java @@ -253,8 +253,6 @@ Response deleteModelSync(@HeaderParam("accept") String accept, * } * * @param input Output model with visibility properties. - * - * The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -304,8 +302,6 @@ public Mono> getModelWithResponseAsync(BinaryData input, Re * } * * @param input Output model with visibility properties. - * - * The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -338,8 +334,6 @@ public Response getModelWithResponse(BinaryData input, RequestOption * } * * @param input Output model with visibility properties. - * - * The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -372,8 +366,6 @@ public Mono> headModelWithResponseAsync(BinaryData input, Request * } * * @param input Output model with visibility properties. - * - * The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -406,8 +398,6 @@ public Response headModelWithResponse(BinaryData input, RequestOptions req * } * * @param input Output model with visibility properties. - * - * The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -440,8 +430,6 @@ public Mono> putModelWithResponseAsync(BinaryData input, RequestO * } * * @param input Output model with visibility properties. - * - * The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -474,8 +462,6 @@ public Response putModelWithResponse(BinaryData input, RequestOptions requ * } * * @param input Output model with visibility properties. - * - * The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -508,8 +494,6 @@ public Mono> patchModelWithResponseAsync(BinaryData input, Reques * } * * @param input Output model with visibility properties. - * - * The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -542,8 +526,6 @@ public Response patchModelWithResponse(BinaryData input, RequestOptions re * } * * @param input Output model with visibility properties. - * - * The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -576,8 +558,6 @@ public Mono> postModelWithResponseAsync(BinaryData input, Request * } * * @param input Output model with visibility properties. - * - * The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -610,8 +590,6 @@ public Response postModelWithResponse(BinaryData input, RequestOptions req * } * * @param input Output model with visibility properties. - * - * The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -644,8 +622,6 @@ public Mono> deleteModelWithResponseAsync(BinaryData input, Reque * } * * @param input Output model with visibility properties. - * - * The input parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsDifferentSpreadFloatAsyncClient.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsDifferentSpreadFloatAsyncClient.java index 6ba1e06254..56b539a1f1 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsDifferentSpreadFloatAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsDifferentSpreadFloatAsyncClient.java @@ -80,9 +80,7 @@ public Mono> getWithResponse(RequestOptions requestOptions) * } * * @param body The model extends from a model that spread Record<float32> with the different known property - * type - * - * The body parameter. + * type. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -119,9 +117,7 @@ public Mono get() { * Put operation. * * @param body The model extends from a model that spread Record<float32> with the different known property - * type - * - * The body parameter. + * type. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsDifferentSpreadFloatClient.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsDifferentSpreadFloatClient.java index f40282e538..9d9545d755 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsDifferentSpreadFloatClient.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsDifferentSpreadFloatClient.java @@ -78,9 +78,7 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * * @param body The model extends from a model that spread Record<float32> with the different known property - * type - * - * The body parameter. + * type. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -116,9 +114,7 @@ public DifferentSpreadFloatDerived get() { * Put operation. * * @param body The model extends from a model that spread Record<float32> with the different known property - * type - * - * The body parameter. + * type. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsDifferentSpreadModelArrayAsyncClient.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsDifferentSpreadModelArrayAsyncClient.java index 4121f54f30..b643a3629c 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsDifferentSpreadModelArrayAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsDifferentSpreadModelArrayAsyncClient.java @@ -92,9 +92,7 @@ public Mono> getWithResponse(RequestOptions requestOptions) * } * * @param body The model extends from a model that spread Record<ModelForRecord[]> with the different known - * property type - * - * The body parameter. + * property type. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -131,9 +129,7 @@ public Mono get() { * Put operation. * * @param body The model extends from a model that spread Record<ModelForRecord[]> with the different known - * property type - * - * The body parameter. + * property type. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsDifferentSpreadModelArrayClient.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsDifferentSpreadModelArrayClient.java index cea68c5d03..9906688a31 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsDifferentSpreadModelArrayClient.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsDifferentSpreadModelArrayClient.java @@ -90,9 +90,7 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * * @param body The model extends from a model that spread Record<ModelForRecord[]> with the different known - * property type - * - * The body parameter. + * property type. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -128,9 +126,7 @@ public DifferentSpreadModelArrayDerived get() { * Put operation. * * @param body The model extends from a model that spread Record<ModelForRecord[]> with the different known - * property type - * - * The body parameter. + * property type. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsDifferentSpreadModelAsyncClient.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsDifferentSpreadModelAsyncClient.java index 1bdc8f0bd5..213cd45f9e 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsDifferentSpreadModelAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsDifferentSpreadModelAsyncClient.java @@ -84,9 +84,7 @@ public Mono> getWithResponse(RequestOptions requestOptions) * } * * @param body The model extends from a model that spread Record<ModelForRecord> with the different known - * property type - * - * The body parameter. + * property type. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -123,9 +121,7 @@ public Mono get() { * Put operation. * * @param body The model extends from a model that spread Record<ModelForRecord> with the different known - * property type - * - * The body parameter. + * property type. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsDifferentSpreadModelClient.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsDifferentSpreadModelClient.java index 76313bbe04..489aebf2a0 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsDifferentSpreadModelClient.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsDifferentSpreadModelClient.java @@ -82,9 +82,7 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * * @param body The model extends from a model that spread Record<ModelForRecord> with the different known - * property type - * - * The body parameter. + * property type. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -120,9 +118,7 @@ public DifferentSpreadModelDerived get() { * Put operation. * * @param body The model extends from a model that spread Record<ModelForRecord> with the different known - * property type - * - * The body parameter. + * property type. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsDifferentSpreadStringAsyncClient.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsDifferentSpreadStringAsyncClient.java index aad670c1f1..f6514a7040 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsDifferentSpreadStringAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsDifferentSpreadStringAsyncClient.java @@ -80,9 +80,7 @@ public Mono> getWithResponse(RequestOptions requestOptions) * } * * @param body The model extends from a model that spread Record<string> with the different known property - * type - * - * The body parameter. + * type. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -119,9 +117,7 @@ public Mono get() { * Put operation. * * @param body The model extends from a model that spread Record<string> with the different known property - * type - * - * The body parameter. + * type. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsDifferentSpreadStringClient.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsDifferentSpreadStringClient.java index 53255e36ed..304c116e69 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsDifferentSpreadStringClient.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsDifferentSpreadStringClient.java @@ -78,9 +78,7 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * * @param body The model extends from a model that spread Record<string> with the different known property - * type - * - * The body parameter. + * type. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -116,9 +114,7 @@ public DifferentSpreadStringDerived get() { * Put operation. * * @param body The model extends from a model that spread Record<string> with the different known property - * type - * - * The body parameter. + * type. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsFloatAsyncClient.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsFloatAsyncClient.java index ac824dc288..8cde7a432d 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsFloatAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsFloatAsyncClient.java @@ -78,8 +78,6 @@ public Mono> getWithResponse(RequestOptions requestOptions) * } * * @param body The model extends from Record<float32> type. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -116,8 +114,6 @@ public Mono get() { * Put operation. * * @param body The model extends from Record<float32> type. - * - * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsFloatClient.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsFloatClient.java index 586f3c4f0c..1a1ed66afa 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsFloatClient.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsFloatClient.java @@ -76,8 +76,6 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * * @param body The model extends from Record<float32> type. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -113,8 +111,6 @@ public ExtendsFloatAdditionalProperties get() { * Put operation. * * @param body The model extends from Record<float32> type. - * - * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsModelArrayAsyncClient.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsModelArrayAsyncClient.java index e03ba2767b..dc13d7a4a4 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsModelArrayAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsModelArrayAsyncClient.java @@ -90,8 +90,6 @@ public Mono> getWithResponse(RequestOptions requestOptions) * } * * @param body The model extends from Record<ModelForRecord[]> type. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -128,8 +126,6 @@ public Mono get() { * Put operation. * * @param body The model extends from Record<ModelForRecord[]> type. - * - * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsModelArrayClient.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsModelArrayClient.java index 492215aeb7..c851cc36d2 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsModelArrayClient.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsModelArrayClient.java @@ -88,8 +88,6 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * * @param body The model extends from Record<ModelForRecord[]> type. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -125,8 +123,6 @@ public ExtendsModelArrayAdditionalProperties get() { * Put operation. * * @param body The model extends from Record<ModelForRecord[]> type. - * - * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsModelAsyncClient.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsModelAsyncClient.java index 4dbfcade6c..15ba429f48 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsModelAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsModelAsyncClient.java @@ -82,8 +82,6 @@ public Mono> getWithResponse(RequestOptions requestOptions) * } * * @param body The model extends from Record<ModelForRecord> type. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -120,8 +118,6 @@ public Mono get() { * Put operation. * * @param body The model extends from Record<ModelForRecord> type. - * - * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsModelClient.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsModelClient.java index 73520ac382..f5a2a0ff8b 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsModelClient.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsModelClient.java @@ -80,8 +80,6 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * * @param body The model extends from Record<ModelForRecord> type. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -117,8 +115,6 @@ public ExtendsModelAdditionalProperties get() { * Put operation. * * @param body The model extends from Record<ModelForRecord> type. - * - * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsStringAsyncClient.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsStringAsyncClient.java index 73a522c3c2..6b59e9da9e 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsStringAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsStringAsyncClient.java @@ -78,8 +78,6 @@ public Mono> getWithResponse(RequestOptions requestOptions) * } * * @param body The model extends from Record<string> type. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -116,8 +114,6 @@ public Mono get() { * Put operation. * * @param body The model extends from Record<string> type. - * - * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsStringClient.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsStringClient.java index 56098d0ec9..952f8a1c65 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsStringClient.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsStringClient.java @@ -76,8 +76,6 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * * @param body The model extends from Record<string> type. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -113,8 +111,6 @@ public ExtendsStringAdditionalProperties get() { * Put operation. * * @param body The model extends from Record<string> type. - * - * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsUnknownAsyncClient.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsUnknownAsyncClient.java index 49866032c2..8699278f51 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsUnknownAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsUnknownAsyncClient.java @@ -78,8 +78,6 @@ public Mono> getWithResponse(RequestOptions requestOptions) * } * * @param body The model extends from Record<unknown> type. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -116,8 +114,6 @@ public Mono get() { * Put operation. * * @param body The model extends from Record<unknown> type. - * - * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsUnknownClient.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsUnknownClient.java index 442e1dc97c..12efa71af6 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsUnknownClient.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsUnknownClient.java @@ -76,8 +76,6 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * * @param body The model extends from Record<unknown> type. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -113,8 +111,6 @@ public ExtendsUnknownAdditionalProperties get() { * Put operation. * * @param body The model extends from Record<unknown> type. - * - * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsUnknownDerivedAsyncClient.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsUnknownDerivedAsyncClient.java index 57da8f9cba..fa1c734128 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsUnknownDerivedAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsUnknownDerivedAsyncClient.java @@ -82,8 +82,6 @@ public Mono> getWithResponse(RequestOptions requestOptions) * } * * @param body The model extends from a type that extends from Record<unknown>. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -120,8 +118,6 @@ public Mono get() { * Put operation. * * @param body The model extends from a type that extends from Record<unknown>. - * - * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsUnknownDerivedClient.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsUnknownDerivedClient.java index 81aa7b7470..c112d742f1 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsUnknownDerivedClient.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsUnknownDerivedClient.java @@ -80,8 +80,6 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * * @param body The model extends from a type that extends from Record<unknown>. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -117,8 +115,6 @@ public ExtendsUnknownAdditionalPropertiesDerived get() { * Put operation. * * @param body The model extends from a type that extends from Record<unknown>. - * - * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsUnknownDiscriminatedAsyncClient.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsUnknownDiscriminatedAsyncClient.java index 3cf52e1fab..5b44482599 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsUnknownDiscriminatedAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsUnknownDiscriminatedAsyncClient.java @@ -80,8 +80,6 @@ public Mono> getWithResponse(RequestOptions requestOptions) * } * * @param body The model extends from Record<unknown> with a discriminator. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -119,8 +117,6 @@ public Mono get() { * Put operation. * * @param body The model extends from Record<unknown> with a discriminator. - * - * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsUnknownDiscriminatedClient.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsUnknownDiscriminatedClient.java index 6d32e8138d..2bdfc3dbaf 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsUnknownDiscriminatedClient.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/ExtendsUnknownDiscriminatedClient.java @@ -78,8 +78,6 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * * @param body The model extends from Record<unknown> with a discriminator. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -116,8 +114,6 @@ public ExtendsUnknownAdditionalPropertiesDiscriminated get() { * Put operation. * * @param body The model extends from Record<unknown> with a discriminator. - * - * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/IsFloatAsyncClient.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/IsFloatAsyncClient.java index a0cf8adbea..641fb6ec65 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/IsFloatAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/IsFloatAsyncClient.java @@ -78,8 +78,6 @@ public Mono> getWithResponse(RequestOptions requestOptions) * } * * @param body The model is from Record<float32> type. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -116,8 +114,6 @@ public Mono get() { * Put operation. * * @param body The model is from Record<float32> type. - * - * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/IsFloatClient.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/IsFloatClient.java index 7a904011c2..1649a0fe8a 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/IsFloatClient.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/IsFloatClient.java @@ -76,8 +76,6 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * * @param body The model is from Record<float32> type. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -113,8 +111,6 @@ public IsFloatAdditionalProperties get() { * Put operation. * * @param body The model is from Record<float32> type. - * - * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/IsModelArrayAsyncClient.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/IsModelArrayAsyncClient.java index 1ec8537267..6a7a3156d5 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/IsModelArrayAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/IsModelArrayAsyncClient.java @@ -90,8 +90,6 @@ public Mono> getWithResponse(RequestOptions requestOptions) * } * * @param body The model is from Record<ModelForRecord[]> type. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -128,8 +126,6 @@ public Mono get() { * Put operation. * * @param body The model is from Record<ModelForRecord[]> type. - * - * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/IsModelArrayClient.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/IsModelArrayClient.java index 7eb9443892..cd2c497810 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/IsModelArrayClient.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/IsModelArrayClient.java @@ -88,8 +88,6 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * * @param body The model is from Record<ModelForRecord[]> type. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -125,8 +123,6 @@ public IsModelArrayAdditionalProperties get() { * Put operation. * * @param body The model is from Record<ModelForRecord[]> type. - * - * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/IsModelAsyncClient.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/IsModelAsyncClient.java index 5e779f1afe..0cedcdb958 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/IsModelAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/IsModelAsyncClient.java @@ -82,8 +82,6 @@ public Mono> getWithResponse(RequestOptions requestOptions) * } * * @param body The model is from Record<ModelForRecord> type. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -120,8 +118,6 @@ public Mono get() { * Put operation. * * @param body The model is from Record<ModelForRecord> type. - * - * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/IsModelClient.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/IsModelClient.java index 4402333ee4..f7616849a9 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/IsModelClient.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/IsModelClient.java @@ -80,8 +80,6 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * * @param body The model is from Record<ModelForRecord> type. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -117,8 +115,6 @@ public IsModelAdditionalProperties get() { * Put operation. * * @param body The model is from Record<ModelForRecord> type. - * - * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/IsStringAsyncClient.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/IsStringAsyncClient.java index 68439ab864..a95f2bd9fc 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/IsStringAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/IsStringAsyncClient.java @@ -78,8 +78,6 @@ public Mono> getWithResponse(RequestOptions requestOptions) * } * * @param body The model is from Record<string> type. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -116,8 +114,6 @@ public Mono get() { * Put operation. * * @param body The model is from Record<string> type. - * - * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/IsStringClient.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/IsStringClient.java index eead7e85e3..bc29f024a9 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/IsStringClient.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/IsStringClient.java @@ -76,8 +76,6 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * * @param body The model is from Record<string> type. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -113,8 +111,6 @@ public IsStringAdditionalProperties get() { * Put operation. * * @param body The model is from Record<string> type. - * - * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/IsUnknownAsyncClient.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/IsUnknownAsyncClient.java index b0213cda4e..6f313cfe6c 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/IsUnknownAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/IsUnknownAsyncClient.java @@ -78,8 +78,6 @@ public Mono> getWithResponse(RequestOptions requestOptions) * } * * @param body The model is from Record<unknown> type. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -116,8 +114,6 @@ public Mono get() { * Put operation. * * @param body The model is from Record<unknown> type. - * - * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/IsUnknownClient.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/IsUnknownClient.java index 1a64986abf..80aa1c9859 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/IsUnknownClient.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/IsUnknownClient.java @@ -76,8 +76,6 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * * @param body The model is from Record<unknown> type. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -113,8 +111,6 @@ public IsUnknownAdditionalProperties get() { * Put operation. * * @param body The model is from Record<unknown> type. - * - * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/IsUnknownDerivedAsyncClient.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/IsUnknownDerivedAsyncClient.java index ab2168c7b0..f81630ab8f 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/IsUnknownDerivedAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/IsUnknownDerivedAsyncClient.java @@ -81,9 +81,7 @@ public Mono> getWithResponse(RequestOptions requestOptions) * } * } * - * @param body The model extends from a type that is Record<unknown> type - * - * The body parameter. + * @param body The model extends from a type that is Record<unknown> type. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -119,9 +117,7 @@ public Mono get() { /** * Put operation. * - * @param body The model extends from a type that is Record<unknown> type - * - * The body parameter. + * @param body The model extends from a type that is Record<unknown> type. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/IsUnknownDerivedClient.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/IsUnknownDerivedClient.java index 3110bf228b..a4143ebd3f 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/IsUnknownDerivedClient.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/IsUnknownDerivedClient.java @@ -79,9 +79,7 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body The model extends from a type that is Record<unknown> type - * - * The body parameter. + * @param body The model extends from a type that is Record<unknown> type. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -116,9 +114,7 @@ public IsUnknownAdditionalPropertiesDerived get() { /** * Put operation. * - * @param body The model extends from a type that is Record<unknown> type - * - * The body parameter. + * @param body The model extends from a type that is Record<unknown> type. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/IsUnknownDiscriminatedAsyncClient.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/IsUnknownDiscriminatedAsyncClient.java index 203bb21ced..99f622993d 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/IsUnknownDiscriminatedAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/IsUnknownDiscriminatedAsyncClient.java @@ -80,8 +80,6 @@ public Mono> getWithResponse(RequestOptions requestOptions) * } * * @param body The model is Record<unknown> with a discriminator. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -118,8 +116,6 @@ public Mono get() { * Put operation. * * @param body The model is Record<unknown> with a discriminator. - * - * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/IsUnknownDiscriminatedClient.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/IsUnknownDiscriminatedClient.java index 221ebad196..707c1ab8e5 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/IsUnknownDiscriminatedClient.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/IsUnknownDiscriminatedClient.java @@ -78,8 +78,6 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * * @param body The model is Record<unknown> with a discriminator. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -115,8 +113,6 @@ public IsUnknownAdditionalPropertiesDiscriminated get() { * Put operation. * * @param body The model is Record<unknown> with a discriminator. - * - * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/MultipleSpreadAsyncClient.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/MultipleSpreadAsyncClient.java index 206a65c8db..b54d277c53 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/MultipleSpreadAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/MultipleSpreadAsyncClient.java @@ -77,9 +77,7 @@ public Mono> getWithResponse(RequestOptions requestOptions) * } * } * - * @param body The model spread Record<string> and Record<float32> - * - * The body parameter. + * @param body The model spread Record<string> and Record<float32>. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -115,9 +113,7 @@ public Mono get() { /** * Put operation. * - * @param body The model spread Record<string> and Record<float32> - * - * The body parameter. + * @param body The model spread Record<string> and Record<float32>. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/MultipleSpreadClient.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/MultipleSpreadClient.java index 15006e056d..273ebfeff5 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/MultipleSpreadClient.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/MultipleSpreadClient.java @@ -75,9 +75,7 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body The model spread Record<string> and Record<float32> - * - * The body parameter. + * @param body The model spread Record<string> and Record<float32>. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -112,9 +110,7 @@ public MultipleSpreadRecord get() { /** * Put operation. * - * @param body The model spread Record<string> and Record<float32> - * - * The body parameter. + * @param body The model spread Record<string> and Record<float32>. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadDifferentFloatAsyncClient.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadDifferentFloatAsyncClient.java index 432ebbab78..10a62591c3 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadDifferentFloatAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadDifferentFloatAsyncClient.java @@ -77,9 +77,7 @@ public Mono> getWithResponse(RequestOptions requestOptions) * } * } * - * @param body The model spread Record<float32> with the different known property type - * - * The body parameter. + * @param body The model spread Record<float32> with the different known property type. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -115,9 +113,7 @@ public Mono get() { /** * Put operation. * - * @param body The model spread Record<float32> with the different known property type - * - * The body parameter. + * @param body The model spread Record<float32> with the different known property type. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadDifferentFloatClient.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadDifferentFloatClient.java index 58ae7b20b0..b7030d4dcf 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadDifferentFloatClient.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadDifferentFloatClient.java @@ -75,9 +75,7 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body The model spread Record<float32> with the different known property type - * - * The body parameter. + * @param body The model spread Record<float32> with the different known property type. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -112,9 +110,7 @@ public DifferentSpreadFloatRecord get() { /** * Put operation. * - * @param body The model spread Record<float32> with the different known property type - * - * The body parameter. + * @param body The model spread Record<float32> with the different known property type. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadDifferentModelArrayAsyncClient.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadDifferentModelArrayAsyncClient.java index b70f73ec2c..6a16584952 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadDifferentModelArrayAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadDifferentModelArrayAsyncClient.java @@ -85,9 +85,7 @@ public Mono> getWithResponse(RequestOptions requestOptions) * } * } * - * @param body The model spread Record<ModelForRecord[]> with the different known property type - * - * The body parameter. + * @param body The model spread Record<ModelForRecord[]> with the different known property type. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -123,9 +121,7 @@ public Mono get() { /** * Put operation. * - * @param body The model spread Record<ModelForRecord[]> with the different known property type - * - * The body parameter. + * @param body The model spread Record<ModelForRecord[]> with the different known property type. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadDifferentModelArrayClient.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadDifferentModelArrayClient.java index b736bd6c8b..c04731f612 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadDifferentModelArrayClient.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadDifferentModelArrayClient.java @@ -83,9 +83,7 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body The model spread Record<ModelForRecord[]> with the different known property type - * - * The body parameter. + * @param body The model spread Record<ModelForRecord[]> with the different known property type. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -120,9 +118,7 @@ public DifferentSpreadModelArrayRecord get() { /** * Put operation. * - * @param body The model spread Record<ModelForRecord[]> with the different known property type - * - * The body parameter. + * @param body The model spread Record<ModelForRecord[]> with the different known property type. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadDifferentModelAsyncClient.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadDifferentModelAsyncClient.java index c14feba78b..faaf10173d 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadDifferentModelAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadDifferentModelAsyncClient.java @@ -81,9 +81,7 @@ public Mono> getWithResponse(RequestOptions requestOptions) * } * } * - * @param body The model spread Record<ModelForRecord> with the different known property type - * - * The body parameter. + * @param body The model spread Record<ModelForRecord> with the different known property type. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -119,9 +117,7 @@ public Mono get() { /** * Put operation. * - * @param body The model spread Record<ModelForRecord> with the different known property type - * - * The body parameter. + * @param body The model spread Record<ModelForRecord> with the different known property type. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadDifferentModelClient.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadDifferentModelClient.java index e4972912d2..be57df772a 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadDifferentModelClient.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadDifferentModelClient.java @@ -79,9 +79,7 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body The model spread Record<ModelForRecord> with the different known property type - * - * The body parameter. + * @param body The model spread Record<ModelForRecord> with the different known property type. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -116,9 +114,7 @@ public DifferentSpreadModelRecord get() { /** * Put operation. * - * @param body The model spread Record<ModelForRecord> with the different known property type - * - * The body parameter. + * @param body The model spread Record<ModelForRecord> with the different known property type. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadDifferentStringAsyncClient.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadDifferentStringAsyncClient.java index efa888ebfb..206a19f04d 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadDifferentStringAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadDifferentStringAsyncClient.java @@ -77,9 +77,7 @@ public Mono> getWithResponse(RequestOptions requestOptions) * } * } * - * @param body The model spread Record<string> with the different known property type - * - * The body parameter. + * @param body The model spread Record<string> with the different known property type. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -115,9 +113,7 @@ public Mono get() { /** * Put operation. * - * @param body The model spread Record<string> with the different known property type - * - * The body parameter. + * @param body The model spread Record<string> with the different known property type. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadDifferentStringClient.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadDifferentStringClient.java index b56e541177..2644e465f6 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadDifferentStringClient.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadDifferentStringClient.java @@ -75,9 +75,7 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body The model spread Record<string> with the different known property type - * - * The body parameter. + * @param body The model spread Record<string> with the different known property type. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -112,9 +110,7 @@ public DifferentSpreadStringRecord get() { /** * Put operation. * - * @param body The model spread Record<string> with the different known property type - * - * The body parameter. + * @param body The model spread Record<string> with the different known property type. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadFloatAsyncClient.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadFloatAsyncClient.java index 389ec6afeb..852deaa1de 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadFloatAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadFloatAsyncClient.java @@ -77,9 +77,7 @@ public Mono> getWithResponse(RequestOptions requestOptions) * } * } * - * @param body The model spread Record<float32> with the same known property type - * - * The body parameter. + * @param body The model spread Record<float32> with the same known property type. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -115,9 +113,7 @@ public Mono get() { /** * Put operation. * - * @param body The model spread Record<float32> with the same known property type - * - * The body parameter. + * @param body The model spread Record<float32> with the same known property type. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadFloatClient.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadFloatClient.java index 7317078709..66bb68cb41 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadFloatClient.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadFloatClient.java @@ -75,9 +75,7 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body The model spread Record<float32> with the same known property type - * - * The body parameter. + * @param body The model spread Record<float32> with the same known property type. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -112,9 +110,7 @@ public SpreadFloatRecord get() { /** * Put operation. * - * @param body The model spread Record<float32> with the same known property type - * - * The body parameter. + * @param body The model spread Record<float32> with the same known property type. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadModelAsyncClient.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadModelAsyncClient.java index 6d4fc36a63..fbfa235e1a 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadModelAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadModelAsyncClient.java @@ -81,9 +81,7 @@ public Mono> getWithResponse(RequestOptions requestOptions) * } * } * - * @param body The model spread Record<ModelForRecord> with the same known property type - * - * The body parameter. + * @param body The model spread Record<ModelForRecord> with the same known property type. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -119,9 +117,7 @@ public Mono get() { /** * Put operation. * - * @param body The model spread Record<ModelForRecord> with the same known property type - * - * The body parameter. + * @param body The model spread Record<ModelForRecord> with the same known property type. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadModelClient.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadModelClient.java index 743e699f58..0fe778ba8d 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadModelClient.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadModelClient.java @@ -79,9 +79,7 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body The model spread Record<ModelForRecord> with the same known property type - * - * The body parameter. + * @param body The model spread Record<ModelForRecord> with the same known property type. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -116,9 +114,7 @@ public SpreadModelRecord get() { /** * Put operation. * - * @param body The model spread Record<ModelForRecord> with the same known property type - * - * The body parameter. + * @param body The model spread Record<ModelForRecord> with the same known property type. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadRecordDiscriminatedUnionAsyncClient.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadRecordDiscriminatedUnionAsyncClient.java index 021af72d9a..9db387a4f9 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadRecordDiscriminatedUnionAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadRecordDiscriminatedUnionAsyncClient.java @@ -77,9 +77,7 @@ public Mono> getWithResponse(RequestOptions requestOptions) * } * } * - * @param body The model spread Record<WidgetData> - * - * The body parameter. + * @param body The model spread Record<WidgetData>. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -115,9 +113,7 @@ public Mono get() { /** * Put operation. * - * @param body The model spread Record<WidgetData> - * - * The body parameter. + * @param body The model spread Record<WidgetData>. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadRecordDiscriminatedUnionClient.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadRecordDiscriminatedUnionClient.java index e24207db28..7f8d95ecfe 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadRecordDiscriminatedUnionClient.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadRecordDiscriminatedUnionClient.java @@ -75,9 +75,7 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body The model spread Record<WidgetData> - * - * The body parameter. + * @param body The model spread Record<WidgetData>. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -112,9 +110,7 @@ public SpreadRecordForDiscriminatedUnion get() { /** * Put operation. * - * @param body The model spread Record<WidgetData> - * - * The body parameter. + * @param body The model spread Record<WidgetData>. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadRecordNonDiscriminatedUnion2AsyncClient.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadRecordNonDiscriminatedUnion2AsyncClient.java index 738010c301..96e89bfd4a 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadRecordNonDiscriminatedUnion2AsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadRecordNonDiscriminatedUnion2AsyncClient.java @@ -77,9 +77,7 @@ public Mono> getWithResponse(RequestOptions requestOptions) * } * } * - * @param body The model spread Record<WidgetData2 | WidgetData1> - * - * The body parameter. + * @param body The model spread Record<WidgetData2 | WidgetData1>. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -115,9 +113,7 @@ public Mono get() { /** * Put operation. * - * @param body The model spread Record<WidgetData2 | WidgetData1> - * - * The body parameter. + * @param body The model spread Record<WidgetData2 | WidgetData1>. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadRecordNonDiscriminatedUnion2Client.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadRecordNonDiscriminatedUnion2Client.java index 6c4facd0d7..d4a2f87798 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadRecordNonDiscriminatedUnion2Client.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadRecordNonDiscriminatedUnion2Client.java @@ -75,9 +75,7 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body The model spread Record<WidgetData2 | WidgetData1> - * - * The body parameter. + * @param body The model spread Record<WidgetData2 | WidgetData1>. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -112,9 +110,7 @@ public SpreadRecordForNonDiscriminatedUnion2 get() { /** * Put operation. * - * @param body The model spread Record<WidgetData2 | WidgetData1> - * - * The body parameter. + * @param body The model spread Record<WidgetData2 | WidgetData1>. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadRecordNonDiscriminatedUnion3AsyncClient.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadRecordNonDiscriminatedUnion3AsyncClient.java index 916b3caafc..c0b7f9eca7 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadRecordNonDiscriminatedUnion3AsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadRecordNonDiscriminatedUnion3AsyncClient.java @@ -77,9 +77,7 @@ public Mono> getWithResponse(RequestOptions requestOptions) * } * } * - * @param body The model spread Record<WidgetData2[] | WidgetData1> - * - * The body parameter. + * @param body The model spread Record<WidgetData2[] | WidgetData1>. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -115,9 +113,7 @@ public Mono get() { /** * Put operation. * - * @param body The model spread Record<WidgetData2[] | WidgetData1> - * - * The body parameter. + * @param body The model spread Record<WidgetData2[] | WidgetData1>. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadRecordNonDiscriminatedUnion3Client.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadRecordNonDiscriminatedUnion3Client.java index 19b49a2937..5672781d0f 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadRecordNonDiscriminatedUnion3Client.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadRecordNonDiscriminatedUnion3Client.java @@ -75,9 +75,7 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body The model spread Record<WidgetData2[] | WidgetData1> - * - * The body parameter. + * @param body The model spread Record<WidgetData2[] | WidgetData1>. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -112,9 +110,7 @@ public SpreadRecordForNonDiscriminatedUnion3 get() { /** * Put operation. * - * @param body The model spread Record<WidgetData2[] | WidgetData1> - * - * The body parameter. + * @param body The model spread Record<WidgetData2[] | WidgetData1>. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadRecordNonDiscriminatedUnionAsyncClient.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadRecordNonDiscriminatedUnionAsyncClient.java index 759a322c1c..80d53a4be7 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadRecordNonDiscriminatedUnionAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadRecordNonDiscriminatedUnionAsyncClient.java @@ -77,9 +77,7 @@ public Mono> getWithResponse(RequestOptions requestOptions) * } * } * - * @param body The model spread Record<WidgetData0 | WidgetData1> - * - * The body parameter. + * @param body The model spread Record<WidgetData0 | WidgetData1>. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -115,9 +113,7 @@ public Mono get() { /** * Put operation. * - * @param body The model spread Record<WidgetData0 | WidgetData1> - * - * The body parameter. + * @param body The model spread Record<WidgetData0 | WidgetData1>. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadRecordNonDiscriminatedUnionClient.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadRecordNonDiscriminatedUnionClient.java index 780a397192..2539828591 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadRecordNonDiscriminatedUnionClient.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadRecordNonDiscriminatedUnionClient.java @@ -75,9 +75,7 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body The model spread Record<WidgetData0 | WidgetData1> - * - * The body parameter. + * @param body The model spread Record<WidgetData0 | WidgetData1>. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -112,9 +110,7 @@ public SpreadRecordForNonDiscriminatedUnion get() { /** * Put operation. * - * @param body The model spread Record<WidgetData0 | WidgetData1> - * - * The body parameter. + * @param body The model spread Record<WidgetData0 | WidgetData1>. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadRecordUnionAsyncClient.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadRecordUnionAsyncClient.java index da328afe57..4a40a13fa6 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadRecordUnionAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadRecordUnionAsyncClient.java @@ -77,9 +77,7 @@ public Mono> getWithResponse(RequestOptions requestOptions) * } * } * - * @param body The model spread Record<string | float32> - * - * The body parameter. + * @param body The model spread Record<string | float32>. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -115,9 +113,7 @@ public Mono get() { /** * Put operation. * - * @param body The model spread Record<string | float32> - * - * The body parameter. + * @param body The model spread Record<string | float32>. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadRecordUnionClient.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadRecordUnionClient.java index ae560f3fb5..ad209a53f7 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadRecordUnionClient.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadRecordUnionClient.java @@ -75,9 +75,7 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body The model spread Record<string | float32> - * - * The body parameter. + * @param body The model spread Record<string | float32>. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -112,9 +110,7 @@ public SpreadRecordForUnion get() { /** * Put operation. * - * @param body The model spread Record<string | float32> - * - * The body parameter. + * @param body The model spread Record<string | float32>. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadStringAsyncClient.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadStringAsyncClient.java index 0637b4a16a..3a76fa01b1 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadStringAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadStringAsyncClient.java @@ -77,9 +77,7 @@ public Mono> getWithResponse(RequestOptions requestOptions) * } * } * - * @param body The model spread Record<string> with the same known property type - * - * The body parameter. + * @param body The model spread Record<string> with the same known property type. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -115,9 +113,7 @@ public Mono get() { /** * Put operation. * - * @param body The model spread Record<string> with the same known property type - * - * The body parameter. + * @param body The model spread Record<string> with the same known property type. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadStringClient.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadStringClient.java index d00ee2ee7e..3fb121d0ab 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadStringClient.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/SpreadStringClient.java @@ -75,9 +75,7 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body The model spread Record<string> with the same known property type - * - * The body parameter. + * @param body The model spread Record<string> with the same known property type. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -112,9 +110,7 @@ public SpreadStringRecord get() { /** * Put operation. * - * @param body The model spread Record<string> with the same known property type - * - * The body parameter. + * @param body The model spread Record<string> with the same known property type. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/ExtendsDifferentSpreadFloatsImpl.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/ExtendsDifferentSpreadFloatsImpl.java index 886a9acadc..ad64ca0aa8 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/ExtendsDifferentSpreadFloatsImpl.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/ExtendsDifferentSpreadFloatsImpl.java @@ -164,9 +164,7 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * * @param body The model extends from a model that spread Record<float32> with the different known property - * type - * - * The body parameter. + * type. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -195,9 +193,7 @@ public Mono> putWithResponseAsync(BinaryData body, RequestOptions * } * * @param body The model extends from a model that spread Record<float32> with the different known property - * type - * - * The body parameter. + * type. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/ExtendsDifferentSpreadModelArraysImpl.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/ExtendsDifferentSpreadModelArraysImpl.java index 83e06756db..986bd5265d 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/ExtendsDifferentSpreadModelArraysImpl.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/ExtendsDifferentSpreadModelArraysImpl.java @@ -182,9 +182,7 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * * @param body The model extends from a model that spread Record<ModelForRecord[]> with the different known - * property type - * - * The body parameter. + * property type. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -219,9 +217,7 @@ public Mono> putWithResponseAsync(BinaryData body, RequestOptions * } * * @param body The model extends from a model that spread Record<ModelForRecord[]> with the different known - * property type - * - * The body parameter. + * property type. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/ExtendsDifferentSpreadModelsImpl.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/ExtendsDifferentSpreadModelsImpl.java index 93e60bc18e..ea0686b56f 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/ExtendsDifferentSpreadModelsImpl.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/ExtendsDifferentSpreadModelsImpl.java @@ -170,9 +170,7 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * * @param body The model extends from a model that spread Record<ModelForRecord> with the different known - * property type - * - * The body parameter. + * property type. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -203,9 +201,7 @@ public Mono> putWithResponseAsync(BinaryData body, RequestOptions * } * * @param body The model extends from a model that spread Record<ModelForRecord> with the different known - * property type - * - * The body parameter. + * property type. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/ExtendsDifferentSpreadStringsImpl.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/ExtendsDifferentSpreadStringsImpl.java index d53be0d5f8..f36c4e36dd 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/ExtendsDifferentSpreadStringsImpl.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/ExtendsDifferentSpreadStringsImpl.java @@ -164,9 +164,7 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * * @param body The model extends from a model that spread Record<string> with the different known property - * type - * - * The body parameter. + * type. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -195,9 +193,7 @@ public Mono> putWithResponseAsync(BinaryData body, RequestOptions * } * * @param body The model extends from a model that spread Record<string> with the different known property - * type - * - * The body parameter. + * type. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/ExtendsFloatsImpl.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/ExtendsFloatsImpl.java index 62ac3d84c2..c3d94bd5bb 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/ExtendsFloatsImpl.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/ExtendsFloatsImpl.java @@ -161,8 +161,6 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * * @param body The model extends from Record<float32> type. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -190,8 +188,6 @@ public Mono> putWithResponseAsync(BinaryData body, RequestOptions * } * * @param body The model extends from Record<float32> type. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/ExtendsModelArraysImpl.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/ExtendsModelArraysImpl.java index 8e56bc02c8..1351c13a1b 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/ExtendsModelArraysImpl.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/ExtendsModelArraysImpl.java @@ -179,8 +179,6 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * * @param body The model extends from Record<ModelForRecord[]> type. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -214,8 +212,6 @@ public Mono> putWithResponseAsync(BinaryData body, RequestOptions * } * * @param body The model extends from Record<ModelForRecord[]> type. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/ExtendsModelsImpl.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/ExtendsModelsImpl.java index ecf082922d..45e55bf0de 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/ExtendsModelsImpl.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/ExtendsModelsImpl.java @@ -167,8 +167,6 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * * @param body The model extends from Record<ModelForRecord> type. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -198,8 +196,6 @@ public Mono> putWithResponseAsync(BinaryData body, RequestOptions * } * * @param body The model extends from Record<ModelForRecord> type. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/ExtendsStringsImpl.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/ExtendsStringsImpl.java index d2053a7ded..7ecea0aa32 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/ExtendsStringsImpl.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/ExtendsStringsImpl.java @@ -161,8 +161,6 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * * @param body The model extends from Record<string> type. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -190,8 +188,6 @@ public Mono> putWithResponseAsync(BinaryData body, RequestOptions * } * * @param body The model extends from Record<string> type. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/ExtendsUnknownDerivedsImpl.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/ExtendsUnknownDerivedsImpl.java index 0378f8159a..1ba9431cf6 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/ExtendsUnknownDerivedsImpl.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/ExtendsUnknownDerivedsImpl.java @@ -167,8 +167,6 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * * @param body The model extends from a type that extends from Record<unknown>. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -198,8 +196,6 @@ public Mono> putWithResponseAsync(BinaryData body, RequestOptions * } * * @param body The model extends from a type that extends from Record<unknown>. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/ExtendsUnknownDiscriminatedsImpl.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/ExtendsUnknownDiscriminatedsImpl.java index 51a9eb71e1..f956a14960 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/ExtendsUnknownDiscriminatedsImpl.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/ExtendsUnknownDiscriminatedsImpl.java @@ -164,8 +164,6 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * * @param body The model extends from Record<unknown> with a discriminator. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -194,8 +192,6 @@ public Mono> putWithResponseAsync(BinaryData body, RequestOptions * } * * @param body The model extends from Record<unknown> with a discriminator. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/ExtendsUnknownsImpl.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/ExtendsUnknownsImpl.java index 6946b556b5..ea724e47d4 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/ExtendsUnknownsImpl.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/ExtendsUnknownsImpl.java @@ -161,8 +161,6 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * * @param body The model extends from Record<unknown> type. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -190,8 +188,6 @@ public Mono> putWithResponseAsync(BinaryData body, RequestOptions * } * * @param body The model extends from Record<unknown> type. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/IsFloatsImpl.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/IsFloatsImpl.java index e5482ec0c6..50cee1e838 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/IsFloatsImpl.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/IsFloatsImpl.java @@ -160,8 +160,6 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * * @param body The model is from Record<float32> type. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -189,8 +187,6 @@ public Mono> putWithResponseAsync(BinaryData body, RequestOptions * } * * @param body The model is from Record<float32> type. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/IsModelArraysImpl.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/IsModelArraysImpl.java index d54efb434f..f4e2b67753 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/IsModelArraysImpl.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/IsModelArraysImpl.java @@ -179,8 +179,6 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * * @param body The model is from Record<ModelForRecord[]> type. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -214,8 +212,6 @@ public Mono> putWithResponseAsync(BinaryData body, RequestOptions * } * * @param body The model is from Record<ModelForRecord[]> type. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/IsModelsImpl.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/IsModelsImpl.java index 7b9e97ad2f..3821d768a1 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/IsModelsImpl.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/IsModelsImpl.java @@ -166,8 +166,6 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * * @param body The model is from Record<ModelForRecord> type. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -197,8 +195,6 @@ public Mono> putWithResponseAsync(BinaryData body, RequestOptions * } * * @param body The model is from Record<ModelForRecord> type. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/IsStringsImpl.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/IsStringsImpl.java index d704b14d2d..46826ce0d3 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/IsStringsImpl.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/IsStringsImpl.java @@ -161,8 +161,6 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * * @param body The model is from Record<string> type. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -190,8 +188,6 @@ public Mono> putWithResponseAsync(BinaryData body, RequestOptions * } * * @param body The model is from Record<string> type. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/IsUnknownDerivedsImpl.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/IsUnknownDerivedsImpl.java index a82662941f..41bf60c8b2 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/IsUnknownDerivedsImpl.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/IsUnknownDerivedsImpl.java @@ -166,9 +166,7 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body The model extends from a type that is Record<unknown> type - * - * The body parameter. + * @param body The model extends from a type that is Record<unknown> type. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -197,9 +195,7 @@ public Mono> putWithResponseAsync(BinaryData body, RequestOptions * } * } * - * @param body The model extends from a type that is Record<unknown> type - * - * The body parameter. + * @param body The model extends from a type that is Record<unknown> type. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/IsUnknownDiscriminatedsImpl.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/IsUnknownDiscriminatedsImpl.java index ff5522d0c4..6a007b3568 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/IsUnknownDiscriminatedsImpl.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/IsUnknownDiscriminatedsImpl.java @@ -164,8 +164,6 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * * @param body The model is Record<unknown> with a discriminator. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -194,8 +192,6 @@ public Mono> putWithResponseAsync(BinaryData body, RequestOptions * } * * @param body The model is Record<unknown> with a discriminator. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/IsUnknownsImpl.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/IsUnknownsImpl.java index d3d008896f..f4c352a1c5 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/IsUnknownsImpl.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/IsUnknownsImpl.java @@ -161,8 +161,6 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * * @param body The model is from Record<unknown> type. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -190,8 +188,6 @@ public Mono> putWithResponseAsync(BinaryData body, RequestOptions * } * * @param body The model is from Record<unknown> type. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/MultipleSpreadsImpl.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/MultipleSpreadsImpl.java index 0d16aa9f26..1a93bf2a62 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/MultipleSpreadsImpl.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/MultipleSpreadsImpl.java @@ -160,9 +160,7 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body The model spread Record<string> and Record<float32> - * - * The body parameter. + * @param body The model spread Record<string> and Record<float32>. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -189,9 +187,7 @@ public Mono> putWithResponseAsync(BinaryData body, RequestOptions * } * } * - * @param body The model spread Record<string> and Record<float32> - * - * The body parameter. + * @param body The model spread Record<string> and Record<float32>. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/SpreadDifferentFloatsImpl.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/SpreadDifferentFloatsImpl.java index be17c6910e..7eda5ec927 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/SpreadDifferentFloatsImpl.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/SpreadDifferentFloatsImpl.java @@ -160,9 +160,7 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body The model spread Record<float32> with the different known property type - * - * The body parameter. + * @param body The model spread Record<float32> with the different known property type. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -189,9 +187,7 @@ public Mono> putWithResponseAsync(BinaryData body, RequestOptions * } * } * - * @param body The model spread Record<float32> with the different known property type - * - * The body parameter. + * @param body The model spread Record<float32> with the different known property type. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/SpreadDifferentModelArraysImpl.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/SpreadDifferentModelArraysImpl.java index 08aa716e0f..c734797868 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/SpreadDifferentModelArraysImpl.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/SpreadDifferentModelArraysImpl.java @@ -172,9 +172,7 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body The model spread Record<ModelForRecord[]> with the different known property type - * - * The body parameter. + * @param body The model spread Record<ModelForRecord[]> with the different known property type. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -205,9 +203,7 @@ public Mono> putWithResponseAsync(BinaryData body, RequestOptions * } * } * - * @param body The model spread Record<ModelForRecord[]> with the different known property type - * - * The body parameter. + * @param body The model spread Record<ModelForRecord[]> with the different known property type. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/SpreadDifferentModelsImpl.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/SpreadDifferentModelsImpl.java index 05a9adb1af..2c73979a9b 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/SpreadDifferentModelsImpl.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/SpreadDifferentModelsImpl.java @@ -166,9 +166,7 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body The model spread Record<ModelForRecord> with the different known property type - * - * The body parameter. + * @param body The model spread Record<ModelForRecord> with the different known property type. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -197,9 +195,7 @@ public Mono> putWithResponseAsync(BinaryData body, RequestOptions * } * } * - * @param body The model spread Record<ModelForRecord> with the different known property type - * - * The body parameter. + * @param body The model spread Record<ModelForRecord> with the different known property type. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/SpreadDifferentStringsImpl.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/SpreadDifferentStringsImpl.java index b554af91c2..531f28b704 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/SpreadDifferentStringsImpl.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/SpreadDifferentStringsImpl.java @@ -160,9 +160,7 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body The model spread Record<string> with the different known property type - * - * The body parameter. + * @param body The model spread Record<string> with the different known property type. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -189,9 +187,7 @@ public Mono> putWithResponseAsync(BinaryData body, RequestOptions * } * } * - * @param body The model spread Record<string> with the different known property type - * - * The body parameter. + * @param body The model spread Record<string> with the different known property type. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/SpreadFloatsImpl.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/SpreadFloatsImpl.java index 0e7745ac0d..3b2431f61c 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/SpreadFloatsImpl.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/SpreadFloatsImpl.java @@ -160,9 +160,7 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body The model spread Record<float32> with the same known property type - * - * The body parameter. + * @param body The model spread Record<float32> with the same known property type. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -189,9 +187,7 @@ public Mono> putWithResponseAsync(BinaryData body, RequestOptions * } * } * - * @param body The model spread Record<float32> with the same known property type - * - * The body parameter. + * @param body The model spread Record<float32> with the same known property type. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/SpreadModelsImpl.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/SpreadModelsImpl.java index 320d19191b..53b04de05a 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/SpreadModelsImpl.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/SpreadModelsImpl.java @@ -166,9 +166,7 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body The model spread Record<ModelForRecord> with the same known property type - * - * The body parameter. + * @param body The model spread Record<ModelForRecord> with the same known property type. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -197,9 +195,7 @@ public Mono> putWithResponseAsync(BinaryData body, RequestOptions * } * } * - * @param body The model spread Record<ModelForRecord> with the same known property type - * - * The body parameter. + * @param body The model spread Record<ModelForRecord> with the same known property type. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/SpreadRecordDiscriminatedUnionsImpl.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/SpreadRecordDiscriminatedUnionsImpl.java index b2a4016a90..baf26580f2 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/SpreadRecordDiscriminatedUnionsImpl.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/SpreadRecordDiscriminatedUnionsImpl.java @@ -160,9 +160,7 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body The model spread Record<WidgetData> - * - * The body parameter. + * @param body The model spread Record<WidgetData>. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -189,9 +187,7 @@ public Mono> putWithResponseAsync(BinaryData body, RequestOptions * } * } * - * @param body The model spread Record<WidgetData> - * - * The body parameter. + * @param body The model spread Record<WidgetData>. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/SpreadRecordNonDiscriminatedUnion2sImpl.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/SpreadRecordNonDiscriminatedUnion2sImpl.java index ac57a27753..5dc137d105 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/SpreadRecordNonDiscriminatedUnion2sImpl.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/SpreadRecordNonDiscriminatedUnion2sImpl.java @@ -160,9 +160,7 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body The model spread Record<WidgetData2 | WidgetData1> - * - * The body parameter. + * @param body The model spread Record<WidgetData2 | WidgetData1>. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -189,9 +187,7 @@ public Mono> putWithResponseAsync(BinaryData body, RequestOptions * } * } * - * @param body The model spread Record<WidgetData2 | WidgetData1> - * - * The body parameter. + * @param body The model spread Record<WidgetData2 | WidgetData1>. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/SpreadRecordNonDiscriminatedUnion3sImpl.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/SpreadRecordNonDiscriminatedUnion3sImpl.java index 745161a485..d2bb23637d 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/SpreadRecordNonDiscriminatedUnion3sImpl.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/SpreadRecordNonDiscriminatedUnion3sImpl.java @@ -160,9 +160,7 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body The model spread Record<WidgetData2[] | WidgetData1> - * - * The body parameter. + * @param body The model spread Record<WidgetData2[] | WidgetData1>. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -189,9 +187,7 @@ public Mono> putWithResponseAsync(BinaryData body, RequestOptions * } * } * - * @param body The model spread Record<WidgetData2[] | WidgetData1> - * - * The body parameter. + * @param body The model spread Record<WidgetData2[] | WidgetData1>. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/SpreadRecordNonDiscriminatedUnionsImpl.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/SpreadRecordNonDiscriminatedUnionsImpl.java index b27c1e16dd..a6200c5477 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/SpreadRecordNonDiscriminatedUnionsImpl.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/SpreadRecordNonDiscriminatedUnionsImpl.java @@ -160,9 +160,7 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body The model spread Record<WidgetData0 | WidgetData1> - * - * The body parameter. + * @param body The model spread Record<WidgetData0 | WidgetData1>. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -189,9 +187,7 @@ public Mono> putWithResponseAsync(BinaryData body, RequestOptions * } * } * - * @param body The model spread Record<WidgetData0 | WidgetData1> - * - * The body parameter. + * @param body The model spread Record<WidgetData0 | WidgetData1>. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/SpreadRecordUnionsImpl.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/SpreadRecordUnionsImpl.java index eda6482ac7..c87f090fcb 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/SpreadRecordUnionsImpl.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/SpreadRecordUnionsImpl.java @@ -160,9 +160,7 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body The model spread Record<string | float32> - * - * The body parameter. + * @param body The model spread Record<string | float32>. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -189,9 +187,7 @@ public Mono> putWithResponseAsync(BinaryData body, RequestOptions * } * } * - * @param body The model spread Record<string | float32> - * - * The body parameter. + * @param body The model spread Record<string | float32>. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/SpreadStringsImpl.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/SpreadStringsImpl.java index 0269f424cc..1b0d9675e5 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/SpreadStringsImpl.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/implementation/SpreadStringsImpl.java @@ -160,9 +160,7 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body The model spread Record<string> with the same known property type - * - * The body parameter. + * @param body The model spread Record<string> with the same known property type. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -189,9 +187,7 @@ public Mono> putWithResponseAsync(BinaryData body, RequestOptions * } * } * - * @param body The model spread Record<string> with the same known property type - * - * The body parameter. + * @param body The model spread Record<string> with the same known property type. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/DifferentSpreadFloatRecord.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/DifferentSpreadFloatRecord.java index 27b8b865cb..9380e62985 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/DifferentSpreadFloatRecord.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/DifferentSpreadFloatRecord.java @@ -26,8 +26,6 @@ public class DifferentSpreadFloatRecord implements JsonSerializable with the different known property type - * * Additional properties */ @Generated @@ -54,10 +52,7 @@ public String getName() { } /** - * Get the additionalProperties property: The model spread Record<float32> with the different known property - * type - * - * Additional properties. + * Get the additionalProperties property: Additional properties. * * @return the additionalProperties value. */ @@ -67,10 +62,7 @@ public Map getAdditionalProperties() { } /** - * Set the additionalProperties property: The model spread Record<float32> with the different known property - * type - * - * Additional properties. + * Set the additionalProperties property: Additional properties. * * @param additionalProperties the additionalProperties value to set. * @return the DifferentSpreadFloatRecord object itself. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/DifferentSpreadModelArrayRecord.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/DifferentSpreadModelArrayRecord.java index de98628d26..0fd24f55fc 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/DifferentSpreadModelArrayRecord.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/DifferentSpreadModelArrayRecord.java @@ -21,14 +21,12 @@ @Fluent public class DifferentSpreadModelArrayRecord implements JsonSerializable { /* - * A sequence of textual characters. + * The knownProp property. */ @Generated private final String knownProp; /* - * The model spread Record with the different known property type - * * Additional properties */ @Generated @@ -45,7 +43,7 @@ public DifferentSpreadModelArrayRecord(String knownProp) { } /** - * Get the knownProp property: A sequence of textual characters. + * Get the knownProp property: The knownProp property. * * @return the knownProp value. */ @@ -55,10 +53,7 @@ public String getKnownProp() { } /** - * Get the additionalProperties property: The model spread Record<ModelForRecord[]> with the different known - * property type - * - * Additional properties. + * Get the additionalProperties property: Additional properties. * * @return the additionalProperties value. */ @@ -68,10 +63,7 @@ public Map> getAdditionalProperties() { } /** - * Set the additionalProperties property: The model spread Record<ModelForRecord[]> with the different known - * property type - * - * Additional properties. + * Set the additionalProperties property: Additional properties. * * @param additionalProperties the additionalProperties value to set. * @return the DifferentSpreadModelArrayRecord object itself. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/DifferentSpreadModelRecord.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/DifferentSpreadModelRecord.java index 301722a619..d59f314415 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/DifferentSpreadModelRecord.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/DifferentSpreadModelRecord.java @@ -20,14 +20,12 @@ @Fluent public class DifferentSpreadModelRecord implements JsonSerializable { /* - * A sequence of textual characters. + * The knownProp property. */ @Generated private final String knownProp; /* - * The model spread Record with the different known property type - * * Additional properties */ @Generated @@ -44,7 +42,7 @@ public DifferentSpreadModelRecord(String knownProp) { } /** - * Get the knownProp property: A sequence of textual characters. + * Get the knownProp property: The knownProp property. * * @return the knownProp value. */ @@ -54,10 +52,7 @@ public String getKnownProp() { } /** - * Get the additionalProperties property: The model spread Record<ModelForRecord> with the different known - * property type - * - * Additional properties. + * Get the additionalProperties property: Additional properties. * * @return the additionalProperties value. */ @@ -67,10 +62,7 @@ public Map getAdditionalProperties() { } /** - * Set the additionalProperties property: The model spread Record<ModelForRecord> with the different known - * property type - * - * Additional properties. + * Set the additionalProperties property: Additional properties. * * @param additionalProperties the additionalProperties value to set. * @return the DifferentSpreadModelRecord object itself. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/DifferentSpreadStringRecord.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/DifferentSpreadStringRecord.java index 6cda8a267e..1b80d7a084 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/DifferentSpreadStringRecord.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/DifferentSpreadStringRecord.java @@ -26,8 +26,6 @@ public class DifferentSpreadStringRecord implements JsonSerializable with the different known property type - * * Additional properties */ @Generated @@ -54,10 +52,7 @@ public double getId() { } /** - * Get the additionalProperties property: The model spread Record<string> with the different known property - * type - * - * Additional properties. + * Get the additionalProperties property: Additional properties. * * @return the additionalProperties value. */ @@ -67,10 +62,7 @@ public Map getAdditionalProperties() { } /** - * Set the additionalProperties property: The model spread Record<string> with the different known property - * type - * - * Additional properties. + * Set the additionalProperties property: Additional properties. * * @param additionalProperties the additionalProperties value to set. * @return the DifferentSpreadStringRecord object itself. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/ExtendsFloatAdditionalProperties.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/ExtendsFloatAdditionalProperties.java index 625f98d968..114b1a0db7 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/ExtendsFloatAdditionalProperties.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/ExtendsFloatAdditionalProperties.java @@ -26,8 +26,6 @@ public final class ExtendsFloatAdditionalProperties implements JsonSerializable< private final double id; /* - * The model extends from Record type. - * * Additional properties */ @Generated @@ -54,9 +52,7 @@ public double getId() { } /** - * Get the additionalProperties property: The model extends from Record<float32> type. - * - * Additional properties. + * Get the additionalProperties property: Additional properties. * * @return the additionalProperties value. */ @@ -66,9 +62,7 @@ public Map getAdditionalProperties() { } /** - * Set the additionalProperties property: The model extends from Record<float32> type. - * - * Additional properties. + * Set the additionalProperties property: Additional properties. * * @param additionalProperties the additionalProperties value to set. * @return the ExtendsFloatAdditionalProperties object itself. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/ExtendsModelAdditionalProperties.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/ExtendsModelAdditionalProperties.java index 241a062c80..dda534372f 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/ExtendsModelAdditionalProperties.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/ExtendsModelAdditionalProperties.java @@ -20,14 +20,12 @@ @Fluent public final class ExtendsModelAdditionalProperties implements JsonSerializable { /* - * model for record + * The knownProp property. */ @Generated private final ModelForRecord knownProp; /* - * The model extends from Record type. - * * Additional properties */ @Generated @@ -44,7 +42,7 @@ public ExtendsModelAdditionalProperties(ModelForRecord knownProp) { } /** - * Get the knownProp property: model for record. + * Get the knownProp property: The knownProp property. * * @return the knownProp value. */ @@ -54,9 +52,7 @@ public ModelForRecord getKnownProp() { } /** - * Get the additionalProperties property: The model extends from Record<ModelForRecord> type. - * - * Additional properties. + * Get the additionalProperties property: Additional properties. * * @return the additionalProperties value. */ @@ -66,9 +62,7 @@ public Map getAdditionalProperties() { } /** - * Set the additionalProperties property: The model extends from Record<ModelForRecord> type. - * - * Additional properties. + * Set the additionalProperties property: Additional properties. * * @param additionalProperties the additionalProperties value to set. * @return the ExtendsModelAdditionalProperties object itself. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/ExtendsModelArrayAdditionalProperties.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/ExtendsModelArrayAdditionalProperties.java index 248507a6df..6ef1990789 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/ExtendsModelArrayAdditionalProperties.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/ExtendsModelArrayAdditionalProperties.java @@ -28,8 +28,6 @@ public final class ExtendsModelArrayAdditionalProperties private final List knownProp; /* - * The model extends from Record type. - * * Additional properties */ @Generated @@ -56,9 +54,7 @@ public List getKnownProp() { } /** - * Get the additionalProperties property: The model extends from Record<ModelForRecord[]> type. - * - * Additional properties. + * Get the additionalProperties property: Additional properties. * * @return the additionalProperties value. */ @@ -68,9 +64,7 @@ public Map> getAdditionalProperties() { } /** - * Set the additionalProperties property: The model extends from Record<ModelForRecord[]> type. - * - * Additional properties. + * Set the additionalProperties property: Additional properties. * * @param additionalProperties the additionalProperties value to set. * @return the ExtendsModelArrayAdditionalProperties object itself. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/ExtendsStringAdditionalProperties.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/ExtendsStringAdditionalProperties.java index db02bfba4a..80005f7edc 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/ExtendsStringAdditionalProperties.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/ExtendsStringAdditionalProperties.java @@ -26,8 +26,6 @@ public final class ExtendsStringAdditionalProperties implements JsonSerializable private final String name; /* - * The model extends from Record type. - * * Additional properties */ @Generated @@ -54,9 +52,7 @@ public String getName() { } /** - * Get the additionalProperties property: The model extends from Record<string> type. - * - * Additional properties. + * Get the additionalProperties property: Additional properties. * * @return the additionalProperties value. */ @@ -66,9 +62,7 @@ public Map getAdditionalProperties() { } /** - * Set the additionalProperties property: The model extends from Record<string> type. - * - * Additional properties. + * Set the additionalProperties property: Additional properties. * * @param additionalProperties the additionalProperties value to set. * @return the ExtendsStringAdditionalProperties object itself. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/ExtendsUnknownAdditionalProperties.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/ExtendsUnknownAdditionalProperties.java index 2a21f86676..4fefffab12 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/ExtendsUnknownAdditionalProperties.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/ExtendsUnknownAdditionalProperties.java @@ -26,8 +26,6 @@ public class ExtendsUnknownAdditionalProperties implements JsonSerializable type. - * * Additional properties */ @Generated @@ -54,9 +52,7 @@ public String getName() { } /** - * Get the additionalProperties property: The model extends from Record<unknown> type. - * - * Additional properties. + * Get the additionalProperties property: Additional properties. * * @return the additionalProperties value. */ @@ -66,9 +62,7 @@ public Map getAdditionalProperties() { } /** - * Set the additionalProperties property: The model extends from Record<unknown> type. - * - * Additional properties. + * Set the additionalProperties property: Additional properties. * * @param additionalProperties the additionalProperties value to set. * @return the ExtendsUnknownAdditionalProperties object itself. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/ExtendsUnknownAdditionalPropertiesDiscriminated.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/ExtendsUnknownAdditionalPropertiesDiscriminated.java index 877f500ab7..14399ad1a1 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/ExtendsUnknownAdditionalPropertiesDiscriminated.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/ExtendsUnknownAdditionalPropertiesDiscriminated.java @@ -33,8 +33,6 @@ public class ExtendsUnknownAdditionalPropertiesDiscriminated private final String name; /* - * The model extends from Record with a discriminator. - * * Additional properties */ @Generated @@ -72,9 +70,7 @@ public String getName() { } /** - * Get the additionalProperties property: The model extends from Record<unknown> with a discriminator. - * - * Additional properties. + * Get the additionalProperties property: Additional properties. * * @return the additionalProperties value. */ @@ -84,9 +80,7 @@ public Map getAdditionalProperties() { } /** - * Set the additionalProperties property: The model extends from Record<unknown> with a discriminator. - * - * Additional properties. + * Set the additionalProperties property: Additional properties. * * @param additionalProperties the additionalProperties value to set. * @return the ExtendsUnknownAdditionalPropertiesDiscriminated object itself. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/IsFloatAdditionalProperties.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/IsFloatAdditionalProperties.java index 4f55a7b5bd..ea6cdacab9 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/IsFloatAdditionalProperties.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/IsFloatAdditionalProperties.java @@ -26,8 +26,6 @@ public final class IsFloatAdditionalProperties implements JsonSerializable type. - * * Additional properties */ @Generated @@ -54,9 +52,7 @@ public double getId() { } /** - * Get the additionalProperties property: The model is from Record<float32> type. - * - * Additional properties. + * Get the additionalProperties property: Additional properties. * * @return the additionalProperties value. */ @@ -66,9 +62,7 @@ public Map getAdditionalProperties() { } /** - * Set the additionalProperties property: The model is from Record<float32> type. - * - * Additional properties. + * Set the additionalProperties property: Additional properties. * * @param additionalProperties the additionalProperties value to set. * @return the IsFloatAdditionalProperties object itself. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/IsModelAdditionalProperties.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/IsModelAdditionalProperties.java index 2a37696443..92e2e844fc 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/IsModelAdditionalProperties.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/IsModelAdditionalProperties.java @@ -20,14 +20,12 @@ @Fluent public final class IsModelAdditionalProperties implements JsonSerializable { /* - * model for record + * The knownProp property. */ @Generated private final ModelForRecord knownProp; /* - * The model is from Record type. - * * Additional properties */ @Generated @@ -44,7 +42,7 @@ public IsModelAdditionalProperties(ModelForRecord knownProp) { } /** - * Get the knownProp property: model for record. + * Get the knownProp property: The knownProp property. * * @return the knownProp value. */ @@ -54,9 +52,7 @@ public ModelForRecord getKnownProp() { } /** - * Get the additionalProperties property: The model is from Record<ModelForRecord> type. - * - * Additional properties. + * Get the additionalProperties property: Additional properties. * * @return the additionalProperties value. */ @@ -66,9 +62,7 @@ public Map getAdditionalProperties() { } /** - * Set the additionalProperties property: The model is from Record<ModelForRecord> type. - * - * Additional properties. + * Set the additionalProperties property: Additional properties. * * @param additionalProperties the additionalProperties value to set. * @return the IsModelAdditionalProperties object itself. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/IsModelArrayAdditionalProperties.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/IsModelArrayAdditionalProperties.java index d5a5e8349d..3f8caf7370 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/IsModelArrayAdditionalProperties.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/IsModelArrayAdditionalProperties.java @@ -27,8 +27,6 @@ public final class IsModelArrayAdditionalProperties implements JsonSerializable< private final List knownProp; /* - * The model is from Record type. - * * Additional properties */ @Generated @@ -55,9 +53,7 @@ public List getKnownProp() { } /** - * Get the additionalProperties property: The model is from Record<ModelForRecord[]> type. - * - * Additional properties. + * Get the additionalProperties property: Additional properties. * * @return the additionalProperties value. */ @@ -67,9 +63,7 @@ public Map> getAdditionalProperties() { } /** - * Set the additionalProperties property: The model is from Record<ModelForRecord[]> type. - * - * Additional properties. + * Set the additionalProperties property: Additional properties. * * @param additionalProperties the additionalProperties value to set. * @return the IsModelArrayAdditionalProperties object itself. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/IsStringAdditionalProperties.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/IsStringAdditionalProperties.java index 1781a79ec7..f7abf28649 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/IsStringAdditionalProperties.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/IsStringAdditionalProperties.java @@ -26,8 +26,6 @@ public final class IsStringAdditionalProperties implements JsonSerializable type. - * * Additional properties */ @Generated @@ -54,9 +52,7 @@ public String getName() { } /** - * Get the additionalProperties property: The model is from Record<string> type. - * - * Additional properties. + * Get the additionalProperties property: Additional properties. * * @return the additionalProperties value. */ @@ -66,9 +62,7 @@ public Map getAdditionalProperties() { } /** - * Set the additionalProperties property: The model is from Record<string> type. - * - * Additional properties. + * Set the additionalProperties property: Additional properties. * * @param additionalProperties the additionalProperties value to set. * @return the IsStringAdditionalProperties object itself. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/IsUnknownAdditionalProperties.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/IsUnknownAdditionalProperties.java index 55a4e4a975..77f4d0d132 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/IsUnknownAdditionalProperties.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/IsUnknownAdditionalProperties.java @@ -26,8 +26,6 @@ public class IsUnknownAdditionalProperties implements JsonSerializable type. - * * Additional properties */ @Generated @@ -54,9 +52,7 @@ public String getName() { } /** - * Get the additionalProperties property: The model is from Record<unknown> type. - * - * Additional properties. + * Get the additionalProperties property: Additional properties. * * @return the additionalProperties value. */ @@ -66,9 +62,7 @@ public Map getAdditionalProperties() { } /** - * Set the additionalProperties property: The model is from Record<unknown> type. - * - * Additional properties. + * Set the additionalProperties property: Additional properties. * * @param additionalProperties the additionalProperties value to set. * @return the IsUnknownAdditionalProperties object itself. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/IsUnknownAdditionalPropertiesDiscriminated.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/IsUnknownAdditionalPropertiesDiscriminated.java index af90ebff52..4f55ae9cdd 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/IsUnknownAdditionalPropertiesDiscriminated.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/IsUnknownAdditionalPropertiesDiscriminated.java @@ -33,8 +33,6 @@ public class IsUnknownAdditionalPropertiesDiscriminated private final String name; /* - * The model is Record with a discriminator. - * * Additional properties */ @Generated @@ -72,9 +70,7 @@ public String getName() { } /** - * Get the additionalProperties property: The model is Record<unknown> with a discriminator. - * - * Additional properties. + * Get the additionalProperties property: Additional properties. * * @return the additionalProperties value. */ @@ -84,9 +80,7 @@ public Map getAdditionalProperties() { } /** - * Set the additionalProperties property: The model is Record<unknown> with a discriminator. - * - * Additional properties. + * Set the additionalProperties property: Additional properties. * * @param additionalProperties the additionalProperties value to set. * @return the IsUnknownAdditionalPropertiesDiscriminated object itself. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/MultipleSpreadRecord.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/MultipleSpreadRecord.java index 6830877733..17eb39295a 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/MultipleSpreadRecord.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/MultipleSpreadRecord.java @@ -27,8 +27,6 @@ public final class MultipleSpreadRecord implements JsonSerializable and Record - * * Additional properties */ @Generated @@ -55,9 +53,7 @@ public boolean isFlag() { } /** - * Get the additionalProperties property: The model spread Record<string> and Record<float32> - * - * Additional properties. + * Get the additionalProperties property: Additional properties. * * @return the additionalProperties value. */ @@ -67,9 +63,7 @@ public Map getAdditionalProperties() { } /** - * Set the additionalProperties property: The model spread Record<string> and Record<float32> - * - * Additional properties. + * Set the additionalProperties property: Additional properties. * * @param additionalProperties the additionalProperties value to set. * @return the MultipleSpreadRecord object itself. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/SpreadFloatRecord.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/SpreadFloatRecord.java index ff82f51c64..151205d300 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/SpreadFloatRecord.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/SpreadFloatRecord.java @@ -26,8 +26,6 @@ public final class SpreadFloatRecord implements JsonSerializable with the same known property type - * * Additional properties */ @Generated @@ -54,9 +52,7 @@ public double getId() { } /** - * Get the additionalProperties property: The model spread Record<float32> with the same known property type - * - * Additional properties. + * Get the additionalProperties property: Additional properties. * * @return the additionalProperties value. */ @@ -66,9 +62,7 @@ public Map getAdditionalProperties() { } /** - * Set the additionalProperties property: The model spread Record<float32> with the same known property type - * - * Additional properties. + * Set the additionalProperties property: Additional properties. * * @param additionalProperties the additionalProperties value to set. * @return the SpreadFloatRecord object itself. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/SpreadModelRecord.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/SpreadModelRecord.java index 872ee90e72..263ecfd524 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/SpreadModelRecord.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/SpreadModelRecord.java @@ -20,14 +20,12 @@ @Fluent public final class SpreadModelRecord implements JsonSerializable { /* - * model for record + * The knownProp property. */ @Generated private final ModelForRecord knownProp; /* - * The model spread Record with the same known property type - * * Additional properties */ @Generated @@ -44,7 +42,7 @@ public SpreadModelRecord(ModelForRecord knownProp) { } /** - * Get the knownProp property: model for record. + * Get the knownProp property: The knownProp property. * * @return the knownProp value. */ @@ -54,10 +52,7 @@ public ModelForRecord getKnownProp() { } /** - * Get the additionalProperties property: The model spread Record<ModelForRecord> with the same known property - * type - * - * Additional properties. + * Get the additionalProperties property: Additional properties. * * @return the additionalProperties value. */ @@ -67,10 +62,7 @@ public Map getAdditionalProperties() { } /** - * Set the additionalProperties property: The model spread Record<ModelForRecord> with the same known property - * type - * - * Additional properties. + * Set the additionalProperties property: Additional properties. * * @param additionalProperties the additionalProperties value to set. * @return the SpreadModelRecord object itself. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/SpreadRecordForDiscriminatedUnion.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/SpreadRecordForDiscriminatedUnion.java index 75fa1e0414..b30378ea43 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/SpreadRecordForDiscriminatedUnion.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/SpreadRecordForDiscriminatedUnion.java @@ -27,8 +27,6 @@ public final class SpreadRecordForDiscriminatedUnion implements JsonSerializable private final String name; /* - * The model spread Record - * * Additional properties */ @Generated @@ -55,9 +53,7 @@ public String getName() { } /** - * Get the additionalProperties property: The model spread Record<WidgetData> - * - * Additional properties. + * Get the additionalProperties property: Additional properties. * * @return the additionalProperties value. */ @@ -67,9 +63,7 @@ public Map getAdditionalProperties() { } /** - * Set the additionalProperties property: The model spread Record<WidgetData> - * - * Additional properties. + * Set the additionalProperties property: Additional properties. * * @param additionalProperties the additionalProperties value to set. * @return the SpreadRecordForDiscriminatedUnion object itself. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/SpreadRecordForNonDiscriminatedUnion.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/SpreadRecordForNonDiscriminatedUnion.java index 1b63c65fc2..0a16a95d06 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/SpreadRecordForNonDiscriminatedUnion.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/SpreadRecordForNonDiscriminatedUnion.java @@ -28,8 +28,6 @@ public final class SpreadRecordForNonDiscriminatedUnion private final String name; /* - * The model spread Record - * * Additional properties */ @Generated @@ -56,9 +54,7 @@ public String getName() { } /** - * Get the additionalProperties property: The model spread Record<WidgetData0 | WidgetData1> - * - * Additional properties. + * Get the additionalProperties property: Additional properties. * * @return the additionalProperties value. */ @@ -68,9 +64,7 @@ public Map getAdditionalProperties() { } /** - * Set the additionalProperties property: The model spread Record<WidgetData0 | WidgetData1> - * - * Additional properties. + * Set the additionalProperties property: Additional properties. * * @param additionalProperties the additionalProperties value to set. * @return the SpreadRecordForNonDiscriminatedUnion object itself. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/SpreadRecordForNonDiscriminatedUnion2.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/SpreadRecordForNonDiscriminatedUnion2.java index 0dc6e2193d..0f6160220c 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/SpreadRecordForNonDiscriminatedUnion2.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/SpreadRecordForNonDiscriminatedUnion2.java @@ -28,8 +28,6 @@ public final class SpreadRecordForNonDiscriminatedUnion2 private final String name; /* - * The model spread Record - * * Additional properties */ @Generated @@ -56,9 +54,7 @@ public String getName() { } /** - * Get the additionalProperties property: The model spread Record<WidgetData2 | WidgetData1> - * - * Additional properties. + * Get the additionalProperties property: Additional properties. * * @return the additionalProperties value. */ @@ -68,9 +64,7 @@ public Map getAdditionalProperties() { } /** - * Set the additionalProperties property: The model spread Record<WidgetData2 | WidgetData1> - * - * Additional properties. + * Set the additionalProperties property: Additional properties. * * @param additionalProperties the additionalProperties value to set. * @return the SpreadRecordForNonDiscriminatedUnion2 object itself. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/SpreadRecordForNonDiscriminatedUnion3.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/SpreadRecordForNonDiscriminatedUnion3.java index 98dcf000bf..63be6ef069 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/SpreadRecordForNonDiscriminatedUnion3.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/SpreadRecordForNonDiscriminatedUnion3.java @@ -28,8 +28,6 @@ public final class SpreadRecordForNonDiscriminatedUnion3 private final String name; /* - * The model spread Record - * * Additional properties */ @Generated @@ -56,9 +54,7 @@ public String getName() { } /** - * Get the additionalProperties property: The model spread Record<WidgetData2[] | WidgetData1> - * - * Additional properties. + * Get the additionalProperties property: Additional properties. * * @return the additionalProperties value. */ @@ -68,9 +64,7 @@ public Map getAdditionalProperties() { } /** - * Set the additionalProperties property: The model spread Record<WidgetData2[] | WidgetData1> - * - * Additional properties. + * Set the additionalProperties property: Additional properties. * * @param additionalProperties the additionalProperties value to set. * @return the SpreadRecordForNonDiscriminatedUnion3 object itself. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/SpreadRecordForUnion.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/SpreadRecordForUnion.java index b38825a7a7..a8689acb23 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/SpreadRecordForUnion.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/SpreadRecordForUnion.java @@ -27,8 +27,6 @@ public final class SpreadRecordForUnion implements JsonSerializable - * * Additional properties */ @Generated @@ -55,9 +53,7 @@ public boolean isFlag() { } /** - * Get the additionalProperties property: The model spread Record<string | float32> - * - * Additional properties. + * Get the additionalProperties property: Additional properties. * * @return the additionalProperties value. */ @@ -67,9 +63,7 @@ public Map getAdditionalProperties() { } /** - * Set the additionalProperties property: The model spread Record<string | float32> - * - * Additional properties. + * Set the additionalProperties property: Additional properties. * * @param additionalProperties the additionalProperties value to set. * @return the SpreadRecordForUnion object itself. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/SpreadStringRecord.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/SpreadStringRecord.java index 3adba86b60..85a22abd7c 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/SpreadStringRecord.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/SpreadStringRecord.java @@ -26,8 +26,6 @@ public final class SpreadStringRecord implements JsonSerializable with the same known property type - * * Additional properties */ @Generated @@ -54,9 +52,7 @@ public String getName() { } /** - * Get the additionalProperties property: The model spread Record<string> with the same known property type - * - * Additional properties. + * Get the additionalProperties property: Additional properties. * * @return the additionalProperties value. */ @@ -66,9 +62,7 @@ public Map getAdditionalProperties() { } /** - * Set the additionalProperties property: The model spread Record<string> with the same known property type - * - * Additional properties. + * Set the additionalProperties property: Additional properties. * * @param additionalProperties the additionalProperties value to set. * @return the SpreadStringRecord object itself. diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/WidgetData0.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/WidgetData0.java index 9c31d93ba2..1150e828b5 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/WidgetData0.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/WidgetData0.java @@ -24,7 +24,7 @@ public final class WidgetData0 implements JsonSerializable { private final String kind = "kind0"; /* - * A sequence of textual characters. + * The fooProp property. */ @Generated private final String fooProp; @@ -50,7 +50,7 @@ public String getKind() { } /** - * Get the fooProp property: A sequence of textual characters. + * Get the fooProp property: The fooProp property. * * @return the fooProp value. */ diff --git a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/WidgetData2.java b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/WidgetData2.java index 362db1a8ec..ede0038f4d 100644 --- a/typespec-tests/src/main/java/com/type/property/additionalproperties/models/WidgetData2.java +++ b/typespec-tests/src/main/java/com/type/property/additionalproperties/models/WidgetData2.java @@ -24,7 +24,7 @@ public final class WidgetData2 implements JsonSerializable { private final String kind = "kind1"; /* - * A sequence of textual characters. + * The start property. */ @Generated private final String start; @@ -50,7 +50,7 @@ public String getKind() { } /** - * Get the start property: A sequence of textual characters. + * Get the start property: The start property. * * @return the start value. */ diff --git a/typespec-tests/src/main/java/com/type/property/nullable/BytesAsyncClient.java b/typespec-tests/src/main/java/com/type/property/nullable/BytesAsyncClient.java index ef6d419c07..72c545c0a3 100644 --- a/typespec-tests/src/main/java/com/type/property/nullable/BytesAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/nullable/BytesAsyncClient.java @@ -101,9 +101,7 @@ public Mono> getNullWithResponse(RequestOptions requestOpti * } * * @param body Template type for testing models with nullable property. Pass in the type of the property you are - * looking for - * - * The body parameter. + * looking for. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -129,9 +127,7 @@ public Mono> patchNonNullWithResponse(BinaryData body, RequestOpt * } * * @param body Template type for testing models with nullable property. Pass in the type of the property you are - * looking for - * - * The body parameter. + * looking for. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -187,9 +183,7 @@ public Mono getNull() { * Put a body with all properties present. * * @param body Template type for testing models with nullable property. Pass in the type of the property you are - * looking for - * - * The body parameter. + * looking for. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -213,9 +207,7 @@ public Mono patchNonNull(BytesProperty body) { * Put a body with default properties. * * @param body Template type for testing models with nullable property. Pass in the type of the property you are - * looking for - * - * The body parameter. + * looking for. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/nullable/BytesClient.java b/typespec-tests/src/main/java/com/type/property/nullable/BytesClient.java index 1bcb761ca7..d6b925a9ee 100644 --- a/typespec-tests/src/main/java/com/type/property/nullable/BytesClient.java +++ b/typespec-tests/src/main/java/com/type/property/nullable/BytesClient.java @@ -97,9 +97,7 @@ public Response getNullWithResponse(RequestOptions requestOptions) { * } * * @param body Template type for testing models with nullable property. Pass in the type of the property you are - * looking for - * - * The body parameter. + * looking for. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -125,9 +123,7 @@ public Response patchNonNullWithResponse(BinaryData body, RequestOptions r * } * * @param body Template type for testing models with nullable property. Pass in the type of the property you are - * looking for - * - * The body parameter. + * looking for. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -181,9 +177,7 @@ public BytesProperty getNull() { * Put a body with all properties present. * * @param body Template type for testing models with nullable property. Pass in the type of the property you are - * looking for - * - * The body parameter. + * looking for. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -206,9 +200,7 @@ public void patchNonNull(BytesProperty body) { * Put a body with default properties. * * @param body Template type for testing models with nullable property. Pass in the type of the property you are - * looking for - * - * The body parameter. + * looking for. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/nullable/CollectionsByteAsyncClient.java b/typespec-tests/src/main/java/com/type/property/nullable/CollectionsByteAsyncClient.java index 9f84320c84..71bfec6b42 100644 --- a/typespec-tests/src/main/java/com/type/property/nullable/CollectionsByteAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/nullable/CollectionsByteAsyncClient.java @@ -106,9 +106,7 @@ public Mono> getNullWithResponse(RequestOptions requestOpti * } * } * - * @param body Model with collection bytes properties - * - * The body parameter. + * @param body Model with collection bytes properties. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -135,9 +133,7 @@ public Mono> patchNonNullWithResponse(BinaryData body, RequestOpt * } * } * - * @param body Model with collection bytes properties - * - * The body parameter. + * @param body Model with collection bytes properties. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -192,9 +188,7 @@ public Mono getNull() { /** * Put a body with all properties present. * - * @param body Model with collection bytes properties - * - * The body parameter. + * @param body Model with collection bytes properties. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -217,9 +211,7 @@ public Mono patchNonNull(CollectionsByteProperty body) { /** * Put a body with default properties. * - * @param body Model with collection bytes properties - * - * The body parameter. + * @param body Model with collection bytes properties. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/nullable/CollectionsByteClient.java b/typespec-tests/src/main/java/com/type/property/nullable/CollectionsByteClient.java index e0d778c135..b0b3ae5ab7 100644 --- a/typespec-tests/src/main/java/com/type/property/nullable/CollectionsByteClient.java +++ b/typespec-tests/src/main/java/com/type/property/nullable/CollectionsByteClient.java @@ -102,9 +102,7 @@ public Response getNullWithResponse(RequestOptions requestOptions) { * } * } * - * @param body Model with collection bytes properties - * - * The body parameter. + * @param body Model with collection bytes properties. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -131,9 +129,7 @@ public Response patchNonNullWithResponse(BinaryData body, RequestOptions r * } * } * - * @param body Model with collection bytes properties - * - * The body parameter. + * @param body Model with collection bytes properties. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -186,9 +182,7 @@ public CollectionsByteProperty getNull() { /** * Put a body with all properties present. * - * @param body Model with collection bytes properties - * - * The body parameter. + * @param body Model with collection bytes properties. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -210,9 +204,7 @@ public void patchNonNull(CollectionsByteProperty body) { /** * Put a body with default properties. * - * @param body Model with collection bytes properties - * - * The body parameter. + * @param body Model with collection bytes properties. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/nullable/CollectionsModelAsyncClient.java b/typespec-tests/src/main/java/com/type/property/nullable/CollectionsModelAsyncClient.java index 5ed49c6cd0..06c92231b1 100644 --- a/typespec-tests/src/main/java/com/type/property/nullable/CollectionsModelAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/nullable/CollectionsModelAsyncClient.java @@ -112,9 +112,7 @@ public Mono> getNullWithResponse(RequestOptions requestOpti * } * } * - * @param body Model with collection models properties - * - * The body parameter. + * @param body Model with collection models properties. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -143,9 +141,7 @@ public Mono> patchNonNullWithResponse(BinaryData body, RequestOpt * } * } * - * @param body Model with collection models properties - * - * The body parameter. + * @param body Model with collection models properties. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -200,9 +196,7 @@ public Mono getNull() { /** * Put a body with all properties present. * - * @param body Model with collection models properties - * - * The body parameter. + * @param body Model with collection models properties. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -225,9 +219,7 @@ public Mono patchNonNull(CollectionsModelProperty body) { /** * Put a body with default properties. * - * @param body Model with collection models properties - * - * The body parameter. + * @param body Model with collection models properties. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/nullable/CollectionsModelClient.java b/typespec-tests/src/main/java/com/type/property/nullable/CollectionsModelClient.java index 8e117dde57..b903129eed 100644 --- a/typespec-tests/src/main/java/com/type/property/nullable/CollectionsModelClient.java +++ b/typespec-tests/src/main/java/com/type/property/nullable/CollectionsModelClient.java @@ -108,9 +108,7 @@ public Response getNullWithResponse(RequestOptions requestOptions) { * } * } * - * @param body Model with collection models properties - * - * The body parameter. + * @param body Model with collection models properties. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -139,9 +137,7 @@ public Response patchNonNullWithResponse(BinaryData body, RequestOptions r * } * } * - * @param body Model with collection models properties - * - * The body parameter. + * @param body Model with collection models properties. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -194,9 +190,7 @@ public CollectionsModelProperty getNull() { /** * Put a body with all properties present. * - * @param body Model with collection models properties - * - * The body parameter. + * @param body Model with collection models properties. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -218,9 +212,7 @@ public void patchNonNull(CollectionsModelProperty body) { /** * Put a body with default properties. * - * @param body Model with collection models properties - * - * The body parameter. + * @param body Model with collection models properties. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/nullable/DatetimeOperationAsyncClient.java b/typespec-tests/src/main/java/com/type/property/nullable/DatetimeOperationAsyncClient.java index 2edc34c27b..e2415f9a13 100644 --- a/typespec-tests/src/main/java/com/type/property/nullable/DatetimeOperationAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/nullable/DatetimeOperationAsyncClient.java @@ -100,9 +100,7 @@ public Mono> getNullWithResponse(RequestOptions requestOpti * } * } * - * @param body Model with a datetime property - * - * The body parameter. + * @param body Model with a datetime property. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -127,9 +125,7 @@ public Mono> patchNonNullWithResponse(BinaryData body, RequestOpt * } * } * - * @param body Model with a datetime property - * - * The body parameter. + * @param body Model with a datetime property. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -184,9 +180,7 @@ public Mono getNull() { /** * Put a body with all properties present. * - * @param body Model with a datetime property - * - * The body parameter. + * @param body Model with a datetime property. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -209,9 +203,7 @@ public Mono patchNonNull(DatetimeProperty body) { /** * Put a body with default properties. * - * @param body Model with a datetime property - * - * The body parameter. + * @param body Model with a datetime property. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/nullable/DatetimeOperationClient.java b/typespec-tests/src/main/java/com/type/property/nullable/DatetimeOperationClient.java index 15f2dc5b0e..a67f558f06 100644 --- a/typespec-tests/src/main/java/com/type/property/nullable/DatetimeOperationClient.java +++ b/typespec-tests/src/main/java/com/type/property/nullable/DatetimeOperationClient.java @@ -96,9 +96,7 @@ public Response getNullWithResponse(RequestOptions requestOptions) { * } * } * - * @param body Model with a datetime property - * - * The body parameter. + * @param body Model with a datetime property. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -123,9 +121,7 @@ public Response patchNonNullWithResponse(BinaryData body, RequestOptions r * } * } * - * @param body Model with a datetime property - * - * The body parameter. + * @param body Model with a datetime property. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -178,9 +174,7 @@ public DatetimeProperty getNull() { /** * Put a body with all properties present. * - * @param body Model with a datetime property - * - * The body parameter. + * @param body Model with a datetime property. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -202,9 +196,7 @@ public void patchNonNull(DatetimeProperty body) { /** * Put a body with default properties. * - * @param body Model with a datetime property - * - * The body parameter. + * @param body Model with a datetime property. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/nullable/DurationOperationAsyncClient.java b/typespec-tests/src/main/java/com/type/property/nullable/DurationOperationAsyncClient.java index 1c4c3bd735..c396de9a41 100644 --- a/typespec-tests/src/main/java/com/type/property/nullable/DurationOperationAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/nullable/DurationOperationAsyncClient.java @@ -100,9 +100,7 @@ public Mono> getNullWithResponse(RequestOptions requestOpti * } * } * - * @param body Model with a duration property - * - * The body parameter. + * @param body Model with a duration property. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -127,9 +125,7 @@ public Mono> patchNonNullWithResponse(BinaryData body, RequestOpt * } * } * - * @param body Model with a duration property - * - * The body parameter. + * @param body Model with a duration property. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -184,9 +180,7 @@ public Mono getNull() { /** * Put a body with all properties present. * - * @param body Model with a duration property - * - * The body parameter. + * @param body Model with a duration property. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -209,9 +203,7 @@ public Mono patchNonNull(DurationProperty body) { /** * Put a body with default properties. * - * @param body Model with a duration property - * - * The body parameter. + * @param body Model with a duration property. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/nullable/DurationOperationClient.java b/typespec-tests/src/main/java/com/type/property/nullable/DurationOperationClient.java index d08953697d..f9ca5720d3 100644 --- a/typespec-tests/src/main/java/com/type/property/nullable/DurationOperationClient.java +++ b/typespec-tests/src/main/java/com/type/property/nullable/DurationOperationClient.java @@ -96,9 +96,7 @@ public Response getNullWithResponse(RequestOptions requestOptions) { * } * } * - * @param body Model with a duration property - * - * The body parameter. + * @param body Model with a duration property. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -123,9 +121,7 @@ public Response patchNonNullWithResponse(BinaryData body, RequestOptions r * } * } * - * @param body Model with a duration property - * - * The body parameter. + * @param body Model with a duration property. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -178,9 +174,7 @@ public DurationProperty getNull() { /** * Put a body with all properties present. * - * @param body Model with a duration property - * - * The body parameter. + * @param body Model with a duration property. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -202,9 +196,7 @@ public void patchNonNull(DurationProperty body) { /** * Put a body with default properties. * - * @param body Model with a duration property - * - * The body parameter. + * @param body Model with a duration property. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/nullable/StringOperationAsyncClient.java b/typespec-tests/src/main/java/com/type/property/nullable/StringOperationAsyncClient.java index c69a7ef891..171325d915 100644 --- a/typespec-tests/src/main/java/com/type/property/nullable/StringOperationAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/nullable/StringOperationAsyncClient.java @@ -101,9 +101,7 @@ public Mono> getNullWithResponse(RequestOptions requestOpti * } * * @param body Template type for testing models with nullable property. Pass in the type of the property you are - * looking for - * - * The body parameter. + * looking for. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -129,9 +127,7 @@ public Mono> patchNonNullWithResponse(BinaryData body, RequestOpt * } * * @param body Template type for testing models with nullable property. Pass in the type of the property you are - * looking for - * - * The body parameter. + * looking for. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -187,9 +183,7 @@ public Mono getNull() { * Put a body with all properties present. * * @param body Template type for testing models with nullable property. Pass in the type of the property you are - * looking for - * - * The body parameter. + * looking for. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -213,9 +207,7 @@ public Mono patchNonNull(StringProperty body) { * Put a body with default properties. * * @param body Template type for testing models with nullable property. Pass in the type of the property you are - * looking for - * - * The body parameter. + * looking for. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/nullable/StringOperationClient.java b/typespec-tests/src/main/java/com/type/property/nullable/StringOperationClient.java index 79d2b15a4d..0ea24eab72 100644 --- a/typespec-tests/src/main/java/com/type/property/nullable/StringOperationClient.java +++ b/typespec-tests/src/main/java/com/type/property/nullable/StringOperationClient.java @@ -97,9 +97,7 @@ public Response getNullWithResponse(RequestOptions requestOptions) { * } * * @param body Template type for testing models with nullable property. Pass in the type of the property you are - * looking for - * - * The body parameter. + * looking for. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -125,9 +123,7 @@ public Response patchNonNullWithResponse(BinaryData body, RequestOptions r * } * * @param body Template type for testing models with nullable property. Pass in the type of the property you are - * looking for - * - * The body parameter. + * looking for. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -181,9 +177,7 @@ public StringProperty getNull() { * Put a body with all properties present. * * @param body Template type for testing models with nullable property. Pass in the type of the property you are - * looking for - * - * The body parameter. + * looking for. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -206,9 +200,7 @@ public void patchNonNull(StringProperty body) { * Put a body with default properties. * * @param body Template type for testing models with nullable property. Pass in the type of the property you are - * looking for - * - * The body parameter. + * looking for. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/nullable/implementation/BytesImpl.java b/typespec-tests/src/main/java/com/type/property/nullable/implementation/BytesImpl.java index 623d4eb884..574cd230b0 100644 --- a/typespec-tests/src/main/java/com/type/property/nullable/implementation/BytesImpl.java +++ b/typespec-tests/src/main/java/com/type/property/nullable/implementation/BytesImpl.java @@ -244,9 +244,7 @@ public Response getNullWithResponse(RequestOptions requestOptions) { * } * * @param body Template type for testing models with nullable property. Pass in the type of the property you are - * looking for - * - * The body parameter. + * looking for. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -274,9 +272,7 @@ public Mono> patchNonNullWithResponseAsync(BinaryData body, Reque * } * * @param body Template type for testing models with nullable property. Pass in the type of the property you are - * looking for - * - * The body parameter. + * looking for. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -303,9 +299,7 @@ public Response patchNonNullWithResponse(BinaryData body, RequestOptions r * } * * @param body Template type for testing models with nullable property. Pass in the type of the property you are - * looking for - * - * The body parameter. + * looking for. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -332,9 +326,7 @@ public Mono> patchNullWithResponseAsync(BinaryData body, RequestO * } * * @param body Template type for testing models with nullable property. Pass in the type of the property you are - * looking for - * - * The body parameter. + * looking for. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/nullable/implementation/CollectionsBytesImpl.java b/typespec-tests/src/main/java/com/type/property/nullable/implementation/CollectionsBytesImpl.java index e8b053a419..f8bfee1f76 100644 --- a/typespec-tests/src/main/java/com/type/property/nullable/implementation/CollectionsBytesImpl.java +++ b/typespec-tests/src/main/java/com/type/property/nullable/implementation/CollectionsBytesImpl.java @@ -254,9 +254,7 @@ public Response getNullWithResponse(RequestOptions requestOptions) { * } * } * - * @param body Model with collection bytes properties - * - * The body parameter. + * @param body Model with collection bytes properties. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -285,9 +283,7 @@ public Mono> patchNonNullWithResponseAsync(BinaryData body, Reque * } * } * - * @param body Model with collection bytes properties - * - * The body parameter. + * @param body Model with collection bytes properties. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -315,9 +311,7 @@ public Response patchNonNullWithResponse(BinaryData body, RequestOptions r * } * } * - * @param body Model with collection bytes properties - * - * The body parameter. + * @param body Model with collection bytes properties. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -345,9 +339,7 @@ public Mono> patchNullWithResponseAsync(BinaryData body, RequestO * } * } * - * @param body Model with collection bytes properties - * - * The body parameter. + * @param body Model with collection bytes properties. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/nullable/implementation/CollectionsModelsImpl.java b/typespec-tests/src/main/java/com/type/property/nullable/implementation/CollectionsModelsImpl.java index cbc6ec2463..31a968c3ef 100644 --- a/typespec-tests/src/main/java/com/type/property/nullable/implementation/CollectionsModelsImpl.java +++ b/typespec-tests/src/main/java/com/type/property/nullable/implementation/CollectionsModelsImpl.java @@ -264,9 +264,7 @@ public Response getNullWithResponse(RequestOptions requestOptions) { * } * } * - * @param body Model with collection models properties - * - * The body parameter. + * @param body Model with collection models properties. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -297,9 +295,7 @@ public Mono> patchNonNullWithResponseAsync(BinaryData body, Reque * } * } * - * @param body Model with collection models properties - * - * The body parameter. + * @param body Model with collection models properties. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -329,9 +325,7 @@ public Response patchNonNullWithResponse(BinaryData body, RequestOptions r * } * } * - * @param body Model with collection models properties - * - * The body parameter. + * @param body Model with collection models properties. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -361,9 +355,7 @@ public Mono> patchNullWithResponseAsync(BinaryData body, RequestO * } * } * - * @param body Model with collection models properties - * - * The body parameter. + * @param body Model with collection models properties. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/nullable/implementation/DatetimeOperationsImpl.java b/typespec-tests/src/main/java/com/type/property/nullable/implementation/DatetimeOperationsImpl.java index 483fe89c5d..7f0f0804d8 100644 --- a/typespec-tests/src/main/java/com/type/property/nullable/implementation/DatetimeOperationsImpl.java +++ b/typespec-tests/src/main/java/com/type/property/nullable/implementation/DatetimeOperationsImpl.java @@ -244,9 +244,7 @@ public Response getNullWithResponse(RequestOptions requestOptions) { * } * } * - * @param body Model with a datetime property - * - * The body parameter. + * @param body Model with a datetime property. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -273,9 +271,7 @@ public Mono> patchNonNullWithResponseAsync(BinaryData body, Reque * } * } * - * @param body Model with a datetime property - * - * The body parameter. + * @param body Model with a datetime property. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -301,9 +297,7 @@ public Response patchNonNullWithResponse(BinaryData body, RequestOptions r * } * } * - * @param body Model with a datetime property - * - * The body parameter. + * @param body Model with a datetime property. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -329,9 +323,7 @@ public Mono> patchNullWithResponseAsync(BinaryData body, RequestO * } * } * - * @param body Model with a datetime property - * - * The body parameter. + * @param body Model with a datetime property. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/nullable/implementation/DurationOperationsImpl.java b/typespec-tests/src/main/java/com/type/property/nullable/implementation/DurationOperationsImpl.java index 394a84b702..90d930c1a4 100644 --- a/typespec-tests/src/main/java/com/type/property/nullable/implementation/DurationOperationsImpl.java +++ b/typespec-tests/src/main/java/com/type/property/nullable/implementation/DurationOperationsImpl.java @@ -244,9 +244,7 @@ public Response getNullWithResponse(RequestOptions requestOptions) { * } * } * - * @param body Model with a duration property - * - * The body parameter. + * @param body Model with a duration property. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -273,9 +271,7 @@ public Mono> patchNonNullWithResponseAsync(BinaryData body, Reque * } * } * - * @param body Model with a duration property - * - * The body parameter. + * @param body Model with a duration property. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -301,9 +297,7 @@ public Response patchNonNullWithResponse(BinaryData body, RequestOptions r * } * } * - * @param body Model with a duration property - * - * The body parameter. + * @param body Model with a duration property. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -329,9 +323,7 @@ public Mono> patchNullWithResponseAsync(BinaryData body, RequestO * } * } * - * @param body Model with a duration property - * - * The body parameter. + * @param body Model with a duration property. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/nullable/implementation/StringOperationsImpl.java b/typespec-tests/src/main/java/com/type/property/nullable/implementation/StringOperationsImpl.java index 06c47bc4ff..5800bdab7d 100644 --- a/typespec-tests/src/main/java/com/type/property/nullable/implementation/StringOperationsImpl.java +++ b/typespec-tests/src/main/java/com/type/property/nullable/implementation/StringOperationsImpl.java @@ -245,9 +245,7 @@ public Response getNullWithResponse(RequestOptions requestOptions) { * } * * @param body Template type for testing models with nullable property. Pass in the type of the property you are - * looking for - * - * The body parameter. + * looking for. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -275,9 +273,7 @@ public Mono> patchNonNullWithResponseAsync(BinaryData body, Reque * } * * @param body Template type for testing models with nullable property. Pass in the type of the property you are - * looking for - * - * The body parameter. + * looking for. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -304,9 +300,7 @@ public Response patchNonNullWithResponse(BinaryData body, RequestOptions r * } * * @param body Template type for testing models with nullable property. Pass in the type of the property you are - * looking for - * - * The body parameter. + * looking for. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -333,9 +327,7 @@ public Mono> patchNullWithResponseAsync(BinaryData body, RequestO * } * * @param body Template type for testing models with nullable property. Pass in the type of the property you are - * looking for - * - * The body parameter. + * looking for. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/optional/BooleanLiteralAsyncClient.java b/typespec-tests/src/main/java/com/type/property/optional/BooleanLiteralAsyncClient.java index 9ceaa590d1..8291cb583f 100644 --- a/typespec-tests/src/main/java/com/type/property/optional/BooleanLiteralAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/optional/BooleanLiteralAsyncClient.java @@ -96,9 +96,7 @@ public Mono> getDefaultWithResponse(RequestOptions requestO * } * } * - * @param body Model with boolean literal property - * - * The body parameter. + * @param body Model with boolean literal property. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -122,9 +120,7 @@ public Mono> putAllWithResponse(BinaryData body, RequestOptions r * } * } * - * @param body Model with boolean literal property - * - * The body parameter. + * @param body Model with boolean literal property. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -179,9 +175,7 @@ public Mono getDefault() { /** * Put a body with all properties present. * - * @param body Model with boolean literal property - * - * The body parameter. + * @param body Model with boolean literal property. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -201,9 +195,7 @@ public Mono putAll(BooleanLiteralProperty body) { /** * Put a body with default properties. * - * @param body Model with boolean literal property - * - * The body parameter. + * @param body Model with boolean literal property. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/optional/BooleanLiteralClient.java b/typespec-tests/src/main/java/com/type/property/optional/BooleanLiteralClient.java index 6e60c9dd84..2e18a2e9b6 100644 --- a/typespec-tests/src/main/java/com/type/property/optional/BooleanLiteralClient.java +++ b/typespec-tests/src/main/java/com/type/property/optional/BooleanLiteralClient.java @@ -92,9 +92,7 @@ public Response getDefaultWithResponse(RequestOptions requestOptions * } * } * - * @param body Model with boolean literal property - * - * The body parameter. + * @param body Model with boolean literal property. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -118,9 +116,7 @@ public Response putAllWithResponse(BinaryData body, RequestOptions request * } * } * - * @param body Model with boolean literal property - * - * The body parameter. + * @param body Model with boolean literal property. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -173,9 +169,7 @@ public BooleanLiteralProperty getDefault() { /** * Put a body with all properties present. * - * @param body Model with boolean literal property - * - * The body parameter. + * @param body Model with boolean literal property. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -194,9 +188,7 @@ public void putAll(BooleanLiteralProperty body) { /** * Put a body with default properties. * - * @param body Model with boolean literal property - * - * The body parameter. + * @param body Model with boolean literal property. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/optional/BytesAsyncClient.java b/typespec-tests/src/main/java/com/type/property/optional/BytesAsyncClient.java index 0ccde764c9..7fd97707dc 100644 --- a/typespec-tests/src/main/java/com/type/property/optional/BytesAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/optional/BytesAsyncClient.java @@ -97,9 +97,7 @@ public Mono> getDefaultWithResponse(RequestOptions requestO * } * * @param body Template type for testing models with optional property. Pass in the type of the property you are - * looking for - * - * The body parameter. + * looking for. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -124,9 +122,7 @@ public Mono> putAllWithResponse(BinaryData body, RequestOptions r * } * * @param body Template type for testing models with optional property. Pass in the type of the property you are - * looking for - * - * The body parameter. + * looking for. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -182,9 +178,7 @@ public Mono getDefault() { * Put a body with all properties present. * * @param body Template type for testing models with optional property. Pass in the type of the property you are - * looking for - * - * The body parameter. + * looking for. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -205,9 +199,7 @@ public Mono putAll(BytesProperty body) { * Put a body with default properties. * * @param body Template type for testing models with optional property. Pass in the type of the property you are - * looking for - * - * The body parameter. + * looking for. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/optional/BytesClient.java b/typespec-tests/src/main/java/com/type/property/optional/BytesClient.java index 4c9ff63b37..77631d3946 100644 --- a/typespec-tests/src/main/java/com/type/property/optional/BytesClient.java +++ b/typespec-tests/src/main/java/com/type/property/optional/BytesClient.java @@ -93,9 +93,7 @@ public Response getDefaultWithResponse(RequestOptions requestOptions * } * * @param body Template type for testing models with optional property. Pass in the type of the property you are - * looking for - * - * The body parameter. + * looking for. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -120,9 +118,7 @@ public Response putAllWithResponse(BinaryData body, RequestOptions request * } * * @param body Template type for testing models with optional property. Pass in the type of the property you are - * looking for - * - * The body parameter. + * looking for. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -176,9 +172,7 @@ public BytesProperty getDefault() { * Put a body with all properties present. * * @param body Template type for testing models with optional property. Pass in the type of the property you are - * looking for - * - * The body parameter. + * looking for. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -198,9 +192,7 @@ public void putAll(BytesProperty body) { * Put a body with default properties. * * @param body Template type for testing models with optional property. Pass in the type of the property you are - * looking for - * - * The body parameter. + * looking for. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/optional/CollectionsByteAsyncClient.java b/typespec-tests/src/main/java/com/type/property/optional/CollectionsByteAsyncClient.java index 03e02c79d1..9cdee291e6 100644 --- a/typespec-tests/src/main/java/com/type/property/optional/CollectionsByteAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/optional/CollectionsByteAsyncClient.java @@ -102,9 +102,7 @@ public Mono> getDefaultWithResponse(RequestOptions requestO * } * } * - * @param body Model with collection bytes properties - * - * The body parameter. + * @param body Model with collection bytes properties. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -130,9 +128,7 @@ public Mono> putAllWithResponse(BinaryData body, RequestOptions r * } * } * - * @param body Model with collection bytes properties - * - * The body parameter. + * @param body Model with collection bytes properties. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -187,9 +183,7 @@ public Mono getDefault() { /** * Put a body with all properties present. * - * @param body Model with collection bytes properties - * - * The body parameter. + * @param body Model with collection bytes properties. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -209,9 +203,7 @@ public Mono putAll(CollectionsByteProperty body) { /** * Put a body with default properties. * - * @param body Model with collection bytes properties - * - * The body parameter. + * @param body Model with collection bytes properties. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/optional/CollectionsByteClient.java b/typespec-tests/src/main/java/com/type/property/optional/CollectionsByteClient.java index eb9382e9e5..851aa2002c 100644 --- a/typespec-tests/src/main/java/com/type/property/optional/CollectionsByteClient.java +++ b/typespec-tests/src/main/java/com/type/property/optional/CollectionsByteClient.java @@ -98,9 +98,7 @@ public Response getDefaultWithResponse(RequestOptions requestOptions * } * } * - * @param body Model with collection bytes properties - * - * The body parameter. + * @param body Model with collection bytes properties. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -126,9 +124,7 @@ public Response putAllWithResponse(BinaryData body, RequestOptions request * } * } * - * @param body Model with collection bytes properties - * - * The body parameter. + * @param body Model with collection bytes properties. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -181,9 +177,7 @@ public CollectionsByteProperty getDefault() { /** * Put a body with all properties present. * - * @param body Model with collection bytes properties - * - * The body parameter. + * @param body Model with collection bytes properties. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -202,9 +196,7 @@ public void putAll(CollectionsByteProperty body) { /** * Put a body with default properties. * - * @param body Model with collection bytes properties - * - * The body parameter. + * @param body Model with collection bytes properties. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/optional/CollectionsModelAsyncClient.java b/typespec-tests/src/main/java/com/type/property/optional/CollectionsModelAsyncClient.java index a58dcbbbd7..9fcc8f6325 100644 --- a/typespec-tests/src/main/java/com/type/property/optional/CollectionsModelAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/optional/CollectionsModelAsyncClient.java @@ -108,9 +108,7 @@ public Mono> getDefaultWithResponse(RequestOptions requestO * } * } * - * @param body Model with collection models properties - * - * The body parameter. + * @param body Model with collection models properties. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -138,9 +136,7 @@ public Mono> putAllWithResponse(BinaryData body, RequestOptions r * } * } * - * @param body Model with collection models properties - * - * The body parameter. + * @param body Model with collection models properties. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -195,9 +191,7 @@ public Mono getDefault() { /** * Put a body with all properties present. * - * @param body Model with collection models properties - * - * The body parameter. + * @param body Model with collection models properties. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -217,9 +211,7 @@ public Mono putAll(CollectionsModelProperty body) { /** * Put a body with default properties. * - * @param body Model with collection models properties - * - * The body parameter. + * @param body Model with collection models properties. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/optional/CollectionsModelClient.java b/typespec-tests/src/main/java/com/type/property/optional/CollectionsModelClient.java index 15ae677e9b..068abe9a05 100644 --- a/typespec-tests/src/main/java/com/type/property/optional/CollectionsModelClient.java +++ b/typespec-tests/src/main/java/com/type/property/optional/CollectionsModelClient.java @@ -104,9 +104,7 @@ public Response getDefaultWithResponse(RequestOptions requestOptions * } * } * - * @param body Model with collection models properties - * - * The body parameter. + * @param body Model with collection models properties. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -134,9 +132,7 @@ public Response putAllWithResponse(BinaryData body, RequestOptions request * } * } * - * @param body Model with collection models properties - * - * The body parameter. + * @param body Model with collection models properties. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -189,9 +185,7 @@ public CollectionsModelProperty getDefault() { /** * Put a body with all properties present. * - * @param body Model with collection models properties - * - * The body parameter. + * @param body Model with collection models properties. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -210,9 +204,7 @@ public void putAll(CollectionsModelProperty body) { /** * Put a body with default properties. * - * @param body Model with collection models properties - * - * The body parameter. + * @param body Model with collection models properties. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/optional/DatetimeOperationAsyncClient.java b/typespec-tests/src/main/java/com/type/property/optional/DatetimeOperationAsyncClient.java index 1dbdd66f5c..37145a1c07 100644 --- a/typespec-tests/src/main/java/com/type/property/optional/DatetimeOperationAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/optional/DatetimeOperationAsyncClient.java @@ -96,9 +96,7 @@ public Mono> getDefaultWithResponse(RequestOptions requestO * } * } * - * @param body Model with a datetime property - * - * The body parameter. + * @param body Model with a datetime property. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -122,9 +120,7 @@ public Mono> putAllWithResponse(BinaryData body, RequestOptions r * } * } * - * @param body Model with a datetime property - * - * The body parameter. + * @param body Model with a datetime property. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -179,9 +175,7 @@ public Mono getDefault() { /** * Put a body with all properties present. * - * @param body Model with a datetime property - * - * The body parameter. + * @param body Model with a datetime property. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -201,9 +195,7 @@ public Mono putAll(DatetimeProperty body) { /** * Put a body with default properties. * - * @param body Model with a datetime property - * - * The body parameter. + * @param body Model with a datetime property. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/optional/DatetimeOperationClient.java b/typespec-tests/src/main/java/com/type/property/optional/DatetimeOperationClient.java index 15d5efc727..f2dc4ea8f0 100644 --- a/typespec-tests/src/main/java/com/type/property/optional/DatetimeOperationClient.java +++ b/typespec-tests/src/main/java/com/type/property/optional/DatetimeOperationClient.java @@ -92,9 +92,7 @@ public Response getDefaultWithResponse(RequestOptions requestOptions * } * } * - * @param body Model with a datetime property - * - * The body parameter. + * @param body Model with a datetime property. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -118,9 +116,7 @@ public Response putAllWithResponse(BinaryData body, RequestOptions request * } * } * - * @param body Model with a datetime property - * - * The body parameter. + * @param body Model with a datetime property. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -173,9 +169,7 @@ public DatetimeProperty getDefault() { /** * Put a body with all properties present. * - * @param body Model with a datetime property - * - * The body parameter. + * @param body Model with a datetime property. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -194,9 +188,7 @@ public void putAll(DatetimeProperty body) { /** * Put a body with default properties. * - * @param body Model with a datetime property - * - * The body parameter. + * @param body Model with a datetime property. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/optional/DurationOperationAsyncClient.java b/typespec-tests/src/main/java/com/type/property/optional/DurationOperationAsyncClient.java index dfad1389cc..924f5f4627 100644 --- a/typespec-tests/src/main/java/com/type/property/optional/DurationOperationAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/optional/DurationOperationAsyncClient.java @@ -96,9 +96,7 @@ public Mono> getDefaultWithResponse(RequestOptions requestO * } * } * - * @param body Model with a duration property - * - * The body parameter. + * @param body Model with a duration property. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -122,9 +120,7 @@ public Mono> putAllWithResponse(BinaryData body, RequestOptions r * } * } * - * @param body Model with a duration property - * - * The body parameter. + * @param body Model with a duration property. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -179,9 +175,7 @@ public Mono getDefault() { /** * Put a body with all properties present. * - * @param body Model with a duration property - * - * The body parameter. + * @param body Model with a duration property. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -201,9 +195,7 @@ public Mono putAll(DurationProperty body) { /** * Put a body with default properties. * - * @param body Model with a duration property - * - * The body parameter. + * @param body Model with a duration property. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/optional/DurationOperationClient.java b/typespec-tests/src/main/java/com/type/property/optional/DurationOperationClient.java index bd1628e540..3f012b049f 100644 --- a/typespec-tests/src/main/java/com/type/property/optional/DurationOperationClient.java +++ b/typespec-tests/src/main/java/com/type/property/optional/DurationOperationClient.java @@ -92,9 +92,7 @@ public Response getDefaultWithResponse(RequestOptions requestOptions * } * } * - * @param body Model with a duration property - * - * The body parameter. + * @param body Model with a duration property. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -118,9 +116,7 @@ public Response putAllWithResponse(BinaryData body, RequestOptions request * } * } * - * @param body Model with a duration property - * - * The body parameter. + * @param body Model with a duration property. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -173,9 +169,7 @@ public DurationProperty getDefault() { /** * Put a body with all properties present. * - * @param body Model with a duration property - * - * The body parameter. + * @param body Model with a duration property. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -194,9 +188,7 @@ public void putAll(DurationProperty body) { /** * Put a body with default properties. * - * @param body Model with a duration property - * - * The body parameter. + * @param body Model with a duration property. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/optional/FloatLiteralAsyncClient.java b/typespec-tests/src/main/java/com/type/property/optional/FloatLiteralAsyncClient.java index b7545445b6..7f750ba7ea 100644 --- a/typespec-tests/src/main/java/com/type/property/optional/FloatLiteralAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/optional/FloatLiteralAsyncClient.java @@ -96,9 +96,7 @@ public Mono> getDefaultWithResponse(RequestOptions requestO * } * } * - * @param body Model with float literal property - * - * The body parameter. + * @param body Model with float literal property. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -122,9 +120,7 @@ public Mono> putAllWithResponse(BinaryData body, RequestOptions r * } * } * - * @param body Model with float literal property - * - * The body parameter. + * @param body Model with float literal property. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -179,9 +175,7 @@ public Mono getDefault() { /** * Put a body with all properties present. * - * @param body Model with float literal property - * - * The body parameter. + * @param body Model with float literal property. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -201,9 +195,7 @@ public Mono putAll(FloatLiteralProperty body) { /** * Put a body with default properties. * - * @param body Model with float literal property - * - * The body parameter. + * @param body Model with float literal property. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/optional/FloatLiteralClient.java b/typespec-tests/src/main/java/com/type/property/optional/FloatLiteralClient.java index 848e0d4338..b2f87e193d 100644 --- a/typespec-tests/src/main/java/com/type/property/optional/FloatLiteralClient.java +++ b/typespec-tests/src/main/java/com/type/property/optional/FloatLiteralClient.java @@ -92,9 +92,7 @@ public Response getDefaultWithResponse(RequestOptions requestOptions * } * } * - * @param body Model with float literal property - * - * The body parameter. + * @param body Model with float literal property. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -118,9 +116,7 @@ public Response putAllWithResponse(BinaryData body, RequestOptions request * } * } * - * @param body Model with float literal property - * - * The body parameter. + * @param body Model with float literal property. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -173,9 +169,7 @@ public FloatLiteralProperty getDefault() { /** * Put a body with all properties present. * - * @param body Model with float literal property - * - * The body parameter. + * @param body Model with float literal property. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -194,9 +188,7 @@ public void putAll(FloatLiteralProperty body) { /** * Put a body with default properties. * - * @param body Model with float literal property - * - * The body parameter. + * @param body Model with float literal property. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/optional/IntLiteralAsyncClient.java b/typespec-tests/src/main/java/com/type/property/optional/IntLiteralAsyncClient.java index 9f83e3aa81..73ccdd2889 100644 --- a/typespec-tests/src/main/java/com/type/property/optional/IntLiteralAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/optional/IntLiteralAsyncClient.java @@ -96,9 +96,7 @@ public Mono> getDefaultWithResponse(RequestOptions requestO * } * } * - * @param body Model with int literal property - * - * The body parameter. + * @param body Model with int literal property. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -122,9 +120,7 @@ public Mono> putAllWithResponse(BinaryData body, RequestOptions r * } * } * - * @param body Model with int literal property - * - * The body parameter. + * @param body Model with int literal property. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -179,9 +175,7 @@ public Mono getDefault() { /** * Put a body with all properties present. * - * @param body Model with int literal property - * - * The body parameter. + * @param body Model with int literal property. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -201,9 +195,7 @@ public Mono putAll(IntLiteralProperty body) { /** * Put a body with default properties. * - * @param body Model with int literal property - * - * The body parameter. + * @param body Model with int literal property. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/optional/IntLiteralClient.java b/typespec-tests/src/main/java/com/type/property/optional/IntLiteralClient.java index 5890289cbe..61d7d8b923 100644 --- a/typespec-tests/src/main/java/com/type/property/optional/IntLiteralClient.java +++ b/typespec-tests/src/main/java/com/type/property/optional/IntLiteralClient.java @@ -92,9 +92,7 @@ public Response getDefaultWithResponse(RequestOptions requestOptions * } * } * - * @param body Model with int literal property - * - * The body parameter. + * @param body Model with int literal property. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -118,9 +116,7 @@ public Response putAllWithResponse(BinaryData body, RequestOptions request * } * } * - * @param body Model with int literal property - * - * The body parameter. + * @param body Model with int literal property. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -173,9 +169,7 @@ public IntLiteralProperty getDefault() { /** * Put a body with all properties present. * - * @param body Model with int literal property - * - * The body parameter. + * @param body Model with int literal property. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -194,9 +188,7 @@ public void putAll(IntLiteralProperty body) { /** * Put a body with default properties. * - * @param body Model with int literal property - * - * The body parameter. + * @param body Model with int literal property. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/optional/RequiredAndOptionalAsyncClient.java b/typespec-tests/src/main/java/com/type/property/optional/RequiredAndOptionalAsyncClient.java index 8a4670d2c8..8d35fa8bb2 100644 --- a/typespec-tests/src/main/java/com/type/property/optional/RequiredAndOptionalAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/optional/RequiredAndOptionalAsyncClient.java @@ -99,9 +99,7 @@ public Mono> getRequiredOnlyWithResponse(RequestOptions req * } * } * - * @param body Model with required and optional properties - * - * The body parameter. + * @param body Model with required and optional properties. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -126,9 +124,7 @@ public Mono> putAllWithResponse(BinaryData body, RequestOptions r * } * } * - * @param body Model with required and optional properties - * - * The body parameter. + * @param body Model with required and optional properties. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -183,9 +179,7 @@ public Mono getRequiredOnly() { /** * Put a body with all properties present. * - * @param body Model with required and optional properties - * - * The body parameter. + * @param body Model with required and optional properties. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -205,9 +199,7 @@ public Mono putAll(RequiredAndOptionalProperty body) { /** * Put a body with only required properties. * - * @param body Model with required and optional properties - * - * The body parameter. + * @param body Model with required and optional properties. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/optional/RequiredAndOptionalClient.java b/typespec-tests/src/main/java/com/type/property/optional/RequiredAndOptionalClient.java index 6d8f57b89c..b3e525209f 100644 --- a/typespec-tests/src/main/java/com/type/property/optional/RequiredAndOptionalClient.java +++ b/typespec-tests/src/main/java/com/type/property/optional/RequiredAndOptionalClient.java @@ -95,9 +95,7 @@ public Response getRequiredOnlyWithResponse(RequestOptions requestOp * } * } * - * @param body Model with required and optional properties - * - * The body parameter. + * @param body Model with required and optional properties. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -122,9 +120,7 @@ public Response putAllWithResponse(BinaryData body, RequestOptions request * } * } * - * @param body Model with required and optional properties - * - * The body parameter. + * @param body Model with required and optional properties. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -177,9 +173,7 @@ public RequiredAndOptionalProperty getRequiredOnly() { /** * Put a body with all properties present. * - * @param body Model with required and optional properties - * - * The body parameter. + * @param body Model with required and optional properties. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -198,9 +192,7 @@ public void putAll(RequiredAndOptionalProperty body) { /** * Put a body with only required properties. * - * @param body Model with required and optional properties - * - * The body parameter. + * @param body Model with required and optional properties. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/optional/StringLiteralAsyncClient.java b/typespec-tests/src/main/java/com/type/property/optional/StringLiteralAsyncClient.java index 22e929ffce..a9fa01dda3 100644 --- a/typespec-tests/src/main/java/com/type/property/optional/StringLiteralAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/optional/StringLiteralAsyncClient.java @@ -96,9 +96,7 @@ public Mono> getDefaultWithResponse(RequestOptions requestO * } * } * - * @param body Model with string literal property - * - * The body parameter. + * @param body Model with string literal property. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -122,9 +120,7 @@ public Mono> putAllWithResponse(BinaryData body, RequestOptions r * } * } * - * @param body Model with string literal property - * - * The body parameter. + * @param body Model with string literal property. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -179,9 +175,7 @@ public Mono getDefault() { /** * Put a body with all properties present. * - * @param body Model with string literal property - * - * The body parameter. + * @param body Model with string literal property. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -201,9 +195,7 @@ public Mono putAll(StringLiteralProperty body) { /** * Put a body with default properties. * - * @param body Model with string literal property - * - * The body parameter. + * @param body Model with string literal property. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/optional/StringLiteralClient.java b/typespec-tests/src/main/java/com/type/property/optional/StringLiteralClient.java index 2d397302be..05fea87481 100644 --- a/typespec-tests/src/main/java/com/type/property/optional/StringLiteralClient.java +++ b/typespec-tests/src/main/java/com/type/property/optional/StringLiteralClient.java @@ -92,9 +92,7 @@ public Response getDefaultWithResponse(RequestOptions requestOptions * } * } * - * @param body Model with string literal property - * - * The body parameter. + * @param body Model with string literal property. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -118,9 +116,7 @@ public Response putAllWithResponse(BinaryData body, RequestOptions request * } * } * - * @param body Model with string literal property - * - * The body parameter. + * @param body Model with string literal property. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -173,9 +169,7 @@ public StringLiteralProperty getDefault() { /** * Put a body with all properties present. * - * @param body Model with string literal property - * - * The body parameter. + * @param body Model with string literal property. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -194,9 +188,7 @@ public void putAll(StringLiteralProperty body) { /** * Put a body with default properties. * - * @param body Model with string literal property - * - * The body parameter. + * @param body Model with string literal property. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/optional/StringOperationAsyncClient.java b/typespec-tests/src/main/java/com/type/property/optional/StringOperationAsyncClient.java index 1dbc494ec1..9d1ae0a213 100644 --- a/typespec-tests/src/main/java/com/type/property/optional/StringOperationAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/optional/StringOperationAsyncClient.java @@ -97,9 +97,7 @@ public Mono> getDefaultWithResponse(RequestOptions requestO * } * * @param body Template type for testing models with optional property. Pass in the type of the property you are - * looking for - * - * The body parameter. + * looking for. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -124,9 +122,7 @@ public Mono> putAllWithResponse(BinaryData body, RequestOptions r * } * * @param body Template type for testing models with optional property. Pass in the type of the property you are - * looking for - * - * The body parameter. + * looking for. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -182,9 +178,7 @@ public Mono getDefault() { * Put a body with all properties present. * * @param body Template type for testing models with optional property. Pass in the type of the property you are - * looking for - * - * The body parameter. + * looking for. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -205,9 +199,7 @@ public Mono putAll(StringProperty body) { * Put a body with default properties. * * @param body Template type for testing models with optional property. Pass in the type of the property you are - * looking for - * - * The body parameter. + * looking for. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/optional/StringOperationClient.java b/typespec-tests/src/main/java/com/type/property/optional/StringOperationClient.java index e867b3237e..7317db1040 100644 --- a/typespec-tests/src/main/java/com/type/property/optional/StringOperationClient.java +++ b/typespec-tests/src/main/java/com/type/property/optional/StringOperationClient.java @@ -93,9 +93,7 @@ public Response getDefaultWithResponse(RequestOptions requestOptions * } * * @param body Template type for testing models with optional property. Pass in the type of the property you are - * looking for - * - * The body parameter. + * looking for. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -120,9 +118,7 @@ public Response putAllWithResponse(BinaryData body, RequestOptions request * } * * @param body Template type for testing models with optional property. Pass in the type of the property you are - * looking for - * - * The body parameter. + * looking for. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -176,9 +172,7 @@ public StringProperty getDefault() { * Put a body with all properties present. * * @param body Template type for testing models with optional property. Pass in the type of the property you are - * looking for - * - * The body parameter. + * looking for. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -198,9 +192,7 @@ public void putAll(StringProperty body) { * Put a body with default properties. * * @param body Template type for testing models with optional property. Pass in the type of the property you are - * looking for - * - * The body parameter. + * looking for. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/optional/UnionFloatLiteralAsyncClient.java b/typespec-tests/src/main/java/com/type/property/optional/UnionFloatLiteralAsyncClient.java index 2f57be0b4c..35e2d5b20b 100644 --- a/typespec-tests/src/main/java/com/type/property/optional/UnionFloatLiteralAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/optional/UnionFloatLiteralAsyncClient.java @@ -96,9 +96,7 @@ public Mono> getDefaultWithResponse(RequestOptions requestO * } * } * - * @param body Model with union of float literal property - * - * The body parameter. + * @param body Model with union of float literal property. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -122,9 +120,7 @@ public Mono> putAllWithResponse(BinaryData body, RequestOptions r * } * } * - * @param body Model with union of float literal property - * - * The body parameter. + * @param body Model with union of float literal property. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -179,9 +175,7 @@ public Mono getDefault() { /** * Put a body with all properties present. * - * @param body Model with union of float literal property - * - * The body parameter. + * @param body Model with union of float literal property. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -201,9 +195,7 @@ public Mono putAll(UnionFloatLiteralProperty body) { /** * Put a body with default properties. * - * @param body Model with union of float literal property - * - * The body parameter. + * @param body Model with union of float literal property. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/optional/UnionFloatLiteralClient.java b/typespec-tests/src/main/java/com/type/property/optional/UnionFloatLiteralClient.java index 69b4eff173..9096e212a0 100644 --- a/typespec-tests/src/main/java/com/type/property/optional/UnionFloatLiteralClient.java +++ b/typespec-tests/src/main/java/com/type/property/optional/UnionFloatLiteralClient.java @@ -92,9 +92,7 @@ public Response getDefaultWithResponse(RequestOptions requestOptions * } * } * - * @param body Model with union of float literal property - * - * The body parameter. + * @param body Model with union of float literal property. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -118,9 +116,7 @@ public Response putAllWithResponse(BinaryData body, RequestOptions request * } * } * - * @param body Model with union of float literal property - * - * The body parameter. + * @param body Model with union of float literal property. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -173,9 +169,7 @@ public UnionFloatLiteralProperty getDefault() { /** * Put a body with all properties present. * - * @param body Model with union of float literal property - * - * The body parameter. + * @param body Model with union of float literal property. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -194,9 +188,7 @@ public void putAll(UnionFloatLiteralProperty body) { /** * Put a body with default properties. * - * @param body Model with union of float literal property - * - * The body parameter. + * @param body Model with union of float literal property. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/optional/UnionIntLiteralAsyncClient.java b/typespec-tests/src/main/java/com/type/property/optional/UnionIntLiteralAsyncClient.java index 0548abff85..da845801ae 100644 --- a/typespec-tests/src/main/java/com/type/property/optional/UnionIntLiteralAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/optional/UnionIntLiteralAsyncClient.java @@ -96,9 +96,7 @@ public Mono> getDefaultWithResponse(RequestOptions requestO * } * } * - * @param body Model with union of int literal property - * - * The body parameter. + * @param body Model with union of int literal property. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -122,9 +120,7 @@ public Mono> putAllWithResponse(BinaryData body, RequestOptions r * } * } * - * @param body Model with union of int literal property - * - * The body parameter. + * @param body Model with union of int literal property. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -179,9 +175,7 @@ public Mono getDefault() { /** * Put a body with all properties present. * - * @param body Model with union of int literal property - * - * The body parameter. + * @param body Model with union of int literal property. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -201,9 +195,7 @@ public Mono putAll(UnionIntLiteralProperty body) { /** * Put a body with default properties. * - * @param body Model with union of int literal property - * - * The body parameter. + * @param body Model with union of int literal property. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/optional/UnionIntLiteralClient.java b/typespec-tests/src/main/java/com/type/property/optional/UnionIntLiteralClient.java index 81f2788f22..3fa88f853a 100644 --- a/typespec-tests/src/main/java/com/type/property/optional/UnionIntLiteralClient.java +++ b/typespec-tests/src/main/java/com/type/property/optional/UnionIntLiteralClient.java @@ -92,9 +92,7 @@ public Response getDefaultWithResponse(RequestOptions requestOptions * } * } * - * @param body Model with union of int literal property - * - * The body parameter. + * @param body Model with union of int literal property. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -118,9 +116,7 @@ public Response putAllWithResponse(BinaryData body, RequestOptions request * } * } * - * @param body Model with union of int literal property - * - * The body parameter. + * @param body Model with union of int literal property. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -173,9 +169,7 @@ public UnionIntLiteralProperty getDefault() { /** * Put a body with all properties present. * - * @param body Model with union of int literal property - * - * The body parameter. + * @param body Model with union of int literal property. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -194,9 +188,7 @@ public void putAll(UnionIntLiteralProperty body) { /** * Put a body with default properties. * - * @param body Model with union of int literal property - * - * The body parameter. + * @param body Model with union of int literal property. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/optional/UnionStringLiteralAsyncClient.java b/typespec-tests/src/main/java/com/type/property/optional/UnionStringLiteralAsyncClient.java index d0f16a171b..0f2ebf9b97 100644 --- a/typespec-tests/src/main/java/com/type/property/optional/UnionStringLiteralAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/optional/UnionStringLiteralAsyncClient.java @@ -96,9 +96,7 @@ public Mono> getDefaultWithResponse(RequestOptions requestO * } * } * - * @param body Model with union of string literal property - * - * The body parameter. + * @param body Model with union of string literal property. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -122,9 +120,7 @@ public Mono> putAllWithResponse(BinaryData body, RequestOptions r * } * } * - * @param body Model with union of string literal property - * - * The body parameter. + * @param body Model with union of string literal property. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -179,9 +175,7 @@ public Mono getDefault() { /** * Put a body with all properties present. * - * @param body Model with union of string literal property - * - * The body parameter. + * @param body Model with union of string literal property. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -201,9 +195,7 @@ public Mono putAll(UnionStringLiteralProperty body) { /** * Put a body with default properties. * - * @param body Model with union of string literal property - * - * The body parameter. + * @param body Model with union of string literal property. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/optional/UnionStringLiteralClient.java b/typespec-tests/src/main/java/com/type/property/optional/UnionStringLiteralClient.java index f23309f82c..30c176c7b3 100644 --- a/typespec-tests/src/main/java/com/type/property/optional/UnionStringLiteralClient.java +++ b/typespec-tests/src/main/java/com/type/property/optional/UnionStringLiteralClient.java @@ -92,9 +92,7 @@ public Response getDefaultWithResponse(RequestOptions requestOptions * } * } * - * @param body Model with union of string literal property - * - * The body parameter. + * @param body Model with union of string literal property. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -118,9 +116,7 @@ public Response putAllWithResponse(BinaryData body, RequestOptions request * } * } * - * @param body Model with union of string literal property - * - * The body parameter. + * @param body Model with union of string literal property. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -173,9 +169,7 @@ public UnionStringLiteralProperty getDefault() { /** * Put a body with all properties present. * - * @param body Model with union of string literal property - * - * The body parameter. + * @param body Model with union of string literal property. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -194,9 +188,7 @@ public void putAll(UnionStringLiteralProperty body) { /** * Put a body with default properties. * - * @param body Model with union of string literal property - * - * The body parameter. + * @param body Model with union of string literal property. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/optional/implementation/BooleanLiteralsImpl.java b/typespec-tests/src/main/java/com/type/property/optional/implementation/BooleanLiteralsImpl.java index 0da708f842..a371425ede 100644 --- a/typespec-tests/src/main/java/com/type/property/optional/implementation/BooleanLiteralsImpl.java +++ b/typespec-tests/src/main/java/com/type/property/optional/implementation/BooleanLiteralsImpl.java @@ -235,9 +235,7 @@ public Response getDefaultWithResponse(RequestOptions requestOptions * } * } * - * @param body Model with boolean literal property - * - * The body parameter. + * @param body Model with boolean literal property. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -261,9 +259,7 @@ public Mono> putAllWithResponseAsync(BinaryData body, RequestOpti * } * } * - * @param body Model with boolean literal property - * - * The body parameter. + * @param body Model with boolean literal property. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -287,9 +283,7 @@ public Response putAllWithResponse(BinaryData body, RequestOptions request * } * } * - * @param body Model with boolean literal property - * - * The body parameter. + * @param body Model with boolean literal property. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -313,9 +307,7 @@ public Mono> putDefaultWithResponseAsync(BinaryData body, Request * } * } * - * @param body Model with boolean literal property - * - * The body parameter. + * @param body Model with boolean literal property. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/optional/implementation/BytesImpl.java b/typespec-tests/src/main/java/com/type/property/optional/implementation/BytesImpl.java index caad3dd46a..3d3ef8f57f 100644 --- a/typespec-tests/src/main/java/com/type/property/optional/implementation/BytesImpl.java +++ b/typespec-tests/src/main/java/com/type/property/optional/implementation/BytesImpl.java @@ -235,9 +235,7 @@ public Response getDefaultWithResponse(RequestOptions requestOptions * } * * @param body Template type for testing models with optional property. Pass in the type of the property you are - * looking for - * - * The body parameter. + * looking for. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -262,9 +260,7 @@ public Mono> putAllWithResponseAsync(BinaryData body, RequestOpti * } * * @param body Template type for testing models with optional property. Pass in the type of the property you are - * looking for - * - * The body parameter. + * looking for. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -289,9 +285,7 @@ public Response putAllWithResponse(BinaryData body, RequestOptions request * } * * @param body Template type for testing models with optional property. Pass in the type of the property you are - * looking for - * - * The body parameter. + * looking for. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -316,9 +310,7 @@ public Mono> putDefaultWithResponseAsync(BinaryData body, Request * } * * @param body Template type for testing models with optional property. Pass in the type of the property you are - * looking for - * - * The body parameter. + * looking for. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/optional/implementation/CollectionsBytesImpl.java b/typespec-tests/src/main/java/com/type/property/optional/implementation/CollectionsBytesImpl.java index bb795059da..5560995bf2 100644 --- a/typespec-tests/src/main/java/com/type/property/optional/implementation/CollectionsBytesImpl.java +++ b/typespec-tests/src/main/java/com/type/property/optional/implementation/CollectionsBytesImpl.java @@ -245,9 +245,7 @@ public Response getDefaultWithResponse(RequestOptions requestOptions * } * } * - * @param body Model with collection bytes properties - * - * The body parameter. + * @param body Model with collection bytes properties. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -273,9 +271,7 @@ public Mono> putAllWithResponseAsync(BinaryData body, RequestOpti * } * } * - * @param body Model with collection bytes properties - * - * The body parameter. + * @param body Model with collection bytes properties. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -301,9 +297,7 @@ public Response putAllWithResponse(BinaryData body, RequestOptions request * } * } * - * @param body Model with collection bytes properties - * - * The body parameter. + * @param body Model with collection bytes properties. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -329,9 +323,7 @@ public Mono> putDefaultWithResponseAsync(BinaryData body, Request * } * } * - * @param body Model with collection bytes properties - * - * The body parameter. + * @param body Model with collection bytes properties. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/optional/implementation/CollectionsModelsImpl.java b/typespec-tests/src/main/java/com/type/property/optional/implementation/CollectionsModelsImpl.java index 4e0437536f..db2a5e0c3b 100644 --- a/typespec-tests/src/main/java/com/type/property/optional/implementation/CollectionsModelsImpl.java +++ b/typespec-tests/src/main/java/com/type/property/optional/implementation/CollectionsModelsImpl.java @@ -255,9 +255,7 @@ public Response getDefaultWithResponse(RequestOptions requestOptions * } * } * - * @param body Model with collection models properties - * - * The body parameter. + * @param body Model with collection models properties. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -285,9 +283,7 @@ public Mono> putAllWithResponseAsync(BinaryData body, RequestOpti * } * } * - * @param body Model with collection models properties - * - * The body parameter. + * @param body Model with collection models properties. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -315,9 +311,7 @@ public Response putAllWithResponse(BinaryData body, RequestOptions request * } * } * - * @param body Model with collection models properties - * - * The body parameter. + * @param body Model with collection models properties. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -345,9 +339,7 @@ public Mono> putDefaultWithResponseAsync(BinaryData body, Request * } * } * - * @param body Model with collection models properties - * - * The body parameter. + * @param body Model with collection models properties. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/optional/implementation/DatetimeOperationsImpl.java b/typespec-tests/src/main/java/com/type/property/optional/implementation/DatetimeOperationsImpl.java index 1e4ca87069..84e7a47a2a 100644 --- a/typespec-tests/src/main/java/com/type/property/optional/implementation/DatetimeOperationsImpl.java +++ b/typespec-tests/src/main/java/com/type/property/optional/implementation/DatetimeOperationsImpl.java @@ -235,9 +235,7 @@ public Response getDefaultWithResponse(RequestOptions requestOptions * } * } * - * @param body Model with a datetime property - * - * The body parameter. + * @param body Model with a datetime property. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -261,9 +259,7 @@ public Mono> putAllWithResponseAsync(BinaryData body, RequestOpti * } * } * - * @param body Model with a datetime property - * - * The body parameter. + * @param body Model with a datetime property. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -287,9 +283,7 @@ public Response putAllWithResponse(BinaryData body, RequestOptions request * } * } * - * @param body Model with a datetime property - * - * The body parameter. + * @param body Model with a datetime property. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -313,9 +307,7 @@ public Mono> putDefaultWithResponseAsync(BinaryData body, Request * } * } * - * @param body Model with a datetime property - * - * The body parameter. + * @param body Model with a datetime property. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/optional/implementation/DurationOperationsImpl.java b/typespec-tests/src/main/java/com/type/property/optional/implementation/DurationOperationsImpl.java index ea8e5f9744..53a6acc5cc 100644 --- a/typespec-tests/src/main/java/com/type/property/optional/implementation/DurationOperationsImpl.java +++ b/typespec-tests/src/main/java/com/type/property/optional/implementation/DurationOperationsImpl.java @@ -235,9 +235,7 @@ public Response getDefaultWithResponse(RequestOptions requestOptions * } * } * - * @param body Model with a duration property - * - * The body parameter. + * @param body Model with a duration property. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -261,9 +259,7 @@ public Mono> putAllWithResponseAsync(BinaryData body, RequestOpti * } * } * - * @param body Model with a duration property - * - * The body parameter. + * @param body Model with a duration property. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -287,9 +283,7 @@ public Response putAllWithResponse(BinaryData body, RequestOptions request * } * } * - * @param body Model with a duration property - * - * The body parameter. + * @param body Model with a duration property. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -313,9 +307,7 @@ public Mono> putDefaultWithResponseAsync(BinaryData body, Request * } * } * - * @param body Model with a duration property - * - * The body parameter. + * @param body Model with a duration property. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/optional/implementation/FloatLiteralsImpl.java b/typespec-tests/src/main/java/com/type/property/optional/implementation/FloatLiteralsImpl.java index 3278e424b2..ebde36a60b 100644 --- a/typespec-tests/src/main/java/com/type/property/optional/implementation/FloatLiteralsImpl.java +++ b/typespec-tests/src/main/java/com/type/property/optional/implementation/FloatLiteralsImpl.java @@ -235,9 +235,7 @@ public Response getDefaultWithResponse(RequestOptions requestOptions * } * } * - * @param body Model with float literal property - * - * The body parameter. + * @param body Model with float literal property. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -261,9 +259,7 @@ public Mono> putAllWithResponseAsync(BinaryData body, RequestOpti * } * } * - * @param body Model with float literal property - * - * The body parameter. + * @param body Model with float literal property. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -287,9 +283,7 @@ public Response putAllWithResponse(BinaryData body, RequestOptions request * } * } * - * @param body Model with float literal property - * - * The body parameter. + * @param body Model with float literal property. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -313,9 +307,7 @@ public Mono> putDefaultWithResponseAsync(BinaryData body, Request * } * } * - * @param body Model with float literal property - * - * The body parameter. + * @param body Model with float literal property. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/optional/implementation/IntLiteralsImpl.java b/typespec-tests/src/main/java/com/type/property/optional/implementation/IntLiteralsImpl.java index 3018591332..8b7814c798 100644 --- a/typespec-tests/src/main/java/com/type/property/optional/implementation/IntLiteralsImpl.java +++ b/typespec-tests/src/main/java/com/type/property/optional/implementation/IntLiteralsImpl.java @@ -235,9 +235,7 @@ public Response getDefaultWithResponse(RequestOptions requestOptions * } * } * - * @param body Model with int literal property - * - * The body parameter. + * @param body Model with int literal property. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -261,9 +259,7 @@ public Mono> putAllWithResponseAsync(BinaryData body, RequestOpti * } * } * - * @param body Model with int literal property - * - * The body parameter. + * @param body Model with int literal property. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -287,9 +283,7 @@ public Response putAllWithResponse(BinaryData body, RequestOptions request * } * } * - * @param body Model with int literal property - * - * The body parameter. + * @param body Model with int literal property. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -313,9 +307,7 @@ public Mono> putDefaultWithResponseAsync(BinaryData body, Request * } * } * - * @param body Model with int literal property - * - * The body parameter. + * @param body Model with int literal property. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/optional/implementation/RequiredAndOptionalsImpl.java b/typespec-tests/src/main/java/com/type/property/optional/implementation/RequiredAndOptionalsImpl.java index b7c7e40ceb..82ad0bf455 100644 --- a/typespec-tests/src/main/java/com/type/property/optional/implementation/RequiredAndOptionalsImpl.java +++ b/typespec-tests/src/main/java/com/type/property/optional/implementation/RequiredAndOptionalsImpl.java @@ -240,9 +240,7 @@ public Response getRequiredOnlyWithResponse(RequestOptions requestOp * } * } * - * @param body Model with required and optional properties - * - * The body parameter. + * @param body Model with required and optional properties. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -267,9 +265,7 @@ public Mono> putAllWithResponseAsync(BinaryData body, RequestOpti * } * } * - * @param body Model with required and optional properties - * - * The body parameter. + * @param body Model with required and optional properties. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -294,9 +290,7 @@ public Response putAllWithResponse(BinaryData body, RequestOptions request * } * } * - * @param body Model with required and optional properties - * - * The body parameter. + * @param body Model with required and optional properties. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -321,9 +315,7 @@ public Mono> putRequiredOnlyWithResponseAsync(BinaryData body, Re * } * } * - * @param body Model with required and optional properties - * - * The body parameter. + * @param body Model with required and optional properties. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/optional/implementation/StringLiteralsImpl.java b/typespec-tests/src/main/java/com/type/property/optional/implementation/StringLiteralsImpl.java index 370c8022d6..88dd8e81b1 100644 --- a/typespec-tests/src/main/java/com/type/property/optional/implementation/StringLiteralsImpl.java +++ b/typespec-tests/src/main/java/com/type/property/optional/implementation/StringLiteralsImpl.java @@ -235,9 +235,7 @@ public Response getDefaultWithResponse(RequestOptions requestOptions * } * } * - * @param body Model with string literal property - * - * The body parameter. + * @param body Model with string literal property. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -261,9 +259,7 @@ public Mono> putAllWithResponseAsync(BinaryData body, RequestOpti * } * } * - * @param body Model with string literal property - * - * The body parameter. + * @param body Model with string literal property. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -287,9 +283,7 @@ public Response putAllWithResponse(BinaryData body, RequestOptions request * } * } * - * @param body Model with string literal property - * - * The body parameter. + * @param body Model with string literal property. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -313,9 +307,7 @@ public Mono> putDefaultWithResponseAsync(BinaryData body, Request * } * } * - * @param body Model with string literal property - * - * The body parameter. + * @param body Model with string literal property. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/optional/implementation/StringOperationsImpl.java b/typespec-tests/src/main/java/com/type/property/optional/implementation/StringOperationsImpl.java index c72d083d43..7ed6d7c1bf 100644 --- a/typespec-tests/src/main/java/com/type/property/optional/implementation/StringOperationsImpl.java +++ b/typespec-tests/src/main/java/com/type/property/optional/implementation/StringOperationsImpl.java @@ -236,9 +236,7 @@ public Response getDefaultWithResponse(RequestOptions requestOptions * } * * @param body Template type for testing models with optional property. Pass in the type of the property you are - * looking for - * - * The body parameter. + * looking for. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -263,9 +261,7 @@ public Mono> putAllWithResponseAsync(BinaryData body, RequestOpti * } * * @param body Template type for testing models with optional property. Pass in the type of the property you are - * looking for - * - * The body parameter. + * looking for. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -290,9 +286,7 @@ public Response putAllWithResponse(BinaryData body, RequestOptions request * } * * @param body Template type for testing models with optional property. Pass in the type of the property you are - * looking for - * - * The body parameter. + * looking for. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -317,9 +311,7 @@ public Mono> putDefaultWithResponseAsync(BinaryData body, Request * } * * @param body Template type for testing models with optional property. Pass in the type of the property you are - * looking for - * - * The body parameter. + * looking for. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/optional/implementation/UnionFloatLiteralsImpl.java b/typespec-tests/src/main/java/com/type/property/optional/implementation/UnionFloatLiteralsImpl.java index b950da7d8c..1c112bd52b 100644 --- a/typespec-tests/src/main/java/com/type/property/optional/implementation/UnionFloatLiteralsImpl.java +++ b/typespec-tests/src/main/java/com/type/property/optional/implementation/UnionFloatLiteralsImpl.java @@ -235,9 +235,7 @@ public Response getDefaultWithResponse(RequestOptions requestOptions * } * } * - * @param body Model with union of float literal property - * - * The body parameter. + * @param body Model with union of float literal property. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -261,9 +259,7 @@ public Mono> putAllWithResponseAsync(BinaryData body, RequestOpti * } * } * - * @param body Model with union of float literal property - * - * The body parameter. + * @param body Model with union of float literal property. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -287,9 +283,7 @@ public Response putAllWithResponse(BinaryData body, RequestOptions request * } * } * - * @param body Model with union of float literal property - * - * The body parameter. + * @param body Model with union of float literal property. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -313,9 +307,7 @@ public Mono> putDefaultWithResponseAsync(BinaryData body, Request * } * } * - * @param body Model with union of float literal property - * - * The body parameter. + * @param body Model with union of float literal property. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/optional/implementation/UnionIntLiteralsImpl.java b/typespec-tests/src/main/java/com/type/property/optional/implementation/UnionIntLiteralsImpl.java index 635d6a8320..0ed2eb9ea7 100644 --- a/typespec-tests/src/main/java/com/type/property/optional/implementation/UnionIntLiteralsImpl.java +++ b/typespec-tests/src/main/java/com/type/property/optional/implementation/UnionIntLiteralsImpl.java @@ -235,9 +235,7 @@ public Response getDefaultWithResponse(RequestOptions requestOptions * } * } * - * @param body Model with union of int literal property - * - * The body parameter. + * @param body Model with union of int literal property. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -261,9 +259,7 @@ public Mono> putAllWithResponseAsync(BinaryData body, RequestOpti * } * } * - * @param body Model with union of int literal property - * - * The body parameter. + * @param body Model with union of int literal property. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -287,9 +283,7 @@ public Response putAllWithResponse(BinaryData body, RequestOptions request * } * } * - * @param body Model with union of int literal property - * - * The body parameter. + * @param body Model with union of int literal property. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -313,9 +307,7 @@ public Mono> putDefaultWithResponseAsync(BinaryData body, Request * } * } * - * @param body Model with union of int literal property - * - * The body parameter. + * @param body Model with union of int literal property. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/optional/implementation/UnionStringLiteralsImpl.java b/typespec-tests/src/main/java/com/type/property/optional/implementation/UnionStringLiteralsImpl.java index ff2fa0a166..1d2910b6e7 100644 --- a/typespec-tests/src/main/java/com/type/property/optional/implementation/UnionStringLiteralsImpl.java +++ b/typespec-tests/src/main/java/com/type/property/optional/implementation/UnionStringLiteralsImpl.java @@ -235,9 +235,7 @@ public Response getDefaultWithResponse(RequestOptions requestOptions * } * } * - * @param body Model with union of string literal property - * - * The body parameter. + * @param body Model with union of string literal property. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -261,9 +259,7 @@ public Mono> putAllWithResponseAsync(BinaryData body, RequestOpti * } * } * - * @param body Model with union of string literal property - * - * The body parameter. + * @param body Model with union of string literal property. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -287,9 +283,7 @@ public Response putAllWithResponse(BinaryData body, RequestOptions request * } * } * - * @param body Model with union of string literal property - * - * The body parameter. + * @param body Model with union of string literal property. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -313,9 +307,7 @@ public Mono> putDefaultWithResponseAsync(BinaryData body, Request * } * } * - * @param body Model with union of string literal property - * - * The body parameter. + * @param body Model with union of string literal property. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/BooleanLiteralAsyncClient.java b/typespec-tests/src/main/java/com/type/property/valuetypes/BooleanLiteralAsyncClient.java index d9280def1d..f1a87e3b74 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/BooleanLiteralAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/BooleanLiteralAsyncClient.java @@ -72,8 +72,6 @@ public Mono> getWithResponse(RequestOptions requestOptions) * } * * @param body Model with a boolean literal property. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -110,8 +108,6 @@ public Mono get() { * Put operation. * * @param body Model with a boolean literal property. - * - * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/BooleanLiteralClient.java b/typespec-tests/src/main/java/com/type/property/valuetypes/BooleanLiteralClient.java index f478aaa21c..fdd060e24c 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/BooleanLiteralClient.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/BooleanLiteralClient.java @@ -70,8 +70,6 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * * @param body Model with a boolean literal property. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -107,8 +105,6 @@ public BooleanLiteralProperty get() { * Put operation. * * @param body Model with a boolean literal property. - * - * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/BooleanOperationAsyncClient.java b/typespec-tests/src/main/java/com/type/property/valuetypes/BooleanOperationAsyncClient.java index 74301f87a7..91c07285af 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/BooleanOperationAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/BooleanOperationAsyncClient.java @@ -71,9 +71,7 @@ public Mono> getWithResponse(RequestOptions requestOptions) * } * } * - * @param body Model with a boolean property - * - * The body parameter. + * @param body Model with a boolean property. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -109,9 +107,7 @@ public Mono get() { /** * Put operation. * - * @param body Model with a boolean property - * - * The body parameter. + * @param body Model with a boolean property. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/BooleanOperationClient.java b/typespec-tests/src/main/java/com/type/property/valuetypes/BooleanOperationClient.java index 0ebab84c38..bd877dfcd8 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/BooleanOperationClient.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/BooleanOperationClient.java @@ -69,9 +69,7 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body Model with a boolean property - * - * The body parameter. + * @param body Model with a boolean property. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -106,9 +104,7 @@ public BooleanProperty get() { /** * Put operation. * - * @param body Model with a boolean property - * - * The body parameter. + * @param body Model with a boolean property. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/BytesAsyncClient.java b/typespec-tests/src/main/java/com/type/property/valuetypes/BytesAsyncClient.java index ca5b94725c..7838fed7e6 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/BytesAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/BytesAsyncClient.java @@ -71,9 +71,7 @@ public Mono> getWithResponse(RequestOptions requestOptions) * } * } * - * @param body Model with a bytes property - * - * The body parameter. + * @param body Model with a bytes property. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -109,9 +107,7 @@ public Mono get() { /** * Put operation. * - * @param body Model with a bytes property - * - * The body parameter. + * @param body Model with a bytes property. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/BytesClient.java b/typespec-tests/src/main/java/com/type/property/valuetypes/BytesClient.java index aeeae2e350..caf02c81bf 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/BytesClient.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/BytesClient.java @@ -69,9 +69,7 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body Model with a bytes property - * - * The body parameter. + * @param body Model with a bytes property. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -106,9 +104,7 @@ public BytesProperty get() { /** * Put operation. * - * @param body Model with a bytes property - * - * The body parameter. + * @param body Model with a bytes property. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/CollectionsIntAsyncClient.java b/typespec-tests/src/main/java/com/type/property/valuetypes/CollectionsIntAsyncClient.java index 2b6cf6aafa..52619ce424 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/CollectionsIntAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/CollectionsIntAsyncClient.java @@ -75,9 +75,7 @@ public Mono> getWithResponse(RequestOptions requestOptions) * } * } * - * @param body Model with collection int properties - * - * The body parameter. + * @param body Model with collection int properties. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -113,9 +111,7 @@ public Mono get() { /** * Put operation. * - * @param body Model with collection int properties - * - * The body parameter. + * @param body Model with collection int properties. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/CollectionsIntClient.java b/typespec-tests/src/main/java/com/type/property/valuetypes/CollectionsIntClient.java index 66557820d5..c8b0eb08f3 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/CollectionsIntClient.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/CollectionsIntClient.java @@ -73,9 +73,7 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body Model with collection int properties - * - * The body parameter. + * @param body Model with collection int properties. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -110,9 +108,7 @@ public CollectionsIntProperty get() { /** * Put operation. * - * @param body Model with collection int properties - * - * The body parameter. + * @param body Model with collection int properties. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/CollectionsModelAsyncClient.java b/typespec-tests/src/main/java/com/type/property/valuetypes/CollectionsModelAsyncClient.java index 20df9252a8..e3aceee948 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/CollectionsModelAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/CollectionsModelAsyncClient.java @@ -79,9 +79,7 @@ public Mono> getWithResponse(RequestOptions requestOptions) * } * } * - * @param body Model with collection model properties - * - * The body parameter. + * @param body Model with collection model properties. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -117,9 +115,7 @@ public Mono get() { /** * Put operation. * - * @param body Model with collection model properties - * - * The body parameter. + * @param body Model with collection model properties. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/CollectionsModelClient.java b/typespec-tests/src/main/java/com/type/property/valuetypes/CollectionsModelClient.java index f66ac3f53e..c57176e35e 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/CollectionsModelClient.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/CollectionsModelClient.java @@ -77,9 +77,7 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body Model with collection model properties - * - * The body parameter. + * @param body Model with collection model properties. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -114,9 +112,7 @@ public CollectionsModelProperty get() { /** * Put operation. * - * @param body Model with collection model properties - * - * The body parameter. + * @param body Model with collection model properties. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/CollectionsStringAsyncClient.java b/typespec-tests/src/main/java/com/type/property/valuetypes/CollectionsStringAsyncClient.java index c576ea3c70..aadfb40c9c 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/CollectionsStringAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/CollectionsStringAsyncClient.java @@ -75,9 +75,7 @@ public Mono> getWithResponse(RequestOptions requestOptions) * } * } * - * @param body Model with collection string properties - * - * The body parameter. + * @param body Model with collection string properties. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -113,9 +111,7 @@ public Mono get() { /** * Put operation. * - * @param body Model with collection string properties - * - * The body parameter. + * @param body Model with collection string properties. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/CollectionsStringClient.java b/typespec-tests/src/main/java/com/type/property/valuetypes/CollectionsStringClient.java index 7cde15908a..075c2fe432 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/CollectionsStringClient.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/CollectionsStringClient.java @@ -73,9 +73,7 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body Model with collection string properties - * - * The body parameter. + * @param body Model with collection string properties. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -110,9 +108,7 @@ public CollectionsStringProperty get() { /** * Put operation. * - * @param body Model with collection string properties - * - * The body parameter. + * @param body Model with collection string properties. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/DatetimeOperationAsyncClient.java b/typespec-tests/src/main/java/com/type/property/valuetypes/DatetimeOperationAsyncClient.java index c8d0902ae2..abe1fffd0e 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/DatetimeOperationAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/DatetimeOperationAsyncClient.java @@ -71,9 +71,7 @@ public Mono> getWithResponse(RequestOptions requestOptions) * } * } * - * @param body Model with a datetime property - * - * The body parameter. + * @param body Model with a datetime property. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -109,9 +107,7 @@ public Mono get() { /** * Put operation. * - * @param body Model with a datetime property - * - * The body parameter. + * @param body Model with a datetime property. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/DatetimeOperationClient.java b/typespec-tests/src/main/java/com/type/property/valuetypes/DatetimeOperationClient.java index 6cf51d138b..6b64ea1655 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/DatetimeOperationClient.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/DatetimeOperationClient.java @@ -69,9 +69,7 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body Model with a datetime property - * - * The body parameter. + * @param body Model with a datetime property. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -106,9 +104,7 @@ public DatetimeProperty get() { /** * Put operation. * - * @param body Model with a datetime property - * - * The body parameter. + * @param body Model with a datetime property. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/Decimal128AsyncClient.java b/typespec-tests/src/main/java/com/type/property/valuetypes/Decimal128AsyncClient.java index 4abbcc03f8..d9dd4d3b36 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/Decimal128AsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/Decimal128AsyncClient.java @@ -71,9 +71,7 @@ public Mono> getWithResponse(RequestOptions requestOptions) * } * } * - * @param body Model with a decimal128 property - * - * The body parameter. + * @param body Model with a decimal128 property. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -109,9 +107,7 @@ public Mono get() { /** * Put operation. * - * @param body Model with a decimal128 property - * - * The body parameter. + * @param body Model with a decimal128 property. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/Decimal128Client.java b/typespec-tests/src/main/java/com/type/property/valuetypes/Decimal128Client.java index f7457705df..9379cc5655 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/Decimal128Client.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/Decimal128Client.java @@ -69,9 +69,7 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body Model with a decimal128 property - * - * The body parameter. + * @param body Model with a decimal128 property. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -106,9 +104,7 @@ public Decimal128Property get() { /** * Put operation. * - * @param body Model with a decimal128 property - * - * The body parameter. + * @param body Model with a decimal128 property. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/DecimalAsyncClient.java b/typespec-tests/src/main/java/com/type/property/valuetypes/DecimalAsyncClient.java index 4fd2fc4203..d22ba27b99 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/DecimalAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/DecimalAsyncClient.java @@ -71,9 +71,7 @@ public Mono> getWithResponse(RequestOptions requestOptions) * } * } * - * @param body Model with a decimal property - * - * The body parameter. + * @param body Model with a decimal property. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -109,9 +107,7 @@ public Mono get() { /** * Put operation. * - * @param body Model with a decimal property - * - * The body parameter. + * @param body Model with a decimal property. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/DecimalClient.java b/typespec-tests/src/main/java/com/type/property/valuetypes/DecimalClient.java index 9abebed456..08cbf4e1af 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/DecimalClient.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/DecimalClient.java @@ -69,9 +69,7 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body Model with a decimal property - * - * The body parameter. + * @param body Model with a decimal property. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -106,9 +104,7 @@ public DecimalProperty get() { /** * Put operation. * - * @param body Model with a decimal property - * - * The body parameter. + * @param body Model with a decimal property. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/DictionaryStringAsyncClient.java b/typespec-tests/src/main/java/com/type/property/valuetypes/DictionaryStringAsyncClient.java index a458080ec5..253f74c77e 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/DictionaryStringAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/DictionaryStringAsyncClient.java @@ -75,9 +75,7 @@ public Mono> getWithResponse(RequestOptions requestOptions) * } * } * - * @param body Model with dictionary string properties - * - * The body parameter. + * @param body Model with dictionary string properties. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -113,9 +111,7 @@ public Mono get() { /** * Put operation. * - * @param body Model with dictionary string properties - * - * The body parameter. + * @param body Model with dictionary string properties. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/DictionaryStringClient.java b/typespec-tests/src/main/java/com/type/property/valuetypes/DictionaryStringClient.java index c2311a7e0b..cc33eda221 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/DictionaryStringClient.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/DictionaryStringClient.java @@ -73,9 +73,7 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body Model with dictionary string properties - * - * The body parameter. + * @param body Model with dictionary string properties. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -110,9 +108,7 @@ public DictionaryStringProperty get() { /** * Put operation. * - * @param body Model with dictionary string properties - * - * The body parameter. + * @param body Model with dictionary string properties. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/DurationOperationAsyncClient.java b/typespec-tests/src/main/java/com/type/property/valuetypes/DurationOperationAsyncClient.java index b7c480f353..00f5597feb 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/DurationOperationAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/DurationOperationAsyncClient.java @@ -71,9 +71,7 @@ public Mono> getWithResponse(RequestOptions requestOptions) * } * } * - * @param body Model with a duration property - * - * The body parameter. + * @param body Model with a duration property. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -109,9 +107,7 @@ public Mono get() { /** * Put operation. * - * @param body Model with a duration property - * - * The body parameter. + * @param body Model with a duration property. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/DurationOperationClient.java b/typespec-tests/src/main/java/com/type/property/valuetypes/DurationOperationClient.java index d4e6c2a42e..648d21df36 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/DurationOperationClient.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/DurationOperationClient.java @@ -69,9 +69,7 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body Model with a duration property - * - * The body parameter. + * @param body Model with a duration property. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -106,9 +104,7 @@ public DurationProperty get() { /** * Put operation. * - * @param body Model with a duration property - * - * The body parameter. + * @param body Model with a duration property. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/EnumAsyncClient.java b/typespec-tests/src/main/java/com/type/property/valuetypes/EnumAsyncClient.java index fa6069cb99..29e8ccb1eb 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/EnumAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/EnumAsyncClient.java @@ -71,9 +71,7 @@ public Mono> getWithResponse(RequestOptions requestOptions) * } * } * - * @param body Model with enum properties - * - * The body parameter. + * @param body Model with enum properties. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -109,9 +107,7 @@ public Mono get() { /** * Put operation. * - * @param body Model with enum properties - * - * The body parameter. + * @param body Model with enum properties. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/EnumClient.java b/typespec-tests/src/main/java/com/type/property/valuetypes/EnumClient.java index 4d011a7f87..217f620fbc 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/EnumClient.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/EnumClient.java @@ -69,9 +69,7 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body Model with enum properties - * - * The body parameter. + * @param body Model with enum properties. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -106,9 +104,7 @@ public EnumProperty get() { /** * Put operation. * - * @param body Model with enum properties - * - * The body parameter. + * @param body Model with enum properties. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/ExtensibleEnumAsyncClient.java b/typespec-tests/src/main/java/com/type/property/valuetypes/ExtensibleEnumAsyncClient.java index 041ae11a9f..900d90a814 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/ExtensibleEnumAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/ExtensibleEnumAsyncClient.java @@ -71,9 +71,7 @@ public Mono> getWithResponse(RequestOptions requestOptions) * } * } * - * @param body Model with extensible enum properties - * - * The body parameter. + * @param body Model with extensible enum properties. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -109,9 +107,7 @@ public Mono get() { /** * Put operation. * - * @param body Model with extensible enum properties - * - * The body parameter. + * @param body Model with extensible enum properties. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/ExtensibleEnumClient.java b/typespec-tests/src/main/java/com/type/property/valuetypes/ExtensibleEnumClient.java index b5c25bb73c..503e426595 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/ExtensibleEnumClient.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/ExtensibleEnumClient.java @@ -69,9 +69,7 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body Model with extensible enum properties - * - * The body parameter. + * @param body Model with extensible enum properties. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -106,9 +104,7 @@ public ExtensibleEnumProperty get() { /** * Put operation. * - * @param body Model with extensible enum properties - * - * The body parameter. + * @param body Model with extensible enum properties. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/FloatLiteralAsyncClient.java b/typespec-tests/src/main/java/com/type/property/valuetypes/FloatLiteralAsyncClient.java index 209f4b6927..376a7ea85f 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/FloatLiteralAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/FloatLiteralAsyncClient.java @@ -72,8 +72,6 @@ public Mono> getWithResponse(RequestOptions requestOptions) * } * * @param body Model with a float literal property. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -110,8 +108,6 @@ public Mono get() { * Put operation. * * @param body Model with a float literal property. - * - * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/FloatLiteralClient.java b/typespec-tests/src/main/java/com/type/property/valuetypes/FloatLiteralClient.java index f0d49b4ba2..0c545a53ed 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/FloatLiteralClient.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/FloatLiteralClient.java @@ -70,8 +70,6 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * * @param body Model with a float literal property. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -107,8 +105,6 @@ public FloatLiteralProperty get() { * Put operation. * * @param body Model with a float literal property. - * - * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/FloatOperationAsyncClient.java b/typespec-tests/src/main/java/com/type/property/valuetypes/FloatOperationAsyncClient.java index aa3d460ae7..13d8d77056 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/FloatOperationAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/FloatOperationAsyncClient.java @@ -71,9 +71,7 @@ public Mono> getWithResponse(RequestOptions requestOptions) * } * } * - * @param body Model with a float property - * - * The body parameter. + * @param body Model with a float property. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -109,9 +107,7 @@ public Mono get() { /** * Put operation. * - * @param body Model with a float property - * - * The body parameter. + * @param body Model with a float property. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/FloatOperationClient.java b/typespec-tests/src/main/java/com/type/property/valuetypes/FloatOperationClient.java index a26a2dbe7a..284f066882 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/FloatOperationClient.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/FloatOperationClient.java @@ -69,9 +69,7 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body Model with a float property - * - * The body parameter. + * @param body Model with a float property. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -106,9 +104,7 @@ public FloatProperty get() { /** * Put operation. * - * @param body Model with a float property - * - * The body parameter. + * @param body Model with a float property. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/IntAsyncClient.java b/typespec-tests/src/main/java/com/type/property/valuetypes/IntAsyncClient.java index dc2ab5a1c0..ebb8e1095f 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/IntAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/IntAsyncClient.java @@ -71,9 +71,7 @@ public Mono> getWithResponse(RequestOptions requestOptions) * } * } * - * @param body Model with a int property - * - * The body parameter. + * @param body Model with a int property. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -109,9 +107,7 @@ public Mono get() { /** * Put operation. * - * @param body Model with a int property - * - * The body parameter. + * @param body Model with a int property. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/IntClient.java b/typespec-tests/src/main/java/com/type/property/valuetypes/IntClient.java index 43f9245691..0f4f938cb5 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/IntClient.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/IntClient.java @@ -69,9 +69,7 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body Model with a int property - * - * The body parameter. + * @param body Model with a int property. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -106,9 +104,7 @@ public IntProperty get() { /** * Put operation. * - * @param body Model with a int property - * - * The body parameter. + * @param body Model with a int property. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/IntLiteralAsyncClient.java b/typespec-tests/src/main/java/com/type/property/valuetypes/IntLiteralAsyncClient.java index 46d2a9f6c7..0586463d20 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/IntLiteralAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/IntLiteralAsyncClient.java @@ -72,8 +72,6 @@ public Mono> getWithResponse(RequestOptions requestOptions) * } * * @param body Model with a int literal property. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -110,8 +108,6 @@ public Mono get() { * Put operation. * * @param body Model with a int literal property. - * - * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/IntLiteralClient.java b/typespec-tests/src/main/java/com/type/property/valuetypes/IntLiteralClient.java index 92b770d5cd..1374d95a47 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/IntLiteralClient.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/IntLiteralClient.java @@ -70,8 +70,6 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * * @param body Model with a int literal property. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -107,8 +105,6 @@ public IntLiteralProperty get() { * Put operation. * * @param body Model with a int literal property. - * - * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/ModelAsyncClient.java b/typespec-tests/src/main/java/com/type/property/valuetypes/ModelAsyncClient.java index 127d252b47..e7be6fa4f3 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/ModelAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/ModelAsyncClient.java @@ -75,9 +75,7 @@ public Mono> getWithResponse(RequestOptions requestOptions) * } * } * - * @param body Model with model properties - * - * The body parameter. + * @param body Model with model properties. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -113,9 +111,7 @@ public Mono get() { /** * Put operation. * - * @param body Model with model properties - * - * The body parameter. + * @param body Model with model properties. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/ModelClient.java b/typespec-tests/src/main/java/com/type/property/valuetypes/ModelClient.java index 1879282960..b6cb4f00dd 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/ModelClient.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/ModelClient.java @@ -73,9 +73,7 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body Model with model properties - * - * The body parameter. + * @param body Model with model properties. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -110,9 +108,7 @@ public ModelProperty get() { /** * Put operation. * - * @param body Model with model properties - * - * The body parameter. + * @param body Model with model properties. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/NeverAsyncClient.java b/typespec-tests/src/main/java/com/type/property/valuetypes/NeverAsyncClient.java index 1536c98802..0e40fbceca 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/NeverAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/NeverAsyncClient.java @@ -68,8 +68,6 @@ public Mono> getWithResponse(RequestOptions requestOptions) * } * * @param body Model with a property never. (This property should not be included). - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -106,8 +104,6 @@ public Mono get() { * Put operation. * * @param body Model with a property never. (This property should not be included). - * - * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/NeverClient.java b/typespec-tests/src/main/java/com/type/property/valuetypes/NeverClient.java index 588b3d344c..4919ae1ad3 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/NeverClient.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/NeverClient.java @@ -66,8 +66,6 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * * @param body Model with a property never. (This property should not be included). - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -103,8 +101,6 @@ public NeverProperty get() { * Put operation. * * @param body Model with a property never. (This property should not be included). - * - * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/StringLiteralAsyncClient.java b/typespec-tests/src/main/java/com/type/property/valuetypes/StringLiteralAsyncClient.java index 4cc9752936..5f827214fe 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/StringLiteralAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/StringLiteralAsyncClient.java @@ -72,8 +72,6 @@ public Mono> getWithResponse(RequestOptions requestOptions) * } * * @param body Model with a string literal property. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -110,8 +108,6 @@ public Mono get() { * Put operation. * * @param body Model with a string literal property. - * - * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/StringLiteralClient.java b/typespec-tests/src/main/java/com/type/property/valuetypes/StringLiteralClient.java index c671a1300f..8d685f096a 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/StringLiteralClient.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/StringLiteralClient.java @@ -70,8 +70,6 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * * @param body Model with a string literal property. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -107,8 +105,6 @@ public StringLiteralProperty get() { * Put operation. * * @param body Model with a string literal property. - * - * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/StringOperationAsyncClient.java b/typespec-tests/src/main/java/com/type/property/valuetypes/StringOperationAsyncClient.java index 3aabbb743b..b5bbfbceac 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/StringOperationAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/StringOperationAsyncClient.java @@ -71,9 +71,7 @@ public Mono> getWithResponse(RequestOptions requestOptions) * } * } * - * @param body Model with a string property - * - * The body parameter. + * @param body Model with a string property. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -109,9 +107,7 @@ public Mono get() { /** * Put operation. * - * @param body Model with a string property - * - * The body parameter. + * @param body Model with a string property. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/StringOperationClient.java b/typespec-tests/src/main/java/com/type/property/valuetypes/StringOperationClient.java index 9a6137e4f1..191976579c 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/StringOperationClient.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/StringOperationClient.java @@ -69,9 +69,7 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body Model with a string property - * - * The body parameter. + * @param body Model with a string property. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -106,9 +104,7 @@ public StringProperty get() { /** * Put operation. * - * @param body Model with a string property - * - * The body parameter. + * @param body Model with a string property. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/UnionEnumValueAsyncClient.java b/typespec-tests/src/main/java/com/type/property/valuetypes/UnionEnumValueAsyncClient.java index fc99d1f689..0c574b330d 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/UnionEnumValueAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/UnionEnumValueAsyncClient.java @@ -72,9 +72,7 @@ public Mono> getWithResponse(RequestOptions requestOptions) * } * * @param body Template type for testing models with specific properties. Pass in the type of the property you are - * looking for - * - * The body parameter. + * looking for. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -111,9 +109,7 @@ public Mono get() { * Put operation. * * @param body Template type for testing models with specific properties. Pass in the type of the property you are - * looking for - * - * The body parameter. + * looking for. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/UnionEnumValueClient.java b/typespec-tests/src/main/java/com/type/property/valuetypes/UnionEnumValueClient.java index 7e40024417..9939024f8f 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/UnionEnumValueClient.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/UnionEnumValueClient.java @@ -70,9 +70,7 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * * @param body Template type for testing models with specific properties. Pass in the type of the property you are - * looking for - * - * The body parameter. + * looking for. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -108,9 +106,7 @@ public UnionEnumValueProperty get() { * Put operation. * * @param body Template type for testing models with specific properties. Pass in the type of the property you are - * looking for - * - * The body parameter. + * looking for. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/UnionFloatLiteralAsyncClient.java b/typespec-tests/src/main/java/com/type/property/valuetypes/UnionFloatLiteralAsyncClient.java index da2d2b2be7..48f0edb67f 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/UnionFloatLiteralAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/UnionFloatLiteralAsyncClient.java @@ -72,8 +72,6 @@ public Mono> getWithResponse(RequestOptions requestOptions) * } * * @param body Model with a union of float literal as property. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -110,8 +108,6 @@ public Mono get() { * Put operation. * * @param body Model with a union of float literal as property. - * - * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/UnionFloatLiteralClient.java b/typespec-tests/src/main/java/com/type/property/valuetypes/UnionFloatLiteralClient.java index a964a7837b..cd2d89f561 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/UnionFloatLiteralClient.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/UnionFloatLiteralClient.java @@ -70,8 +70,6 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * * @param body Model with a union of float literal as property. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -107,8 +105,6 @@ public UnionFloatLiteralProperty get() { * Put operation. * * @param body Model with a union of float literal as property. - * - * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/UnionIntLiteralAsyncClient.java b/typespec-tests/src/main/java/com/type/property/valuetypes/UnionIntLiteralAsyncClient.java index 0dda83da55..f790a4d98c 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/UnionIntLiteralAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/UnionIntLiteralAsyncClient.java @@ -72,8 +72,6 @@ public Mono> getWithResponse(RequestOptions requestOptions) * } * * @param body Model with a union of int literal as property. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -110,8 +108,6 @@ public Mono get() { * Put operation. * * @param body Model with a union of int literal as property. - * - * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/UnionIntLiteralClient.java b/typespec-tests/src/main/java/com/type/property/valuetypes/UnionIntLiteralClient.java index d03350d4a7..16d2f0d00a 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/UnionIntLiteralClient.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/UnionIntLiteralClient.java @@ -70,8 +70,6 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * * @param body Model with a union of int literal as property. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -107,8 +105,6 @@ public UnionIntLiteralProperty get() { * Put operation. * * @param body Model with a union of int literal as property. - * - * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/UnionStringLiteralAsyncClient.java b/typespec-tests/src/main/java/com/type/property/valuetypes/UnionStringLiteralAsyncClient.java index 232246144b..b0c8ee2213 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/UnionStringLiteralAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/UnionStringLiteralAsyncClient.java @@ -72,8 +72,6 @@ public Mono> getWithResponse(RequestOptions requestOptions) * } * * @param body Model with a union of string literal as property. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -110,8 +108,6 @@ public Mono get() { * Put operation. * * @param body Model with a union of string literal as property. - * - * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/UnionStringLiteralClient.java b/typespec-tests/src/main/java/com/type/property/valuetypes/UnionStringLiteralClient.java index 8e76c1e625..5b097fea37 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/UnionStringLiteralClient.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/UnionStringLiteralClient.java @@ -70,8 +70,6 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * * @param body Model with a union of string literal as property. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -107,8 +105,6 @@ public UnionStringLiteralProperty get() { * Put operation. * * @param body Model with a union of string literal as property. - * - * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/UnknownArrayAsyncClient.java b/typespec-tests/src/main/java/com/type/property/valuetypes/UnknownArrayAsyncClient.java index abc119d7ea..e34e3b9cd4 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/UnknownArrayAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/UnknownArrayAsyncClient.java @@ -72,8 +72,6 @@ public Mono> getWithResponse(RequestOptions requestOptions) * } * * @param body Model with a property unknown, and the data is an array. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -110,8 +108,6 @@ public Mono get() { * Put operation. * * @param body Model with a property unknown, and the data is an array. - * - * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/UnknownArrayClient.java b/typespec-tests/src/main/java/com/type/property/valuetypes/UnknownArrayClient.java index 2c20edd65c..e142173ad7 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/UnknownArrayClient.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/UnknownArrayClient.java @@ -70,8 +70,6 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * * @param body Model with a property unknown, and the data is an array. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -107,8 +105,6 @@ public UnknownArrayProperty get() { * Put operation. * * @param body Model with a property unknown, and the data is an array. - * - * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/UnknownDictAsyncClient.java b/typespec-tests/src/main/java/com/type/property/valuetypes/UnknownDictAsyncClient.java index 209299aa02..3b838deb17 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/UnknownDictAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/UnknownDictAsyncClient.java @@ -72,8 +72,6 @@ public Mono> getWithResponse(RequestOptions requestOptions) * } * * @param body Model with a property unknown, and the data is a dictionnary. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -110,8 +108,6 @@ public Mono get() { * Put operation. * * @param body Model with a property unknown, and the data is a dictionnary. - * - * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/UnknownDictClient.java b/typespec-tests/src/main/java/com/type/property/valuetypes/UnknownDictClient.java index 3233397a3b..c60e062ac4 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/UnknownDictClient.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/UnknownDictClient.java @@ -70,8 +70,6 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * * @param body Model with a property unknown, and the data is a dictionnary. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -107,8 +105,6 @@ public UnknownDictProperty get() { * Put operation. * * @param body Model with a property unknown, and the data is a dictionnary. - * - * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/UnknownIntAsyncClient.java b/typespec-tests/src/main/java/com/type/property/valuetypes/UnknownIntAsyncClient.java index ecc7e77dab..27c11f1a36 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/UnknownIntAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/UnknownIntAsyncClient.java @@ -72,8 +72,6 @@ public Mono> getWithResponse(RequestOptions requestOptions) * } * * @param body Model with a property unknown, and the data is a int32. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -110,8 +108,6 @@ public Mono get() { * Put operation. * * @param body Model with a property unknown, and the data is a int32. - * - * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/UnknownIntClient.java b/typespec-tests/src/main/java/com/type/property/valuetypes/UnknownIntClient.java index 7a42d9714f..04752e271f 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/UnknownIntClient.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/UnknownIntClient.java @@ -70,8 +70,6 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * * @param body Model with a property unknown, and the data is a int32. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -107,8 +105,6 @@ public UnknownIntProperty get() { * Put operation. * * @param body Model with a property unknown, and the data is a int32. - * - * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/UnknownStringAsyncClient.java b/typespec-tests/src/main/java/com/type/property/valuetypes/UnknownStringAsyncClient.java index 12b4deb74a..4f8b5df853 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/UnknownStringAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/UnknownStringAsyncClient.java @@ -72,8 +72,6 @@ public Mono> getWithResponse(RequestOptions requestOptions) * } * * @param body Model with a property unknown, and the data is a string. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -110,8 +108,6 @@ public Mono get() { * Put operation. * * @param body Model with a property unknown, and the data is a string. - * - * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/UnknownStringClient.java b/typespec-tests/src/main/java/com/type/property/valuetypes/UnknownStringClient.java index f808a4ac83..ae4e802ef1 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/UnknownStringClient.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/UnknownStringClient.java @@ -70,8 +70,6 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * * @param body Model with a property unknown, and the data is a string. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -107,8 +105,6 @@ public UnknownStringProperty get() { * Put operation. * * @param body Model with a property unknown, and the data is a string. - * - * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/BooleanLiteralsImpl.java b/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/BooleanLiteralsImpl.java index 4205702ba5..9cf2cda199 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/BooleanLiteralsImpl.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/BooleanLiteralsImpl.java @@ -152,8 +152,6 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * * @param body Model with a boolean literal property. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -178,8 +176,6 @@ public Mono> putWithResponseAsync(BinaryData body, RequestOptions * } * * @param body Model with a boolean literal property. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/BooleanOperationsImpl.java b/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/BooleanOperationsImpl.java index 012996f6fe..12d352bb7e 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/BooleanOperationsImpl.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/BooleanOperationsImpl.java @@ -151,9 +151,7 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body Model with a boolean property - * - * The body parameter. + * @param body Model with a boolean property. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -177,9 +175,7 @@ public Mono> putWithResponseAsync(BinaryData body, RequestOptions * } * } * - * @param body Model with a boolean property - * - * The body parameter. + * @param body Model with a boolean property. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/BytesImpl.java b/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/BytesImpl.java index 74bd9f0d79..384bdc4aef 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/BytesImpl.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/BytesImpl.java @@ -150,9 +150,7 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body Model with a bytes property - * - * The body parameter. + * @param body Model with a bytes property. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -176,9 +174,7 @@ public Mono> putWithResponseAsync(BinaryData body, RequestOptions * } * } * - * @param body Model with a bytes property - * - * The body parameter. + * @param body Model with a bytes property. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/CollectionsIntsImpl.java b/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/CollectionsIntsImpl.java index 341ff3dd73..a211dd2ca7 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/CollectionsIntsImpl.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/CollectionsIntsImpl.java @@ -157,9 +157,7 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body Model with collection int properties - * - * The body parameter. + * @param body Model with collection int properties. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -185,9 +183,7 @@ public Mono> putWithResponseAsync(BinaryData body, RequestOptions * } * } * - * @param body Model with collection int properties - * - * The body parameter. + * @param body Model with collection int properties. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/CollectionsModelsImpl.java b/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/CollectionsModelsImpl.java index b39435231d..81988d9dfa 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/CollectionsModelsImpl.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/CollectionsModelsImpl.java @@ -163,9 +163,7 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body Model with collection model properties - * - * The body parameter. + * @param body Model with collection model properties. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -193,9 +191,7 @@ public Mono> putWithResponseAsync(BinaryData body, RequestOptions * } * } * - * @param body Model with collection model properties - * - * The body parameter. + * @param body Model with collection model properties. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/CollectionsStringsImpl.java b/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/CollectionsStringsImpl.java index 4772106a3c..8caf4e77f1 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/CollectionsStringsImpl.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/CollectionsStringsImpl.java @@ -157,9 +157,7 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body Model with collection string properties - * - * The body parameter. + * @param body Model with collection string properties. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -185,9 +183,7 @@ public Mono> putWithResponseAsync(BinaryData body, RequestOptions * } * } * - * @param body Model with collection string properties - * - * The body parameter. + * @param body Model with collection string properties. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/DatetimeOperationsImpl.java b/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/DatetimeOperationsImpl.java index e695eb606f..d9a47e1d64 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/DatetimeOperationsImpl.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/DatetimeOperationsImpl.java @@ -151,9 +151,7 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body Model with a datetime property - * - * The body parameter. + * @param body Model with a datetime property. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -177,9 +175,7 @@ public Mono> putWithResponseAsync(BinaryData body, RequestOptions * } * } * - * @param body Model with a datetime property - * - * The body parameter. + * @param body Model with a datetime property. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/Decimal128sImpl.java b/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/Decimal128sImpl.java index 62fab5e6c1..c5d714faac 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/Decimal128sImpl.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/Decimal128sImpl.java @@ -151,9 +151,7 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body Model with a decimal128 property - * - * The body parameter. + * @param body Model with a decimal128 property. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -177,9 +175,7 @@ public Mono> putWithResponseAsync(BinaryData body, RequestOptions * } * } * - * @param body Model with a decimal128 property - * - * The body parameter. + * @param body Model with a decimal128 property. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/DecimalsImpl.java b/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/DecimalsImpl.java index 6c6ebb1497..c7e99120dd 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/DecimalsImpl.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/DecimalsImpl.java @@ -150,9 +150,7 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body Model with a decimal property - * - * The body parameter. + * @param body Model with a decimal property. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -176,9 +174,7 @@ public Mono> putWithResponseAsync(BinaryData body, RequestOptions * } * } * - * @param body Model with a decimal property - * - * The body parameter. + * @param body Model with a decimal property. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/DictionaryStringsImpl.java b/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/DictionaryStringsImpl.java index 21642b1ea8..7b5d219ef4 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/DictionaryStringsImpl.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/DictionaryStringsImpl.java @@ -157,9 +157,7 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body Model with dictionary string properties - * - * The body parameter. + * @param body Model with dictionary string properties. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -185,9 +183,7 @@ public Mono> putWithResponseAsync(BinaryData body, RequestOptions * } * } * - * @param body Model with dictionary string properties - * - * The body parameter. + * @param body Model with dictionary string properties. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/DurationOperationsImpl.java b/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/DurationOperationsImpl.java index 630c0fa7c2..c111a7fd0e 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/DurationOperationsImpl.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/DurationOperationsImpl.java @@ -151,9 +151,7 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body Model with a duration property - * - * The body parameter. + * @param body Model with a duration property. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -177,9 +175,7 @@ public Mono> putWithResponseAsync(BinaryData body, RequestOptions * } * } * - * @param body Model with a duration property - * - * The body parameter. + * @param body Model with a duration property. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/EnumsImpl.java b/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/EnumsImpl.java index 729d1327d1..70fd09814b 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/EnumsImpl.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/EnumsImpl.java @@ -150,9 +150,7 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body Model with enum properties - * - * The body parameter. + * @param body Model with enum properties. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -176,9 +174,7 @@ public Mono> putWithResponseAsync(BinaryData body, RequestOptions * } * } * - * @param body Model with enum properties - * - * The body parameter. + * @param body Model with enum properties. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/ExtensibleEnumsImpl.java b/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/ExtensibleEnumsImpl.java index a390c0af56..ac8768f663 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/ExtensibleEnumsImpl.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/ExtensibleEnumsImpl.java @@ -151,9 +151,7 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body Model with extensible enum properties - * - * The body parameter. + * @param body Model with extensible enum properties. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -177,9 +175,7 @@ public Mono> putWithResponseAsync(BinaryData body, RequestOptions * } * } * - * @param body Model with extensible enum properties - * - * The body parameter. + * @param body Model with extensible enum properties. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/FloatLiteralsImpl.java b/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/FloatLiteralsImpl.java index 238c6c28b5..da9394530d 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/FloatLiteralsImpl.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/FloatLiteralsImpl.java @@ -152,8 +152,6 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * * @param body Model with a float literal property. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -178,8 +176,6 @@ public Mono> putWithResponseAsync(BinaryData body, RequestOptions * } * * @param body Model with a float literal property. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/FloatOperationsImpl.java b/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/FloatOperationsImpl.java index a21c8c1869..eb56c6ca28 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/FloatOperationsImpl.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/FloatOperationsImpl.java @@ -151,9 +151,7 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body Model with a float property - * - * The body parameter. + * @param body Model with a float property. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -177,9 +175,7 @@ public Mono> putWithResponseAsync(BinaryData body, RequestOptions * } * } * - * @param body Model with a float property - * - * The body parameter. + * @param body Model with a float property. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/IntLiteralsImpl.java b/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/IntLiteralsImpl.java index 824382a142..03aab9acb5 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/IntLiteralsImpl.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/IntLiteralsImpl.java @@ -152,8 +152,6 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * * @param body Model with a int literal property. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -178,8 +176,6 @@ public Mono> putWithResponseAsync(BinaryData body, RequestOptions * } * * @param body Model with a int literal property. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/IntsImpl.java b/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/IntsImpl.java index c1ebd289ec..4059f5349c 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/IntsImpl.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/IntsImpl.java @@ -150,9 +150,7 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body Model with a int property - * - * The body parameter. + * @param body Model with a int property. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -176,9 +174,7 @@ public Mono> putWithResponseAsync(BinaryData body, RequestOptions * } * } * - * @param body Model with a int property - * - * The body parameter. + * @param body Model with a int property. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/ModelsImpl.java b/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/ModelsImpl.java index ccc030d804..ca3493adca 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/ModelsImpl.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/ModelsImpl.java @@ -156,9 +156,7 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body Model with model properties - * - * The body parameter. + * @param body Model with model properties. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -184,9 +182,7 @@ public Mono> putWithResponseAsync(BinaryData body, RequestOptions * } * } * - * @param body Model with model properties - * - * The body parameter. + * @param body Model with model properties. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/NeversImpl.java b/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/NeversImpl.java index 1b3eb19964..affd79ea1e 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/NeversImpl.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/NeversImpl.java @@ -145,8 +145,6 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * * @param body Model with a property never. (This property should not be included). - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -169,8 +167,6 @@ public Mono> putWithResponseAsync(BinaryData body, RequestOptions * } * * @param body Model with a property never. (This property should not be included). - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/StringLiteralsImpl.java b/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/StringLiteralsImpl.java index 6ca060d89c..31e588e02d 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/StringLiteralsImpl.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/StringLiteralsImpl.java @@ -152,8 +152,6 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * * @param body Model with a string literal property. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -178,8 +176,6 @@ public Mono> putWithResponseAsync(BinaryData body, RequestOptions * } * * @param body Model with a string literal property. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/StringOperationsImpl.java b/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/StringOperationsImpl.java index 753b59b5c9..e32178b817 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/StringOperationsImpl.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/StringOperationsImpl.java @@ -151,9 +151,7 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * } * - * @param body Model with a string property - * - * The body parameter. + * @param body Model with a string property. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -177,9 +175,7 @@ public Mono> putWithResponseAsync(BinaryData body, RequestOptions * } * } * - * @param body Model with a string property - * - * The body parameter. + * @param body Model with a string property. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/UnionEnumValuesImpl.java b/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/UnionEnumValuesImpl.java index 2d625f0fe6..54be4dfb06 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/UnionEnumValuesImpl.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/UnionEnumValuesImpl.java @@ -152,9 +152,7 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * * @param body Template type for testing models with specific properties. Pass in the type of the property you are - * looking for - * - * The body parameter. + * looking for. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -179,9 +177,7 @@ public Mono> putWithResponseAsync(BinaryData body, RequestOptions * } * * @param body Template type for testing models with specific properties. Pass in the type of the property you are - * looking for - * - * The body parameter. + * looking for. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/UnionFloatLiteralsImpl.java b/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/UnionFloatLiteralsImpl.java index dcaccdc67b..489095876f 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/UnionFloatLiteralsImpl.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/UnionFloatLiteralsImpl.java @@ -152,8 +152,6 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * * @param body Model with a union of float literal as property. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -178,8 +176,6 @@ public Mono> putWithResponseAsync(BinaryData body, RequestOptions * } * * @param body Model with a union of float literal as property. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/UnionIntLiteralsImpl.java b/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/UnionIntLiteralsImpl.java index 5f1452ee8e..1b44a66c43 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/UnionIntLiteralsImpl.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/UnionIntLiteralsImpl.java @@ -152,8 +152,6 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * * @param body Model with a union of int literal as property. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -178,8 +176,6 @@ public Mono> putWithResponseAsync(BinaryData body, RequestOptions * } * * @param body Model with a union of int literal as property. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/UnionStringLiteralsImpl.java b/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/UnionStringLiteralsImpl.java index c824df0886..37a203a224 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/UnionStringLiteralsImpl.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/UnionStringLiteralsImpl.java @@ -152,8 +152,6 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * * @param body Model with a union of string literal as property. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -178,8 +176,6 @@ public Mono> putWithResponseAsync(BinaryData body, RequestOptions * } * * @param body Model with a union of string literal as property. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/UnknownArraysImpl.java b/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/UnknownArraysImpl.java index 92fcd9e5ea..fcc9e0f9fd 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/UnknownArraysImpl.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/UnknownArraysImpl.java @@ -152,8 +152,6 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * * @param body Model with a property unknown, and the data is an array. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -178,8 +176,6 @@ public Mono> putWithResponseAsync(BinaryData body, RequestOptions * } * * @param body Model with a property unknown, and the data is an array. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/UnknownDictsImpl.java b/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/UnknownDictsImpl.java index 81640e4f3b..43df46d55f 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/UnknownDictsImpl.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/UnknownDictsImpl.java @@ -152,8 +152,6 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * * @param body Model with a property unknown, and the data is a dictionnary. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -178,8 +176,6 @@ public Mono> putWithResponseAsync(BinaryData body, RequestOptions * } * * @param body Model with a property unknown, and the data is a dictionnary. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/UnknownIntsImpl.java b/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/UnknownIntsImpl.java index a230c6dd2c..747ae3ddc2 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/UnknownIntsImpl.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/UnknownIntsImpl.java @@ -152,8 +152,6 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * * @param body Model with a property unknown, and the data is a int32. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -178,8 +176,6 @@ public Mono> putWithResponseAsync(BinaryData body, RequestOptions * } * * @param body Model with a property unknown, and the data is a int32. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/UnknownStringsImpl.java b/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/UnknownStringsImpl.java index 1d1eba64c9..66ffbb592e 100644 --- a/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/UnknownStringsImpl.java +++ b/typespec-tests/src/main/java/com/type/property/valuetypes/implementation/UnknownStringsImpl.java @@ -152,8 +152,6 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * * @param body Model with a property unknown, and the data is a string. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -178,8 +176,6 @@ public Mono> putWithResponseAsync(BinaryData body, RequestOptions * } * * @param body Model with a property unknown, and the data is a string. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/scalar/BooleanOperationAsyncClient.java b/typespec-tests/src/main/java/com/type/scalar/BooleanOperationAsyncClient.java index d63ef2ef13..684bebd4ad 100644 --- a/typespec-tests/src/main/java/com/type/scalar/BooleanOperationAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/scalar/BooleanOperationAsyncClient.java @@ -67,8 +67,6 @@ public Mono> getWithResponse(RequestOptions requestOptions) * } * * @param body Boolean with `true` and `false` values. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -105,8 +103,6 @@ public Mono get() { * put boolean value. * * @param body Boolean with `true` and `false` values. - * - * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/scalar/BooleanOperationClient.java b/typespec-tests/src/main/java/com/type/scalar/BooleanOperationClient.java index 2e01a3e6d3..eff3862be5 100644 --- a/typespec-tests/src/main/java/com/type/scalar/BooleanOperationClient.java +++ b/typespec-tests/src/main/java/com/type/scalar/BooleanOperationClient.java @@ -65,8 +65,6 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * * @param body Boolean with `true` and `false` values. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -102,8 +100,6 @@ public boolean get() { * put boolean value. * * @param body Boolean with `true` and `false` values. - * - * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/scalar/Decimal128TypeAsyncClient.java b/typespec-tests/src/main/java/com/type/scalar/Decimal128TypeAsyncClient.java index fe16100e07..06de0a3956 100644 --- a/typespec-tests/src/main/java/com/type/scalar/Decimal128TypeAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/scalar/Decimal128TypeAsyncClient.java @@ -68,8 +68,6 @@ public Mono> responseBodyWithResponse(RequestOptions reques * } * * @param body A 128-bit decimal number. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -87,8 +85,6 @@ public Mono> requestBodyWithResponse(BinaryData body, RequestOpti * The requestParameter operation. * * @param value A 128-bit decimal number. - * - * The value parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -125,8 +121,6 @@ public Mono responseBody() { * The requestBody operation. * * @param body A 128-bit decimal number. - * - * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -147,8 +141,6 @@ public Mono requestBody(BigDecimal body) { * The requestParameter operation. * * @param value A 128-bit decimal number. - * - * The value parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/scalar/Decimal128TypeClient.java b/typespec-tests/src/main/java/com/type/scalar/Decimal128TypeClient.java index d1a7acc5ef..0de98cf71d 100644 --- a/typespec-tests/src/main/java/com/type/scalar/Decimal128TypeClient.java +++ b/typespec-tests/src/main/java/com/type/scalar/Decimal128TypeClient.java @@ -66,8 +66,6 @@ public Response responseBodyWithResponse(RequestOptions requestOptio * } * * @param body A 128-bit decimal number. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -85,8 +83,6 @@ public Response requestBodyWithResponse(BinaryData body, RequestOptions re * The requestParameter operation. * * @param value A 128-bit decimal number. - * - * The value parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -122,8 +118,6 @@ public BigDecimal responseBody() { * The requestBody operation. * * @param body A 128-bit decimal number. - * - * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -143,8 +137,6 @@ public void requestBody(BigDecimal body) { * The requestParameter operation. * * @param value A 128-bit decimal number. - * - * The value parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/scalar/Decimal128VerifyAsyncClient.java b/typespec-tests/src/main/java/com/type/scalar/Decimal128VerifyAsyncClient.java index 78eec294b5..662494953b 100644 --- a/typespec-tests/src/main/java/com/type/scalar/Decimal128VerifyAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/scalar/Decimal128VerifyAsyncClient.java @@ -73,8 +73,6 @@ public Mono> prepareVerifyWithResponse(RequestOptions reque * * @param body A decimal number with any length and precision. This represent any `decimal` value possible. * It is commonly represented as `BigDecimal` in some languages. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -112,8 +110,6 @@ public Mono> prepareVerify() { * * @param body A decimal number with any length and precision. This represent any `decimal` value possible. * It is commonly represented as `BigDecimal` in some languages. - * - * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/scalar/Decimal128VerifyClient.java b/typespec-tests/src/main/java/com/type/scalar/Decimal128VerifyClient.java index 37b0cc10de..e33fc68eef 100644 --- a/typespec-tests/src/main/java/com/type/scalar/Decimal128VerifyClient.java +++ b/typespec-tests/src/main/java/com/type/scalar/Decimal128VerifyClient.java @@ -71,8 +71,6 @@ public Response prepareVerifyWithResponse(RequestOptions requestOpti * * @param body A decimal number with any length and precision. This represent any `decimal` value possible. * It is commonly represented as `BigDecimal` in some languages. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -109,8 +107,6 @@ public List prepareVerify() { * * @param body A decimal number with any length and precision. This represent any `decimal` value possible. * It is commonly represented as `BigDecimal` in some languages. - * - * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/scalar/DecimalTypeAsyncClient.java b/typespec-tests/src/main/java/com/type/scalar/DecimalTypeAsyncClient.java index 6576597629..738bf216f7 100644 --- a/typespec-tests/src/main/java/com/type/scalar/DecimalTypeAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/scalar/DecimalTypeAsyncClient.java @@ -70,8 +70,6 @@ public Mono> responseBodyWithResponse(RequestOptions reques * * @param body A decimal number with any length and precision. This represent any `decimal` value possible. * It is commonly represented as `BigDecimal` in some languages. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -90,8 +88,6 @@ public Mono> requestBodyWithResponse(BinaryData body, RequestOpti * * @param value A decimal number with any length and precision. This represent any `decimal` value possible. * It is commonly represented as `BigDecimal` in some languages. - * - * The value parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -129,8 +125,6 @@ public Mono responseBody() { * * @param body A decimal number with any length and precision. This represent any `decimal` value possible. * It is commonly represented as `BigDecimal` in some languages. - * - * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -152,8 +146,6 @@ public Mono requestBody(BigDecimal body) { * * @param value A decimal number with any length and precision. This represent any `decimal` value possible. * It is commonly represented as `BigDecimal` in some languages. - * - * The value parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/scalar/DecimalTypeClient.java b/typespec-tests/src/main/java/com/type/scalar/DecimalTypeClient.java index 3b389df1e9..32a5697a07 100644 --- a/typespec-tests/src/main/java/com/type/scalar/DecimalTypeClient.java +++ b/typespec-tests/src/main/java/com/type/scalar/DecimalTypeClient.java @@ -67,8 +67,6 @@ public Response responseBodyWithResponse(RequestOptions requestOptio * * @param body A decimal number with any length and precision. This represent any `decimal` value possible. * It is commonly represented as `BigDecimal` in some languages. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -87,8 +85,6 @@ public Response requestBodyWithResponse(BinaryData body, RequestOptions re * * @param value A decimal number with any length and precision. This represent any `decimal` value possible. * It is commonly represented as `BigDecimal` in some languages. - * - * The value parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -125,8 +121,6 @@ public BigDecimal responseBody() { * * @param body A decimal number with any length and precision. This represent any `decimal` value possible. * It is commonly represented as `BigDecimal` in some languages. - * - * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -147,8 +141,6 @@ public void requestBody(BigDecimal body) { * * @param value A decimal number with any length and precision. This represent any `decimal` value possible. * It is commonly represented as `BigDecimal` in some languages. - * - * The value parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/scalar/DecimalVerifyAsyncClient.java b/typespec-tests/src/main/java/com/type/scalar/DecimalVerifyAsyncClient.java index 9938c4fe95..58e54c1c07 100644 --- a/typespec-tests/src/main/java/com/type/scalar/DecimalVerifyAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/scalar/DecimalVerifyAsyncClient.java @@ -73,8 +73,6 @@ public Mono> prepareVerifyWithResponse(RequestOptions reque * * @param body A decimal number with any length and precision. This represent any `decimal` value possible. * It is commonly represented as `BigDecimal` in some languages. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -112,8 +110,6 @@ public Mono> prepareVerify() { * * @param body A decimal number with any length and precision. This represent any `decimal` value possible. * It is commonly represented as `BigDecimal` in some languages. - * - * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/scalar/DecimalVerifyClient.java b/typespec-tests/src/main/java/com/type/scalar/DecimalVerifyClient.java index 474a05919d..844cc20bef 100644 --- a/typespec-tests/src/main/java/com/type/scalar/DecimalVerifyClient.java +++ b/typespec-tests/src/main/java/com/type/scalar/DecimalVerifyClient.java @@ -71,8 +71,6 @@ public Response prepareVerifyWithResponse(RequestOptions requestOpti * * @param body A decimal number with any length and precision. This represent any `decimal` value possible. * It is commonly represented as `BigDecimal` in some languages. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -109,8 +107,6 @@ public List prepareVerify() { * * @param body A decimal number with any length and precision. This represent any `decimal` value possible. * It is commonly represented as `BigDecimal` in some languages. - * - * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/scalar/StringOperationAsyncClient.java b/typespec-tests/src/main/java/com/type/scalar/StringOperationAsyncClient.java index e0e82b9a2e..1e0956574b 100644 --- a/typespec-tests/src/main/java/com/type/scalar/StringOperationAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/scalar/StringOperationAsyncClient.java @@ -67,8 +67,6 @@ public Mono> getWithResponse(RequestOptions requestOptions) * } * * @param body A sequence of textual characters. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -105,8 +103,6 @@ public Mono get() { * put string value. * * @param body A sequence of textual characters. - * - * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/scalar/StringOperationClient.java b/typespec-tests/src/main/java/com/type/scalar/StringOperationClient.java index 8740cb5bc3..01987f5187 100644 --- a/typespec-tests/src/main/java/com/type/scalar/StringOperationClient.java +++ b/typespec-tests/src/main/java/com/type/scalar/StringOperationClient.java @@ -65,8 +65,6 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * * @param body A sequence of textual characters. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -102,8 +100,6 @@ public String get() { * put string value. * * @param body A sequence of textual characters. - * - * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/scalar/UnknownAsyncClient.java b/typespec-tests/src/main/java/com/type/scalar/UnknownAsyncClient.java index 4465c489fd..cd925b33fc 100644 --- a/typespec-tests/src/main/java/com/type/scalar/UnknownAsyncClient.java +++ b/typespec-tests/src/main/java/com/type/scalar/UnknownAsyncClient.java @@ -66,7 +66,7 @@ public Mono> getWithResponse(RequestOptions requestOptions) * Object * } * - * @param body Anything. + * @param body The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -102,7 +102,7 @@ public Mono get() { /** * put unknown value. * - * @param body Anything. + * @param body The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/scalar/UnknownClient.java b/typespec-tests/src/main/java/com/type/scalar/UnknownClient.java index 9ce0466762..7cb166db16 100644 --- a/typespec-tests/src/main/java/com/type/scalar/UnknownClient.java +++ b/typespec-tests/src/main/java/com/type/scalar/UnknownClient.java @@ -64,7 +64,7 @@ public Response getWithResponse(RequestOptions requestOptions) { * Object * } * - * @param body Anything. + * @param body The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -99,7 +99,7 @@ public Object get() { /** * put unknown value. * - * @param body Anything. + * @param body The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/scalar/implementation/BooleanOperationsImpl.java b/typespec-tests/src/main/java/com/type/scalar/implementation/BooleanOperationsImpl.java index 829584d0f7..4fc6590b15 100644 --- a/typespec-tests/src/main/java/com/type/scalar/implementation/BooleanOperationsImpl.java +++ b/typespec-tests/src/main/java/com/type/scalar/implementation/BooleanOperationsImpl.java @@ -146,8 +146,6 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * * @param body Boolean with `true` and `false` values. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -170,8 +168,6 @@ public Mono> putWithResponseAsync(BinaryData body, RequestOptions * } * * @param body Boolean with `true` and `false` values. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/scalar/implementation/Decimal128TypesImpl.java b/typespec-tests/src/main/java/com/type/scalar/implementation/Decimal128TypesImpl.java index ad956c8bd4..3a9f10329d 100644 --- a/typespec-tests/src/main/java/com/type/scalar/implementation/Decimal128TypesImpl.java +++ b/typespec-tests/src/main/java/com/type/scalar/implementation/Decimal128TypesImpl.java @@ -166,8 +166,6 @@ public Response responseBodyWithResponse(RequestOptions requestOptio * } * * @param body A 128-bit decimal number. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -190,8 +188,6 @@ public Mono> requestBodyWithResponseAsync(BinaryData body, Reques * } * * @param body A 128-bit decimal number. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -209,8 +205,6 @@ public Response requestBodyWithResponse(BinaryData body, RequestOptions re * The requestParameter operation. * * @param value A 128-bit decimal number. - * - * The value parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -228,8 +222,6 @@ public Mono> requestParameterWithResponseAsync(BigDecimal value, * The requestParameter operation. * * @param value A 128-bit decimal number. - * - * The value parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/scalar/implementation/Decimal128VerifiesImpl.java b/typespec-tests/src/main/java/com/type/scalar/implementation/Decimal128VerifiesImpl.java index 973744a8a6..7753ef95d2 100644 --- a/typespec-tests/src/main/java/com/type/scalar/implementation/Decimal128VerifiesImpl.java +++ b/typespec-tests/src/main/java/com/type/scalar/implementation/Decimal128VerifiesImpl.java @@ -151,8 +151,6 @@ public Response prepareVerifyWithResponse(RequestOptions requestOpti * * @param body A decimal number with any length and precision. This represent any `decimal` value possible. * It is commonly represented as `BigDecimal` in some languages. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -176,8 +174,6 @@ public Mono> verifyWithResponseAsync(BinaryData body, RequestOpti * * @param body A decimal number with any length and precision. This represent any `decimal` value possible. * It is commonly represented as `BigDecimal` in some languages. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/scalar/implementation/DecimalTypesImpl.java b/typespec-tests/src/main/java/com/type/scalar/implementation/DecimalTypesImpl.java index dc1ea51322..06214f1932 100644 --- a/typespec-tests/src/main/java/com/type/scalar/implementation/DecimalTypesImpl.java +++ b/typespec-tests/src/main/java/com/type/scalar/implementation/DecimalTypesImpl.java @@ -168,8 +168,6 @@ public Response responseBodyWithResponse(RequestOptions requestOptio * * @param body A decimal number with any length and precision. This represent any `decimal` value possible. * It is commonly represented as `BigDecimal` in some languages. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -193,8 +191,6 @@ public Mono> requestBodyWithResponseAsync(BinaryData body, Reques * * @param body A decimal number with any length and precision. This represent any `decimal` value possible. * It is commonly represented as `BigDecimal` in some languages. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -213,8 +209,6 @@ public Response requestBodyWithResponse(BinaryData body, RequestOptions re * * @param value A decimal number with any length and precision. This represent any `decimal` value possible. * It is commonly represented as `BigDecimal` in some languages. - * - * The value parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -233,8 +227,6 @@ public Mono> requestParameterWithResponseAsync(BigDecimal value, * * @param value A decimal number with any length and precision. This represent any `decimal` value possible. * It is commonly represented as `BigDecimal` in some languages. - * - * The value parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/scalar/implementation/DecimalVerifiesImpl.java b/typespec-tests/src/main/java/com/type/scalar/implementation/DecimalVerifiesImpl.java index c71a668ab4..6fb21bdfbe 100644 --- a/typespec-tests/src/main/java/com/type/scalar/implementation/DecimalVerifiesImpl.java +++ b/typespec-tests/src/main/java/com/type/scalar/implementation/DecimalVerifiesImpl.java @@ -151,8 +151,6 @@ public Response prepareVerifyWithResponse(RequestOptions requestOpti * * @param body A decimal number with any length and precision. This represent any `decimal` value possible. * It is commonly represented as `BigDecimal` in some languages. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -176,8 +174,6 @@ public Mono> verifyWithResponseAsync(BinaryData body, RequestOpti * * @param body A decimal number with any length and precision. This represent any `decimal` value possible. * It is commonly represented as `BigDecimal` in some languages. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/scalar/implementation/StringOperationsImpl.java b/typespec-tests/src/main/java/com/type/scalar/implementation/StringOperationsImpl.java index c08d6412f1..f01b260086 100644 --- a/typespec-tests/src/main/java/com/type/scalar/implementation/StringOperationsImpl.java +++ b/typespec-tests/src/main/java/com/type/scalar/implementation/StringOperationsImpl.java @@ -146,8 +146,6 @@ public Response getWithResponse(RequestOptions requestOptions) { * } * * @param body A sequence of textual characters. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -170,8 +168,6 @@ public Mono> putWithResponseAsync(BinaryData body, RequestOptions * } * * @param body A sequence of textual characters. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/scalar/implementation/UnknownsImpl.java b/typespec-tests/src/main/java/com/type/scalar/implementation/UnknownsImpl.java index 8ab9896782..118c7cda31 100644 --- a/typespec-tests/src/main/java/com/type/scalar/implementation/UnknownsImpl.java +++ b/typespec-tests/src/main/java/com/type/scalar/implementation/UnknownsImpl.java @@ -144,7 +144,7 @@ public Response getWithResponse(RequestOptions requestOptions) { * Object * } * - * @param body Anything. + * @param body The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -166,7 +166,7 @@ public Mono> putWithResponseAsync(BinaryData body, RequestOptions * Object * } * - * @param body Anything. + * @param body The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/type/union/models/Cat.java b/typespec-tests/src/main/java/com/type/union/models/Cat.java index 85fe5b5499..a10e8d9372 100644 --- a/typespec-tests/src/main/java/com/type/union/models/Cat.java +++ b/typespec-tests/src/main/java/com/type/union/models/Cat.java @@ -18,7 +18,7 @@ @Immutable public final class Cat implements JsonSerializable { /* - * A sequence of textual characters. + * The name property. */ @Generated private final String name; @@ -34,7 +34,7 @@ public Cat(String name) { } /** - * Get the name property: A sequence of textual characters. + * Get the name property: The name property. * * @return the name value. */ diff --git a/typespec-tests/src/main/java/com/type/union/models/Dog.java b/typespec-tests/src/main/java/com/type/union/models/Dog.java index d508f7b2f0..4fd3f43712 100644 --- a/typespec-tests/src/main/java/com/type/union/models/Dog.java +++ b/typespec-tests/src/main/java/com/type/union/models/Dog.java @@ -18,7 +18,7 @@ @Immutable public final class Dog implements JsonSerializable { /* - * A sequence of textual characters. + * The bark property. */ @Generated private final String bark; @@ -34,7 +34,7 @@ public Dog(String bark) { } /** - * Get the bark property: A sequence of textual characters. + * Get the bark property: The bark property. * * @return the bark value. */ diff --git a/typespec-tests/src/main/java/com/versioning/added/AddedAsyncClient.java b/typespec-tests/src/main/java/com/versioning/added/AddedAsyncClient.java index 0476049fdd..5da9588c69 100644 --- a/typespec-tests/src/main/java/com/versioning/added/AddedAsyncClient.java +++ b/typespec-tests/src/main/java/com/versioning/added/AddedAsyncClient.java @@ -62,8 +62,6 @@ public final class AddedAsyncClient { * } * * @param headerV2 A sequence of textual characters. - * - * The headerV2 parameter. * @param body The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -118,8 +116,6 @@ public Mono> v2WithResponse(BinaryData body, RequestOptions * The v1 operation. * * @param headerV2 A sequence of textual characters. - * - * The headerV2 parameter. * @param body The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. diff --git a/typespec-tests/src/main/java/com/versioning/added/AddedClient.java b/typespec-tests/src/main/java/com/versioning/added/AddedClient.java index 942958182f..41d43d8846 100644 --- a/typespec-tests/src/main/java/com/versioning/added/AddedClient.java +++ b/typespec-tests/src/main/java/com/versioning/added/AddedClient.java @@ -60,8 +60,6 @@ public final class AddedClient { * } * * @param headerV2 A sequence of textual characters. - * - * The headerV2 parameter. * @param body The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -116,8 +114,6 @@ public Response v2WithResponse(BinaryData body, RequestOptions reque * The v1 operation. * * @param headerV2 A sequence of textual characters. - * - * The headerV2 parameter. * @param body The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. diff --git a/typespec-tests/src/main/java/com/versioning/added/implementation/AddedClientImpl.java b/typespec-tests/src/main/java/com/versioning/added/implementation/AddedClientImpl.java index 2b8fff889d..271c3b7cf1 100644 --- a/typespec-tests/src/main/java/com/versioning/added/implementation/AddedClientImpl.java +++ b/typespec-tests/src/main/java/com/versioning/added/implementation/AddedClientImpl.java @@ -241,8 +241,6 @@ Response v2Sync(@HostParam("endpoint") String endpoint, @HostParam(" * } * * @param headerV2 A sequence of textual characters. - * - * The headerV2 parameter. * @param body The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -282,8 +280,6 @@ public Mono> v1WithResponseAsync(String headerV2, BinaryDat * } * * @param headerV2 A sequence of textual characters. - * - * The headerV2 parameter. * @param body The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. diff --git a/typespec-tests/src/main/java/com/versioning/added/models/ModelV1.java b/typespec-tests/src/main/java/com/versioning/added/models/ModelV1.java index 9b640af564..8547dbb359 100644 --- a/typespec-tests/src/main/java/com/versioning/added/models/ModelV1.java +++ b/typespec-tests/src/main/java/com/versioning/added/models/ModelV1.java @@ -19,7 +19,7 @@ @Immutable public final class ModelV1 implements JsonSerializable { /* - * A sequence of textual characters. + * The prop property. */ @Generated private final String prop; @@ -51,7 +51,7 @@ public ModelV1(String prop, EnumV1 enumProp, BinaryData unionProp) { } /** - * Get the prop property: A sequence of textual characters. + * Get the prop property: The prop property. * * @return the prop value. */ diff --git a/typespec-tests/src/main/java/com/versioning/added/models/ModelV2.java b/typespec-tests/src/main/java/com/versioning/added/models/ModelV2.java index 1e460bc804..6132f119e6 100644 --- a/typespec-tests/src/main/java/com/versioning/added/models/ModelV2.java +++ b/typespec-tests/src/main/java/com/versioning/added/models/ModelV2.java @@ -19,7 +19,7 @@ @Immutable public final class ModelV2 implements JsonSerializable { /* - * A sequence of textual characters. + * The prop property. */ @Generated private final String prop; @@ -51,7 +51,7 @@ public ModelV2(String prop, EnumV2 enumProp, BinaryData unionProp) { } /** - * Get the prop property: A sequence of textual characters. + * Get the prop property: The prop property. * * @return the prop value. */ diff --git a/typespec-tests/src/main/java/com/versioning/madeoptional/MadeOptionalAsyncClient.java b/typespec-tests/src/main/java/com/versioning/madeoptional/MadeOptionalAsyncClient.java index e7f95f5bcf..4a9f017fc6 100644 --- a/typespec-tests/src/main/java/com/versioning/madeoptional/MadeOptionalAsyncClient.java +++ b/typespec-tests/src/main/java/com/versioning/madeoptional/MadeOptionalAsyncClient.java @@ -44,9 +44,7 @@ public final class MadeOptionalAsyncClient { * * * - * + * *
Query Parameters
NameTypeRequiredDescription
paramStringNoA sequence of textual characters. - * - * The param parameter
paramStringNoA sequence of textual characters.
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Request Body Schema

@@ -86,8 +84,6 @@ public Mono> testWithResponse(BinaryData body, RequestOptio * * @param body The body parameter. * @param param A sequence of textual characters. - * - * The param parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/versioning/madeoptional/MadeOptionalClient.java b/typespec-tests/src/main/java/com/versioning/madeoptional/MadeOptionalClient.java index c5d6c1c38d..8fe5ebded1 100644 --- a/typespec-tests/src/main/java/com/versioning/madeoptional/MadeOptionalClient.java +++ b/typespec-tests/src/main/java/com/versioning/madeoptional/MadeOptionalClient.java @@ -42,9 +42,7 @@ public final class MadeOptionalClient { * * * - * + * *
Query Parameters
NameTypeRequiredDescription
paramStringNoA sequence of textual characters. - * - * The param parameter
paramStringNoA sequence of textual characters.
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Request Body Schema

@@ -84,8 +82,6 @@ public Response testWithResponse(BinaryData body, RequestOptions req * * @param body The body parameter. * @param param A sequence of textual characters. - * - * The param parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/versioning/madeoptional/implementation/MadeOptionalClientImpl.java b/typespec-tests/src/main/java/com/versioning/madeoptional/implementation/MadeOptionalClientImpl.java index 0b1bf064f7..87915827e1 100644 --- a/typespec-tests/src/main/java/com/versioning/madeoptional/implementation/MadeOptionalClientImpl.java +++ b/typespec-tests/src/main/java/com/versioning/madeoptional/implementation/MadeOptionalClientImpl.java @@ -191,9 +191,7 @@ Response testSync(@HostParam("endpoint") String endpoint, @HostParam * * * - * + * *
Query Parameters
NameTypeRequiredDescription
paramStringNoA sequence of textual characters. - * - * The param parameter
paramStringNoA sequence of textual characters.
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Request Body Schema

@@ -235,9 +233,7 @@ public Mono> testWithResponseAsync(BinaryData body, Request * * * - * + * *
Query Parameters
NameTypeRequiredDescription
paramStringNoA sequence of textual characters. - * - * The param parameter
paramStringNoA sequence of textual characters.
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Request Body Schema

diff --git a/typespec-tests/src/main/java/com/versioning/madeoptional/models/TestModel.java b/typespec-tests/src/main/java/com/versioning/madeoptional/models/TestModel.java index 3e19b2fef9..4ba85f38ae 100644 --- a/typespec-tests/src/main/java/com/versioning/madeoptional/models/TestModel.java +++ b/typespec-tests/src/main/java/com/versioning/madeoptional/models/TestModel.java @@ -18,13 +18,13 @@ @Fluent public final class TestModel implements JsonSerializable { /* - * A sequence of textual characters. + * The prop property. */ @Generated private final String prop; /* - * A sequence of textual characters. + * The changedProp property. */ @Generated private String changedProp; @@ -40,7 +40,7 @@ public TestModel(String prop) { } /** - * Get the prop property: A sequence of textual characters. + * Get the prop property: The prop property. * * @return the prop value. */ @@ -50,7 +50,7 @@ public String getProp() { } /** - * Get the changedProp property: A sequence of textual characters. + * Get the changedProp property: The changedProp property. * * @return the changedProp value. */ @@ -60,7 +60,7 @@ public String getChangedProp() { } /** - * Set the changedProp property: A sequence of textual characters. + * Set the changedProp property: The changedProp property. * * @param changedProp the changedProp value to set. * @return the TestModel object itself. diff --git a/typespec-tests/src/main/java/com/versioning/removed/models/ModelV2.java b/typespec-tests/src/main/java/com/versioning/removed/models/ModelV2.java index 17f20abe3e..c6f8d63b95 100644 --- a/typespec-tests/src/main/java/com/versioning/removed/models/ModelV2.java +++ b/typespec-tests/src/main/java/com/versioning/removed/models/ModelV2.java @@ -19,7 +19,7 @@ @Immutable public final class ModelV2 implements JsonSerializable { /* - * A sequence of textual characters. + * The prop property. */ @Generated private final String prop; @@ -51,7 +51,7 @@ public ModelV2(String prop, EnumV2 enumProp, BinaryData unionProp) { } /** - * Get the prop property: A sequence of textual characters. + * Get the prop property: The prop property. * * @return the prop value. */ diff --git a/typespec-tests/src/main/java/com/versioning/renamedfrom/RenamedFromAsyncClient.java b/typespec-tests/src/main/java/com/versioning/renamedfrom/RenamedFromAsyncClient.java index 7b0e2eab6d..fc2868fc8f 100644 --- a/typespec-tests/src/main/java/com/versioning/renamedfrom/RenamedFromAsyncClient.java +++ b/typespec-tests/src/main/java/com/versioning/renamedfrom/RenamedFromAsyncClient.java @@ -61,8 +61,6 @@ public final class RenamedFromAsyncClient { * } * * @param newQuery A sequence of textual characters. - * - * The newQuery parameter. * @param body The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -82,8 +80,6 @@ public Mono> newOpWithResponse(String newQuery, BinaryData * The newOp operation. * * @param newQuery A sequence of textual characters. - * - * The newQuery parameter. * @param body The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. diff --git a/typespec-tests/src/main/java/com/versioning/renamedfrom/RenamedFromClient.java b/typespec-tests/src/main/java/com/versioning/renamedfrom/RenamedFromClient.java index 66f280368d..d3bfde7229 100644 --- a/typespec-tests/src/main/java/com/versioning/renamedfrom/RenamedFromClient.java +++ b/typespec-tests/src/main/java/com/versioning/renamedfrom/RenamedFromClient.java @@ -59,8 +59,6 @@ public final class RenamedFromClient { * } * * @param newQuery A sequence of textual characters. - * - * The newQuery parameter. * @param body The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -79,8 +77,6 @@ public Response newOpWithResponse(String newQuery, BinaryData body, * The newOp operation. * * @param newQuery A sequence of textual characters. - * - * The newQuery parameter. * @param body The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. diff --git a/typespec-tests/src/main/java/com/versioning/renamedfrom/implementation/RenamedFromClientImpl.java b/typespec-tests/src/main/java/com/versioning/renamedfrom/implementation/RenamedFromClientImpl.java index 95e505b0ca..698251c209 100644 --- a/typespec-tests/src/main/java/com/versioning/renamedfrom/implementation/RenamedFromClientImpl.java +++ b/typespec-tests/src/main/java/com/versioning/renamedfrom/implementation/RenamedFromClientImpl.java @@ -223,8 +223,6 @@ Response newOpSync(@HostParam("endpoint") String endpoint, @HostPara * } * * @param newQuery A sequence of textual characters. - * - * The newQuery parameter. * @param body The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -264,8 +262,6 @@ public Mono> newOpWithResponseAsync(String newQuery, Binary * } * * @param newQuery A sequence of textual characters. - * - * The newQuery parameter. * @param body The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. diff --git a/typespec-tests/src/main/java/com/versioning/renamedfrom/models/NewModel.java b/typespec-tests/src/main/java/com/versioning/renamedfrom/models/NewModel.java index ee88bf7855..5d53670c31 100644 --- a/typespec-tests/src/main/java/com/versioning/renamedfrom/models/NewModel.java +++ b/typespec-tests/src/main/java/com/versioning/renamedfrom/models/NewModel.java @@ -19,7 +19,7 @@ @Immutable public final class NewModel implements JsonSerializable { /* - * A sequence of textual characters. + * The newProp property. */ @Generated private final String newProp; @@ -51,7 +51,7 @@ public NewModel(String newProp, NewEnum enumProp, BinaryData unionProp) { } /** - * Get the newProp property: A sequence of textual characters. + * Get the newProp property: The newProp property. * * @return the newProp value. */ diff --git a/typespec-tests/src/main/java/com/versioning/returntypechangedfrom/ReturnTypeChangedFromAsyncClient.java b/typespec-tests/src/main/java/com/versioning/returntypechangedfrom/ReturnTypeChangedFromAsyncClient.java index a8ba18f5c6..b04a17ec86 100644 --- a/typespec-tests/src/main/java/com/versioning/returntypechangedfrom/ReturnTypeChangedFromAsyncClient.java +++ b/typespec-tests/src/main/java/com/versioning/returntypechangedfrom/ReturnTypeChangedFromAsyncClient.java @@ -52,8 +52,6 @@ public final class ReturnTypeChangedFromAsyncClient { * } * * @param body A sequence of textual characters. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -71,8 +69,6 @@ public Mono> testWithResponse(BinaryData body, RequestOptio * The test operation. * * @param body A sequence of textual characters. - * - * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/versioning/returntypechangedfrom/ReturnTypeChangedFromClient.java b/typespec-tests/src/main/java/com/versioning/returntypechangedfrom/ReturnTypeChangedFromClient.java index 414fc1c8db..85cc7e96c9 100644 --- a/typespec-tests/src/main/java/com/versioning/returntypechangedfrom/ReturnTypeChangedFromClient.java +++ b/typespec-tests/src/main/java/com/versioning/returntypechangedfrom/ReturnTypeChangedFromClient.java @@ -50,8 +50,6 @@ public final class ReturnTypeChangedFromClient { * } * * @param body A sequence of textual characters. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -69,8 +67,6 @@ public Response testWithResponse(BinaryData body, RequestOptions req * The test operation. * * @param body A sequence of textual characters. - * - * The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/versioning/returntypechangedfrom/implementation/ReturnTypeChangedFromClientImpl.java b/typespec-tests/src/main/java/com/versioning/returntypechangedfrom/implementation/ReturnTypeChangedFromClientImpl.java index f2a4037c12..ffda6997fb 100644 --- a/typespec-tests/src/main/java/com/versioning/returntypechangedfrom/implementation/ReturnTypeChangedFromClientImpl.java +++ b/typespec-tests/src/main/java/com/versioning/returntypechangedfrom/implementation/ReturnTypeChangedFromClientImpl.java @@ -201,8 +201,6 @@ Response testSync(@HostParam("endpoint") String endpoint, @HostParam * } * * @param body A sequence of textual characters. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -232,8 +230,6 @@ public Mono> testWithResponseAsync(BinaryData body, Request * } * * @param body A sequence of textual characters. - * - * The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/versioning/typechangedfrom/TypeChangedFromAsyncClient.java b/typespec-tests/src/main/java/com/versioning/typechangedfrom/TypeChangedFromAsyncClient.java index 63b0254ce1..bc19d58781 100644 --- a/typespec-tests/src/main/java/com/versioning/typechangedfrom/TypeChangedFromAsyncClient.java +++ b/typespec-tests/src/main/java/com/versioning/typechangedfrom/TypeChangedFromAsyncClient.java @@ -59,8 +59,6 @@ public final class TypeChangedFromAsyncClient { * } * * @param param A sequence of textual characters. - * - * The param parameter. * @param body The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -79,8 +77,6 @@ public Mono> testWithResponse(String param, BinaryData body * The test operation. * * @param param A sequence of textual characters. - * - * The param parameter. * @param body The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. diff --git a/typespec-tests/src/main/java/com/versioning/typechangedfrom/TypeChangedFromClient.java b/typespec-tests/src/main/java/com/versioning/typechangedfrom/TypeChangedFromClient.java index da3de349a5..683c5ea37d 100644 --- a/typespec-tests/src/main/java/com/versioning/typechangedfrom/TypeChangedFromClient.java +++ b/typespec-tests/src/main/java/com/versioning/typechangedfrom/TypeChangedFromClient.java @@ -57,8 +57,6 @@ public final class TypeChangedFromClient { * } * * @param param A sequence of textual characters. - * - * The param parameter. * @param body The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -77,8 +75,6 @@ public Response testWithResponse(String param, BinaryData body, Requ * The test operation. * * @param param A sequence of textual characters. - * - * The param parameter. * @param body The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. diff --git a/typespec-tests/src/main/java/com/versioning/typechangedfrom/implementation/TypeChangedFromClientImpl.java b/typespec-tests/src/main/java/com/versioning/typechangedfrom/implementation/TypeChangedFromClientImpl.java index 866d9b80d9..a985820590 100644 --- a/typespec-tests/src/main/java/com/versioning/typechangedfrom/implementation/TypeChangedFromClientImpl.java +++ b/typespec-tests/src/main/java/com/versioning/typechangedfrom/implementation/TypeChangedFromClientImpl.java @@ -207,8 +207,6 @@ Response testSync(@HostParam("endpoint") String endpoint, @HostParam * } * * @param param A sequence of textual characters. - * - * The param parameter. * @param body The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -246,8 +244,6 @@ public Mono> testWithResponseAsync(String param, BinaryData * } * * @param param A sequence of textual characters. - * - * The param parameter. * @param body The body parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. diff --git a/typespec-tests/src/main/java/com/versioning/typechangedfrom/models/TestModel.java b/typespec-tests/src/main/java/com/versioning/typechangedfrom/models/TestModel.java index 33dc664e72..4f3e8f7c93 100644 --- a/typespec-tests/src/main/java/com/versioning/typechangedfrom/models/TestModel.java +++ b/typespec-tests/src/main/java/com/versioning/typechangedfrom/models/TestModel.java @@ -18,13 +18,13 @@ @Immutable public final class TestModel implements JsonSerializable { /* - * A sequence of textual characters. + * The prop property. */ @Generated private final String prop; /* - * A sequence of textual characters. + * The changedProp property. */ @Generated private final String changedProp; @@ -42,7 +42,7 @@ public TestModel(String prop, String changedProp) { } /** - * Get the prop property: A sequence of textual characters. + * Get the prop property: The prop property. * * @return the prop value. */ @@ -52,7 +52,7 @@ public String getProp() { } /** - * Get the changedProp property: A sequence of textual characters. + * Get the changedProp property: The changedProp property. * * @return the changedProp value. */ diff --git a/vanilla-tests/src/main/java/fixtures/bodyarray/Arrays.java b/vanilla-tests/src/main/java/fixtures/bodyarray/Arrays.java index 8d0494ecac..c7facf8c36 100644 --- a/vanilla-tests/src/main/java/fixtures/bodyarray/Arrays.java +++ b/vanilla-tests/src/main/java/fixtures/bodyarray/Arrays.java @@ -770,7 +770,7 @@ public List getEmpty() { /** * Set array value empty []. * - * @param arrayBody The empty array value []. + * @param arrayBody The arrayBody parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -792,7 +792,7 @@ public Mono> putEmptyWithResponseAsync(List arrayBody) { /** * Set array value empty []. * - * @param arrayBody The empty array value []. + * @param arrayBody The arrayBody parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -815,7 +815,7 @@ public Mono> putEmptyWithResponseAsync(List arrayBody, Co /** * Set array value empty []. * - * @param arrayBody The empty array value []. + * @param arrayBody The arrayBody parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -829,7 +829,7 @@ public Mono putEmptyAsync(List arrayBody) { /** * Set array value empty []. * - * @param arrayBody The empty array value []. + * @param arrayBody The arrayBody parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -844,7 +844,7 @@ public Mono putEmptyAsync(List arrayBody, Context context) { /** * Set array value empty []. * - * @param arrayBody The empty array value []. + * @param arrayBody The arrayBody parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -859,7 +859,7 @@ public Response putEmptyWithResponse(List arrayBody, Context conte /** * Set array value empty []. * - * @param arrayBody The empty array value []. + * @param arrayBody The arrayBody parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -962,7 +962,7 @@ public List getBooleanTfft() { /** * Set array value empty [true, false, false, true]. * - * @param arrayBody The array value [true, false, false, true]. + * @param arrayBody The arrayBody parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -985,7 +985,7 @@ public Mono> putBooleanTfftWithResponseAsync(List arrayB /** * Set array value empty [true, false, false, true]. * - * @param arrayBody The array value [true, false, false, true]. + * @param arrayBody The arrayBody parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -1008,7 +1008,7 @@ public Mono> putBooleanTfftWithResponseAsync(List arrayB /** * Set array value empty [true, false, false, true]. * - * @param arrayBody The array value [true, false, false, true]. + * @param arrayBody The arrayBody parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -1022,7 +1022,7 @@ public Mono putBooleanTfftAsync(List arrayBody) { /** * Set array value empty [true, false, false, true]. * - * @param arrayBody The array value [true, false, false, true]. + * @param arrayBody The arrayBody parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -1037,7 +1037,7 @@ public Mono putBooleanTfftAsync(List arrayBody, Context context) /** * Set array value empty [true, false, false, true]. * - * @param arrayBody The array value [true, false, false, true]. + * @param arrayBody The arrayBody parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -1052,7 +1052,7 @@ public Response putBooleanTfftWithResponse(List arrayBody, Contex /** * Set array value empty [true, false, false, true]. * - * @param arrayBody The array value [true, false, false, true]. + * @param arrayBody The arrayBody parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -1333,7 +1333,7 @@ public List getIntegerValid() { /** * Set array value empty [1, -1, 3, 300]. * - * @param arrayBody The array value [1, -1, 3, 300]. + * @param arrayBody The arrayBody parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -1356,7 +1356,7 @@ public Mono> putIntegerValidWithResponseAsync(List array /** * Set array value empty [1, -1, 3, 300]. * - * @param arrayBody The array value [1, -1, 3, 300]. + * @param arrayBody The arrayBody parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -1379,7 +1379,7 @@ public Mono> putIntegerValidWithResponseAsync(List array /** * Set array value empty [1, -1, 3, 300]. * - * @param arrayBody The array value [1, -1, 3, 300]. + * @param arrayBody The arrayBody parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -1393,7 +1393,7 @@ public Mono putIntegerValidAsync(List arrayBody) { /** * Set array value empty [1, -1, 3, 300]. * - * @param arrayBody The array value [1, -1, 3, 300]. + * @param arrayBody The arrayBody parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -1408,7 +1408,7 @@ public Mono putIntegerValidAsync(List arrayBody, Context context) /** * Set array value empty [1, -1, 3, 300]. * - * @param arrayBody The array value [1, -1, 3, 300]. + * @param arrayBody The arrayBody parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -1423,7 +1423,7 @@ public Response putIntegerValidWithResponse(List arrayBody, Conte /** * Set array value empty [1, -1, 3, 300]. * - * @param arrayBody The array value [1, -1, 3, 300]. + * @param arrayBody The arrayBody parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -1702,7 +1702,7 @@ public List getLongValid() { /** * Set array value empty [1, -1, 3, 300]. * - * @param arrayBody The array value [1, -1, 3, 300]. + * @param arrayBody The arrayBody parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -1724,7 +1724,7 @@ public Mono> putLongValidWithResponseAsync(List arrayBody) /** * Set array value empty [1, -1, 3, 300]. * - * @param arrayBody The array value [1, -1, 3, 300]. + * @param arrayBody The arrayBody parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -1747,7 +1747,7 @@ public Mono> putLongValidWithResponseAsync(List arrayBody, /** * Set array value empty [1, -1, 3, 300]. * - * @param arrayBody The array value [1, -1, 3, 300]. + * @param arrayBody The arrayBody parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -1761,7 +1761,7 @@ public Mono putLongValidAsync(List arrayBody) { /** * Set array value empty [1, -1, 3, 300]. * - * @param arrayBody The array value [1, -1, 3, 300]. + * @param arrayBody The arrayBody parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -1776,7 +1776,7 @@ public Mono putLongValidAsync(List arrayBody, Context context) { /** * Set array value empty [1, -1, 3, 300]. * - * @param arrayBody The array value [1, -1, 3, 300]. + * @param arrayBody The arrayBody parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -1791,7 +1791,7 @@ public Response putLongValidWithResponse(List arrayBody, Context con /** * Set array value empty [1, -1, 3, 300]. * - * @param arrayBody The array value [1, -1, 3, 300]. + * @param arrayBody The arrayBody parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -2070,7 +2070,7 @@ public List getFloatValid() { /** * Set array value [0, -0.01, 1.2e20]. * - * @param arrayBody The array value [0, -0.01, 1.2e20]. + * @param arrayBody The arrayBody parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -2093,7 +2093,7 @@ public Mono> putFloatValidWithResponseAsync(List arrayBody /** * Set array value [0, -0.01, 1.2e20]. * - * @param arrayBody The array value [0, -0.01, 1.2e20]. + * @param arrayBody The arrayBody parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -2116,7 +2116,7 @@ public Mono> putFloatValidWithResponseAsync(List arrayBody /** * Set array value [0, -0.01, 1.2e20]. * - * @param arrayBody The array value [0, -0.01, 1.2e20]. + * @param arrayBody The arrayBody parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -2130,7 +2130,7 @@ public Mono putFloatValidAsync(List arrayBody) { /** * Set array value [0, -0.01, 1.2e20]. * - * @param arrayBody The array value [0, -0.01, 1.2e20]. + * @param arrayBody The arrayBody parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -2145,7 +2145,7 @@ public Mono putFloatValidAsync(List arrayBody, Context context) { /** * Set array value [0, -0.01, 1.2e20]. * - * @param arrayBody The array value [0, -0.01, 1.2e20]. + * @param arrayBody The arrayBody parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -2160,7 +2160,7 @@ public Response putFloatValidWithResponse(List arrayBody, Context c /** * Set array value [0, -0.01, 1.2e20]. * - * @param arrayBody The array value [0, -0.01, 1.2e20]. + * @param arrayBody The arrayBody parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -2443,7 +2443,7 @@ public List getDoubleValid() { /** * Set array value [0, -0.01, 1.2e20]. * - * @param arrayBody The array value [0, -0.01, 1.2e20]. + * @param arrayBody The arrayBody parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -2466,7 +2466,7 @@ public Mono> putDoubleValidWithResponseAsync(List arrayBo /** * Set array value [0, -0.01, 1.2e20]. * - * @param arrayBody The array value [0, -0.01, 1.2e20]. + * @param arrayBody The arrayBody parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -2489,7 +2489,7 @@ public Mono> putDoubleValidWithResponseAsync(List arrayBo /** * Set array value [0, -0.01, 1.2e20]. * - * @param arrayBody The array value [0, -0.01, 1.2e20]. + * @param arrayBody The arrayBody parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -2503,7 +2503,7 @@ public Mono putDoubleValidAsync(List arrayBody) { /** * Set array value [0, -0.01, 1.2e20]. * - * @param arrayBody The array value [0, -0.01, 1.2e20]. + * @param arrayBody The arrayBody parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -2518,7 +2518,7 @@ public Mono putDoubleValidAsync(List arrayBody, Context context) { /** * Set array value [0, -0.01, 1.2e20]. * - * @param arrayBody The array value [0, -0.01, 1.2e20]. + * @param arrayBody The arrayBody parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -2533,7 +2533,7 @@ public Response putDoubleValidWithResponse(List arrayBody, Context /** * Set array value [0, -0.01, 1.2e20]. * - * @param arrayBody The array value [0, -0.01, 1.2e20]. + * @param arrayBody The arrayBody parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -2816,7 +2816,7 @@ public List getStringValid() { /** * Set array value ['foo1', 'foo2', 'foo3']. * - * @param arrayBody The array value ['foo1', 'foo2', 'foo3']. + * @param arrayBody The arrayBody parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -2839,7 +2839,7 @@ public Mono> putStringValidWithResponseAsync(List arrayBo /** * Set array value ['foo1', 'foo2', 'foo3']. * - * @param arrayBody The array value ['foo1', 'foo2', 'foo3']. + * @param arrayBody The arrayBody parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -2862,7 +2862,7 @@ public Mono> putStringValidWithResponseAsync(List arrayBo /** * Set array value ['foo1', 'foo2', 'foo3']. * - * @param arrayBody The array value ['foo1', 'foo2', 'foo3']. + * @param arrayBody The arrayBody parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -2876,7 +2876,7 @@ public Mono putStringValidAsync(List arrayBody) { /** * Set array value ['foo1', 'foo2', 'foo3']. * - * @param arrayBody The array value ['foo1', 'foo2', 'foo3']. + * @param arrayBody The arrayBody parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -2891,7 +2891,7 @@ public Mono putStringValidAsync(List arrayBody, Context context) { /** * Set array value ['foo1', 'foo2', 'foo3']. * - * @param arrayBody The array value ['foo1', 'foo2', 'foo3']. + * @param arrayBody The arrayBody parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -2906,7 +2906,7 @@ public Response putStringValidWithResponse(List arrayBody, Context /** * Set array value ['foo1', 'foo2', 'foo3']. * - * @param arrayBody The array value ['foo1', 'foo2', 'foo3']. + * @param arrayBody The arrayBody parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -3009,7 +3009,7 @@ public List getEnumValid() { /** * Set array value ['foo1', 'foo2', 'foo3']. * - * @param arrayBody The array value ['foo1', 'foo2', 'foo3']. + * @param arrayBody The arrayBody parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -3031,7 +3031,7 @@ public Mono> putEnumValidWithResponseAsync(List arrayBod /** * Set array value ['foo1', 'foo2', 'foo3']. * - * @param arrayBody The array value ['foo1', 'foo2', 'foo3']. + * @param arrayBody The arrayBody parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -3054,7 +3054,7 @@ public Mono> putEnumValidWithResponseAsync(List arrayBod /** * Set array value ['foo1', 'foo2', 'foo3']. * - * @param arrayBody The array value ['foo1', 'foo2', 'foo3']. + * @param arrayBody The arrayBody parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -3068,7 +3068,7 @@ public Mono putEnumValidAsync(List arrayBody) { /** * Set array value ['foo1', 'foo2', 'foo3']. * - * @param arrayBody The array value ['foo1', 'foo2', 'foo3']. + * @param arrayBody The arrayBody parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -3083,7 +3083,7 @@ public Mono putEnumValidAsync(List arrayBody, Context context) { /** * Set array value ['foo1', 'foo2', 'foo3']. * - * @param arrayBody The array value ['foo1', 'foo2', 'foo3']. + * @param arrayBody The arrayBody parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -3098,7 +3098,7 @@ public Response putEnumValidWithResponse(List arrayBody, Context /** * Set array value ['foo1', 'foo2', 'foo3']. * - * @param arrayBody The array value ['foo1', 'foo2', 'foo3']. + * @param arrayBody The arrayBody parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -3201,7 +3201,7 @@ public List getStringEnumValid() { /** * Set array value ['foo1', 'foo2', 'foo3']. * - * @param arrayBody The array value ['foo1', 'foo2', 'foo3']. + * @param arrayBody The arrayBody parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -3224,7 +3224,7 @@ public Mono> putStringEnumValidWithResponseAsync(List arra /** * Set array value ['foo1', 'foo2', 'foo3']. * - * @param arrayBody The array value ['foo1', 'foo2', 'foo3']. + * @param arrayBody The arrayBody parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -3247,7 +3247,7 @@ public Mono> putStringEnumValidWithResponseAsync(List arra /** * Set array value ['foo1', 'foo2', 'foo3']. * - * @param arrayBody The array value ['foo1', 'foo2', 'foo3']. + * @param arrayBody The arrayBody parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -3261,7 +3261,7 @@ public Mono putStringEnumValidAsync(List arrayBody) { /** * Set array value ['foo1', 'foo2', 'foo3']. * - * @param arrayBody The array value ['foo1', 'foo2', 'foo3']. + * @param arrayBody The arrayBody parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -3276,7 +3276,7 @@ public Mono putStringEnumValidAsync(List arrayBody, Context context /** * Set array value ['foo1', 'foo2', 'foo3']. * - * @param arrayBody The array value ['foo1', 'foo2', 'foo3']. + * @param arrayBody The arrayBody parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -3291,7 +3291,7 @@ public Response putStringEnumValidWithResponse(List arrayBody, Cont /** * Set array value ['foo1', 'foo2', 'foo3']. * - * @param arrayBody The array value ['foo1', 'foo2', 'foo3']. + * @param arrayBody The arrayBody parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -3585,8 +3585,7 @@ public List getUuidValid() { * Set array value ['6dcc7237-45fe-45c4-8a6b-3a8a3f625652', 'd1399005-30f7-40d6-8da6-dd7c89ad34db', * 'f42f6aa1-a5bc-4ddf-907e-5f915de43205']. * - * @param arrayBody The array value ['6dcc7237-45fe-45c4-8a6b-3a8a3f625652', 'd1399005-30f7-40d6-8da6-dd7c89ad34db', - * 'f42f6aa1-a5bc-4ddf-907e-5f915de43205']. + * @param arrayBody The arrayBody parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -3609,8 +3608,7 @@ public Mono> putUuidValidWithResponseAsync(List arrayBody) * Set array value ['6dcc7237-45fe-45c4-8a6b-3a8a3f625652', 'd1399005-30f7-40d6-8da6-dd7c89ad34db', * 'f42f6aa1-a5bc-4ddf-907e-5f915de43205']. * - * @param arrayBody The array value ['6dcc7237-45fe-45c4-8a6b-3a8a3f625652', 'd1399005-30f7-40d6-8da6-dd7c89ad34db', - * 'f42f6aa1-a5bc-4ddf-907e-5f915de43205']. + * @param arrayBody The arrayBody parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -3634,8 +3632,7 @@ public Mono> putUuidValidWithResponseAsync(List arrayBody, * Set array value ['6dcc7237-45fe-45c4-8a6b-3a8a3f625652', 'd1399005-30f7-40d6-8da6-dd7c89ad34db', * 'f42f6aa1-a5bc-4ddf-907e-5f915de43205']. * - * @param arrayBody The array value ['6dcc7237-45fe-45c4-8a6b-3a8a3f625652', 'd1399005-30f7-40d6-8da6-dd7c89ad34db', - * 'f42f6aa1-a5bc-4ddf-907e-5f915de43205']. + * @param arrayBody The arrayBody parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -3650,8 +3647,7 @@ public Mono putUuidValidAsync(List arrayBody) { * Set array value ['6dcc7237-45fe-45c4-8a6b-3a8a3f625652', 'd1399005-30f7-40d6-8da6-dd7c89ad34db', * 'f42f6aa1-a5bc-4ddf-907e-5f915de43205']. * - * @param arrayBody The array value ['6dcc7237-45fe-45c4-8a6b-3a8a3f625652', 'd1399005-30f7-40d6-8da6-dd7c89ad34db', - * 'f42f6aa1-a5bc-4ddf-907e-5f915de43205']. + * @param arrayBody The arrayBody parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -3667,8 +3663,7 @@ public Mono putUuidValidAsync(List arrayBody, Context context) { * Set array value ['6dcc7237-45fe-45c4-8a6b-3a8a3f625652', 'd1399005-30f7-40d6-8da6-dd7c89ad34db', * 'f42f6aa1-a5bc-4ddf-907e-5f915de43205']. * - * @param arrayBody The array value ['6dcc7237-45fe-45c4-8a6b-3a8a3f625652', 'd1399005-30f7-40d6-8da6-dd7c89ad34db', - * 'f42f6aa1-a5bc-4ddf-907e-5f915de43205']. + * @param arrayBody The arrayBody parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -3684,8 +3679,7 @@ public Response putUuidValidWithResponse(List arrayBody, Context con * Set array value ['6dcc7237-45fe-45c4-8a6b-3a8a3f625652', 'd1399005-30f7-40d6-8da6-dd7c89ad34db', * 'f42f6aa1-a5bc-4ddf-907e-5f915de43205']. * - * @param arrayBody The array value ['6dcc7237-45fe-45c4-8a6b-3a8a3f625652', 'd1399005-30f7-40d6-8da6-dd7c89ad34db', - * 'f42f6aa1-a5bc-4ddf-907e-5f915de43205']. + * @param arrayBody The arrayBody parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -3880,7 +3874,7 @@ public List getDateValid() { /** * Set array value ['2000-12-01', '1980-01-02', '1492-10-12']. * - * @param arrayBody The array value ['2000-12-01', '1980-01-02', '1492-10-12']. + * @param arrayBody The arrayBody parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -3902,7 +3896,7 @@ public Mono> putDateValidWithResponseAsync(List arrayB /** * Set array value ['2000-12-01', '1980-01-02', '1492-10-12']. * - * @param arrayBody The array value ['2000-12-01', '1980-01-02', '1492-10-12']. + * @param arrayBody The arrayBody parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -3925,7 +3919,7 @@ public Mono> putDateValidWithResponseAsync(List arrayB /** * Set array value ['2000-12-01', '1980-01-02', '1492-10-12']. * - * @param arrayBody The array value ['2000-12-01', '1980-01-02', '1492-10-12']. + * @param arrayBody The arrayBody parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -3939,7 +3933,7 @@ public Mono putDateValidAsync(List arrayBody) { /** * Set array value ['2000-12-01', '1980-01-02', '1492-10-12']. * - * @param arrayBody The array value ['2000-12-01', '1980-01-02', '1492-10-12']. + * @param arrayBody The arrayBody parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -3954,7 +3948,7 @@ public Mono putDateValidAsync(List arrayBody, Context context) /** * Set array value ['2000-12-01', '1980-01-02', '1492-10-12']. * - * @param arrayBody The array value ['2000-12-01', '1980-01-02', '1492-10-12']. + * @param arrayBody The arrayBody parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -3969,7 +3963,7 @@ public Response putDateValidWithResponse(List arrayBody, Contex /** * Set array value ['2000-12-01', '1980-01-02', '1492-10-12']. * - * @param arrayBody The array value ['2000-12-01', '1980-01-02', '1492-10-12']. + * @param arrayBody The arrayBody parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -4255,8 +4249,7 @@ public List getDateTimeValid() { /** * Set array value ['2000-12-01t00:00:01z', '1980-01-02T00:11:35+01:00', '1492-10-12T10:15:01-08:00']. * - * @param arrayBody The array value ['2000-12-01t00:00:01z', '1980-01-02T00:11:35+01:00', - * '1492-10-12T10:15:01-08:00']. + * @param arrayBody The arrayBody parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -4279,8 +4272,7 @@ public Mono> putDateTimeValidWithResponseAsync(List> putDateTimeValidWithResponseAsync(List putDateTimeValidAsync(List arrayBody) { /** * Set array value ['2000-12-01t00:00:01z', '1980-01-02T00:11:35+01:00', '1492-10-12T10:15:01-08:00']. * - * @param arrayBody The array value ['2000-12-01t00:00:01z', '1980-01-02T00:11:35+01:00', - * '1492-10-12T10:15:01-08:00']. + * @param arrayBody The arrayBody parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -4334,8 +4324,7 @@ public Mono putDateTimeValidAsync(List arrayBody, Context /** * Set array value ['2000-12-01t00:00:01z', '1980-01-02T00:11:35+01:00', '1492-10-12T10:15:01-08:00']. * - * @param arrayBody The array value ['2000-12-01t00:00:01z', '1980-01-02T00:11:35+01:00', - * '1492-10-12T10:15:01-08:00']. + * @param arrayBody The arrayBody parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -4350,8 +4339,7 @@ public Response putDateTimeValidWithResponse(List arrayBod /** * Set array value ['2000-12-01t00:00:01z', '1980-01-02T00:11:35+01:00', '1492-10-12T10:15:01-08:00']. * - * @param arrayBody The array value ['2000-12-01t00:00:01z', '1980-01-02T00:11:35+01:00', - * '1492-10-12T10:15:01-08:00']. + * @param arrayBody The arrayBody parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -4645,8 +4633,7 @@ public List getDateTimeRfc1123Valid() { * Set array value ['Fri, 01 Dec 2000 00:00:01 GMT', 'Wed, 02 Jan 1980 00:11:35 GMT', 'Wed, 12 Oct 1492 10:15:01 * GMT']. * - * @param arrayBody The array value ['Fri, 01 Dec 2000 00:00:01 GMT', 'Wed, 02 Jan 1980 00:11:35 GMT', 'Wed, 12 Oct - * 1492 10:15:01 GMT']. + * @param arrayBody The arrayBody parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -4672,8 +4659,7 @@ public Mono> putDateTimeRfc1123ValidWithResponseAsync(List> putDateTimeRfc1123ValidWithResponseAsync(List putDateTimeRfc1123ValidAsync(List arrayBody) { * Set array value ['Fri, 01 Dec 2000 00:00:01 GMT', 'Wed, 02 Jan 1980 00:11:35 GMT', 'Wed, 12 Oct 1492 10:15:01 * GMT']. * - * @param arrayBody The array value ['Fri, 01 Dec 2000 00:00:01 GMT', 'Wed, 02 Jan 1980 00:11:35 GMT', 'Wed, 12 Oct - * 1492 10:15:01 GMT']. + * @param arrayBody The arrayBody parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -4733,8 +4717,7 @@ public Mono putDateTimeRfc1123ValidAsync(List arrayBody, C * Set array value ['Fri, 01 Dec 2000 00:00:01 GMT', 'Wed, 02 Jan 1980 00:11:35 GMT', 'Wed, 12 Oct 1492 10:15:01 * GMT']. * - * @param arrayBody The array value ['Fri, 01 Dec 2000 00:00:01 GMT', 'Wed, 02 Jan 1980 00:11:35 GMT', 'Wed, 12 Oct - * 1492 10:15:01 GMT']. + * @param arrayBody The arrayBody parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -4750,8 +4733,7 @@ public Response putDateTimeRfc1123ValidWithResponse(List a * Set array value ['Fri, 01 Dec 2000 00:00:01 GMT', 'Wed, 02 Jan 1980 00:11:35 GMT', 'Wed, 12 Oct 1492 10:15:01 * GMT']. * - * @param arrayBody The array value ['Fri, 01 Dec 2000 00:00:01 GMT', 'Wed, 02 Jan 1980 00:11:35 GMT', 'Wed, 12 Oct - * 1492 10:15:01 GMT']. + * @param arrayBody The arrayBody parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -4854,7 +4836,7 @@ public List getDurationValid() { /** * Set array value ['P123DT22H14M12.011S', 'P5DT1H0M0S']. * - * @param arrayBody The array value ['P123DT22H14M12.011S', 'P5DT1H0M0S']. + * @param arrayBody The arrayBody parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -4877,7 +4859,7 @@ public Mono> putDurationValidWithResponseAsync(List arr /** * Set array value ['P123DT22H14M12.011S', 'P5DT1H0M0S']. * - * @param arrayBody The array value ['P123DT22H14M12.011S', 'P5DT1H0M0S']. + * @param arrayBody The arrayBody parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -4900,7 +4882,7 @@ public Mono> putDurationValidWithResponseAsync(List arr /** * Set array value ['P123DT22H14M12.011S', 'P5DT1H0M0S']. * - * @param arrayBody The array value ['P123DT22H14M12.011S', 'P5DT1H0M0S']. + * @param arrayBody The arrayBody parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -4914,7 +4896,7 @@ public Mono putDurationValidAsync(List arrayBody) { /** * Set array value ['P123DT22H14M12.011S', 'P5DT1H0M0S']. * - * @param arrayBody The array value ['P123DT22H14M12.011S', 'P5DT1H0M0S']. + * @param arrayBody The arrayBody parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -4929,7 +4911,7 @@ public Mono putDurationValidAsync(List arrayBody, Context contex /** * Set array value ['P123DT22H14M12.011S', 'P5DT1H0M0S']. * - * @param arrayBody The array value ['P123DT22H14M12.011S', 'P5DT1H0M0S']. + * @param arrayBody The arrayBody parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -4944,7 +4926,7 @@ public Response putDurationValidWithResponse(List arrayBody, Con /** * Set array value ['P123DT22H14M12.011S', 'P5DT1H0M0S']. * - * @param arrayBody The array value ['P123DT22H14M12.011S', 'P5DT1H0M0S']. + * @param arrayBody The arrayBody parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -5050,8 +5032,7 @@ public List getByteValid() { /** * Put the array value [hex(FF FF FF FA), hex(01 02 03), hex (25, 29, 43)] with each elementencoded in base 64. * - * @param arrayBody The array value [hex(FF FF FF FA), hex(01 02 03), hex (25, 29, 43)] with each elementencoded in - * base 64. + * @param arrayBody The arrayBody parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -5073,8 +5054,7 @@ public Mono> putByteValidWithResponseAsync(List arrayBody /** * Put the array value [hex(FF FF FF FA), hex(01 02 03), hex (25, 29, 43)] with each elementencoded in base 64. * - * @param arrayBody The array value [hex(FF FF FF FA), hex(01 02 03), hex (25, 29, 43)] with each elementencoded in - * base 64. + * @param arrayBody The arrayBody parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -5097,8 +5077,7 @@ public Mono> putByteValidWithResponseAsync(List arrayBody /** * Put the array value [hex(FF FF FF FA), hex(01 02 03), hex (25, 29, 43)] with each elementencoded in base 64. * - * @param arrayBody The array value [hex(FF FF FF FA), hex(01 02 03), hex (25, 29, 43)] with each elementencoded in - * base 64. + * @param arrayBody The arrayBody parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -5112,8 +5091,7 @@ public Mono putByteValidAsync(List arrayBody) { /** * Put the array value [hex(FF FF FF FA), hex(01 02 03), hex (25, 29, 43)] with each elementencoded in base 64. * - * @param arrayBody The array value [hex(FF FF FF FA), hex(01 02 03), hex (25, 29, 43)] with each elementencoded in - * base 64. + * @param arrayBody The arrayBody parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -5128,8 +5106,7 @@ public Mono putByteValidAsync(List arrayBody, Context context) { /** * Put the array value [hex(FF FF FF FA), hex(01 02 03), hex (25, 29, 43)] with each elementencoded in base 64. * - * @param arrayBody The array value [hex(FF FF FF FA), hex(01 02 03), hex (25, 29, 43)] with each elementencoded in - * base 64. + * @param arrayBody The arrayBody parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -5144,8 +5121,7 @@ public Response putByteValidWithResponse(List arrayBody, Context c /** * Put the array value [hex(FF FF FF FA), hex(01 02 03), hex (25, 29, 43)] with each elementencoded in base 64. * - * @param arrayBody The array value [hex(FF FF FF FA), hex(01 02 03), hex (25, 29, 43)] with each elementencoded in - * base 64. + * @param arrayBody The arrayBody parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -5813,8 +5789,7 @@ public List getComplexValid() { * Put an array of complex type with values [{'integer': 1 'string': '2'}, {'integer': 3, 'string': '4'}, * {'integer': 5, 'string': '6'}]. * - * @param arrayBody array of complex type with [{'integer': 1 'string': '2'}, {'integer': 3, 'string': '4'}, - * {'integer': 5, 'string': '6'}]. + * @param arrayBody The arrayBody parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -5840,8 +5815,7 @@ public Mono> putComplexValidWithResponseAsync(List array * Put an array of complex type with values [{'integer': 1 'string': '2'}, {'integer': 3, 'string': '4'}, * {'integer': 5, 'string': '6'}]. * - * @param arrayBody array of complex type with [{'integer': 1 'string': '2'}, {'integer': 3, 'string': '4'}, - * {'integer': 5, 'string': '6'}]. + * @param arrayBody The arrayBody parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -5867,8 +5841,7 @@ public Mono> putComplexValidWithResponseAsync(List array * Put an array of complex type with values [{'integer': 1 'string': '2'}, {'integer': 3, 'string': '4'}, * {'integer': 5, 'string': '6'}]. * - * @param arrayBody array of complex type with [{'integer': 1 'string': '2'}, {'integer': 3, 'string': '4'}, - * {'integer': 5, 'string': '6'}]. + * @param arrayBody The arrayBody parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -5883,8 +5856,7 @@ public Mono putComplexValidAsync(List arrayBody) { * Put an array of complex type with values [{'integer': 1 'string': '2'}, {'integer': 3, 'string': '4'}, * {'integer': 5, 'string': '6'}]. * - * @param arrayBody array of complex type with [{'integer': 1 'string': '2'}, {'integer': 3, 'string': '4'}, - * {'integer': 5, 'string': '6'}]. + * @param arrayBody The arrayBody parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -5900,8 +5872,7 @@ public Mono putComplexValidAsync(List arrayBody, Context context) * Put an array of complex type with values [{'integer': 1 'string': '2'}, {'integer': 3, 'string': '4'}, * {'integer': 5, 'string': '6'}]. * - * @param arrayBody array of complex type with [{'integer': 1 'string': '2'}, {'integer': 3, 'string': '4'}, - * {'integer': 5, 'string': '6'}]. + * @param arrayBody The arrayBody parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -5917,8 +5888,7 @@ public Response putComplexValidWithResponse(List arrayBody, Conte * Put an array of complex type with values [{'integer': 1 'string': '2'}, {'integer': 3, 'string': '4'}, * {'integer': 5, 'string': '6'}]. * - * @param arrayBody array of complex type with [{'integer': 1 'string': '2'}, {'integer': 3, 'string': '4'}, - * {'integer': 5, 'string': '6'}]. + * @param arrayBody The arrayBody parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -6384,7 +6354,7 @@ public List> getArrayValid() { /** * Put An array of array of strings [['1', '2', '3'], ['4', '5', '6'], ['7', '8', '9']]. * - * @param arrayBody An array of array of strings [['1', '2', '3'], ['4', '5', '6'], ['7', '8', '9']]. + * @param arrayBody The arrayBody parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -6407,7 +6377,7 @@ public Mono> putArrayValidWithResponseAsync(List> ar /** * Put An array of array of strings [['1', '2', '3'], ['4', '5', '6'], ['7', '8', '9']]. * - * @param arrayBody An array of array of strings [['1', '2', '3'], ['4', '5', '6'], ['7', '8', '9']]. + * @param arrayBody The arrayBody parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -6430,7 +6400,7 @@ public Mono> putArrayValidWithResponseAsync(List> ar /** * Put An array of array of strings [['1', '2', '3'], ['4', '5', '6'], ['7', '8', '9']]. * - * @param arrayBody An array of array of strings [['1', '2', '3'], ['4', '5', '6'], ['7', '8', '9']]. + * @param arrayBody The arrayBody parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -6444,7 +6414,7 @@ public Mono putArrayValidAsync(List> arrayBody) { /** * Put An array of array of strings [['1', '2', '3'], ['4', '5', '6'], ['7', '8', '9']]. * - * @param arrayBody An array of array of strings [['1', '2', '3'], ['4', '5', '6'], ['7', '8', '9']]. + * @param arrayBody The arrayBody parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -6459,7 +6429,7 @@ public Mono putArrayValidAsync(List> arrayBody, Context conte /** * Put An array of array of strings [['1', '2', '3'], ['4', '5', '6'], ['7', '8', '9']]. * - * @param arrayBody An array of array of strings [['1', '2', '3'], ['4', '5', '6'], ['7', '8', '9']]. + * @param arrayBody The arrayBody parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -6474,7 +6444,7 @@ public Response putArrayValidWithResponse(List> arrayBody, Co /** * Put An array of array of strings [['1', '2', '3'], ['4', '5', '6'], ['7', '8', '9']]. * - * @param arrayBody An array of array of strings [['1', '2', '3'], ['4', '5', '6'], ['7', '8', '9']]. + * @param arrayBody The arrayBody parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -6979,8 +6949,7 @@ public List> getDictionaryValid() { * Get an array of Dictionaries of type <string, string> with value [{'1': 'one', '2': 'two', '3': 'three'}, * {'4': 'four', '5': 'five', '6': 'six'}, {'7': 'seven', '8': 'eight', '9': 'nine'}]. * - * @param arrayBody An array of Dictionaries of type <string, string> with value [{'1': 'one', '2': 'two', - * '3': 'three'}, {'4': 'four', '5': 'five', '6': 'six'}, {'7': 'seven', '8': 'eight', '9': 'nine'}]. + * @param arrayBody The arrayBody parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -7006,8 +6975,7 @@ public Mono> putDictionaryValidWithResponseAsync(List> putDictionaryValidWithResponseAsync(List putDictionaryValidAsync(List> arrayBody) { * Get an array of Dictionaries of type <string, string> with value [{'1': 'one', '2': 'two', '3': 'three'}, * {'4': 'four', '5': 'five', '6': 'six'}, {'7': 'seven', '8': 'eight', '9': 'nine'}]. * - * @param arrayBody An array of Dictionaries of type <string, string> with value [{'1': 'one', '2': 'two', - * '3': 'three'}, {'4': 'four', '5': 'five', '6': 'six'}, {'7': 'seven', '8': 'eight', '9': 'nine'}]. + * @param arrayBody The arrayBody parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -7071,8 +7037,7 @@ public Mono putDictionaryValidAsync(List> arrayBody, C * Get an array of Dictionaries of type <string, string> with value [{'1': 'one', '2': 'two', '3': 'three'}, * {'4': 'four', '5': 'five', '6': 'six'}, {'7': 'seven', '8': 'eight', '9': 'nine'}]. * - * @param arrayBody An array of Dictionaries of type <string, string> with value [{'1': 'one', '2': 'two', - * '3': 'three'}, {'4': 'four', '5': 'five', '6': 'six'}, {'7': 'seven', '8': 'eight', '9': 'nine'}]. + * @param arrayBody The arrayBody parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -7090,8 +7055,7 @@ public Response putDictionaryValidWithResponse(List> a * Get an array of Dictionaries of type <string, string> with value [{'1': 'one', '2': 'two', '3': 'three'}, * {'4': 'four', '5': 'five', '6': 'six'}, {'7': 'seven', '8': 'eight', '9': 'nine'}]. * - * @param arrayBody An array of Dictionaries of type <string, string> with value [{'1': 'one', '2': 'two', - * '3': 'three'}, {'4': 'four', '5': 'five', '6': 'six'}, {'7': 'seven', '8': 'eight', '9': 'nine'}]. + * @param arrayBody The arrayBody parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. diff --git a/vanilla-tests/src/main/java/fixtures/bodydictionary/AutoRestSwaggerBATDictionaryServiceAsyncClient.java b/vanilla-tests/src/main/java/fixtures/bodydictionary/AutoRestSwaggerBATDictionaryServiceAsyncClient.java index 7b33a8d3ca..7f6c374685 100644 --- a/vanilla-tests/src/main/java/fixtures/bodydictionary/AutoRestSwaggerBATDictionaryServiceAsyncClient.java +++ b/vanilla-tests/src/main/java/fixtures/bodydictionary/AutoRestSwaggerBATDictionaryServiceAsyncClient.java @@ -92,7 +92,7 @@ public Mono> getEmpty() { /** * Set dictionary value empty {}. * - * @param arrayBody The empty dictionary value {}. + * @param arrayBody The arrayBody parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -107,7 +107,7 @@ public Mono> putEmptyWithResponse(Map arrayBody) /** * Set dictionary value empty {}. * - * @param arrayBody The empty dictionary value {}. + * @param arrayBody The arrayBody parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -254,7 +254,7 @@ public Mono> getBooleanTfft() { /** * Set dictionary value empty {"0": true, "1": false, "2": false, "3": true }. * - * @param arrayBody The dictionary value {"0": true, "1": false, "2": false, "3": true }. + * @param arrayBody The arrayBody parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -269,7 +269,7 @@ public Mono> putBooleanTfftWithResponse(Map arra /** * Set dictionary value empty {"0": true, "1": false, "2": false, "3": true }. * - * @param arrayBody The dictionary value {"0": true, "1": false, "2": false, "3": true }. + * @param arrayBody The arrayBody parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -366,7 +366,7 @@ public Mono> getIntegerValid() { /** * Set dictionary value empty {"0": 1, "1": -1, "2": 3, "3": 300}. * - * @param arrayBody The dictionary value {"0": 1, "1": -1, "2": 3, "3": 300}. + * @param arrayBody The arrayBody parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -381,7 +381,7 @@ public Mono> putIntegerValidWithResponse(Map arr /** * Set dictionary value empty {"0": 1, "1": -1, "2": 3, "3": 300}. * - * @param arrayBody The dictionary value {"0": 1, "1": -1, "2": 3, "3": 300}. + * @param arrayBody The arrayBody parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -477,7 +477,7 @@ public Mono> getLongValid() { /** * Set dictionary value empty {"0": 1, "1": -1, "2": 3, "3": 300}. * - * @param arrayBody The dictionary value {"0": 1, "1": -1, "2": 3, "3": 300}. + * @param arrayBody The arrayBody parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -492,7 +492,7 @@ public Mono> putLongValidWithResponse(Map arrayBody /** * Set dictionary value empty {"0": 1, "1": -1, "2": 3, "3": 300}. * - * @param arrayBody The dictionary value {"0": 1, "1": -1, "2": 3, "3": 300}. + * @param arrayBody The arrayBody parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -588,7 +588,7 @@ public Mono> getFloatValid() { /** * Set dictionary value {"0": 0, "1": -0.01, "2": 1.2e20}. * - * @param arrayBody The dictionary value {"0": 0, "1": -0.01, "2": 1.2e20}. + * @param arrayBody The arrayBody parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -603,7 +603,7 @@ public Mono> putFloatValidWithResponse(Map arrayBo /** * Set dictionary value {"0": 0, "1": -0.01, "2": 1.2e20}. * - * @param arrayBody The dictionary value {"0": 0, "1": -0.01, "2": 1.2e20}. + * @param arrayBody The arrayBody parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -699,7 +699,7 @@ public Mono> getDoubleValid() { /** * Set dictionary value {"0": 0, "1": -0.01, "2": 1.2e20}. * - * @param arrayBody The dictionary value {"0": 0, "1": -0.01, "2": 1.2e20}. + * @param arrayBody The arrayBody parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -714,7 +714,7 @@ public Mono> putDoubleValidWithResponse(Map array /** * Set dictionary value {"0": 0, "1": -0.01, "2": 1.2e20}. * - * @param arrayBody The dictionary value {"0": 0, "1": -0.01, "2": 1.2e20}. + * @param arrayBody The arrayBody parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -810,7 +810,7 @@ public Mono> getStringValid() { /** * Set dictionary value {"0": "foo1", "1": "foo2", "2": "foo3"}. * - * @param arrayBody The dictionary value {"0": "foo1", "1": "foo2", "2": "foo3"}. + * @param arrayBody The arrayBody parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -825,7 +825,7 @@ public Mono> putStringValidWithResponse(Map array /** * Set dictionary value {"0": "foo1", "1": "foo2", "2": "foo3"}. * - * @param arrayBody The dictionary value {"0": "foo1", "1": "foo2", "2": "foo3"}. + * @param arrayBody The arrayBody parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -922,7 +922,7 @@ public Mono> getDateValid() { /** * Set dictionary value {"0": "2000-12-01", "1": "1980-01-02", "2": "1492-10-12"}. * - * @param arrayBody The dictionary value {"0": "2000-12-01", "1": "1980-01-02", "2": "1492-10-12"}. + * @param arrayBody The arrayBody parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -937,7 +937,7 @@ public Mono> putDateValidWithResponse(Map arra /** * Set dictionary value {"0": "2000-12-01", "1": "1980-01-02", "2": "1492-10-12"}. * - * @param arrayBody The dictionary value {"0": "2000-12-01", "1": "1980-01-02", "2": "1492-10-12"}. + * @param arrayBody The arrayBody parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -1038,8 +1038,7 @@ public Mono> getDateTimeValid() { * Set dictionary value {"0": "2000-12-01t00:00:01z", "1": "1980-01-02T00:11:35+01:00", "2": * "1492-10-12T10:15:01-08:00"}. * - * @param arrayBody The dictionary value {"0": "2000-12-01t00:00:01z", "1": "1980-01-02T00:11:35+01:00", "2": - * "1492-10-12T10:15:01-08:00"}. + * @param arrayBody The arrayBody parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -1055,8 +1054,7 @@ public Mono> putDateTimeValidWithResponse(Map> getDateTimeRfc1123Valid() { * Set dictionary value empty {"0": "Fri, 01 Dec 2000 00:00:01 GMT", "1": "Wed, 02 Jan 1980 00:11:35 GMT", "2": * "Wed, 12 Oct 1492 10:15:01 GMT"}. * - * @param arrayBody The dictionary value {"0": "Fri, 01 Dec 2000 00:00:01 GMT", "1": "Wed, 02 Jan 1980 00:11:35 - * GMT", "2": "Wed, 12 Oct 1492 10:15:01 GMT"}. + * @param arrayBody The arrayBody parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -1174,8 +1171,7 @@ public Mono> putDateTimeRfc1123ValidWithResponse(Map> getDurationValid() { /** * Set dictionary value {"0": "P123DT22H14M12.011S", "1": "P5DT1H0M0S"}. * - * @param arrayBody The dictionary value {"0": "P123DT22H14M12.011S", "1": "P5DT1H0M0S"}. + * @param arrayBody The arrayBody parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -1233,7 +1229,7 @@ public Mono> putDurationValidWithResponse(Map a /** * Set dictionary value {"0": "P123DT22H14M12.011S", "1": "P5DT1H0M0S"}. * - * @param arrayBody The dictionary value {"0": "P123DT22H14M12.011S", "1": "P5DT1H0M0S"}. + * @param arrayBody The arrayBody parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -1279,8 +1275,7 @@ public Mono> getByteValid() { * Put the dictionary value {"0": hex(FF FF FF FA), "1": hex(01 02 03), "2": hex (25, 29, 43)} with each * elementencoded in base 64. * - * @param arrayBody The dictionary value {"0": hex(FF FF FF FA), "1": hex(01 02 03), "2": hex (25, 29, 43)} with - * each elementencoded in base 64. + * @param arrayBody The arrayBody parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -1296,8 +1291,7 @@ public Mono> putByteValidWithResponse(Map arrayBo * Put the dictionary value {"0": hex(FF FF FF FA), "1": hex(01 02 03), "2": hex (25, 29, 43)} with each * elementencoded in base 64. * - * @param arrayBody The dictionary value {"0": hex(FF FF FF FA), "1": hex(01 02 03), "2": hex (25, 29, 43)} with - * each elementencoded in base 64. + * @param arrayBody The arrayBody parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -1514,8 +1508,7 @@ public Mono> getComplexValid() { * Put an dictionary of complex type with values {"0": {"integer": 1, "string": "2"}, "1": {"integer": 3, "string": * "4"}, "2": {"integer": 5, "string": "6"}}. * - * @param arrayBody Dictionary of complex type with {"0": {"integer": 1, "string": "2"}, "1": {"integer": 3, - * "string": "4"}, "2": {"integer": 5, "string": "6"}}. + * @param arrayBody The arrayBody parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -1531,8 +1524,7 @@ public Mono> putComplexValidWithResponse(Map arra * Put an dictionary of complex type with values {"0": {"integer": 1, "string": "2"}, "1": {"integer": 3, "string": * "4"}, "2": {"integer": 5, "string": "6"}}. * - * @param arrayBody Dictionary of complex type with {"0": {"integer": 1, "string": "2"}, "1": {"integer": 3, - * "string": "4"}, "2": {"integer": 5, "string": "6"}}. + * @param arrayBody The arrayBody parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -1683,7 +1675,7 @@ public Mono>> getArrayValid() { /** * Put An array of array of strings {"0": ["1", "2", "3"], "1": ["4", "5", "6"], "2": ["7", "8", "9"]}. * - * @param arrayBody An array of array of strings {"0": ["1", "2", "3"], "1": ["4", "5", "6"], "2": ["7", "8", "9"]}. + * @param arrayBody The arrayBody parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -1698,7 +1690,7 @@ public Mono> putArrayValidWithResponse(Map> /** * Put An array of array of strings {"0": ["1", "2", "3"], "1": ["4", "5", "6"], "2": ["7", "8", "9"]}. * - * @param arrayBody An array of array of strings {"0": ["1", "2", "3"], "1": ["4", "5", "6"], "2": ["7", "8", "9"]}. + * @param arrayBody The arrayBody parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -1864,9 +1856,7 @@ public Mono>> getDictionaryValid() { * Get an dictionaries of dictionaries of type <string, string> with value {"0": {"1": "one", "2": "two", "3": * "three"}, "1": {"4": "four", "5": "five", "6": "six"}, "2": {"7": "seven", "8": "eight", "9": "nine"}}. * - * @param arrayBody An dictionaries of dictionaries of type <string, string> with value {"0": {"1": "one", - * "2": "two", "3": "three"}, "1": {"4": "four", "5": "five", "6": "six"}, "2": {"7": "seven", "8": "eight", "9": - * "nine"}}. + * @param arrayBody The arrayBody parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -1884,9 +1874,7 @@ public Mono> putDictionaryValidWithResponse(Map getEmpty() { /** * Set dictionary value empty {}. * - * @param arrayBody The empty dictionary value {}. + * @param arrayBody The arrayBody parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -112,7 +112,7 @@ public Response putEmptyWithResponse(Map arrayBody, Contex /** * Set dictionary value empty {}. * - * @param arrayBody The empty dictionary value {}. + * @param arrayBody The arrayBody parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -266,7 +266,7 @@ public Map getBooleanTfft() { /** * Set dictionary value empty {"0": true, "1": false, "2": false, "3": true }. * - * @param arrayBody The dictionary value {"0": true, "1": false, "2": false, "3": true }. + * @param arrayBody The arrayBody parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -282,7 +282,7 @@ public Response putBooleanTfftWithResponse(Map arrayBody, /** * Set dictionary value empty {"0": true, "1": false, "2": false, "3": true }. * - * @param arrayBody The dictionary value {"0": true, "1": false, "2": false, "3": true }. + * @param arrayBody The arrayBody parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -380,7 +380,7 @@ public Map getIntegerValid() { /** * Set dictionary value empty {"0": 1, "1": -1, "2": 3, "3": 300}. * - * @param arrayBody The dictionary value {"0": 1, "1": -1, "2": 3, "3": 300}. + * @param arrayBody The arrayBody parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -396,7 +396,7 @@ public Response putIntegerValidWithResponse(Map arrayBody /** * Set dictionary value empty {"0": 1, "1": -1, "2": 3, "3": 300}. * - * @param arrayBody The dictionary value {"0": 1, "1": -1, "2": 3, "3": 300}. + * @param arrayBody The arrayBody parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -494,7 +494,7 @@ public Map getLongValid() { /** * Set dictionary value empty {"0": 1, "1": -1, "2": 3, "3": 300}. * - * @param arrayBody The dictionary value {"0": 1, "1": -1, "2": 3, "3": 300}. + * @param arrayBody The arrayBody parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -510,7 +510,7 @@ public Response putLongValidWithResponse(Map arrayBody, Cont /** * Set dictionary value empty {"0": 1, "1": -1, "2": 3, "3": 300}. * - * @param arrayBody The dictionary value {"0": 1, "1": -1, "2": 3, "3": 300}. + * @param arrayBody The arrayBody parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -608,7 +608,7 @@ public Map getFloatValid() { /** * Set dictionary value {"0": 0, "1": -0.01, "2": 1.2e20}. * - * @param arrayBody The dictionary value {"0": 0, "1": -0.01, "2": 1.2e20}. + * @param arrayBody The arrayBody parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -624,7 +624,7 @@ public Response putFloatValidWithResponse(Map arrayBody, Co /** * Set dictionary value {"0": 0, "1": -0.01, "2": 1.2e20}. * - * @param arrayBody The dictionary value {"0": 0, "1": -0.01, "2": 1.2e20}. + * @param arrayBody The arrayBody parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -722,7 +722,7 @@ public Map getDoubleValid() { /** * Set dictionary value {"0": 0, "1": -0.01, "2": 1.2e20}. * - * @param arrayBody The dictionary value {"0": 0, "1": -0.01, "2": 1.2e20}. + * @param arrayBody The arrayBody parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -738,7 +738,7 @@ public Response putDoubleValidWithResponse(Map arrayBody, /** * Set dictionary value {"0": 0, "1": -0.01, "2": 1.2e20}. * - * @param arrayBody The dictionary value {"0": 0, "1": -0.01, "2": 1.2e20}. + * @param arrayBody The arrayBody parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -836,7 +836,7 @@ public Map getStringValid() { /** * Set dictionary value {"0": "foo1", "1": "foo2", "2": "foo3"}. * - * @param arrayBody The dictionary value {"0": "foo1", "1": "foo2", "2": "foo3"}. + * @param arrayBody The arrayBody parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -852,7 +852,7 @@ public Response putStringValidWithResponse(Map arrayBody, /** * Set dictionary value {"0": "foo1", "1": "foo2", "2": "foo3"}. * - * @param arrayBody The dictionary value {"0": "foo1", "1": "foo2", "2": "foo3"}. + * @param arrayBody The arrayBody parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -951,7 +951,7 @@ public Map getDateValid() { /** * Set dictionary value {"0": "2000-12-01", "1": "1980-01-02", "2": "1492-10-12"}. * - * @param arrayBody The dictionary value {"0": "2000-12-01", "1": "1980-01-02", "2": "1492-10-12"}. + * @param arrayBody The arrayBody parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -967,7 +967,7 @@ public Response putDateValidWithResponse(Map arrayBody, /** * Set dictionary value {"0": "2000-12-01", "1": "1980-01-02", "2": "1492-10-12"}. * - * @param arrayBody The dictionary value {"0": "2000-12-01", "1": "1980-01-02", "2": "1492-10-12"}. + * @param arrayBody The arrayBody parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -1070,8 +1070,7 @@ public Map getDateTimeValid() { * Set dictionary value {"0": "2000-12-01t00:00:01z", "1": "1980-01-02T00:11:35+01:00", "2": * "1492-10-12T10:15:01-08:00"}. * - * @param arrayBody The dictionary value {"0": "2000-12-01t00:00:01z", "1": "1980-01-02T00:11:35+01:00", "2": - * "1492-10-12T10:15:01-08:00"}. + * @param arrayBody The arrayBody parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -1088,8 +1087,7 @@ public Response putDateTimeValidWithResponse(Map a * Set dictionary value {"0": "2000-12-01t00:00:01z", "1": "1980-01-02T00:11:35+01:00", "2": * "1492-10-12T10:15:01-08:00"}. * - * @param arrayBody The dictionary value {"0": "2000-12-01t00:00:01z", "1": "1980-01-02T00:11:35+01:00", "2": - * "1492-10-12T10:15:01-08:00"}. + * @param arrayBody The arrayBody parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -1192,8 +1190,7 @@ public Map getDateTimeRfc1123Valid() { * Set dictionary value empty {"0": "Fri, 01 Dec 2000 00:00:01 GMT", "1": "Wed, 02 Jan 1980 00:11:35 GMT", "2": * "Wed, 12 Oct 1492 10:15:01 GMT"}. * - * @param arrayBody The dictionary value {"0": "Fri, 01 Dec 2000 00:00:01 GMT", "1": "Wed, 02 Jan 1980 00:11:35 - * GMT", "2": "Wed, 12 Oct 1492 10:15:01 GMT"}. + * @param arrayBody The arrayBody parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -1210,8 +1207,7 @@ public Response putDateTimeRfc1123ValidWithResponse(Map getDurationValid() { /** * Set dictionary value {"0": "P123DT22H14M12.011S", "1": "P5DT1H0M0S"}. * - * @param arrayBody The dictionary value {"0": "P123DT22H14M12.011S", "1": "P5DT1H0M0S"}. + * @param arrayBody The arrayBody parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -1269,7 +1265,7 @@ public Response putDurationValidWithResponse(Map arrayBo /** * Set dictionary value {"0": "P123DT22H14M12.011S", "1": "P5DT1H0M0S"}. * - * @param arrayBody The dictionary value {"0": "P123DT22H14M12.011S", "1": "P5DT1H0M0S"}. + * @param arrayBody The arrayBody parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -1316,8 +1312,7 @@ public Map getByteValid() { * Put the dictionary value {"0": hex(FF FF FF FA), "1": hex(01 02 03), "2": hex (25, 29, 43)} with each * elementencoded in base 64. * - * @param arrayBody The dictionary value {"0": hex(FF FF FF FA), "1": hex(01 02 03), "2": hex (25, 29, 43)} with - * each elementencoded in base 64. + * @param arrayBody The arrayBody parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -1334,8 +1329,7 @@ public Response putByteValidWithResponse(Map arrayBody, Co * Put the dictionary value {"0": hex(FF FF FF FA), "1": hex(01 02 03), "2": hex (25, 29, 43)} with each * elementencoded in base 64. * - * @param arrayBody The dictionary value {"0": hex(FF FF FF FA), "1": hex(01 02 03), "2": hex (25, 29, 43)} with - * each elementencoded in base 64. + * @param arrayBody The arrayBody parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -1563,8 +1557,7 @@ public Map getComplexValid() { * Put an dictionary of complex type with values {"0": {"integer": 1, "string": "2"}, "1": {"integer": 3, "string": * "4"}, "2": {"integer": 5, "string": "6"}}. * - * @param arrayBody Dictionary of complex type with {"0": {"integer": 1, "string": "2"}, "1": {"integer": 3, - * "string": "4"}, "2": {"integer": 5, "string": "6"}}. + * @param arrayBody The arrayBody parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -1581,8 +1574,7 @@ public Response putComplexValidWithResponse(Map arrayBody, * Put an dictionary of complex type with values {"0": {"integer": 1, "string": "2"}, "1": {"integer": 3, "string": * "4"}, "2": {"integer": 5, "string": "6"}}. * - * @param arrayBody Dictionary of complex type with {"0": {"integer": 1, "string": "2"}, "1": {"integer": 3, - * "string": "4"}, "2": {"integer": 5, "string": "6"}}. + * @param arrayBody The arrayBody parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -1739,7 +1731,7 @@ public Map> getArrayValid() { /** * Put An array of array of strings {"0": ["1", "2", "3"], "1": ["4", "5", "6"], "2": ["7", "8", "9"]}. * - * @param arrayBody An array of array of strings {"0": ["1", "2", "3"], "1": ["4", "5", "6"], "2": ["7", "8", "9"]}. + * @param arrayBody The arrayBody parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -1755,7 +1747,7 @@ public Response putArrayValidWithResponse(Map> arrayB /** * Put An array of array of strings {"0": ["1", "2", "3"], "1": ["4", "5", "6"], "2": ["7", "8", "9"]}. * - * @param arrayBody An array of array of strings {"0": ["1", "2", "3"], "1": ["4", "5", "6"], "2": ["7", "8", "9"]}. + * @param arrayBody The arrayBody parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -1923,9 +1915,7 @@ public Map> getDictionaryValid() { * Get an dictionaries of dictionaries of type <string, string> with value {"0": {"1": "one", "2": "two", "3": * "three"}, "1": {"4": "four", "5": "five", "6": "six"}, "2": {"7": "seven", "8": "eight", "9": "nine"}}. * - * @param arrayBody An dictionaries of dictionaries of type <string, string> with value {"0": {"1": "one", - * "2": "two", "3": "three"}, "1": {"4": "four", "5": "five", "6": "six"}, "2": {"7": "seven", "8": "eight", "9": - * "nine"}}. + * @param arrayBody The arrayBody parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -1944,9 +1934,7 @@ public Response putDictionaryValidWithResponse(Map getEmpty() { /** * Set dictionary value empty {}. * - * @param arrayBody The empty dictionary value {}. + * @param arrayBody The arrayBody parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -676,7 +676,7 @@ public Mono> putEmptyWithResponseAsync(Map arrayB /** * Set dictionary value empty {}. * - * @param arrayBody The empty dictionary value {}. + * @param arrayBody The arrayBody parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -699,7 +699,7 @@ public Mono> putEmptyWithResponseAsync(Map arrayB /** * Set dictionary value empty {}. * - * @param arrayBody The empty dictionary value {}. + * @param arrayBody The arrayBody parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -713,7 +713,7 @@ public Mono putEmptyAsync(Map arrayBody) { /** * Set dictionary value empty {}. * - * @param arrayBody The empty dictionary value {}. + * @param arrayBody The arrayBody parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -728,7 +728,7 @@ public Mono putEmptyAsync(Map arrayBody, Context context) /** * Set dictionary value empty {}. * - * @param arrayBody The empty dictionary value {}. + * @param arrayBody The arrayBody parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -743,7 +743,7 @@ public Response putEmptyWithResponse(Map arrayBody, Contex /** * Set dictionary value empty {}. * - * @param arrayBody The empty dictionary value {}. + * @param arrayBody The arrayBody parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -1200,7 +1200,7 @@ public Map getBooleanTfft() { /** * Set dictionary value empty {"0": true, "1": false, "2": false, "3": true }. * - * @param arrayBody The dictionary value {"0": true, "1": false, "2": false, "3": true }. + * @param arrayBody The arrayBody parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -1223,7 +1223,7 @@ public Mono> putBooleanTfftWithResponseAsync(Map /** * Set dictionary value empty {"0": true, "1": false, "2": false, "3": true }. * - * @param arrayBody The dictionary value {"0": true, "1": false, "2": false, "3": true }. + * @param arrayBody The arrayBody parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -1246,7 +1246,7 @@ public Mono> putBooleanTfftWithResponseAsync(Map /** * Set dictionary value empty {"0": true, "1": false, "2": false, "3": true }. * - * @param arrayBody The dictionary value {"0": true, "1": false, "2": false, "3": true }. + * @param arrayBody The arrayBody parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -1260,7 +1260,7 @@ public Mono putBooleanTfftAsync(Map arrayBody) { /** * Set dictionary value empty {"0": true, "1": false, "2": false, "3": true }. * - * @param arrayBody The dictionary value {"0": true, "1": false, "2": false, "3": true }. + * @param arrayBody The arrayBody parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -1275,7 +1275,7 @@ public Mono putBooleanTfftAsync(Map arrayBody, Context co /** * Set dictionary value empty {"0": true, "1": false, "2": false, "3": true }. * - * @param arrayBody The dictionary value {"0": true, "1": false, "2": false, "3": true }. + * @param arrayBody The arrayBody parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -1290,7 +1290,7 @@ public Response putBooleanTfftWithResponse(Map arrayBody, /** * Set dictionary value empty {"0": true, "1": false, "2": false, "3": true }. * - * @param arrayBody The dictionary value {"0": true, "1": false, "2": false, "3": true }. + * @param arrayBody The arrayBody parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -1575,7 +1575,7 @@ public Map getIntegerValid() { /** * Set dictionary value empty {"0": 1, "1": -1, "2": 3, "3": 300}. * - * @param arrayBody The dictionary value {"0": 1, "1": -1, "2": 3, "3": 300}. + * @param arrayBody The arrayBody parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -1598,7 +1598,7 @@ public Mono> putIntegerValidWithResponseAsync(Map> putIntegerValidWithResponseAsync(Map putIntegerValidAsync(Map arrayBody) { /** * Set dictionary value empty {"0": 1, "1": -1, "2": 3, "3": 300}. * - * @param arrayBody The dictionary value {"0": 1, "1": -1, "2": 3, "3": 300}. + * @param arrayBody The arrayBody parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -1650,7 +1650,7 @@ public Mono putIntegerValidAsync(Map arrayBody, Context c /** * Set dictionary value empty {"0": 1, "1": -1, "2": 3, "3": 300}. * - * @param arrayBody The dictionary value {"0": 1, "1": -1, "2": 3, "3": 300}. + * @param arrayBody The arrayBody parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -1665,7 +1665,7 @@ public Response putIntegerValidWithResponse(Map arrayBody /** * Set dictionary value empty {"0": 1, "1": -1, "2": 3, "3": 300}. * - * @param arrayBody The dictionary value {"0": 1, "1": -1, "2": 3, "3": 300}. + * @param arrayBody The arrayBody parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -1948,7 +1948,7 @@ public Map getLongValid() { /** * Set dictionary value empty {"0": 1, "1": -1, "2": 3, "3": 300}. * - * @param arrayBody The dictionary value {"0": 1, "1": -1, "2": 3, "3": 300}. + * @param arrayBody The arrayBody parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -1970,7 +1970,7 @@ public Mono> putLongValidWithResponseAsync(Map arra /** * Set dictionary value empty {"0": 1, "1": -1, "2": 3, "3": 300}. * - * @param arrayBody The dictionary value {"0": 1, "1": -1, "2": 3, "3": 300}. + * @param arrayBody The arrayBody parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -1993,7 +1993,7 @@ public Mono> putLongValidWithResponseAsync(Map arra /** * Set dictionary value empty {"0": 1, "1": -1, "2": 3, "3": 300}. * - * @param arrayBody The dictionary value {"0": 1, "1": -1, "2": 3, "3": 300}. + * @param arrayBody The arrayBody parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -2007,7 +2007,7 @@ public Mono putLongValidAsync(Map arrayBody) { /** * Set dictionary value empty {"0": 1, "1": -1, "2": 3, "3": 300}. * - * @param arrayBody The dictionary value {"0": 1, "1": -1, "2": 3, "3": 300}. + * @param arrayBody The arrayBody parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -2022,7 +2022,7 @@ public Mono putLongValidAsync(Map arrayBody, Context context /** * Set dictionary value empty {"0": 1, "1": -1, "2": 3, "3": 300}. * - * @param arrayBody The dictionary value {"0": 1, "1": -1, "2": 3, "3": 300}. + * @param arrayBody The arrayBody parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -2037,7 +2037,7 @@ public Response putLongValidWithResponse(Map arrayBody, Cont /** * Set dictionary value empty {"0": 1, "1": -1, "2": 3, "3": 300}. * - * @param arrayBody The dictionary value {"0": 1, "1": -1, "2": 3, "3": 300}. + * @param arrayBody The arrayBody parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -2320,7 +2320,7 @@ public Map getFloatValid() { /** * Set dictionary value {"0": 0, "1": -0.01, "2": 1.2e20}. * - * @param arrayBody The dictionary value {"0": 0, "1": -0.01, "2": 1.2e20}. + * @param arrayBody The arrayBody parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -2343,7 +2343,7 @@ public Mono> putFloatValidWithResponseAsync(Map ar /** * Set dictionary value {"0": 0, "1": -0.01, "2": 1.2e20}. * - * @param arrayBody The dictionary value {"0": 0, "1": -0.01, "2": 1.2e20}. + * @param arrayBody The arrayBody parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -2366,7 +2366,7 @@ public Mono> putFloatValidWithResponseAsync(Map ar /** * Set dictionary value {"0": 0, "1": -0.01, "2": 1.2e20}. * - * @param arrayBody The dictionary value {"0": 0, "1": -0.01, "2": 1.2e20}. + * @param arrayBody The arrayBody parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -2380,7 +2380,7 @@ public Mono putFloatValidAsync(Map arrayBody) { /** * Set dictionary value {"0": 0, "1": -0.01, "2": 1.2e20}. * - * @param arrayBody The dictionary value {"0": 0, "1": -0.01, "2": 1.2e20}. + * @param arrayBody The arrayBody parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -2395,7 +2395,7 @@ public Mono putFloatValidAsync(Map arrayBody, Context conte /** * Set dictionary value {"0": 0, "1": -0.01, "2": 1.2e20}. * - * @param arrayBody The dictionary value {"0": 0, "1": -0.01, "2": 1.2e20}. + * @param arrayBody The arrayBody parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -2410,7 +2410,7 @@ public Response putFloatValidWithResponse(Map arrayBody, Co /** * Set dictionary value {"0": 0, "1": -0.01, "2": 1.2e20}. * - * @param arrayBody The dictionary value {"0": 0, "1": -0.01, "2": 1.2e20}. + * @param arrayBody The arrayBody parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -2693,7 +2693,7 @@ public Map getDoubleValid() { /** * Set dictionary value {"0": 0, "1": -0.01, "2": 1.2e20}. * - * @param arrayBody The dictionary value {"0": 0, "1": -0.01, "2": 1.2e20}. + * @param arrayBody The arrayBody parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -2716,7 +2716,7 @@ public Mono> putDoubleValidWithResponseAsync(Map /** * Set dictionary value {"0": 0, "1": -0.01, "2": 1.2e20}. * - * @param arrayBody The dictionary value {"0": 0, "1": -0.01, "2": 1.2e20}. + * @param arrayBody The arrayBody parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -2739,7 +2739,7 @@ public Mono> putDoubleValidWithResponseAsync(Map /** * Set dictionary value {"0": 0, "1": -0.01, "2": 1.2e20}. * - * @param arrayBody The dictionary value {"0": 0, "1": -0.01, "2": 1.2e20}. + * @param arrayBody The arrayBody parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -2753,7 +2753,7 @@ public Mono putDoubleValidAsync(Map arrayBody) { /** * Set dictionary value {"0": 0, "1": -0.01, "2": 1.2e20}. * - * @param arrayBody The dictionary value {"0": 0, "1": -0.01, "2": 1.2e20}. + * @param arrayBody The arrayBody parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -2768,7 +2768,7 @@ public Mono putDoubleValidAsync(Map arrayBody, Context con /** * Set dictionary value {"0": 0, "1": -0.01, "2": 1.2e20}. * - * @param arrayBody The dictionary value {"0": 0, "1": -0.01, "2": 1.2e20}. + * @param arrayBody The arrayBody parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -2783,7 +2783,7 @@ public Response putDoubleValidWithResponse(Map arrayBody, /** * Set dictionary value {"0": 0, "1": -0.01, "2": 1.2e20}. * - * @param arrayBody The dictionary value {"0": 0, "1": -0.01, "2": 1.2e20}. + * @param arrayBody The arrayBody parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -3066,7 +3066,7 @@ public Map getStringValid() { /** * Set dictionary value {"0": "foo1", "1": "foo2", "2": "foo3"}. * - * @param arrayBody The dictionary value {"0": "foo1", "1": "foo2", "2": "foo3"}. + * @param arrayBody The arrayBody parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -3089,7 +3089,7 @@ public Mono> putStringValidWithResponseAsync(Map /** * Set dictionary value {"0": "foo1", "1": "foo2", "2": "foo3"}. * - * @param arrayBody The dictionary value {"0": "foo1", "1": "foo2", "2": "foo3"}. + * @param arrayBody The arrayBody parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -3112,7 +3112,7 @@ public Mono> putStringValidWithResponseAsync(Map /** * Set dictionary value {"0": "foo1", "1": "foo2", "2": "foo3"}. * - * @param arrayBody The dictionary value {"0": "foo1", "1": "foo2", "2": "foo3"}. + * @param arrayBody The arrayBody parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -3126,7 +3126,7 @@ public Mono putStringValidAsync(Map arrayBody) { /** * Set dictionary value {"0": "foo1", "1": "foo2", "2": "foo3"}. * - * @param arrayBody The dictionary value {"0": "foo1", "1": "foo2", "2": "foo3"}. + * @param arrayBody The arrayBody parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -3141,7 +3141,7 @@ public Mono putStringValidAsync(Map arrayBody, Context con /** * Set dictionary value {"0": "foo1", "1": "foo2", "2": "foo3"}. * - * @param arrayBody The dictionary value {"0": "foo1", "1": "foo2", "2": "foo3"}. + * @param arrayBody The arrayBody parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -3156,7 +3156,7 @@ public Response putStringValidWithResponse(Map arrayBody, /** * Set dictionary value {"0": "foo1", "1": "foo2", "2": "foo3"}. * - * @param arrayBody The dictionary value {"0": "foo1", "1": "foo2", "2": "foo3"}. + * @param arrayBody The arrayBody parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -3442,7 +3442,7 @@ public Map getDateValid() { /** * Set dictionary value {"0": "2000-12-01", "1": "1980-01-02", "2": "1492-10-12"}. * - * @param arrayBody The dictionary value {"0": "2000-12-01", "1": "1980-01-02", "2": "1492-10-12"}. + * @param arrayBody The arrayBody parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -3464,7 +3464,7 @@ public Mono> putDateValidWithResponseAsync(Map /** * Set dictionary value {"0": "2000-12-01", "1": "1980-01-02", "2": "1492-10-12"}. * - * @param arrayBody The dictionary value {"0": "2000-12-01", "1": "1980-01-02", "2": "1492-10-12"}. + * @param arrayBody The arrayBody parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -3487,7 +3487,7 @@ public Mono> putDateValidWithResponseAsync(Map /** * Set dictionary value {"0": "2000-12-01", "1": "1980-01-02", "2": "1492-10-12"}. * - * @param arrayBody The dictionary value {"0": "2000-12-01", "1": "1980-01-02", "2": "1492-10-12"}. + * @param arrayBody The arrayBody parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -3501,7 +3501,7 @@ public Mono putDateValidAsync(Map arrayBody) { /** * Set dictionary value {"0": "2000-12-01", "1": "1980-01-02", "2": "1492-10-12"}. * - * @param arrayBody The dictionary value {"0": "2000-12-01", "1": "1980-01-02", "2": "1492-10-12"}. + * @param arrayBody The arrayBody parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -3516,7 +3516,7 @@ public Mono putDateValidAsync(Map arrayBody, Context co /** * Set dictionary value {"0": "2000-12-01", "1": "1980-01-02", "2": "1492-10-12"}. * - * @param arrayBody The dictionary value {"0": "2000-12-01", "1": "1980-01-02", "2": "1492-10-12"}. + * @param arrayBody The arrayBody parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -3531,7 +3531,7 @@ public Response putDateValidWithResponse(Map arrayBody, /** * Set dictionary value {"0": "2000-12-01", "1": "1980-01-02", "2": "1492-10-12"}. * - * @param arrayBody The dictionary value {"0": "2000-12-01", "1": "1980-01-02", "2": "1492-10-12"}. + * @param arrayBody The arrayBody parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -3827,8 +3827,7 @@ public Map getDateTimeValid() { * Set dictionary value {"0": "2000-12-01t00:00:01z", "1": "1980-01-02T00:11:35+01:00", "2": * "1492-10-12T10:15:01-08:00"}. * - * @param arrayBody The dictionary value {"0": "2000-12-01t00:00:01z", "1": "1980-01-02T00:11:35+01:00", "2": - * "1492-10-12T10:15:01-08:00"}. + * @param arrayBody The arrayBody parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -3852,8 +3851,7 @@ public Mono> putDateTimeValidWithResponseAsync(Map> putDateTimeValidWithResponseAsync(Map putDateTimeValidAsync(Map arrayBody) { * Set dictionary value {"0": "2000-12-01t00:00:01z", "1": "1980-01-02T00:11:35+01:00", "2": * "1492-10-12T10:15:01-08:00"}. * - * @param arrayBody The dictionary value {"0": "2000-12-01t00:00:01z", "1": "1980-01-02T00:11:35+01:00", "2": - * "1492-10-12T10:15:01-08:00"}. + * @param arrayBody The arrayBody parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -3911,8 +3907,7 @@ public Mono putDateTimeValidAsync(Map arrayBody, C * Set dictionary value {"0": "2000-12-01t00:00:01z", "1": "1980-01-02T00:11:35+01:00", "2": * "1492-10-12T10:15:01-08:00"}. * - * @param arrayBody The dictionary value {"0": "2000-12-01t00:00:01z", "1": "1980-01-02T00:11:35+01:00", "2": - * "1492-10-12T10:15:01-08:00"}. + * @param arrayBody The arrayBody parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -3928,8 +3923,7 @@ public Response putDateTimeValidWithResponse(Map a * Set dictionary value {"0": "2000-12-01t00:00:01z", "1": "1980-01-02T00:11:35+01:00", "2": * "1492-10-12T10:15:01-08:00"}. * - * @param arrayBody The dictionary value {"0": "2000-12-01t00:00:01z", "1": "1980-01-02T00:11:35+01:00", "2": - * "1492-10-12T10:15:01-08:00"}. + * @param arrayBody The arrayBody parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -4225,8 +4219,7 @@ public Map getDateTimeRfc1123Valid() { * Set dictionary value empty {"0": "Fri, 01 Dec 2000 00:00:01 GMT", "1": "Wed, 02 Jan 1980 00:11:35 GMT", "2": * "Wed, 12 Oct 1492 10:15:01 GMT"}. * - * @param arrayBody The dictionary value {"0": "Fri, 01 Dec 2000 00:00:01 GMT", "1": "Wed, 02 Jan 1980 00:11:35 - * GMT", "2": "Wed, 12 Oct 1492 10:15:01 GMT"}. + * @param arrayBody The arrayBody parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -4253,8 +4246,7 @@ public Mono> putDateTimeRfc1123ValidWithResponseAsync(Map> putDateTimeRfc1123ValidWithResponseAsync(Map putDateTimeRfc1123ValidAsync(Map array * Set dictionary value empty {"0": "Fri, 01 Dec 2000 00:00:01 GMT", "1": "Wed, 02 Jan 1980 00:11:35 GMT", "2": * "Wed, 12 Oct 1492 10:15:01 GMT"}. * - * @param arrayBody The dictionary value {"0": "Fri, 01 Dec 2000 00:00:01 GMT", "1": "Wed, 02 Jan 1980 00:11:35 - * GMT", "2": "Wed, 12 Oct 1492 10:15:01 GMT"}. + * @param arrayBody The arrayBody parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -4315,8 +4305,7 @@ public Mono putDateTimeRfc1123ValidAsync(Map array * Set dictionary value empty {"0": "Fri, 01 Dec 2000 00:00:01 GMT", "1": "Wed, 02 Jan 1980 00:11:35 GMT", "2": * "Wed, 12 Oct 1492 10:15:01 GMT"}. * - * @param arrayBody The dictionary value {"0": "Fri, 01 Dec 2000 00:00:01 GMT", "1": "Wed, 02 Jan 1980 00:11:35 - * GMT", "2": "Wed, 12 Oct 1492 10:15:01 GMT"}. + * @param arrayBody The arrayBody parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -4332,8 +4321,7 @@ public Response putDateTimeRfc1123ValidWithResponse(Map getDurationValid() { /** * Set dictionary value {"0": "P123DT22H14M12.011S", "1": "P5DT1H0M0S"}. * - * @param arrayBody The dictionary value {"0": "P123DT22H14M12.011S", "1": "P5DT1H0M0S"}. + * @param arrayBody The arrayBody parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -4461,7 +4449,7 @@ public Mono> putDurationValidWithResponseAsync(Map> putDurationValidWithResponseAsync(Map putDurationValidAsync(Map arrayBody) { /** * Set dictionary value {"0": "P123DT22H14M12.011S", "1": "P5DT1H0M0S"}. * - * @param arrayBody The dictionary value {"0": "P123DT22H14M12.011S", "1": "P5DT1H0M0S"}. + * @param arrayBody The arrayBody parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -4513,7 +4501,7 @@ public Mono putDurationValidAsync(Map arrayBody, Context /** * Set dictionary value {"0": "P123DT22H14M12.011S", "1": "P5DT1H0M0S"}. * - * @param arrayBody The dictionary value {"0": "P123DT22H14M12.011S", "1": "P5DT1H0M0S"}. + * @param arrayBody The arrayBody parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -4528,7 +4516,7 @@ public Response putDurationValidWithResponse(Map arrayBo /** * Set dictionary value {"0": "P123DT22H14M12.011S", "1": "P5DT1H0M0S"}. * - * @param arrayBody The dictionary value {"0": "P123DT22H14M12.011S", "1": "P5DT1H0M0S"}. + * @param arrayBody The arrayBody parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -4642,8 +4630,7 @@ public Map getByteValid() { * Put the dictionary value {"0": hex(FF FF FF FA), "1": hex(01 02 03), "2": hex (25, 29, 43)} with each * elementencoded in base 64. * - * @param arrayBody The dictionary value {"0": hex(FF FF FF FA), "1": hex(01 02 03), "2": hex (25, 29, 43)} with - * each elementencoded in base 64. + * @param arrayBody The arrayBody parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -4666,8 +4653,7 @@ public Mono> putByteValidWithResponseAsync(Map ar * Put the dictionary value {"0": hex(FF FF FF FA), "1": hex(01 02 03), "2": hex (25, 29, 43)} with each * elementencoded in base 64. * - * @param arrayBody The dictionary value {"0": hex(FF FF FF FA), "1": hex(01 02 03), "2": hex (25, 29, 43)} with - * each elementencoded in base 64. + * @param arrayBody The arrayBody parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -4691,8 +4677,7 @@ public Mono> putByteValidWithResponseAsync(Map ar * Put the dictionary value {"0": hex(FF FF FF FA), "1": hex(01 02 03), "2": hex (25, 29, 43)} with each * elementencoded in base 64. * - * @param arrayBody The dictionary value {"0": hex(FF FF FF FA), "1": hex(01 02 03), "2": hex (25, 29, 43)} with - * each elementencoded in base 64. + * @param arrayBody The arrayBody parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -4707,8 +4692,7 @@ public Mono putByteValidAsync(Map arrayBody) { * Put the dictionary value {"0": hex(FF FF FF FA), "1": hex(01 02 03), "2": hex (25, 29, 43)} with each * elementencoded in base 64. * - * @param arrayBody The dictionary value {"0": hex(FF FF FF FA), "1": hex(01 02 03), "2": hex (25, 29, 43)} with - * each elementencoded in base 64. + * @param arrayBody The arrayBody parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -4724,8 +4708,7 @@ public Mono putByteValidAsync(Map arrayBody, Context conte * Put the dictionary value {"0": hex(FF FF FF FA), "1": hex(01 02 03), "2": hex (25, 29, 43)} with each * elementencoded in base 64. * - * @param arrayBody The dictionary value {"0": hex(FF FF FF FA), "1": hex(01 02 03), "2": hex (25, 29, 43)} with - * each elementencoded in base 64. + * @param arrayBody The arrayBody parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -4741,8 +4724,7 @@ public Response putByteValidWithResponse(Map arrayBody, Co * Put the dictionary value {"0": hex(FF FF FF FA), "1": hex(01 02 03), "2": hex (25, 29, 43)} with each * elementencoded in base 64. * - * @param arrayBody The dictionary value {"0": hex(FF FF FF FA), "1": hex(01 02 03), "2": hex (25, 29, 43)} with - * each elementencoded in base 64. + * @param arrayBody The arrayBody parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -5427,8 +5409,7 @@ public Map getComplexValid() { * Put an dictionary of complex type with values {"0": {"integer": 1, "string": "2"}, "1": {"integer": 3, "string": * "4"}, "2": {"integer": 5, "string": "6"}}. * - * @param arrayBody Dictionary of complex type with {"0": {"integer": 1, "string": "2"}, "1": {"integer": 3, - * "string": "4"}, "2": {"integer": 5, "string": "6"}}. + * @param arrayBody The arrayBody parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -5458,8 +5439,7 @@ public Mono> putComplexValidWithResponseAsync(Map * Put an dictionary of complex type with values {"0": {"integer": 1, "string": "2"}, "1": {"integer": 3, "string": * "4"}, "2": {"integer": 5, "string": "6"}}. * - * @param arrayBody Dictionary of complex type with {"0": {"integer": 1, "string": "2"}, "1": {"integer": 3, - * "string": "4"}, "2": {"integer": 5, "string": "6"}}. + * @param arrayBody The arrayBody parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -5489,8 +5469,7 @@ public Mono> putComplexValidWithResponseAsync(Map * Put an dictionary of complex type with values {"0": {"integer": 1, "string": "2"}, "1": {"integer": 3, "string": * "4"}, "2": {"integer": 5, "string": "6"}}. * - * @param arrayBody Dictionary of complex type with {"0": {"integer": 1, "string": "2"}, "1": {"integer": 3, - * "string": "4"}, "2": {"integer": 5, "string": "6"}}. + * @param arrayBody The arrayBody parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -5505,8 +5484,7 @@ public Mono putComplexValidAsync(Map arrayBody) { * Put an dictionary of complex type with values {"0": {"integer": 1, "string": "2"}, "1": {"integer": 3, "string": * "4"}, "2": {"integer": 5, "string": "6"}}. * - * @param arrayBody Dictionary of complex type with {"0": {"integer": 1, "string": "2"}, "1": {"integer": 3, - * "string": "4"}, "2": {"integer": 5, "string": "6"}}. + * @param arrayBody The arrayBody parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -5522,8 +5500,7 @@ public Mono putComplexValidAsync(Map arrayBody, Context co * Put an dictionary of complex type with values {"0": {"integer": 1, "string": "2"}, "1": {"integer": 3, "string": * "4"}, "2": {"integer": 5, "string": "6"}}. * - * @param arrayBody Dictionary of complex type with {"0": {"integer": 1, "string": "2"}, "1": {"integer": 3, - * "string": "4"}, "2": {"integer": 5, "string": "6"}}. + * @param arrayBody The arrayBody parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -5539,8 +5516,7 @@ public Response putComplexValidWithResponse(Map arrayBody, * Put an dictionary of complex type with values {"0": {"integer": 1, "string": "2"}, "1": {"integer": 3, "string": * "4"}, "2": {"integer": 5, "string": "6"}}. * - * @param arrayBody Dictionary of complex type with {"0": {"integer": 1, "string": "2"}, "1": {"integer": 3, - * "string": "4"}, "2": {"integer": 5, "string": "6"}}. + * @param arrayBody The arrayBody parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -6008,7 +5984,7 @@ public Map> getArrayValid() { /** * Put An array of array of strings {"0": ["1", "2", "3"], "1": ["4", "5", "6"], "2": ["7", "8", "9"]}. * - * @param arrayBody An array of array of strings {"0": ["1", "2", "3"], "1": ["4", "5", "6"], "2": ["7", "8", "9"]}. + * @param arrayBody The arrayBody parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -6031,7 +6007,7 @@ public Mono> putArrayValidWithResponseAsync(Map> putArrayValidWithResponseAsync(Map putArrayValidAsync(Map> arrayBody) { /** * Put An array of array of strings {"0": ["1", "2", "3"], "1": ["4", "5", "6"], "2": ["7", "8", "9"]}. * - * @param arrayBody An array of array of strings {"0": ["1", "2", "3"], "1": ["4", "5", "6"], "2": ["7", "8", "9"]}. + * @param arrayBody The arrayBody parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -6083,7 +6059,7 @@ public Mono putArrayValidAsync(Map> arrayBody, Contex /** * Put An array of array of strings {"0": ["1", "2", "3"], "1": ["4", "5", "6"], "2": ["7", "8", "9"]}. * - * @param arrayBody An array of array of strings {"0": ["1", "2", "3"], "1": ["4", "5", "6"], "2": ["7", "8", "9"]}. + * @param arrayBody The arrayBody parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -6098,7 +6074,7 @@ public Response putArrayValidWithResponse(Map> arrayB /** * Put An array of array of strings {"0": ["1", "2", "3"], "1": ["4", "5", "6"], "2": ["7", "8", "9"]}. * - * @param arrayBody An array of array of strings {"0": ["1", "2", "3"], "1": ["4", "5", "6"], "2": ["7", "8", "9"]}. + * @param arrayBody The arrayBody parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -6605,9 +6581,7 @@ public Map> getDictionaryValid() { * Get an dictionaries of dictionaries of type <string, string> with value {"0": {"1": "one", "2": "two", "3": * "three"}, "1": {"4": "four", "5": "five", "6": "six"}, "2": {"7": "seven", "8": "eight", "9": "nine"}}. * - * @param arrayBody An dictionaries of dictionaries of type <string, string> with value {"0": {"1": "one", - * "2": "two", "3": "three"}, "1": {"4": "four", "5": "five", "6": "six"}, "2": {"7": "seven", "8": "eight", "9": - * "nine"}}. + * @param arrayBody The arrayBody parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -6633,9 +6607,7 @@ public Mono> putDictionaryValidWithResponseAsync(Map> putDictionaryValidWithResponseAsync(Map putDictionaryValidAsync(Map> array * Get an dictionaries of dictionaries of type <string, string> with value {"0": {"1": "one", "2": "two", "3": * "three"}, "1": {"4": "four", "5": "five", "6": "six"}, "2": {"7": "seven", "8": "eight", "9": "nine"}}. * - * @param arrayBody An dictionaries of dictionaries of type <string, string> with value {"0": {"1": "one", - * "2": "two", "3": "three"}, "1": {"4": "four", "5": "five", "6": "six"}, "2": {"7": "seven", "8": "eight", "9": - * "nine"}}. + * @param arrayBody The arrayBody parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -6701,9 +6669,7 @@ public Mono putDictionaryValidAsync(Map> array * Get an dictionaries of dictionaries of type <string, string> with value {"0": {"1": "one", "2": "two", "3": * "three"}, "1": {"4": "four", "5": "five", "6": "six"}, "2": {"7": "seven", "8": "eight", "9": "nine"}}. * - * @param arrayBody An dictionaries of dictionaries of type <string, string> with value {"0": {"1": "one", - * "2": "two", "3": "three"}, "1": {"4": "four", "5": "five", "6": "six"}, "2": {"7": "seven", "8": "eight", "9": - * "nine"}}. + * @param arrayBody The arrayBody parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -6721,9 +6687,7 @@ public Response putDictionaryValidWithResponse(Map> postRequiredArrayParameterWithResponseAsync(List> postRequiredArrayParameterWithResponseAsync(List postRequiredArrayParameterAsync(List bodyParameter) { /** * Test explicitly required array. Please put null and the client library should throw before the request is sent. * - * @param bodyParameter Array of PostContentSchemaItem. + * @param bodyParameter The bodyParameter parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -2663,7 +2663,7 @@ public Mono postRequiredArrayParameterAsync(List bodyParameter, Co /** * Test explicitly required array. Please put null and the client library should throw before the request is sent. * - * @param bodyParameter Array of PostContentSchemaItem. + * @param bodyParameter The bodyParameter parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -2678,7 +2678,7 @@ public Response postRequiredArrayParameterWithResponse(List bodyPa /** * Test explicitly required array. Please put null and the client library should throw before the request is sent. * - * @param bodyParameter Array of PostContentSchemaItem. + * @param bodyParameter The bodyParameter parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -2691,7 +2691,7 @@ public void postRequiredArrayParameter(List bodyParameter) { /** * Test explicitly optional array. Please put null. * - * @param bodyParameter Array of String. + * @param bodyParameter The bodyParameter parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -2711,7 +2711,7 @@ public Mono> postOptionalArrayParameterWithResponseAsync(List> postOptionalArrayParameterWithResponseAsync(List postOptionalArrayParameterAsync() { /** * Test explicitly optional array. Please put null. * - * @param bodyParameter Array of String. + * @param bodyParameter The bodyParameter parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -2774,7 +2774,7 @@ public Mono postOptionalArrayParameterAsync(List bodyParameter, Co /** * Test explicitly optional array. Please put null. * - * @param bodyParameter Array of String. + * @param bodyParameter The bodyParameter parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -2789,7 +2789,7 @@ public Response postOptionalArrayParameterWithResponse(List bodyPa /** * Test explicitly optional array. Please put null. * - * @param bodyParameter Array of String. + * @param bodyParameter The bodyParameter parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -3058,7 +3058,7 @@ public void postOptionalArrayProperty() { * Test explicitly required array. Please put a header 'headerParameter' => null and the client library should * throw before the request is sent. * - * @param headerParameter Array of Post0ItemsItem. + * @param headerParameter The headerParameter parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -3086,7 +3086,7 @@ public Mono> postRequiredArrayHeaderWithResponseAsync(List> postRequiredArrayHeaderWithResponseAsync(List postRequiredArrayHeaderAsync(List headerParameter) { * Test explicitly required array. Please put a header 'headerParameter' => null and the client library should * throw before the request is sent. * - * @param headerParameter Array of Post0ItemsItem. + * @param headerParameter The headerParameter parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -3146,7 +3146,7 @@ public Mono postRequiredArrayHeaderAsync(List headerParameter, Con * Test explicitly required array. Please put a header 'headerParameter' => null and the client library should * throw before the request is sent. * - * @param headerParameter Array of Post0ItemsItem. + * @param headerParameter The headerParameter parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -3162,7 +3162,7 @@ public Response postRequiredArrayHeaderWithResponse(List headerPar * Test explicitly required array. Please put a header 'headerParameter' => null and the client library should * throw before the request is sent. * - * @param headerParameter Array of Post0ItemsItem. + * @param headerParameter The headerParameter parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -3175,7 +3175,7 @@ public void postRequiredArrayHeader(List headerParameter) { /** * Test explicitly optional integer. Please put a header 'headerParameter' => null. * - * @param headerParameter Array of String. + * @param headerParameter The headerParameter parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -3200,7 +3200,7 @@ public Mono> postOptionalArrayHeaderWithResponseAsync(List> postOptionalArrayHeaderWithResponseAsync(List postOptionalArrayHeaderAsync() { /** * Test explicitly optional integer. Please put a header 'headerParameter' => null. * - * @param headerParameter Array of String. + * @param headerParameter The headerParameter parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -3268,7 +3268,7 @@ public Mono postOptionalArrayHeaderAsync(List headerParameter, Con /** * Test explicitly optional integer. Please put a header 'headerParameter' => null. * - * @param headerParameter Array of String. + * @param headerParameter The headerParameter parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -3283,7 +3283,7 @@ public Response postOptionalArrayHeaderWithResponse(List headerPar /** * Test explicitly optional integer. Please put a header 'headerParameter' => null. * - * @param headerParameter Array of String. + * @param headerParameter The headerParameter parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. diff --git a/vanilla-tests/src/main/java/fixtures/specialheader/Headers.java b/vanilla-tests/src/main/java/fixtures/specialheader/Headers.java index f8b7c97e70..171587c05e 100644 --- a/vanilla-tests/src/main/java/fixtures/specialheader/Headers.java +++ b/vanilla-tests/src/main/java/fixtures/specialheader/Headers.java @@ -610,9 +610,7 @@ public PagedIterable paramRepeatabilityRequestPageable(Context context) /** * Get the next page of items. * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -637,9 +635,7 @@ public Mono> paramRepeatabilityRequestPageableNextSinglePa /** * Get the next page of items. * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -665,9 +661,7 @@ public Mono> paramRepeatabilityRequestPageableNextSinglePa /** * Get the next page of items. * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -681,9 +675,7 @@ public PagedResponse paramRepeatabilityRequestPageableNextSinglePage(Str /** * Get the next page of items. * - * @param nextLink The URL to get the next list of items - * - * The nextLink parameter. + * @param nextLink The URL to get the next list of items. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. diff --git a/vanilla-tests/src/main/java/fixtures/streamstylexmlserialization/Xmls.java b/vanilla-tests/src/main/java/fixtures/streamstylexmlserialization/Xmls.java index bb4b914d93..13d0a6f487 100644 --- a/vanilla-tests/src/main/java/fixtures/streamstylexmlserialization/Xmls.java +++ b/vanilla-tests/src/main/java/fixtures/streamstylexmlserialization/Xmls.java @@ -379,7 +379,7 @@ public RootWithRefAndNoMeta getComplexTypeRefNoMeta() { /** * Puts a complex type that has a ref to a complex type with no XML node. * - * @param model I am root, and I ref a model with no meta. + * @param model The model parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -402,7 +402,7 @@ public Mono> putComplexTypeRefNoMetaWithResponseAsync(RootWithRef /** * Puts a complex type that has a ref to a complex type with no XML node. * - * @param model I am root, and I ref a model with no meta. + * @param model The model parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -426,7 +426,7 @@ public Mono> putComplexTypeRefNoMetaWithResponseAsync(RootWithRef /** * Puts a complex type that has a ref to a complex type with no XML node. * - * @param model I am root, and I ref a model with no meta. + * @param model The model parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -440,7 +440,7 @@ public Mono putComplexTypeRefNoMetaAsync(RootWithRefAndNoMeta model) { /** * Puts a complex type that has a ref to a complex type with no XML node. * - * @param model I am root, and I ref a model with no meta. + * @param model The model parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -455,7 +455,7 @@ public Mono putComplexTypeRefNoMetaAsync(RootWithRefAndNoMeta model, Conte /** * Puts a complex type that has a ref to a complex type with no XML node. * - * @param model I am root, and I ref a model with no meta. + * @param model The model parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -470,7 +470,7 @@ public Response putComplexTypeRefNoMetaWithResponse(RootWithRefAndNoMeta m /** * Puts a complex type that has a ref to a complex type with no XML node. * - * @param model I am root, and I ref a model with no meta. + * @param model The model parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -574,7 +574,7 @@ public RootWithRefAndMeta getComplexTypeRefWithMeta() { /** * Puts a complex type that has a ref to a complex type with XML node. * - * @param model I am root, and I ref a model WITH meta. + * @param model The model parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -598,7 +598,7 @@ public Mono> putComplexTypeRefWithMetaWithResponseAsync(RootWithR /** * Puts a complex type that has a ref to a complex type with XML node. * - * @param model I am root, and I ref a model WITH meta. + * @param model The model parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -622,7 +622,7 @@ public Mono> putComplexTypeRefWithMetaWithResponseAsync(RootWithR /** * Puts a complex type that has a ref to a complex type with XML node. * - * @param model I am root, and I ref a model WITH meta. + * @param model The model parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -636,7 +636,7 @@ public Mono putComplexTypeRefWithMetaAsync(RootWithRefAndMeta model) { /** * Puts a complex type that has a ref to a complex type with XML node. * - * @param model I am root, and I ref a model WITH meta. + * @param model The model parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -651,7 +651,7 @@ public Mono putComplexTypeRefWithMetaAsync(RootWithRefAndMeta model, Conte /** * Puts a complex type that has a ref to a complex type with XML node. * - * @param model I am root, and I ref a model WITH meta. + * @param model The model parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -666,7 +666,7 @@ public Response putComplexTypeRefWithMetaWithResponse(RootWithRefAndMeta m /** * Puts a complex type that has a ref to a complex type with XML node. * - * @param model I am root, and I ref a model WITH meta. + * @param model The model parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -767,7 +767,7 @@ public Slideshow getSimple() { /** * Put a simple XML document. * - * @param slideshow Data about a slideshow. + * @param slideshow The slideshow parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -791,7 +791,7 @@ public Mono> putSimpleWithResponseAsync(Slideshow slideshow) { /** * Put a simple XML document. * - * @param slideshow Data about a slideshow. + * @param slideshow The slideshow parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -816,7 +816,7 @@ public Mono> putSimpleWithResponseAsync(Slideshow slideshow, Cont /** * Put a simple XML document. * - * @param slideshow Data about a slideshow. + * @param slideshow The slideshow parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -830,7 +830,7 @@ public Mono putSimpleAsync(Slideshow slideshow) { /** * Put a simple XML document. * - * @param slideshow Data about a slideshow. + * @param slideshow The slideshow parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -845,7 +845,7 @@ public Mono putSimpleAsync(Slideshow slideshow, Context context) { /** * Put a simple XML document. * - * @param slideshow Data about a slideshow. + * @param slideshow The slideshow parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -860,7 +860,7 @@ public Response putSimpleWithResponse(Slideshow slideshow, Context context /** * Put a simple XML document. * - * @param slideshow Data about a slideshow. + * @param slideshow The slideshow parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -963,7 +963,7 @@ public AppleBarrel getWrappedLists() { /** * Put an XML document with multiple wrapped lists. * - * @param wrappedLists A barrel of apples. + * @param wrappedLists The wrappedLists parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -988,7 +988,7 @@ public Mono> putWrappedListsWithResponseAsync(AppleBarrel wrapped /** * Put an XML document with multiple wrapped lists. * - * @param wrappedLists A barrel of apples. + * @param wrappedLists The wrappedLists parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -1013,7 +1013,7 @@ public Mono> putWrappedListsWithResponseAsync(AppleBarrel wrapped /** * Put an XML document with multiple wrapped lists. * - * @param wrappedLists A barrel of apples. + * @param wrappedLists The wrappedLists parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -1027,7 +1027,7 @@ public Mono putWrappedListsAsync(AppleBarrel wrappedLists) { /** * Put an XML document with multiple wrapped lists. * - * @param wrappedLists A barrel of apples. + * @param wrappedLists The wrappedLists parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -1042,7 +1042,7 @@ public Mono putWrappedListsAsync(AppleBarrel wrappedLists, Context context /** * Put an XML document with multiple wrapped lists. * - * @param wrappedLists A barrel of apples. + * @param wrappedLists The wrappedLists parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -1057,7 +1057,7 @@ public Response putWrappedListsWithResponse(AppleBarrel wrappedLists, Cont /** * Put an XML document with multiple wrapped lists. * - * @param wrappedLists A barrel of apples. + * @param wrappedLists The wrappedLists parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -1243,7 +1243,7 @@ public Slideshow getEmptyList() { /** * Puts an empty list. * - * @param slideshow Data about a slideshow. + * @param slideshow The slideshow parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -1266,7 +1266,7 @@ public Mono> putEmptyListWithResponseAsync(Slideshow slideshow) { /** * Puts an empty list. * - * @param slideshow Data about a slideshow. + * @param slideshow The slideshow parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -1290,7 +1290,7 @@ public Mono> putEmptyListWithResponseAsync(Slideshow slideshow, C /** * Puts an empty list. * - * @param slideshow Data about a slideshow. + * @param slideshow The slideshow parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -1304,7 +1304,7 @@ public Mono putEmptyListAsync(Slideshow slideshow) { /** * Puts an empty list. * - * @param slideshow Data about a slideshow. + * @param slideshow The slideshow parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -1319,7 +1319,7 @@ public Mono putEmptyListAsync(Slideshow slideshow, Context context) { /** * Puts an empty list. * - * @param slideshow Data about a slideshow. + * @param slideshow The slideshow parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -1334,7 +1334,7 @@ public Response putEmptyListWithResponse(Slideshow slideshow, Context cont /** * Puts an empty list. * - * @param slideshow Data about a slideshow. + * @param slideshow The slideshow parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -1435,7 +1435,7 @@ public AppleBarrel getEmptyWrappedLists() { /** * Puts some empty wrapped lists. * - * @param appleBarrel A barrel of apples. + * @param appleBarrel The appleBarrel parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -1459,7 +1459,7 @@ public Mono> putEmptyWrappedListsWithResponseAsync(AppleBarrel ap /** * Puts some empty wrapped lists. * - * @param appleBarrel A barrel of apples. + * @param appleBarrel The appleBarrel parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -1483,7 +1483,7 @@ public Mono> putEmptyWrappedListsWithResponseAsync(AppleBarrel ap /** * Puts some empty wrapped lists. * - * @param appleBarrel A barrel of apples. + * @param appleBarrel The appleBarrel parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -1497,7 +1497,7 @@ public Mono putEmptyWrappedListsAsync(AppleBarrel appleBarrel) { /** * Puts some empty wrapped lists. * - * @param appleBarrel A barrel of apples. + * @param appleBarrel The appleBarrel parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -1512,7 +1512,7 @@ public Mono putEmptyWrappedListsAsync(AppleBarrel appleBarrel, Context con /** * Puts some empty wrapped lists. * - * @param appleBarrel A barrel of apples. + * @param appleBarrel The appleBarrel parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -1527,7 +1527,7 @@ public Response putEmptyWrappedListsWithResponse(AppleBarrel appleBarrel, /** * Puts some empty wrapped lists. * - * @param appleBarrel A barrel of apples. + * @param appleBarrel The appleBarrel parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -1628,7 +1628,7 @@ public List getRootList() { /** * Puts a list as the root element. * - * @param bananas Array of Banana. + * @param bananas The bananas parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -1652,7 +1652,7 @@ public Mono> putRootListWithResponseAsync(List bananas) { /** * Puts a list as the root element. * - * @param bananas Array of Banana. + * @param bananas The bananas parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -1677,7 +1677,7 @@ public Mono> putRootListWithResponseAsync(List bananas, C /** * Puts a list as the root element. * - * @param bananas Array of Banana. + * @param bananas The bananas parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -1691,7 +1691,7 @@ public Mono putRootListAsync(List bananas) { /** * Puts a list as the root element. * - * @param bananas Array of Banana. + * @param bananas The bananas parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -1706,7 +1706,7 @@ public Mono putRootListAsync(List bananas, Context context) { /** * Puts a list as the root element. * - * @param bananas Array of Banana. + * @param bananas The bananas parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -1721,7 +1721,7 @@ public Response putRootListWithResponse(List bananas, Context cont /** * Puts a list as the root element. * - * @param bananas Array of Banana. + * @param bananas The bananas parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -1822,7 +1822,7 @@ public List getRootListSingleItem() { /** * Puts a list with a single item. * - * @param bananas Array of Banana. + * @param bananas The bananas parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -1847,7 +1847,7 @@ public Mono> putRootListSingleItemWithResponseAsync(List /** * Puts a list with a single item. * - * @param bananas Array of Banana. + * @param bananas The bananas parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -1872,7 +1872,7 @@ public Mono> putRootListSingleItemWithResponseAsync(List /** * Puts a list with a single item. * - * @param bananas Array of Banana. + * @param bananas The bananas parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -1886,7 +1886,7 @@ public Mono putRootListSingleItemAsync(List bananas) { /** * Puts a list with a single item. * - * @param bananas Array of Banana. + * @param bananas The bananas parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -1901,7 +1901,7 @@ public Mono putRootListSingleItemAsync(List bananas, Context conte /** * Puts a list with a single item. * - * @param bananas Array of Banana. + * @param bananas The bananas parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -1916,7 +1916,7 @@ public Response putRootListSingleItemWithResponse(List bananas, Co /** * Puts a list with a single item. * - * @param bananas Array of Banana. + * @param bananas The bananas parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -2017,7 +2017,7 @@ public List getEmptyRootList() { /** * Puts an empty list as the root element. * - * @param bananas Array of Banana. + * @param bananas The bananas parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -2042,7 +2042,7 @@ public Mono> putEmptyRootListWithResponseAsync(List banan /** * Puts an empty list as the root element. * - * @param bananas Array of Banana. + * @param bananas The bananas parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -2067,7 +2067,7 @@ public Mono> putEmptyRootListWithResponseAsync(List banan /** * Puts an empty list as the root element. * - * @param bananas Array of Banana. + * @param bananas The bananas parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -2081,7 +2081,7 @@ public Mono putEmptyRootListAsync(List bananas) { /** * Puts an empty list as the root element. * - * @param bananas Array of Banana. + * @param bananas The bananas parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -2096,7 +2096,7 @@ public Mono putEmptyRootListAsync(List bananas, Context context) { /** * Puts an empty list as the root element. * - * @param bananas Array of Banana. + * @param bananas The bananas parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -2111,7 +2111,7 @@ public Response putEmptyRootListWithResponse(List bananas, Context /** * Puts an empty list as the root element. * - * @param bananas Array of Banana. + * @param bananas The bananas parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -2214,7 +2214,7 @@ public Banana getEmptyChildElement() { /** * Puts a value with an empty child element. * - * @param banana A banana. + * @param banana The banana parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -2237,7 +2237,7 @@ public Mono> putEmptyChildElementWithResponseAsync(Banana banana) /** * Puts a value with an empty child element. * - * @param banana A banana. + * @param banana The banana parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -2261,7 +2261,7 @@ public Mono> putEmptyChildElementWithResponseAsync(Banana banana, /** * Puts a value with an empty child element. * - * @param banana A banana. + * @param banana The banana parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -2275,7 +2275,7 @@ public Mono putEmptyChildElementAsync(Banana banana) { /** * Puts a value with an empty child element. * - * @param banana A banana. + * @param banana The banana parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -2290,7 +2290,7 @@ public Mono putEmptyChildElementAsync(Banana banana, Context context) { /** * Puts a value with an empty child element. * - * @param banana A banana. + * @param banana The banana parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -2305,7 +2305,7 @@ public Response putEmptyChildElementWithResponse(Banana banana, Context co /** * Puts a value with an empty child element. * - * @param banana A banana. + * @param banana The banana parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -2501,7 +2501,7 @@ public StorageServiceProperties getServiceProperties() { /** * Puts storage service properties. * - * @param properties Storage Service Properties. + * @param properties The properties parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -2527,7 +2527,7 @@ public Mono> putServicePropertiesWithResponseAsync(StorageService /** * Puts storage service properties. * - * @param properties Storage Service Properties. + * @param properties The properties parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -2554,7 +2554,7 @@ public Mono> putServicePropertiesWithResponseAsync(StorageService /** * Puts storage service properties. * - * @param properties Storage Service Properties. + * @param properties The properties parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -2568,7 +2568,7 @@ public Mono putServicePropertiesAsync(StorageServiceProperties properties) /** * Puts storage service properties. * - * @param properties Storage Service Properties. + * @param properties The properties parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -2583,7 +2583,7 @@ public Mono putServicePropertiesAsync(StorageServiceProperties properties, /** * Puts storage service properties. * - * @param properties Storage Service Properties. + * @param properties The properties parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -2598,7 +2598,7 @@ public Response putServicePropertiesWithResponse(StorageServiceProperties /** * Puts storage service properties. * - * @param properties Storage Service Properties. + * @param properties The properties parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -2703,7 +2703,7 @@ public SignedIdentifierWrapper getAcls() { /** * Puts storage ACLs for a container. * - * @param properties a collection of signed identifiers. + * @param properties The properties parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -2730,7 +2730,7 @@ public Mono> putAclsWithResponseAsync(List prop /** * Puts storage ACLs for a container. * - * @param properties a collection of signed identifiers. + * @param properties The properties parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -2757,7 +2757,7 @@ public Mono> putAclsWithResponseAsync(List prop /** * Puts storage ACLs for a container. * - * @param properties a collection of signed identifiers. + * @param properties The properties parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -2771,7 +2771,7 @@ public Mono putAclsAsync(List properties) { /** * Puts storage ACLs for a container. * - * @param properties a collection of signed identifiers. + * @param properties The properties parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -2786,7 +2786,7 @@ public Mono putAclsAsync(List properties, Context contex /** * Puts storage ACLs for a container. * - * @param properties a collection of signed identifiers. + * @param properties The properties parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -2801,7 +2801,7 @@ public Response putAclsWithResponse(List properties, Con /** * Puts storage ACLs for a container. * - * @param properties a collection of signed identifiers. + * @param properties The properties parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. diff --git a/vanilla-tests/src/main/java/fixtures/validation/AutoRestValidationTest.java b/vanilla-tests/src/main/java/fixtures/validation/AutoRestValidationTest.java index d9013df4ab..750e1225c4 100644 --- a/vanilla-tests/src/main/java/fixtures/validation/AutoRestValidationTest.java +++ b/vanilla-tests/src/main/java/fixtures/validation/AutoRestValidationTest.java @@ -322,7 +322,7 @@ public Product validationOfMethodParameters(String resourceGroupName, int id) { * * @param resourceGroupName Required string between 3 and 10 chars with pattern [a-zA-Z0-9]+. * @param id Required int multiple of 10 from 100 to 1000. - * @param body The product documentation. + * @param body The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -354,7 +354,7 @@ public Mono> validationOfBodyWithResponseAsync(String resource * * @param resourceGroupName Required string between 3 and 10 chars with pattern [a-zA-Z0-9]+. * @param id Required int multiple of 10 from 100 to 1000. - * @param body The product documentation. + * @param body The body parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -388,7 +388,7 @@ public Mono> validationOfBodyWithResponseAsync(String resource * * @param resourceGroupName Required string between 3 and 10 chars with pattern [a-zA-Z0-9]+. * @param id Required int multiple of 10 from 100 to 1000. - * @param body The product documentation. + * @param body The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -422,7 +422,7 @@ public Mono validationOfBodyAsync(String resourceGroupName, int id) { * * @param resourceGroupName Required string between 3 and 10 chars with pattern [a-zA-Z0-9]+. * @param id Required int multiple of 10 from 100 to 1000. - * @param body The product documentation. + * @param body The body parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -440,7 +440,7 @@ public Mono validationOfBodyAsync(String resourceGroupName, int id, Pro * * @param resourceGroupName Required string between 3 and 10 chars with pattern [a-zA-Z0-9]+. * @param id Required int multiple of 10 from 100 to 1000. - * @param body The product documentation. + * @param body The body parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -458,7 +458,7 @@ public Response validationOfBodyWithResponse(String resourceGroupName, * * @param resourceGroupName Required string between 3 and 10 chars with pattern [a-zA-Z0-9]+. * @param id Required int multiple of 10 from 100 to 1000. - * @param body The product documentation. + * @param body The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -573,7 +573,7 @@ public void getWithConstantInPath() { /** * The postWithConstantInBody operation. * - * @param body The product documentation. + * @param body The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -596,7 +596,7 @@ public Mono> postWithConstantInBodyWithResponseAsync(Product b /** * The postWithConstantInBody operation. * - * @param body The product documentation. + * @param body The body parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -619,7 +619,7 @@ public Mono> postWithConstantInBodyWithResponseAsync(Product b /** * The postWithConstantInBody operation. * - * @param body The product documentation. + * @param body The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -646,7 +646,7 @@ public Mono postWithConstantInBodyAsync() { /** * The postWithConstantInBody operation. * - * @param body The product documentation. + * @param body The body parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -661,7 +661,7 @@ public Mono postWithConstantInBodyAsync(Product body, Context context) /** * The postWithConstantInBody operation. * - * @param body The product documentation. + * @param body The body parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -676,7 +676,7 @@ public Response postWithConstantInBodyWithResponse(Product body, Contex /** * The postWithConstantInBody operation. * - * @param body The product documentation. + * @param body The body parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. diff --git a/vanilla-tests/src/main/java/fixtures/xmlservice/Xmls.java b/vanilla-tests/src/main/java/fixtures/xmlservice/Xmls.java index 43d30a1f80..085b119bd6 100644 --- a/vanilla-tests/src/main/java/fixtures/xmlservice/Xmls.java +++ b/vanilla-tests/src/main/java/fixtures/xmlservice/Xmls.java @@ -379,7 +379,7 @@ public RootWithRefAndNoMeta getComplexTypeRefNoMeta() { /** * Puts a complex type that has a ref to a complex type with no XML node. * - * @param model I am root, and I ref a model with no meta. + * @param model The model parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -402,7 +402,7 @@ public Mono> putComplexTypeRefNoMetaWithResponseAsync(RootWithRef /** * Puts a complex type that has a ref to a complex type with no XML node. * - * @param model I am root, and I ref a model with no meta. + * @param model The model parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -426,7 +426,7 @@ public Mono> putComplexTypeRefNoMetaWithResponseAsync(RootWithRef /** * Puts a complex type that has a ref to a complex type with no XML node. * - * @param model I am root, and I ref a model with no meta. + * @param model The model parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -440,7 +440,7 @@ public Mono putComplexTypeRefNoMetaAsync(RootWithRefAndNoMeta model) { /** * Puts a complex type that has a ref to a complex type with no XML node. * - * @param model I am root, and I ref a model with no meta. + * @param model The model parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -455,7 +455,7 @@ public Mono putComplexTypeRefNoMetaAsync(RootWithRefAndNoMeta model, Conte /** * Puts a complex type that has a ref to a complex type with no XML node. * - * @param model I am root, and I ref a model with no meta. + * @param model The model parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -470,7 +470,7 @@ public Response putComplexTypeRefNoMetaWithResponse(RootWithRefAndNoMeta m /** * Puts a complex type that has a ref to a complex type with no XML node. * - * @param model I am root, and I ref a model with no meta. + * @param model The model parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -574,7 +574,7 @@ public RootWithRefAndMeta getComplexTypeRefWithMeta() { /** * Puts a complex type that has a ref to a complex type with XML node. * - * @param model I am root, and I ref a model WITH meta. + * @param model The model parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -598,7 +598,7 @@ public Mono> putComplexTypeRefWithMetaWithResponseAsync(RootWithR /** * Puts a complex type that has a ref to a complex type with XML node. * - * @param model I am root, and I ref a model WITH meta. + * @param model The model parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -622,7 +622,7 @@ public Mono> putComplexTypeRefWithMetaWithResponseAsync(RootWithR /** * Puts a complex type that has a ref to a complex type with XML node. * - * @param model I am root, and I ref a model WITH meta. + * @param model The model parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -636,7 +636,7 @@ public Mono putComplexTypeRefWithMetaAsync(RootWithRefAndMeta model) { /** * Puts a complex type that has a ref to a complex type with XML node. * - * @param model I am root, and I ref a model WITH meta. + * @param model The model parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -651,7 +651,7 @@ public Mono putComplexTypeRefWithMetaAsync(RootWithRefAndMeta model, Conte /** * Puts a complex type that has a ref to a complex type with XML node. * - * @param model I am root, and I ref a model WITH meta. + * @param model The model parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -666,7 +666,7 @@ public Response putComplexTypeRefWithMetaWithResponse(RootWithRefAndMeta m /** * Puts a complex type that has a ref to a complex type with XML node. * - * @param model I am root, and I ref a model WITH meta. + * @param model The model parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -767,7 +767,7 @@ public Slideshow getSimple() { /** * Put a simple XML document. * - * @param slideshow Data about a slideshow. + * @param slideshow The slideshow parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -791,7 +791,7 @@ public Mono> putSimpleWithResponseAsync(Slideshow slideshow) { /** * Put a simple XML document. * - * @param slideshow Data about a slideshow. + * @param slideshow The slideshow parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -816,7 +816,7 @@ public Mono> putSimpleWithResponseAsync(Slideshow slideshow, Cont /** * Put a simple XML document. * - * @param slideshow Data about a slideshow. + * @param slideshow The slideshow parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -830,7 +830,7 @@ public Mono putSimpleAsync(Slideshow slideshow) { /** * Put a simple XML document. * - * @param slideshow Data about a slideshow. + * @param slideshow The slideshow parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -845,7 +845,7 @@ public Mono putSimpleAsync(Slideshow slideshow, Context context) { /** * Put a simple XML document. * - * @param slideshow Data about a slideshow. + * @param slideshow The slideshow parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -860,7 +860,7 @@ public Response putSimpleWithResponse(Slideshow slideshow, Context context /** * Put a simple XML document. * - * @param slideshow Data about a slideshow. + * @param slideshow The slideshow parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -963,7 +963,7 @@ public AppleBarrel getWrappedLists() { /** * Put an XML document with multiple wrapped lists. * - * @param wrappedLists A barrel of apples. + * @param wrappedLists The wrappedLists parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -988,7 +988,7 @@ public Mono> putWrappedListsWithResponseAsync(AppleBarrel wrapped /** * Put an XML document with multiple wrapped lists. * - * @param wrappedLists A barrel of apples. + * @param wrappedLists The wrappedLists parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -1013,7 +1013,7 @@ public Mono> putWrappedListsWithResponseAsync(AppleBarrel wrapped /** * Put an XML document with multiple wrapped lists. * - * @param wrappedLists A barrel of apples. + * @param wrappedLists The wrappedLists parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -1027,7 +1027,7 @@ public Mono putWrappedListsAsync(AppleBarrel wrappedLists) { /** * Put an XML document with multiple wrapped lists. * - * @param wrappedLists A barrel of apples. + * @param wrappedLists The wrappedLists parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -1042,7 +1042,7 @@ public Mono putWrappedListsAsync(AppleBarrel wrappedLists, Context context /** * Put an XML document with multiple wrapped lists. * - * @param wrappedLists A barrel of apples. + * @param wrappedLists The wrappedLists parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -1057,7 +1057,7 @@ public Response putWrappedListsWithResponse(AppleBarrel wrappedLists, Cont /** * Put an XML document with multiple wrapped lists. * - * @param wrappedLists A barrel of apples. + * @param wrappedLists The wrappedLists parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -1243,7 +1243,7 @@ public Slideshow getEmptyList() { /** * Puts an empty list. * - * @param slideshow Data about a slideshow. + * @param slideshow The slideshow parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -1266,7 +1266,7 @@ public Mono> putEmptyListWithResponseAsync(Slideshow slideshow) { /** * Puts an empty list. * - * @param slideshow Data about a slideshow. + * @param slideshow The slideshow parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -1290,7 +1290,7 @@ public Mono> putEmptyListWithResponseAsync(Slideshow slideshow, C /** * Puts an empty list. * - * @param slideshow Data about a slideshow. + * @param slideshow The slideshow parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -1304,7 +1304,7 @@ public Mono putEmptyListAsync(Slideshow slideshow) { /** * Puts an empty list. * - * @param slideshow Data about a slideshow. + * @param slideshow The slideshow parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -1319,7 +1319,7 @@ public Mono putEmptyListAsync(Slideshow slideshow, Context context) { /** * Puts an empty list. * - * @param slideshow Data about a slideshow. + * @param slideshow The slideshow parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -1334,7 +1334,7 @@ public Response putEmptyListWithResponse(Slideshow slideshow, Context cont /** * Puts an empty list. * - * @param slideshow Data about a slideshow. + * @param slideshow The slideshow parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -1435,7 +1435,7 @@ public AppleBarrel getEmptyWrappedLists() { /** * Puts some empty wrapped lists. * - * @param appleBarrel A barrel of apples. + * @param appleBarrel The appleBarrel parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -1459,7 +1459,7 @@ public Mono> putEmptyWrappedListsWithResponseAsync(AppleBarrel ap /** * Puts some empty wrapped lists. * - * @param appleBarrel A barrel of apples. + * @param appleBarrel The appleBarrel parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -1483,7 +1483,7 @@ public Mono> putEmptyWrappedListsWithResponseAsync(AppleBarrel ap /** * Puts some empty wrapped lists. * - * @param appleBarrel A barrel of apples. + * @param appleBarrel The appleBarrel parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -1497,7 +1497,7 @@ public Mono putEmptyWrappedListsAsync(AppleBarrel appleBarrel) { /** * Puts some empty wrapped lists. * - * @param appleBarrel A barrel of apples. + * @param appleBarrel The appleBarrel parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -1512,7 +1512,7 @@ public Mono putEmptyWrappedListsAsync(AppleBarrel appleBarrel, Context con /** * Puts some empty wrapped lists. * - * @param appleBarrel A barrel of apples. + * @param appleBarrel The appleBarrel parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -1527,7 +1527,7 @@ public Response putEmptyWrappedListsWithResponse(AppleBarrel appleBarrel, /** * Puts some empty wrapped lists. * - * @param appleBarrel A barrel of apples. + * @param appleBarrel The appleBarrel parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -1628,7 +1628,7 @@ public List getRootList() { /** * Puts a list as the root element. * - * @param bananas Array of Banana. + * @param bananas The bananas parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -1652,7 +1652,7 @@ public Mono> putRootListWithResponseAsync(List bananas) { /** * Puts a list as the root element. * - * @param bananas Array of Banana. + * @param bananas The bananas parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -1677,7 +1677,7 @@ public Mono> putRootListWithResponseAsync(List bananas, C /** * Puts a list as the root element. * - * @param bananas Array of Banana. + * @param bananas The bananas parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -1691,7 +1691,7 @@ public Mono putRootListAsync(List bananas) { /** * Puts a list as the root element. * - * @param bananas Array of Banana. + * @param bananas The bananas parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -1706,7 +1706,7 @@ public Mono putRootListAsync(List bananas, Context context) { /** * Puts a list as the root element. * - * @param bananas Array of Banana. + * @param bananas The bananas parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -1721,7 +1721,7 @@ public Response putRootListWithResponse(List bananas, Context cont /** * Puts a list as the root element. * - * @param bananas Array of Banana. + * @param bananas The bananas parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -1822,7 +1822,7 @@ public List getRootListSingleItem() { /** * Puts a list with a single item. * - * @param bananas Array of Banana. + * @param bananas The bananas parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -1847,7 +1847,7 @@ public Mono> putRootListSingleItemWithResponseAsync(List /** * Puts a list with a single item. * - * @param bananas Array of Banana. + * @param bananas The bananas parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -1872,7 +1872,7 @@ public Mono> putRootListSingleItemWithResponseAsync(List /** * Puts a list with a single item. * - * @param bananas Array of Banana. + * @param bananas The bananas parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -1886,7 +1886,7 @@ public Mono putRootListSingleItemAsync(List bananas) { /** * Puts a list with a single item. * - * @param bananas Array of Banana. + * @param bananas The bananas parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -1901,7 +1901,7 @@ public Mono putRootListSingleItemAsync(List bananas, Context conte /** * Puts a list with a single item. * - * @param bananas Array of Banana. + * @param bananas The bananas parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -1916,7 +1916,7 @@ public Response putRootListSingleItemWithResponse(List bananas, Co /** * Puts a list with a single item. * - * @param bananas Array of Banana. + * @param bananas The bananas parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -2017,7 +2017,7 @@ public List getEmptyRootList() { /** * Puts an empty list as the root element. * - * @param bananas Array of Banana. + * @param bananas The bananas parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -2042,7 +2042,7 @@ public Mono> putEmptyRootListWithResponseAsync(List banan /** * Puts an empty list as the root element. * - * @param bananas Array of Banana. + * @param bananas The bananas parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -2067,7 +2067,7 @@ public Mono> putEmptyRootListWithResponseAsync(List banan /** * Puts an empty list as the root element. * - * @param bananas Array of Banana. + * @param bananas The bananas parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -2081,7 +2081,7 @@ public Mono putEmptyRootListAsync(List bananas) { /** * Puts an empty list as the root element. * - * @param bananas Array of Banana. + * @param bananas The bananas parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -2096,7 +2096,7 @@ public Mono putEmptyRootListAsync(List bananas, Context context) { /** * Puts an empty list as the root element. * - * @param bananas Array of Banana. + * @param bananas The bananas parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -2111,7 +2111,7 @@ public Response putEmptyRootListWithResponse(List bananas, Context /** * Puts an empty list as the root element. * - * @param bananas Array of Banana. + * @param bananas The bananas parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -2214,7 +2214,7 @@ public Banana getEmptyChildElement() { /** * Puts a value with an empty child element. * - * @param banana A banana. + * @param banana The banana parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -2237,7 +2237,7 @@ public Mono> putEmptyChildElementWithResponseAsync(Banana banana) /** * Puts a value with an empty child element. * - * @param banana A banana. + * @param banana The banana parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -2261,7 +2261,7 @@ public Mono> putEmptyChildElementWithResponseAsync(Banana banana, /** * Puts a value with an empty child element. * - * @param banana A banana. + * @param banana The banana parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -2275,7 +2275,7 @@ public Mono putEmptyChildElementAsync(Banana banana) { /** * Puts a value with an empty child element. * - * @param banana A banana. + * @param banana The banana parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -2290,7 +2290,7 @@ public Mono putEmptyChildElementAsync(Banana banana, Context context) { /** * Puts a value with an empty child element. * - * @param banana A banana. + * @param banana The banana parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -2305,7 +2305,7 @@ public Response putEmptyChildElementWithResponse(Banana banana, Context co /** * Puts a value with an empty child element. * - * @param banana A banana. + * @param banana The banana parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -2501,7 +2501,7 @@ public StorageServiceProperties getServiceProperties() { /** * Puts storage service properties. * - * @param properties Storage Service Properties. + * @param properties The properties parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -2527,7 +2527,7 @@ public Mono> putServicePropertiesWithResponseAsync(StorageService /** * Puts storage service properties. * - * @param properties Storage Service Properties. + * @param properties The properties parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -2554,7 +2554,7 @@ public Mono> putServicePropertiesWithResponseAsync(StorageService /** * Puts storage service properties. * - * @param properties Storage Service Properties. + * @param properties The properties parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -2568,7 +2568,7 @@ public Mono putServicePropertiesAsync(StorageServiceProperties properties) /** * Puts storage service properties. * - * @param properties Storage Service Properties. + * @param properties The properties parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -2583,7 +2583,7 @@ public Mono putServicePropertiesAsync(StorageServiceProperties properties, /** * Puts storage service properties. * - * @param properties Storage Service Properties. + * @param properties The properties parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -2598,7 +2598,7 @@ public Response putServicePropertiesWithResponse(StorageServiceProperties /** * Puts storage service properties. * - * @param properties Storage Service Properties. + * @param properties The properties parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -2703,7 +2703,7 @@ public SignedIdentifierWrapper getAcls() { /** * Puts storage ACLs for a container. * - * @param properties a collection of signed identifiers. + * @param properties The properties parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -2730,7 +2730,7 @@ public Mono> putAclsWithResponseAsync(List prop /** * Puts storage ACLs for a container. * - * @param properties a collection of signed identifiers. + * @param properties The properties parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -2757,7 +2757,7 @@ public Mono> putAclsWithResponseAsync(List prop /** * Puts storage ACLs for a container. * - * @param properties a collection of signed identifiers. + * @param properties The properties parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -2771,7 +2771,7 @@ public Mono putAclsAsync(List properties) { /** * Puts storage ACLs for a container. * - * @param properties a collection of signed identifiers. + * @param properties The properties parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -2786,7 +2786,7 @@ public Mono putAclsAsync(List properties, Context contex /** * Puts storage ACLs for a container. * - * @param properties a collection of signed identifiers. + * @param properties The properties parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. @@ -2801,7 +2801,7 @@ public Response putAclsWithResponse(List properties, Con /** * Puts storage ACLs for a container. * - * @param properties a collection of signed identifiers. + * @param properties The properties parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. From fec3114815f8e14bcc37696ae9dbd0f1309cae24 Mon Sep 17 00:00:00 2001 From: actions-user Date: Tue, 21 May 2024 08:06:52 +0000 Subject: [PATCH 09/12] re-generate test code --- .../fluent/models/CustomTemplateResourceInner.java | 4 ++-- .../fluent/models/CustomTemplateResourceProperties.java | 6 +++--- .../armresourceprovider/models/CustomTemplateResource.java | 6 +++--- .../armresourceprovider/models/UserAssignedIdentities.java | 5 ----- .../clientflatten/models/ApplicationPackageReference.java | 2 -- .../models/ApplicationPackageReference.java | 2 -- .../noflatten/models/ApplicationPackageReference.java | 2 -- .../models/ApplicationPackageReference.java | 2 -- .../models/ApplicationPackageReference.java | 2 -- 9 files changed, 8 insertions(+), 23 deletions(-) diff --git a/typespec-tests/src/main/java/com/cadl/armresourceprovider/fluent/models/CustomTemplateResourceInner.java b/typespec-tests/src/main/java/com/cadl/armresourceprovider/fluent/models/CustomTemplateResourceInner.java index 75de1688c4..dc900f4540 100644 --- a/typespec-tests/src/main/java/com/cadl/armresourceprovider/fluent/models/CustomTemplateResourceInner.java +++ b/typespec-tests/src/main/java/com/cadl/armresourceprovider/fluent/models/CustomTemplateResourceInner.java @@ -108,7 +108,7 @@ public ProvisioningState provisioningState() { } /** - * Get the dog property: Test extensible enum type for discriminator. + * Get the dog property: The dog property. * * @return the dog value. */ @@ -117,7 +117,7 @@ public Dog dog() { } /** - * Set the dog property: Test extensible enum type for discriminator. + * Set the dog property: The dog property. * * @param dog the dog value to set. * @return the CustomTemplateResourceInner object itself. diff --git a/typespec-tests/src/main/java/com/cadl/armresourceprovider/fluent/models/CustomTemplateResourceProperties.java b/typespec-tests/src/main/java/com/cadl/armresourceprovider/fluent/models/CustomTemplateResourceProperties.java index 479fecc4c4..2087b7cd3d 100644 --- a/typespec-tests/src/main/java/com/cadl/armresourceprovider/fluent/models/CustomTemplateResourceProperties.java +++ b/typespec-tests/src/main/java/com/cadl/armresourceprovider/fluent/models/CustomTemplateResourceProperties.java @@ -22,7 +22,7 @@ public final class CustomTemplateResourceProperties { private ProvisioningState provisioningState; /* - * Test extensible enum type for discriminator + * The dog property. */ @JsonProperty(value = "dog", required = true) private Dog dog; @@ -43,7 +43,7 @@ public ProvisioningState provisioningState() { } /** - * Get the dog property: Test extensible enum type for discriminator. + * Get the dog property: The dog property. * * @return the dog value. */ @@ -52,7 +52,7 @@ public Dog dog() { } /** - * Set the dog property: Test extensible enum type for discriminator. + * Set the dog property: The dog property. * * @param dog the dog value to set. * @return the CustomTemplateResourceProperties object itself. diff --git a/typespec-tests/src/main/java/com/cadl/armresourceprovider/models/CustomTemplateResource.java b/typespec-tests/src/main/java/com/cadl/armresourceprovider/models/CustomTemplateResource.java index 0536dfd14a..a0b4b6c325 100644 --- a/typespec-tests/src/main/java/com/cadl/armresourceprovider/models/CustomTemplateResource.java +++ b/typespec-tests/src/main/java/com/cadl/armresourceprovider/models/CustomTemplateResource.java @@ -71,7 +71,7 @@ public interface CustomTemplateResource { ProvisioningState provisioningState(); /** - * Gets the dog property: Test extensible enum type for discriminator. + * Gets the dog property: The dog property. * * @return the dog value. */ @@ -209,9 +209,9 @@ interface WithIdentity { */ interface WithDog { /** - * Specifies the dog property: Test extensible enum type for discriminator. + * Specifies the dog property: The dog property.. * - * @param dog Test extensible enum type for discriminator. + * @param dog The dog property. * @return the next definition stage. */ WithCreate withDog(Dog dog); diff --git a/typespec-tests/src/main/java/com/cadl/armresourceprovider/models/UserAssignedIdentities.java b/typespec-tests/src/main/java/com/cadl/armresourceprovider/models/UserAssignedIdentities.java index cf87d1c261..a259c2a233 100644 --- a/typespec-tests/src/main/java/com/cadl/armresourceprovider/models/UserAssignedIdentities.java +++ b/typespec-tests/src/main/java/com/cadl/armresourceprovider/models/UserAssignedIdentities.java @@ -20,11 +20,6 @@ @Fluent public final class UserAssignedIdentities { /* - * The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will - * be ARM resource ids in the form: - * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/ - * userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.", - * * Additional properties */ @JsonIgnore diff --git a/vanilla-tests/src/main/java/fixtures/discriminatorflattening/clientflatten/models/ApplicationPackageReference.java b/vanilla-tests/src/main/java/fixtures/discriminatorflattening/clientflatten/models/ApplicationPackageReference.java index 3ec337c769..ece90f1e78 100644 --- a/vanilla-tests/src/main/java/fixtures/discriminatorflattening/clientflatten/models/ApplicationPackageReference.java +++ b/vanilla-tests/src/main/java/fixtures/discriminatorflattening/clientflatten/models/ApplicationPackageReference.java @@ -23,8 +23,6 @@ public final class ApplicationPackageReference implements JsonSerializable Date: Tue, 21 May 2024 16:48:43 +0800 Subject: [PATCH 10/12] Add the allowed enum values after merge summary and description --- .../main/java/com/azure/autorest/util/MethodUtil.java | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/javagen/src/main/java/com/azure/autorest/util/MethodUtil.java b/javagen/src/main/java/com/azure/autorest/util/MethodUtil.java index 2d775d1f93..fc505d0a10 100644 --- a/javagen/src/main/java/com/azure/autorest/util/MethodUtil.java +++ b/javagen/src/main/java/com/azure/autorest/util/MethodUtil.java @@ -99,15 +99,16 @@ public static String getMethodParameterDescription(Parameter parameter, String n description = parameter.getLanguage().getDefault().getDescription(); } - // add allowed enum values - if (isProtocolMethod && parameter.getProtocol().getHttp().getIn() != RequestParameterLocation.BODY) { - description = MethodUtil.appendAllowedEnumValuesForEnumType(parameter, description); - } - String javadocDescription = SchemaUtil.mergeSummaryWithDescription(summary, description); if (CoreUtils.isNullOrEmpty(javadocDescription)) { // fallback to dummy description only when both summary and description are empty javadocDescription = "The " + name + " parameter"; } + + // add allowed enum values + if (isProtocolMethod && parameter.getProtocol().getHttp().getIn() != RequestParameterLocation.BODY) { + javadocDescription = MethodUtil.appendAllowedEnumValuesForEnumType(parameter, javadocDescription); + } + return javadocDescription; } From ada86d7e1e966dcd32fff356e8dca2ca8ecd37d0 Mon Sep 17 00:00:00 2001 From: actions-user Date: Tue, 21 May 2024 09:02:56 +0000 Subject: [PATCH 11/12] re-generate test code --- ...RestSwaggerConstantServiceAsyncClient.java | 28 ++++++---- .../AutoRestSwaggerConstantServiceClient.java | 28 ++++++---- .../implementation/ContantsImpl.java | 56 +++++++++++-------- 3 files changed, 64 insertions(+), 48 deletions(-) diff --git a/protocol-tests/src/main/java/fixtures/constants/AutoRestSwaggerConstantServiceAsyncClient.java b/protocol-tests/src/main/java/fixtures/constants/AutoRestSwaggerConstantServiceAsyncClient.java index e7dd375f50..3dce03c281 100644 --- a/protocol-tests/src/main/java/fixtures/constants/AutoRestSwaggerConstantServiceAsyncClient.java +++ b/protocol-tests/src/main/java/fixtures/constants/AutoRestSwaggerConstantServiceAsyncClient.java @@ -41,7 +41,8 @@ public final class AutoRestSwaggerConstantServiceAsyncClient { * * * - * + * *
Query Parameters
NameTypeRequiredDescription
inputStringNo. Allowed values: "value1", "value2".
inputStringNoThe input parameter. Allowed values: "value1", + * "value2".
* You can add these to a request with {@link RequestOptions#addQueryParam} * @@ -65,7 +66,8 @@ public final class AutoRestSwaggerConstantServiceAsyncClient { * * * - * + * *
Query Parameters
NameTypeRequiredDescription
inputStringNo. Allowed values: "value1", "value2".
inputStringNoThe input parameter. Allowed values: "value1", + * "value2".
* You can add these to a request with {@link RequestOptions#addQueryParam} * @@ -118,7 +120,7 @@ public Mono> putNoModelAsStringNoRequiredOneValueDefaultWithRespo /** * Puts constants to the testserver. * - * @param input . Allowed values: "value1", "value2". + * @param input The input parameter. Allowed values: "value1", "value2". * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -136,7 +138,7 @@ public Mono> putNoModelAsStringRequiredTwoValueNoDefaultWithRespo /** * Puts constants to the testserver. * - * @param input . Allowed values: "value1", "value2". + * @param input The input parameter. Allowed values: "value1", "value2". * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -189,7 +191,8 @@ public Mono> putNoModelAsStringRequiredOneValueDefaultWithRespons * * * - * + * *
Query Parameters
NameTypeRequiredDescription
inputStringNo. Allowed values: "value1", "value2".
inputStringNoThe input parameter. Allowed values: "value1", + * "value2".
* You can add these to a request with {@link RequestOptions#addQueryParam} * @@ -212,7 +215,8 @@ public Mono> putModelAsStringNoRequiredTwoValueNoDefaultWithRespo * * * - * + * *
Query Parameters
NameTypeRequiredDescription
inputStringNo. Allowed values: "value1", "value2".
inputStringNoThe input parameter. Allowed values: "value1", + * "value2".
* You can add these to a request with {@link RequestOptions#addQueryParam} * @@ -235,7 +239,7 @@ public Mono> putModelAsStringNoRequiredTwoValueDefaultWithRespons * * * - * + * *
Query Parameters
NameTypeRequiredDescription
inputStringNo. Allowed values: "value1".
inputStringNoThe input parameter. Allowed values: "value1".
* You can add these to a request with {@link RequestOptions#addQueryParam} * @@ -258,7 +262,7 @@ public Mono> putModelAsStringNoRequiredOneValueNoDefaultWithRespo * * * - * + * *
Query Parameters
NameTypeRequiredDescription
inputStringNo. Allowed values: "value1".
inputStringNoThe input parameter. Allowed values: "value1".
* You can add these to a request with {@link RequestOptions#addQueryParam} * @@ -278,7 +282,7 @@ public Mono> putModelAsStringNoRequiredOneValueDefaultWithRespons /** * Puts constants to the testserver. * - * @param input . Allowed values: "value1", "value2". + * @param input The input parameter. Allowed values: "value1", "value2". * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -296,7 +300,7 @@ public Mono> putModelAsStringRequiredTwoValueNoDefaultWithRespons /** * Puts constants to the testserver. * - * @param input . Allowed values: "value1", "value2". + * @param input The input parameter. Allowed values: "value1", "value2". * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -314,7 +318,7 @@ public Mono> putModelAsStringRequiredTwoValueDefaultWithResponse( /** * Puts constants to the testserver. * - * @param input . Allowed values: "value1". + * @param input The input parameter. Allowed values: "value1". * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -332,7 +336,7 @@ public Mono> putModelAsStringRequiredOneValueNoDefaultWithRespons /** * Puts constants to the testserver. * - * @param input . Allowed values: "value1". + * @param input The input parameter. Allowed values: "value1". * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/protocol-tests/src/main/java/fixtures/constants/AutoRestSwaggerConstantServiceClient.java b/protocol-tests/src/main/java/fixtures/constants/AutoRestSwaggerConstantServiceClient.java index ff55e071d1..79ce8d1694 100644 --- a/protocol-tests/src/main/java/fixtures/constants/AutoRestSwaggerConstantServiceClient.java +++ b/protocol-tests/src/main/java/fixtures/constants/AutoRestSwaggerConstantServiceClient.java @@ -40,7 +40,8 @@ public final class AutoRestSwaggerConstantServiceClient { * * * - * + * *
Query Parameters
NameTypeRequiredDescription
inputStringNo. Allowed values: "value1", "value2".
inputStringNoThe input parameter. Allowed values: "value1", + * "value2".
* You can add these to a request with {@link RequestOptions#addQueryParam} * @@ -63,7 +64,8 @@ public Response putNoModelAsStringNoRequiredTwoValueNoDefaultWithResponse( * * * - * + * *
Query Parameters
NameTypeRequiredDescription
inputStringNo. Allowed values: "value1", "value2".
inputStringNoThe input parameter. Allowed values: "value1", + * "value2".
* You can add these to a request with {@link RequestOptions#addQueryParam} * @@ -115,7 +117,7 @@ public Response putNoModelAsStringNoRequiredOneValueDefaultWithResponse(Re /** * Puts constants to the testserver. * - * @param input . Allowed values: "value1", "value2". + * @param input The input parameter. Allowed values: "value1", "value2". * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -133,7 +135,7 @@ public Response putNoModelAsStringRequiredTwoValueNoDefaultWithResponse(St /** * Puts constants to the testserver. * - * @param input . Allowed values: "value1", "value2". + * @param input The input parameter. Allowed values: "value1", "value2". * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -186,7 +188,8 @@ public Response putNoModelAsStringRequiredOneValueDefaultWithResponse(Requ * * * - * + * *
Query Parameters
NameTypeRequiredDescription
inputStringNo. Allowed values: "value1", "value2".
inputStringNoThe input parameter. Allowed values: "value1", + * "value2".
* You can add these to a request with {@link RequestOptions#addQueryParam} * @@ -209,7 +212,8 @@ public Response putModelAsStringNoRequiredTwoValueNoDefaultWithResponse(Re * * * - * + * *
Query Parameters
NameTypeRequiredDescription
inputStringNo. Allowed values: "value1", "value2".
inputStringNoThe input parameter. Allowed values: "value1", + * "value2".
* You can add these to a request with {@link RequestOptions#addQueryParam} * @@ -232,7 +236,7 @@ public Response putModelAsStringNoRequiredTwoValueDefaultWithResponse(Requ * * * - * + * *
Query Parameters
NameTypeRequiredDescription
inputStringNo. Allowed values: "value1".
inputStringNoThe input parameter. Allowed values: "value1".
* You can add these to a request with {@link RequestOptions#addQueryParam} * @@ -255,7 +259,7 @@ public Response putModelAsStringNoRequiredOneValueNoDefaultWithResponse(Re * * * - * + * *
Query Parameters
NameTypeRequiredDescription
inputStringNo. Allowed values: "value1".
inputStringNoThe input parameter. Allowed values: "value1".
* You can add these to a request with {@link RequestOptions#addQueryParam} * @@ -275,7 +279,7 @@ public Response putModelAsStringNoRequiredOneValueDefaultWithResponse(Requ /** * Puts constants to the testserver. * - * @param input . Allowed values: "value1", "value2". + * @param input The input parameter. Allowed values: "value1", "value2". * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -293,7 +297,7 @@ public Response putModelAsStringRequiredTwoValueNoDefaultWithResponse(Stri /** * Puts constants to the testserver. * - * @param input . Allowed values: "value1", "value2". + * @param input The input parameter. Allowed values: "value1", "value2". * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -311,7 +315,7 @@ public Response putModelAsStringRequiredTwoValueDefaultWithResponse(String /** * Puts constants to the testserver. * - * @param input . Allowed values: "value1". + * @param input The input parameter. Allowed values: "value1". * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -329,7 +333,7 @@ public Response putModelAsStringRequiredOneValueNoDefaultWithResponse(Stri /** * Puts constants to the testserver. * - * @param input . Allowed values: "value1". + * @param input The input parameter. Allowed values: "value1". * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/protocol-tests/src/main/java/fixtures/constants/implementation/ContantsImpl.java b/protocol-tests/src/main/java/fixtures/constants/implementation/ContantsImpl.java index f00572e675..0144a8ae68 100644 --- a/protocol-tests/src/main/java/fixtures/constants/implementation/ContantsImpl.java +++ b/protocol-tests/src/main/java/fixtures/constants/implementation/ContantsImpl.java @@ -382,7 +382,8 @@ Response putClientConstantsSync(@HostParam("$host") String host, * * * - * + * *
Query Parameters
NameTypeRequiredDescription
inputStringNo. Allowed values: "value1", "value2".
inputStringNoThe input parameter. Allowed values: "value1", + * "value2".
* You can add these to a request with {@link RequestOptions#addQueryParam} * @@ -406,7 +407,8 @@ Response putClientConstantsSync(@HostParam("$host") String host, * * * - * + * *
Query Parameters
NameTypeRequiredDescription
inputStringNo. Allowed values: "value1", "value2".
inputStringNoThe input parameter. Allowed values: "value1", + * "value2".
* You can add these to a request with {@link RequestOptions#addQueryParam} * @@ -429,7 +431,8 @@ public Response putNoModelAsStringNoRequiredTwoValueNoDefaultWithResponse( * * * - * + * *
Query Parameters
NameTypeRequiredDescription
inputStringNo. Allowed values: "value1", "value2".
inputStringNoThe input parameter. Allowed values: "value1", + * "value2".
* You can add these to a request with {@link RequestOptions#addQueryParam} * @@ -453,7 +456,8 @@ public Response putNoModelAsStringNoRequiredTwoValueNoDefaultWithResponse( * * * - * + * *
Query Parameters
NameTypeRequiredDescription
inputStringNo. Allowed values: "value1", "value2".
inputStringNoThe input parameter. Allowed values: "value1", + * "value2".
* You can add these to a request with {@link RequestOptions#addQueryParam} * @@ -543,7 +547,7 @@ public Response putNoModelAsStringNoRequiredOneValueDefaultWithResponse(Re /** * Puts constants to the testserver. * - * @param input . Allowed values: "value1", "value2". + * @param input The input parameter. Allowed values: "value1", "value2". * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -561,7 +565,7 @@ public Mono> putNoModelAsStringRequiredTwoValueNoDefaultWithRespo /** * Puts constants to the testserver. * - * @param input . Allowed values: "value1", "value2". + * @param input The input parameter. Allowed values: "value1", "value2". * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -579,7 +583,7 @@ public Response putNoModelAsStringRequiredTwoValueNoDefaultWithResponse(St /** * Puts constants to the testserver. * - * @param input . Allowed values: "value1", "value2". + * @param input The input parameter. Allowed values: "value1", "value2". * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -597,7 +601,7 @@ public Mono> putNoModelAsStringRequiredTwoValueDefaultWithRespons /** * Puts constants to the testserver. * - * @param input . Allowed values: "value1", "value2". + * @param input The input parameter. Allowed values: "value1", "value2". * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -688,7 +692,8 @@ public Response putNoModelAsStringRequiredOneValueDefaultWithResponse(Requ * * * - * + * *
Query Parameters
NameTypeRequiredDescription
inputStringNo. Allowed values: "value1", "value2".
inputStringNoThe input parameter. Allowed values: "value1", + * "value2".
* You can add these to a request with {@link RequestOptions#addQueryParam} * @@ -712,7 +717,8 @@ public Response putNoModelAsStringRequiredOneValueDefaultWithResponse(Requ * * * - * + * *
Query Parameters
NameTypeRequiredDescription
inputStringNo. Allowed values: "value1", "value2".
inputStringNoThe input parameter. Allowed values: "value1", + * "value2".
* You can add these to a request with {@link RequestOptions#addQueryParam} * @@ -735,7 +741,8 @@ public Response putModelAsStringNoRequiredTwoValueNoDefaultWithResponse(Re * * * - * + * *
Query Parameters
NameTypeRequiredDescription
inputStringNo. Allowed values: "value1", "value2".
inputStringNoThe input parameter. Allowed values: "value1", + * "value2".
* You can add these to a request with {@link RequestOptions#addQueryParam} * @@ -759,7 +766,8 @@ public Response putModelAsStringNoRequiredTwoValueNoDefaultWithResponse(Re * * * - * + * *
Query Parameters
NameTypeRequiredDescription
inputStringNo. Allowed values: "value1", "value2".
inputStringNoThe input parameter. Allowed values: "value1", + * "value2".
* You can add these to a request with {@link RequestOptions#addQueryParam} * @@ -782,7 +790,7 @@ public Response putModelAsStringNoRequiredTwoValueDefaultWithResponse(Requ * * * - * + * *
Query Parameters
NameTypeRequiredDescription
inputStringNo. Allowed values: "value1".
inputStringNoThe input parameter. Allowed values: "value1".
* You can add these to a request with {@link RequestOptions#addQueryParam} * @@ -806,7 +814,7 @@ public Response putModelAsStringNoRequiredTwoValueDefaultWithResponse(Requ * * * - * + * *
Query Parameters
NameTypeRequiredDescription
inputStringNo. Allowed values: "value1".
inputStringNoThe input parameter. Allowed values: "value1".
* You can add these to a request with {@link RequestOptions#addQueryParam} * @@ -829,7 +837,7 @@ public Response putModelAsStringNoRequiredOneValueNoDefaultWithResponse(Re * * * - * + * *
Query Parameters
NameTypeRequiredDescription
inputStringNo. Allowed values: "value1".
inputStringNoThe input parameter. Allowed values: "value1".
* You can add these to a request with {@link RequestOptions#addQueryParam} * @@ -853,7 +861,7 @@ public Response putModelAsStringNoRequiredOneValueNoDefaultWithResponse(Re * * * - * + * *
Query Parameters
NameTypeRequiredDescription
inputStringNo. Allowed values: "value1".
inputStringNoThe input parameter. Allowed values: "value1".
* You can add these to a request with {@link RequestOptions#addQueryParam} * @@ -873,7 +881,7 @@ public Response putModelAsStringNoRequiredOneValueDefaultWithResponse(Requ /** * Puts constants to the testserver. * - * @param input . Allowed values: "value1", "value2". + * @param input The input parameter. Allowed values: "value1", "value2". * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -891,7 +899,7 @@ public Mono> putModelAsStringRequiredTwoValueNoDefaultWithRespons /** * Puts constants to the testserver. * - * @param input . Allowed values: "value1", "value2". + * @param input The input parameter. Allowed values: "value1", "value2". * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -909,7 +917,7 @@ public Response putModelAsStringRequiredTwoValueNoDefaultWithResponse(Stri /** * Puts constants to the testserver. * - * @param input . Allowed values: "value1", "value2". + * @param input The input parameter. Allowed values: "value1", "value2". * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -927,7 +935,7 @@ public Mono> putModelAsStringRequiredTwoValueDefaultWithResponseA /** * Puts constants to the testserver. * - * @param input . Allowed values: "value1", "value2". + * @param input The input parameter. Allowed values: "value1", "value2". * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -945,7 +953,7 @@ public Response putModelAsStringRequiredTwoValueDefaultWithResponse(String /** * Puts constants to the testserver. * - * @param input . Allowed values: "value1". + * @param input The input parameter. Allowed values: "value1". * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -963,7 +971,7 @@ public Mono> putModelAsStringRequiredOneValueNoDefaultWithRespons /** * Puts constants to the testserver. * - * @param input . Allowed values: "value1". + * @param input The input parameter. Allowed values: "value1". * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -981,7 +989,7 @@ public Response putModelAsStringRequiredOneValueNoDefaultWithResponse(Stri /** * Puts constants to the testserver. * - * @param input . Allowed values: "value1". + * @param input The input parameter. Allowed values: "value1". * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -999,7 +1007,7 @@ public Mono> putModelAsStringRequiredOneValueDefaultWithResponseA /** * Puts constants to the testserver. * - * @param input . Allowed values: "value1". + * @param input The input parameter. Allowed values: "value1". * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. From e583a908fdeaa6f8fe8cba228a2ec3b660aeb195 Mon Sep 17 00:00:00 2001 From: actions-user Date: Tue, 21 May 2024 09:24:28 +0000 Subject: [PATCH 12/12] re-generate test code --- .../azure/core/basic/BasicAsyncClient.java | 5 ++--- .../_specs_/azure/core/basic/BasicClient.java | 5 ++--- .../basic/implementation/BasicClientImpl.java | 20 ++++++++----------- .../enumservice/EnumServiceAsyncClient.java | 6 +++--- .../cadl/enumservice/EnumServiceClient.java | 6 +++--- .../implementation/EnumServiceClientImpl.java | 12 +++++------ .../LiteralServiceAsyncClient.java | 4 ++-- .../literalservice/LiteralServiceClient.java | 4 ++-- .../implementation/LiteralOpsImpl.java | 8 ++++---- .../MultiContentTypesAsyncClient.java | 4 ++-- .../MultiContentTypesClient.java | 4 ++-- ...tipleContentTypesOnRequestAsyncClient.java | 9 ++++++--- .../MultipleContentTypesOnRequestClient.java | 9 ++++++--- .../MultiContentTypesClientImpl.java | 8 ++++---- .../MultipleContentTypesOnRequestsImpl.java | 18 +++++++++++------ 15 files changed, 64 insertions(+), 58 deletions(-) diff --git a/typespec-tests/src/main/java/com/_specs_/azure/core/basic/BasicAsyncClient.java b/typespec-tests/src/main/java/com/_specs_/azure/core/basic/BasicAsyncClient.java index 408d70e0d3..0cbe898a10 100644 --- a/typespec-tests/src/main/java/com/_specs_/azure/core/basic/BasicAsyncClient.java +++ b/typespec-tests/src/main/java/com/_specs_/azure/core/basic/BasicAsyncClient.java @@ -279,9 +279,8 @@ public PagedFlux listWithPage(RequestOptions requestOptions) { * * * - * + * *
Query Parameters
NameTypeRequiredDescription
anotherStringNoAn extensible enum input parameter. - * - * . Allowed values: "First", "Second".
anotherStringNoAn extensible enum input parameter. Allowed values: "First", + * "Second".
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Request Body Schema

diff --git a/typespec-tests/src/main/java/com/_specs_/azure/core/basic/BasicClient.java b/typespec-tests/src/main/java/com/_specs_/azure/core/basic/BasicClient.java index 81f8d66357..23698d16c2 100644 --- a/typespec-tests/src/main/java/com/_specs_/azure/core/basic/BasicClient.java +++ b/typespec-tests/src/main/java/com/_specs_/azure/core/basic/BasicClient.java @@ -272,9 +272,8 @@ public PagedIterable listWithPage(RequestOptions requestOptions) { * * * - * + * *
Query Parameters
NameTypeRequiredDescription
anotherStringNoAn extensible enum input parameter. - * - * . Allowed values: "First", "Second".
anotherStringNoAn extensible enum input parameter. Allowed values: "First", + * "Second".
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Request Body Schema

diff --git a/typespec-tests/src/main/java/com/_specs_/azure/core/basic/implementation/BasicClientImpl.java b/typespec-tests/src/main/java/com/_specs_/azure/core/basic/implementation/BasicClientImpl.java index c442d79d4e..3c7e027db1 100644 --- a/typespec-tests/src/main/java/com/_specs_/azure/core/basic/implementation/BasicClientImpl.java +++ b/typespec-tests/src/main/java/com/_specs_/azure/core/basic/implementation/BasicClientImpl.java @@ -1097,9 +1097,8 @@ public PagedIterable listWithPage(RequestOptions requestOptions) { * * * - * + * *
Query Parameters
NameTypeRequiredDescription
anotherStringNoAn extensible enum input parameter. - * - * . Allowed values: "First", "Second".
anotherStringNoAn extensible enum input parameter. Allowed values: "First", + * "Second".
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Request Body Schema

@@ -1152,9 +1151,8 @@ private Mono> listWithParametersSinglePageAsync(Binary * * * - * + * *
Query Parameters
NameTypeRequiredDescription
anotherStringNoAn extensible enum input parameter. - * - * . Allowed values: "First", "Second".
anotherStringNoAn extensible enum input parameter. Allowed values: "First", + * "Second".
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Request Body Schema

@@ -1205,9 +1203,8 @@ public PagedFlux listWithParametersAsync(BinaryData bodyInput, Reque * * * - * + * *
Query Parameters
NameTypeRequiredDescription
anotherStringNoAn extensible enum input parameter. - * - * . Allowed values: "First", "Second".
anotherStringNoAn extensible enum input parameter. Allowed values: "First", + * "Second".
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Request Body Schema

@@ -1259,9 +1256,8 @@ private PagedResponse listWithParametersSinglePage(BinaryData bodyIn * * * - * + * *
Query Parameters
NameTypeRequiredDescription
anotherStringNoAn extensible enum input parameter. - * - * . Allowed values: "First", "Second".
anotherStringNoAn extensible enum input parameter. Allowed values: "First", + * "Second".
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Request Body Schema

diff --git a/typespec-tests/src/main/java/com/cadl/enumservice/EnumServiceAsyncClient.java b/typespec-tests/src/main/java/com/cadl/enumservice/EnumServiceAsyncClient.java index 7d5f661b92..51b5c4cfcf 100644 --- a/typespec-tests/src/main/java/com/cadl/enumservice/EnumServiceAsyncClient.java +++ b/typespec-tests/src/main/java/com/cadl/enumservice/EnumServiceAsyncClient.java @@ -109,7 +109,7 @@ public Mono> getColorModelWithResponse(RequestOptions reque * } * } * - * @param color . Allowed values: "Red", "Blue", "Green". + * @param color The color parameter. Allowed values: "Red", "Blue", "Green". * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -142,7 +142,7 @@ public Mono> setColorModelWithResponse(String color, Reques * } * } * - * @param priority . Allowed values: 100, 0. + * @param priority The priority parameter. Allowed values: 100, 0. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -207,7 +207,7 @@ public Mono> getRunningOperationWithResponse(RequestOptions * } * } * - * @param state . Allowed values: "Running", "Completed", "Failed". + * @param state The state parameter. Allowed values: "Running", "Completed", "Failed". * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/cadl/enumservice/EnumServiceClient.java b/typespec-tests/src/main/java/com/cadl/enumservice/EnumServiceClient.java index 0a411aaee2..97b21c8f17 100644 --- a/typespec-tests/src/main/java/com/cadl/enumservice/EnumServiceClient.java +++ b/typespec-tests/src/main/java/com/cadl/enumservice/EnumServiceClient.java @@ -107,7 +107,7 @@ public Response getColorModelWithResponse(RequestOptions requestOpti * } * } * - * @param color . Allowed values: "Red", "Blue", "Green". + * @param color The color parameter. Allowed values: "Red", "Blue", "Green". * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -140,7 +140,7 @@ public Response setColorModelWithResponse(String color, RequestOptio * } * } * - * @param priority . Allowed values: 100, 0. + * @param priority The priority parameter. Allowed values: 100, 0. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -205,7 +205,7 @@ public Response getRunningOperationWithResponse(RequestOptions reque * } * } * - * @param state . Allowed values: "Running", "Completed", "Failed". + * @param state The state parameter. Allowed values: "Running", "Completed", "Failed". * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/cadl/enumservice/implementation/EnumServiceClientImpl.java b/typespec-tests/src/main/java/com/cadl/enumservice/implementation/EnumServiceClientImpl.java index 88828bf73c..23979b9a52 100644 --- a/typespec-tests/src/main/java/com/cadl/enumservice/implementation/EnumServiceClientImpl.java +++ b/typespec-tests/src/main/java/com/cadl/enumservice/implementation/EnumServiceClientImpl.java @@ -529,7 +529,7 @@ public Response getColorModelWithResponse(RequestOptions requestOpti * } * } * - * @param color . Allowed values: "Red", "Blue", "Green". + * @param color The color parameter. Allowed values: "Red", "Blue", "Green". * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -563,7 +563,7 @@ public Mono> setColorModelWithResponseAsync(String color, R * } * } * - * @param color . Allowed values: "Red", "Blue", "Green". + * @param color The color parameter. Allowed values: "Red", "Blue", "Green". * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -596,7 +596,7 @@ public Response setColorModelWithResponse(String color, RequestOptio * } * } * - * @param priority . Allowed values: 100, 0. + * @param priority The priority parameter. Allowed values: 100, 0. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -630,7 +630,7 @@ public Mono> setPriorityWithResponseAsync(String priority, * } * } * - * @param priority . Allowed values: 100, 0. + * @param priority The priority parameter. Allowed values: 100, 0. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -730,7 +730,7 @@ public Response getRunningOperationWithResponse(RequestOptions reque * } * } * - * @param state . Allowed values: "Running", "Completed", "Failed". + * @param state The state parameter. Allowed values: "Running", "Completed", "Failed". * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -764,7 +764,7 @@ public Mono> getOperationWithResponseAsync(String state, Re * } * } * - * @param state . Allowed values: "Running", "Completed", "Failed". + * @param state The state parameter. Allowed values: "Running", "Completed", "Failed". * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/typespec-tests/src/main/java/com/cadl/literalservice/LiteralServiceAsyncClient.java b/typespec-tests/src/main/java/com/cadl/literalservice/LiteralServiceAsyncClient.java index 8f9a911085..d409bba8fa 100644 --- a/typespec-tests/src/main/java/com/cadl/literalservice/LiteralServiceAsyncClient.java +++ b/typespec-tests/src/main/java/com/cadl/literalservice/LiteralServiceAsyncClient.java @@ -45,8 +45,8 @@ public final class LiteralServiceAsyncClient { * * * - * + * *
Query Parameters
NameTypeRequiredDescription
optionalLiteralParamStringNo. Allowed values: - * "optionalLiteralParam".
optionalLiteralParamStringNoThe optionalLiteralParam parameter. Allowed + * values: "optionalLiteralParam".
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Request Body Schema

diff --git a/typespec-tests/src/main/java/com/cadl/literalservice/LiteralServiceClient.java b/typespec-tests/src/main/java/com/cadl/literalservice/LiteralServiceClient.java index e02c023fa0..1536e39ca9 100644 --- a/typespec-tests/src/main/java/com/cadl/literalservice/LiteralServiceClient.java +++ b/typespec-tests/src/main/java/com/cadl/literalservice/LiteralServiceClient.java @@ -43,8 +43,8 @@ public final class LiteralServiceClient { * * * - * + * *
Query Parameters
NameTypeRequiredDescription
optionalLiteralParamStringNo. Allowed values: - * "optionalLiteralParam".
optionalLiteralParamStringNoThe optionalLiteralParam parameter. Allowed + * values: "optionalLiteralParam".
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Request Body Schema

diff --git a/typespec-tests/src/main/java/com/cadl/literalservice/implementation/LiteralOpsImpl.java b/typespec-tests/src/main/java/com/cadl/literalservice/implementation/LiteralOpsImpl.java index eac1a90e6d..156f1f896b 100644 --- a/typespec-tests/src/main/java/com/cadl/literalservice/implementation/LiteralOpsImpl.java +++ b/typespec-tests/src/main/java/com/cadl/literalservice/implementation/LiteralOpsImpl.java @@ -86,8 +86,8 @@ Response putSync(@HostParam("endpoint") String endpoint, * * * - * + * *
Query Parameters
NameTypeRequiredDescription
optionalLiteralParamStringNo. Allowed values: - * "optionalLiteralParam".
optionalLiteralParamStringNoThe optionalLiteralParam parameter. Allowed + * values: "optionalLiteralParam".
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Request Body Schema

@@ -130,8 +130,8 @@ public Mono> putWithResponseAsync(BinaryData model, Request * * * - * + * *
Query Parameters
NameTypeRequiredDescription
optionalLiteralParamStringNo. Allowed values: - * "optionalLiteralParam".
optionalLiteralParamStringNoThe optionalLiteralParam parameter. Allowed + * values: "optionalLiteralParam".
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Request Body Schema

diff --git a/typespec-tests/src/main/java/com/cadl/multicontenttypes/MultiContentTypesAsyncClient.java b/typespec-tests/src/main/java/com/cadl/multicontenttypes/MultiContentTypesAsyncClient.java index 0c2da2acca..f79c741b0e 100644 --- a/typespec-tests/src/main/java/com/cadl/multicontenttypes/MultiContentTypesAsyncClient.java +++ b/typespec-tests/src/main/java/com/cadl/multicontenttypes/MultiContentTypesAsyncClient.java @@ -44,8 +44,8 @@ public final class MultiContentTypesAsyncClient { * BinaryData * } * - * @param contentType . Allowed values: "text/plain", "application/json", "application/octet-stream", "image/jpeg", - * "image/png". + * @param contentType The contentType parameter. Allowed values: "text/plain", "application/json", + * "application/octet-stream", "image/jpeg", "image/png". * @param data The data parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. diff --git a/typespec-tests/src/main/java/com/cadl/multicontenttypes/MultiContentTypesClient.java b/typespec-tests/src/main/java/com/cadl/multicontenttypes/MultiContentTypesClient.java index a3cf751c85..46fccf0d94 100644 --- a/typespec-tests/src/main/java/com/cadl/multicontenttypes/MultiContentTypesClient.java +++ b/typespec-tests/src/main/java/com/cadl/multicontenttypes/MultiContentTypesClient.java @@ -43,8 +43,8 @@ public final class MultiContentTypesClient { * BinaryData * } * - * @param contentType . Allowed values: "text/plain", "application/json", "application/octet-stream", "image/jpeg", - * "image/png". + * @param contentType The contentType parameter. Allowed values: "text/plain", "application/json", + * "application/octet-stream", "image/jpeg", "image/png". * @param data The data parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. diff --git a/typespec-tests/src/main/java/com/cadl/multicontenttypes/MultipleContentTypesOnRequestAsyncClient.java b/typespec-tests/src/main/java/com/cadl/multicontenttypes/MultipleContentTypesOnRequestAsyncClient.java index aad6000a5c..c28835f34b 100644 --- a/typespec-tests/src/main/java/com/cadl/multicontenttypes/MultipleContentTypesOnRequestAsyncClient.java +++ b/typespec-tests/src/main/java/com/cadl/multicontenttypes/MultipleContentTypesOnRequestAsyncClient.java @@ -46,7 +46,8 @@ public final class MultipleContentTypesOnRequestAsyncClient { * BinaryData * } * - * @param contentType . Allowed values: "application/octet-stream", "image/jpeg", "image/png". + * @param contentType The contentType parameter. Allowed values: "application/octet-stream", "image/jpeg", + * "image/png". * @param data Represent a byte array. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -73,7 +74,8 @@ public Mono> uploadBytesWithSingleBodyTypeForMultiContentTypesWit * BinaryData * } * - * @param contentType . Allowed values: "application/octet-stream", "image/jpeg", "image/png". + * @param contentType The contentType parameter. Allowed values: "application/octet-stream", "image/jpeg", + * "image/png". * @param data Represent a byte array. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -127,7 +129,8 @@ public Mono> uploadJsonWithMultiBodyTypesForMultiContentTypesWith * BinaryData * } * - * @param contentType . Allowed values: "application/json", "application/octet-stream", "image/jpeg", "image/png". + * @param contentType The contentType parameter. Allowed values: "application/json", "application/octet-stream", + * "image/jpeg", "image/png". * @param data The data parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. diff --git a/typespec-tests/src/main/java/com/cadl/multicontenttypes/MultipleContentTypesOnRequestClient.java b/typespec-tests/src/main/java/com/cadl/multicontenttypes/MultipleContentTypesOnRequestClient.java index 1b5ab639b7..24050e702a 100644 --- a/typespec-tests/src/main/java/com/cadl/multicontenttypes/MultipleContentTypesOnRequestClient.java +++ b/typespec-tests/src/main/java/com/cadl/multicontenttypes/MultipleContentTypesOnRequestClient.java @@ -44,7 +44,8 @@ public final class MultipleContentTypesOnRequestClient { * BinaryData * } * - * @param contentType . Allowed values: "application/octet-stream", "image/jpeg", "image/png". + * @param contentType The contentType parameter. Allowed values: "application/octet-stream", "image/jpeg", + * "image/png". * @param data Represent a byte array. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -71,7 +72,8 @@ public Response uploadBytesWithSingleBodyTypeForMultiContentTypesWithRespo * BinaryData * } * - * @param contentType . Allowed values: "application/octet-stream", "image/jpeg", "image/png". + * @param contentType The contentType parameter. Allowed values: "application/octet-stream", "image/jpeg", + * "image/png". * @param data Represent a byte array. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -124,7 +126,8 @@ public Response uploadJsonWithMultiBodyTypesForMultiContentTypesWithRespon * BinaryData * } * - * @param contentType . Allowed values: "application/json", "application/octet-stream", "image/jpeg", "image/png". + * @param contentType The contentType parameter. Allowed values: "application/json", "application/octet-stream", + * "image/jpeg", "image/png". * @param data The data parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. diff --git a/typespec-tests/src/main/java/com/cadl/multicontenttypes/implementation/MultiContentTypesClientImpl.java b/typespec-tests/src/main/java/com/cadl/multicontenttypes/implementation/MultiContentTypesClientImpl.java index 8794261623..ee1a36ecb4 100644 --- a/typespec-tests/src/main/java/com/cadl/multicontenttypes/implementation/MultiContentTypesClientImpl.java +++ b/typespec-tests/src/main/java/com/cadl/multicontenttypes/implementation/MultiContentTypesClientImpl.java @@ -185,8 +185,8 @@ Response uploadWithOverloadSync(@HostParam("endpoint") String endpoint, * BinaryData * } * - * @param contentType . Allowed values: "text/plain", "application/json", "application/octet-stream", "image/jpeg", - * "image/png". + * @param contentType The contentType parameter. Allowed values: "text/plain", "application/json", + * "application/octet-stream", "image/jpeg", "image/png". * @param data The data parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -211,8 +211,8 @@ public Mono> uploadWithOverloadWithResponseAsync(String contentTy * BinaryData * } * - * @param contentType . Allowed values: "text/plain", "application/json", "application/octet-stream", "image/jpeg", - * "image/png". + * @param contentType The contentType parameter. Allowed values: "text/plain", "application/json", + * "application/octet-stream", "image/jpeg", "image/png". * @param data The data parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. diff --git a/typespec-tests/src/main/java/com/cadl/multicontenttypes/implementation/MultipleContentTypesOnRequestsImpl.java b/typespec-tests/src/main/java/com/cadl/multicontenttypes/implementation/MultipleContentTypesOnRequestsImpl.java index 88eb218f7d..e26f693601 100644 --- a/typespec-tests/src/main/java/com/cadl/multicontenttypes/implementation/MultipleContentTypesOnRequestsImpl.java +++ b/typespec-tests/src/main/java/com/cadl/multicontenttypes/implementation/MultipleContentTypesOnRequestsImpl.java @@ -149,7 +149,8 @@ Response uploadJsonOrBytesWithMultiBodyTypesForMultiContentTypesSync( * BinaryData * } * - * @param contentType . Allowed values: "application/octet-stream", "image/jpeg", "image/png". + * @param contentType The contentType parameter. Allowed values: "application/octet-stream", "image/jpeg", + * "image/png". * @param data Represent a byte array. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -175,7 +176,8 @@ public Mono> uploadBytesWithSingleBodyTypeForMultiContentTypesWit * BinaryData * } * - * @param contentType . Allowed values: "application/octet-stream", "image/jpeg", "image/png". + * @param contentType The contentType parameter. Allowed values: "application/octet-stream", "image/jpeg", + * "image/png". * @param data Represent a byte array. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -200,7 +202,8 @@ public Response uploadBytesWithSingleBodyTypeForMultiContentTypesWithRespo * BinaryData * } * - * @param contentType . Allowed values: "application/octet-stream", "image/jpeg", "image/png". + * @param contentType The contentType parameter. Allowed values: "application/octet-stream", "image/jpeg", + * "image/png". * @param data Represent a byte array. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -226,7 +229,8 @@ public Mono> uploadBytesWithMultiBodyTypesForMultiContentTypesWit * BinaryData * } * - * @param contentType . Allowed values: "application/octet-stream", "image/jpeg", "image/png". + * @param contentType The contentType parameter. Allowed values: "application/octet-stream", "image/jpeg", + * "image/png". * @param data Represent a byte array. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -308,7 +312,8 @@ public Response uploadJsonWithMultiBodyTypesForMultiContentTypesWithRespon * BinaryData * } * - * @param contentType . Allowed values: "application/json", "application/octet-stream", "image/jpeg", "image/png". + * @param contentType The contentType parameter. Allowed values: "application/json", "application/octet-stream", + * "image/jpeg", "image/png". * @param data The data parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -333,7 +338,8 @@ public Mono> uploadJsonOrBytesWithMultiBodyTypesForMultiContentTy * BinaryData * } * - * @param contentType . Allowed values: "application/json", "application/octet-stream", "image/jpeg", "image/png". + * @param contentType The contentType parameter. Allowed values: "application/json", "application/octet-stream", + * "image/jpeg", "image/png". * @param data The data parameter. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server.