diff --git a/modules/openapi-generator-maven-plugin/examples/multi-module/sample-schema/src/main/resources/openapi.yaml b/modules/openapi-generator-maven-plugin/examples/multi-module/sample-schema/src/main/resources/openapi.yaml index fffd7f152be0..ab46de0e9dce 100644 --- a/modules/openapi-generator-maven-plugin/examples/multi-module/sample-schema/src/main/resources/openapi.yaml +++ b/modules/openapi-generator-maven-plugin/examples/multi-module/sample-schema/src/main/resources/openapi.yaml @@ -532,7 +532,7 @@ paths: parameters: - name: "username" in: "path" - description: "name that need to be deleted" + description: "name of the user that needs to be updated" required: true type: "string" - in: "body" diff --git a/modules/openapi-generator-maven-plugin/examples/swagger.yaml b/modules/openapi-generator-maven-plugin/examples/swagger.yaml index fffd7f152be0..ab46de0e9dce 100644 --- a/modules/openapi-generator-maven-plugin/examples/swagger.yaml +++ b/modules/openapi-generator-maven-plugin/examples/swagger.yaml @@ -532,7 +532,7 @@ paths: parameters: - name: "username" in: "path" - description: "name that need to be deleted" + description: "name of the user that needs to be updated" required: true type: "string" - in: "body" diff --git a/modules/openapi-generator-maven-plugin/src/test/resources/unit/common-maven/petstore.yaml b/modules/openapi-generator-maven-plugin/src/test/resources/unit/common-maven/petstore.yaml index f5e98eec38da..3edf016f769a 100644 --- a/modules/openapi-generator-maven-plugin/src/test/resources/unit/common-maven/petstore.yaml +++ b/modules/openapi-generator-maven-plugin/src/test/resources/unit/common-maven/petstore.yaml @@ -527,7 +527,7 @@ paths: parameters: - name: username in: path - description: name that need to be deleted + description: name of the user that needs to be updated required: true schema: type: string diff --git a/modules/openapi-generator-online/sample.json b/modules/openapi-generator-online/sample.json index 22194e36a96f..a2b3edfa37ff 100644 --- a/modules/openapi-generator-online/sample.json +++ b/modules/openapi-generator-online/sample.json @@ -221,7 +221,7 @@ { "name": "username", "in": "path", - "description": "name that need to be deleted", + "description": "name of the user that needs to be updated", "required": true, "type": "string" }, diff --git a/modules/openapi-generator/src/test/resources/1_2/petstore-1.2/user b/modules/openapi-generator/src/test/resources/1_2/petstore-1.2/user index c9eb3f6ff783..db1927da4115 100644 --- a/modules/openapi-generator/src/test/resources/1_2/petstore-1.2/user +++ b/modules/openapi-generator/src/test/resources/1_2/petstore-1.2/user @@ -134,7 +134,7 @@ "parameters": [ { "name": "username", - "description": "name that need to be deleted", + "description": "name of the user that needs to be updated", "required": true, "type": "string", "paramType": "path" diff --git a/modules/openapi-generator/src/test/resources/2_0/globalSecurity.json b/modules/openapi-generator/src/test/resources/2_0/globalSecurity.json index 5cadaaa2bc2b..93d5b457a140 100644 --- a/modules/openapi-generator/src/test/resources/2_0/globalSecurity.json +++ b/modules/openapi-generator/src/test/resources/2_0/globalSecurity.json @@ -757,7 +757,7 @@ { "name": "username", "in": "path", - "description": "name that need to be deleted", + "description": "name of the user that needs to be updated", "required": true, "type": "string" }, diff --git a/modules/openapi-generator/src/test/resources/2_0/petstore-nullable.yaml b/modules/openapi-generator/src/test/resources/2_0/petstore-nullable.yaml index 8eb2a289f792..ff5ea78bd705 100644 --- a/modules/openapi-generator/src/test/resources/2_0/petstore-nullable.yaml +++ b/modules/openapi-generator/src/test/resources/2_0/petstore-nullable.yaml @@ -519,7 +519,7 @@ paths: parameters: - name: username in: path - description: name that need to be deleted + description: name of the user that needs to be updated required: true type: string - in: body diff --git a/modules/openapi-generator/src/test/resources/2_0/petstore-orig.json b/modules/openapi-generator/src/test/resources/2_0/petstore-orig.json index 907bfd791136..0af6729bde99 100644 --- a/modules/openapi-generator/src/test/resources/2_0/petstore-orig.json +++ b/modules/openapi-generator/src/test/resources/2_0/petstore-orig.json @@ -738,7 +738,7 @@ { "name": "username", "in": "path", - "description": "name that need to be deleted", + "description": "name of the user that needs to be updated", "required": true, "type": "string" }, diff --git a/modules/openapi-generator/src/test/resources/2_0/petstore-proto.yaml b/modules/openapi-generator/src/test/resources/2_0/petstore-proto.yaml index 77ab1e0e793e..7f540afd34dc 100644 --- a/modules/openapi-generator/src/test/resources/2_0/petstore-proto.yaml +++ b/modules/openapi-generator/src/test/resources/2_0/petstore-proto.yaml @@ -520,7 +520,7 @@ paths: parameters: - name: username in: path - description: name that need to be deleted + description: name of the user that needs to be updated required: true type: string - in: body diff --git a/modules/openapi-generator/src/test/resources/2_0/petstore-vendor-mime.yaml b/modules/openapi-generator/src/test/resources/2_0/petstore-vendor-mime.yaml index 546884daff98..57daf491fb2c 100644 --- a/modules/openapi-generator/src/test/resources/2_0/petstore-vendor-mime.yaml +++ b/modules/openapi-generator/src/test/resources/2_0/petstore-vendor-mime.yaml @@ -515,7 +515,7 @@ paths: parameters: - name: username in: path - description: name that need to be deleted + description: name of the user that needs to be updated required: true type: string - in: body diff --git a/modules/openapi-generator/src/test/resources/2_0/petstore-with-date-field.yaml b/modules/openapi-generator/src/test/resources/2_0/petstore-with-date-field.yaml index 3f7942f67453..fa85c73ff1f5 100644 --- a/modules/openapi-generator/src/test/resources/2_0/petstore-with-date-field.yaml +++ b/modules/openapi-generator/src/test/resources/2_0/petstore-with-date-field.yaml @@ -509,7 +509,7 @@ paths: parameters: - name: username in: path - description: name that need to be deleted + description: name of the user that needs to be updated required: true type: string - in: body diff --git a/modules/openapi-generator/src/test/resources/2_0/petstore-with-fake-endpoints-models-for-testing-with-spring-pageable.yaml b/modules/openapi-generator/src/test/resources/2_0/petstore-with-fake-endpoints-models-for-testing-with-spring-pageable.yaml index dfd5f381a40b..73dc499bd7f5 100644 --- a/modules/openapi-generator/src/test/resources/2_0/petstore-with-fake-endpoints-models-for-testing-with-spring-pageable.yaml +++ b/modules/openapi-generator/src/test/resources/2_0/petstore-with-fake-endpoints-models-for-testing-with-spring-pageable.yaml @@ -524,7 +524,7 @@ paths: parameters: - name: username in: path - description: name that need to be deleted + description: name of the user that needs to be updated required: true type: string - in: body diff --git a/modules/openapi-generator/src/test/resources/2_0/petstore-with-fake-endpoints-models-for-testing.yaml b/modules/openapi-generator/src/test/resources/2_0/petstore-with-fake-endpoints-models-for-testing.yaml index 27083db4ad70..0572abeda9cc 100644 --- a/modules/openapi-generator/src/test/resources/2_0/petstore-with-fake-endpoints-models-for-testing.yaml +++ b/modules/openapi-generator/src/test/resources/2_0/petstore-with-fake-endpoints-models-for-testing.yaml @@ -524,7 +524,7 @@ paths: parameters: - name: username in: path - description: name that need to be deleted + description: name of the user that needs to be updated required: true type: string - in: body diff --git a/modules/openapi-generator/src/test/resources/2_0/petstore-with-operations-without-required-params.yaml b/modules/openapi-generator/src/test/resources/2_0/petstore-with-operations-without-required-params.yaml index 23cc94c587cd..69ff7c2aa7f0 100644 --- a/modules/openapi-generator/src/test/resources/2_0/petstore-with-operations-without-required-params.yaml +++ b/modules/openapi-generator/src/test/resources/2_0/petstore-with-operations-without-required-params.yaml @@ -516,7 +516,7 @@ paths: parameters: - name: username in: path - description: name that need to be deleted + description: name of the user that needs to be updated required: true type: string - in: body diff --git a/modules/openapi-generator/src/test/resources/2_0/petstore-with-spring-pageable.yaml b/modules/openapi-generator/src/test/resources/2_0/petstore-with-spring-pageable.yaml index 83b998dc15e3..65defb338320 100644 --- a/modules/openapi-generator/src/test/resources/2_0/petstore-with-spring-pageable.yaml +++ b/modules/openapi-generator/src/test/resources/2_0/petstore-with-spring-pageable.yaml @@ -518,7 +518,7 @@ paths: parameters: - name: username in: path - description: name that need to be deleted + description: name of the user that needs to be updated required: true type: string - in: body diff --git a/modules/openapi-generator/src/test/resources/2_0/petstore.json b/modules/openapi-generator/src/test/resources/2_0/petstore.json index 1eac6b45a4f9..664ffc66f2af 100644 --- a/modules/openapi-generator/src/test/resources/2_0/petstore.json +++ b/modules/openapi-generator/src/test/resources/2_0/petstore.json @@ -749,7 +749,7 @@ { "name": "username", "in": "path", - "description": "name that need to be deleted", + "description": "name of the user that needs to be updated", "required": true, "type": "string" }, diff --git a/modules/openapi-generator/src/test/resources/2_0/petstore.yaml b/modules/openapi-generator/src/test/resources/2_0/petstore.yaml index b5584d8dac3c..03ebaab3f620 100644 --- a/modules/openapi-generator/src/test/resources/2_0/petstore.yaml +++ b/modules/openapi-generator/src/test/resources/2_0/petstore.yaml @@ -516,7 +516,7 @@ paths: parameters: - name: username in: path - description: name that need to be deleted + description: name of the user that needs to be updated required: true type: string - in: body diff --git a/modules/openapi-generator/src/test/resources/2_0/petstore_issue_7999.json b/modules/openapi-generator/src/test/resources/2_0/petstore_issue_7999.json index 5a60bffefc51..449bce3132cb 100644 --- a/modules/openapi-generator/src/test/resources/2_0/petstore_issue_7999.json +++ b/modules/openapi-generator/src/test/resources/2_0/petstore_issue_7999.json @@ -749,7 +749,7 @@ { "name": "username", "in": "path", - "description": "name that need to be deleted", + "description": "name of the user that needs to be updated", "required": true, "type": "string" }, diff --git a/modules/openapi-generator/src/test/resources/2_0/python-client-experimental/petstore-with-fake-endpoints-models-for-testing.yaml b/modules/openapi-generator/src/test/resources/2_0/python-client-experimental/petstore-with-fake-endpoints-models-for-testing.yaml index 9e9451dcc5be..5bc97addacfc 100644 --- a/modules/openapi-generator/src/test/resources/2_0/python-client-experimental/petstore-with-fake-endpoints-models-for-testing.yaml +++ b/modules/openapi-generator/src/test/resources/2_0/python-client-experimental/petstore-with-fake-endpoints-models-for-testing.yaml @@ -529,7 +529,7 @@ paths: parameters: - name: username in: path - description: name that need to be deleted + description: name of the user that needs to be updated required: true type: string - in: body diff --git a/modules/openapi-generator/src/test/resources/2_0/rust-server/petstore-with-fake-endpoints-models-for-testing.yaml b/modules/openapi-generator/src/test/resources/2_0/rust-server/petstore-with-fake-endpoints-models-for-testing.yaml index 8f081c09dc15..4c9de3076b02 100644 --- a/modules/openapi-generator/src/test/resources/2_0/rust-server/petstore-with-fake-endpoints-models-for-testing.yaml +++ b/modules/openapi-generator/src/test/resources/2_0/rust-server/petstore-with-fake-endpoints-models-for-testing.yaml @@ -516,7 +516,7 @@ paths: parameters: - name: username in: path - description: name that need to be deleted + description: name of the user that needs to be updated required: true type: string - in: body diff --git a/modules/openapi-generator/src/test/resources/2_0/swift/petstore-with-fake-endpoints-models-for-testing.yaml b/modules/openapi-generator/src/test/resources/2_0/swift/petstore-with-fake-endpoints-models-for-testing.yaml index 505aa0dd631a..70771b7511ef 100644 --- a/modules/openapi-generator/src/test/resources/2_0/swift/petstore-with-fake-endpoints-models-for-testing.yaml +++ b/modules/openapi-generator/src/test/resources/2_0/swift/petstore-with-fake-endpoints-models-for-testing.yaml @@ -516,7 +516,7 @@ paths: parameters: - name: username in: path - description: name that need to be deleted + description: name of the user that needs to be updated required: true type: string - in: body diff --git a/modules/openapi-generator/src/test/resources/3_0/java/petstore-with-fake-endpoints-models-for-testing-with-http-signature.yaml b/modules/openapi-generator/src/test/resources/3_0/java/petstore-with-fake-endpoints-models-for-testing-with-http-signature.yaml index 75479284fb67..bb8d2456b10e 100644 --- a/modules/openapi-generator/src/test/resources/3_0/java/petstore-with-fake-endpoints-models-for-testing-with-http-signature.yaml +++ b/modules/openapi-generator/src/test/resources/3_0/java/petstore-with-fake-endpoints-models-for-testing-with-http-signature.yaml @@ -513,7 +513,7 @@ paths: parameters: - name: username in: path - description: name that need to be deleted + description: name of the user that needs to be updated required: true schema: type: string diff --git a/modules/openapi-generator/src/test/resources/3_0/petstore-with-complex-headers.yaml b/modules/openapi-generator/src/test/resources/3_0/petstore-with-complex-headers.yaml index fb6161981ded..ad3847436ce2 100644 --- a/modules/openapi-generator/src/test/resources/3_0/petstore-with-complex-headers.yaml +++ b/modules/openapi-generator/src/test/resources/3_0/petstore-with-complex-headers.yaml @@ -506,7 +506,7 @@ paths: parameters: - name: username in: path - description: name that need to be deleted + description: name of the user that needs to be updated required: true schema: type: string diff --git a/modules/openapi-generator/src/test/resources/3_0/petstore-with-depreacted-fields.yaml b/modules/openapi-generator/src/test/resources/3_0/petstore-with-depreacted-fields.yaml index 5d89e40df1a2..35646a32fb63 100644 --- a/modules/openapi-generator/src/test/resources/3_0/petstore-with-depreacted-fields.yaml +++ b/modules/openapi-generator/src/test/resources/3_0/petstore-with-depreacted-fields.yaml @@ -509,7 +509,7 @@ paths: parameters: - name: username in: path - description: name that need to be deleted + description: name of the user that needs to be updated required: true schema: type: string diff --git a/modules/openapi-generator/src/test/resources/3_0/petstore-with-fake-endpoints-models-for-testing-with-http-signature.yaml b/modules/openapi-generator/src/test/resources/3_0/petstore-with-fake-endpoints-models-for-testing-with-http-signature.yaml index b267c0bea13a..e9b93d375f53 100644 --- a/modules/openapi-generator/src/test/resources/3_0/petstore-with-fake-endpoints-models-for-testing-with-http-signature.yaml +++ b/modules/openapi-generator/src/test/resources/3_0/petstore-with-fake-endpoints-models-for-testing-with-http-signature.yaml @@ -513,7 +513,7 @@ paths: parameters: - name: username in: path - description: name that need to be deleted + description: name of the user that needs to be updated required: true schema: type: string diff --git a/modules/openapi-generator/src/test/resources/3_0/petstore-with-fake-endpoints-models-for-testing.yaml b/modules/openapi-generator/src/test/resources/3_0/petstore-with-fake-endpoints-models-for-testing.yaml index 8211b6812a68..e68aa2ab4e1c 100644 --- a/modules/openapi-generator/src/test/resources/3_0/petstore-with-fake-endpoints-models-for-testing.yaml +++ b/modules/openapi-generator/src/test/resources/3_0/petstore-with-fake-endpoints-models-for-testing.yaml @@ -509,7 +509,7 @@ paths: parameters: - name: username in: path - description: name that need to be deleted + description: name of the user that needs to be updated required: true schema: type: string diff --git a/modules/openapi-generator/src/test/resources/3_0/petstore-with-nullable-required.yaml b/modules/openapi-generator/src/test/resources/3_0/petstore-with-nullable-required.yaml index 12bd4be60ce6..077dd3c2c1a5 100644 --- a/modules/openapi-generator/src/test/resources/3_0/petstore-with-nullable-required.yaml +++ b/modules/openapi-generator/src/test/resources/3_0/petstore-with-nullable-required.yaml @@ -509,7 +509,7 @@ paths: parameters: - name: username in: path - description: name that need to be deleted + description: name of the user that needs to be updated required: true schema: type: string diff --git a/modules/openapi-generator/src/test/resources/3_0/petstore-with-object-as-parameter.yaml b/modules/openapi-generator/src/test/resources/3_0/petstore-with-object-as-parameter.yaml index 0cfbd1b0f9d3..3bccf1be4eae 100644 --- a/modules/openapi-generator/src/test/resources/3_0/petstore-with-object-as-parameter.yaml +++ b/modules/openapi-generator/src/test/resources/3_0/petstore-with-object-as-parameter.yaml @@ -517,7 +517,7 @@ paths: parameters: - name: username in: path - description: name that need to be deleted + description: name of the user that needs to be updated required: true schema: type: string diff --git a/modules/openapi-generator/src/test/resources/3_0/petstore.json b/modules/openapi-generator/src/test/resources/3_0/petstore.json index 1873cd6516f0..102d77ffcd43 100644 --- a/modules/openapi-generator/src/test/resources/3_0/petstore.json +++ b/modules/openapi-generator/src/test/resources/3_0/petstore.json @@ -742,7 +742,7 @@ { "name": "username", "in": "path", - "description": "name that need to be deleted", + "description": "name of the user that needs to be updated", "required": true, "schema": { "type": "string" diff --git a/modules/openapi-generator/src/test/resources/3_0/petstore.yaml b/modules/openapi-generator/src/test/resources/3_0/petstore.yaml index f5e98eec38da..3edf016f769a 100644 --- a/modules/openapi-generator/src/test/resources/3_0/petstore.yaml +++ b/modules/openapi-generator/src/test/resources/3_0/petstore.yaml @@ -527,7 +527,7 @@ paths: parameters: - name: username in: path - description: name that need to be deleted + description: name of the user that needs to be updated required: true schema: type: string diff --git a/modules/openapi-generator/src/test/resources/3_0/petstore_oas3_test.yaml b/modules/openapi-generator/src/test/resources/3_0/petstore_oas3_test.yaml index 287faa531e2f..899652715e2c 100644 --- a/modules/openapi-generator/src/test/resources/3_0/petstore_oas3_test.yaml +++ b/modules/openapi-generator/src/test/resources/3_0/petstore_oas3_test.yaml @@ -497,7 +497,7 @@ paths: parameters: - name: username in: path - description: name that need to be deleted + description: name of the user that needs to be updated required: true schema: type: string diff --git a/modules/openapi-generator/src/test/resources/3_0/powershell/petstore.yaml b/modules/openapi-generator/src/test/resources/3_0/powershell/petstore.yaml index b3a0dfd3c11d..d7b9d6098566 100644 --- a/modules/openapi-generator/src/test/resources/3_0/powershell/petstore.yaml +++ b/modules/openapi-generator/src/test/resources/3_0/powershell/petstore.yaml @@ -549,7 +549,7 @@ paths: parameters: - name: username in: path - description: name that need to be deleted + description: name of the user that needs to be updated required: true schema: type: string diff --git a/modules/openapi-generator/src/test/resources/3_0/python/petstore-with-fake-endpoints-models-for-testing-with-http-signature.yaml b/modules/openapi-generator/src/test/resources/3_0/python/petstore-with-fake-endpoints-models-for-testing-with-http-signature.yaml index fa3500df0a1b..627f3f93ec6f 100644 --- a/modules/openapi-generator/src/test/resources/3_0/python/petstore-with-fake-endpoints-models-for-testing-with-http-signature.yaml +++ b/modules/openapi-generator/src/test/resources/3_0/python/petstore-with-fake-endpoints-models-for-testing-with-http-signature.yaml @@ -514,7 +514,7 @@ paths: parameters: - name: username in: path - description: name that need to be deleted + description: name of the user that needs to be updated required: true schema: type: string diff --git a/modules/openapi-generator/src/test/resources/3_0/scala-akka/petstore.yaml b/modules/openapi-generator/src/test/resources/3_0/scala-akka/petstore.yaml index fe228bf44473..8ced1a425e58 100644 --- a/modules/openapi-generator/src/test/resources/3_0/scala-akka/petstore.yaml +++ b/modules/openapi-generator/src/test/resources/3_0/scala-akka/petstore.yaml @@ -529,7 +529,7 @@ paths: parameters: - name: username in: path - description: name that need to be deleted + description: name of the user that needs to be updated required: true schema: type: string diff --git a/modules/openapi-generator/src/test/resources/integrationtests/typescript/petstore-expected/api/user.service.ts b/modules/openapi-generator/src/test/resources/integrationtests/typescript/petstore-expected/api/user.service.ts index 6c5eeee1b6bc..8005085925e9 100644 --- a/modules/openapi-generator/src/test/resources/integrationtests/typescript/petstore-expected/api/user.service.ts +++ b/modules/openapi-generator/src/test/resources/integrationtests/typescript/petstore-expected/api/user.service.ts @@ -184,7 +184,7 @@ export class UserService { /** * Updated user * This can only be done by the logged in user. - * @param username name that need to be deleted + * @param username name of the user that needs to be updated * @param body Updated user object */ public updateUser(username: string, body: User, extraHttpRequestParams?: any): Observable<{}> { @@ -522,7 +522,7 @@ export class UserService { /** * Updated user * This can only be done by the logged in user. - * @param username name that need to be deleted + * @param username name of the user that needs to be updated * @param body Updated user object */ public updateUserWithHttpInfo(username: string, body: User, extraHttpRequestParams?: any): Observable { diff --git a/modules/openapi-generator/src/test/resources/integrationtests/typescript/petstore-spec.json b/modules/openapi-generator/src/test/resources/integrationtests/typescript/petstore-spec.json index 0265c9524c1e..e914ba743519 100644 --- a/modules/openapi-generator/src/test/resources/integrationtests/typescript/petstore-spec.json +++ b/modules/openapi-generator/src/test/resources/integrationtests/typescript/petstore-spec.json @@ -770,7 +770,7 @@ { "name": "username", "in": "path", - "description": "name that need to be deleted", + "description": "name of the user that needs to be updated", "required": true, "type": "string" }, diff --git a/modules/openapi-generator/src/test/resources/petstore.json b/modules/openapi-generator/src/test/resources/petstore.json index 1af2d2ae3eed..f914f78f7277 100644 --- a/modules/openapi-generator/src/test/resources/petstore.json +++ b/modules/openapi-generator/src/test/resources/petstore.json @@ -750,7 +750,7 @@ { "name": "username", "in": "path", - "description": "name that need to be deleted", + "description": "name of the user that needs to be updated", "required": true, "type": "string" }, diff --git a/samples/client/petstore/R/R/user_api.R b/samples/client/petstore/R/R/user_api.R index 31a229ee2f8b..8355e94abc0c 100644 --- a/samples/client/petstore/R/R/user_api.R +++ b/samples/client/petstore/R/R/user_api.R @@ -266,7 +266,7 @@ #' #################### UpdateUser #################### #' #' library(petstore) -#' var.username <- 'username_example' # character | name that need to be deleted +#' var.username <- 'username_example' # character | name of the user that needs to be updated #' var.body <- User$new() # User | Updated user object #' #' #Updated user diff --git a/samples/client/petstore/R/docs/UserApi.md b/samples/client/petstore/R/docs/UserApi.md index 2bd4aae7cde0..63ce1634dc54 100644 --- a/samples/client/petstore/R/docs/UserApi.md +++ b/samples/client/petstore/R/docs/UserApi.md @@ -313,7 +313,7 @@ This can only be done by the logged in user. ```R library(petstore) -var.username <- 'username_example' # character | name that need to be deleted +var.username <- 'username_example' # character | name of the user that needs to be updated var.body <- User$new(123, "username_example", "firstName_example", "lastName_example", "email_example", "password_example", "phone_example", 123) # User | Updated user object #Updated user @@ -325,7 +325,7 @@ api.instance$UpdateUser(var.username, var.body) Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **username** | **character**| name that need to be deleted | + **username** | **character**| name of the user that needs to be updated | **body** | [**User**](User.md)| Updated user object | ### Return type diff --git a/samples/client/petstore/R/tests/testthat/test_user_api.R b/samples/client/petstore/R/tests/testthat/test_user_api.R index 8b8c3ba38477..e427fec6c7ef 100644 --- a/samples/client/petstore/R/tests/testthat/test_user_api.R +++ b/samples/client/petstore/R/tests/testthat/test_user_api.R @@ -89,7 +89,7 @@ test_that("UpdateUser", { # base path: http://petstore.swagger.io/v2 # Updated user # This can only be done by the logged in user. - # @param username character name that need to be deleted + # @param username character name of the user that needs to be updated # @param body User Updated user object # @return [Void] diff --git a/samples/client/petstore/android/httpclient/docs/UserApi.md b/samples/client/petstore/android/httpclient/docs/UserApi.md index e5a16428112e..c0f01e196564 100644 --- a/samples/client/petstore/android/httpclient/docs/UserApi.md +++ b/samples/client/petstore/android/httpclient/docs/UserApi.md @@ -312,7 +312,7 @@ This can only be done by the logged in user. //import org.openapitools.client.api.UserApi; UserApi apiInstance = new UserApi(); -String username = null; // String | name that need to be deleted +String username = null; // String | name of the user that needs to be updated User user = new User(); // User | Updated user object try { apiInstance.updateUser(username, user); @@ -326,7 +326,7 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **username** | **String**| name that need to be deleted | [default to null] + **username** | **String**| name of the user that needs to be updated | [default to null] **user** | [**User**](User.md)| Updated user object | ### Return type diff --git a/samples/client/petstore/android/httpclient/src/main/java/org/openapitools/client/api/UserApi.java b/samples/client/petstore/android/httpclient/src/main/java/org/openapitools/client/api/UserApi.java index 6189aff41a38..ec6f7227156c 100644 --- a/samples/client/petstore/android/httpclient/src/main/java/org/openapitools/client/api/UserApi.java +++ b/samples/client/petstore/android/httpclient/src/main/java/org/openapitools/client/api/UserApi.java @@ -418,7 +418,7 @@ public void logoutUser () throws ApiException { /** * Updated user * This can only be done by the logged in user. - * @param username name that need to be deleted + * @param username name of the user that needs to be updated * @param user Updated user object * @return void */ diff --git a/samples/client/petstore/android/volley/docs/UserApi.md b/samples/client/petstore/android/volley/docs/UserApi.md index e5a16428112e..c0f01e196564 100644 --- a/samples/client/petstore/android/volley/docs/UserApi.md +++ b/samples/client/petstore/android/volley/docs/UserApi.md @@ -312,7 +312,7 @@ This can only be done by the logged in user. //import org.openapitools.client.api.UserApi; UserApi apiInstance = new UserApi(); -String username = null; // String | name that need to be deleted +String username = null; // String | name of the user that needs to be updated User user = new User(); // User | Updated user object try { apiInstance.updateUser(username, user); @@ -326,7 +326,7 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **username** | **String**| name that need to be deleted | [default to null] + **username** | **String**| name of the user that needs to be updated | [default to null] **user** | [**User**](User.md)| Updated user object | ### Return type diff --git a/samples/client/petstore/android/volley/src/main/java/org/openapitools/client/api/UserApi.java b/samples/client/petstore/android/volley/src/main/java/org/openapitools/client/api/UserApi.java index ce88777ae1ca..87cb3eb1583a 100644 --- a/samples/client/petstore/android/volley/src/main/java/org/openapitools/client/api/UserApi.java +++ b/samples/client/petstore/android/volley/src/main/java/org/openapitools/client/api/UserApi.java @@ -932,7 +932,7 @@ public void onErrorResponse(VolleyError error) { /** * Updated user * This can only be done by the logged in user. - * @param username name that need to be deleted + * @param username name of the user that needs to be updated * @param user Updated user object * @return void */ @@ -1000,7 +1000,7 @@ public void updateUser (String username, User user) throws TimeoutException, Exe /** * Updated user * This can only be done by the logged in user. - * @param username name that need to be deleted * @param user Updated user object + * @param username name of the user that needs to be updated * @param user Updated user object */ public void updateUser (String username, User user, final Response.Listener responseListener, final Response.ErrorListener errorListener) { Object postBody = user; diff --git a/samples/client/petstore/apex/force-app/main/default/classes/OASUserApi.cls b/samples/client/petstore/apex/force-app/main/default/classes/OASUserApi.cls index 021d6377d9db..573fa3a4ea2c 100644 --- a/samples/client/petstore/apex/force-app/main/default/classes/OASUserApi.cls +++ b/samples/client/petstore/apex/force-app/main/default/classes/OASUserApi.cls @@ -196,7 +196,7 @@ public class OASUserApi { /** * Updated user * This can only be done by the logged in user. - * @param username name that need to be deleted (required) + * @param username name of the user that needs to be updated (required) * @param oaSUser Updated user object (required) * @throws OAS.ApiException if fails to make API call */ diff --git a/samples/client/petstore/bash/_client.sh b/samples/client/petstore/bash/_client.sh index 8be68229c3db..28a5df01eb6f 100644 --- a/samples/client/petstore/bash/_client.sh +++ b/samples/client/petstore/bash/_client.sh @@ -582,7 +582,7 @@ case $state in updateUser) local -a _op_arguments _op_arguments=( - "username=:[PATH] name that need to be deleted" + "username=:[PATH] name of the user that needs to be updated" ) _describe -t actions 'operations' _op_arguments -S '' && ret=0 ;; diff --git a/samples/client/petstore/bash/_petstore-cli b/samples/client/petstore/bash/_petstore-cli index 323b934de071..0eb0f49b890c 100644 --- a/samples/client/petstore/bash/_petstore-cli +++ b/samples/client/petstore/bash/_petstore-cli @@ -594,7 +594,7 @@ case $state in updateUser) local -a _op_arguments _op_arguments=( - "username=:[PATH] name that need to be deleted" + "username=:[PATH] name of the user that needs to be updated" ) _describe -t actions 'operations' _op_arguments -S '' && ret=0 ;; diff --git a/samples/client/petstore/bash/client.sh b/samples/client/petstore/bash/client.sh index 6215aa728ad0..f2ba3ad3650c 100644 --- a/samples/client/petstore/bash/client.sh +++ b/samples/client/petstore/bash/client.sh @@ -1540,7 +1540,7 @@ print_updateUser_help() { echo -e "This can only be done by the logged in user." | paste -sd' ' | fold -sw 80 echo -e "" echo -e "${BOLD}${WHITE}Parameters${OFF}" - echo -e " * ${GREEN}username${OFF} ${BLUE}[string]${OFF} ${RED}(required)${OFF} ${CYAN}(default: null)${OFF} - name that need to be deleted ${YELLOW}Specify as: username=value${OFF}" | paste -sd' ' | fold -sw 80 | sed '2,$s/^/ /' + echo -e " * ${GREEN}username${OFF} ${BLUE}[string]${OFF} ${RED}(required)${OFF} ${CYAN}(default: null)${OFF} - name of the user that needs to be updated ${YELLOW}Specify as: username=value${OFF}" | paste -sd' ' | fold -sw 80 | sed '2,$s/^/ /' echo -e " * ${GREEN}body${OFF} ${BLUE}[application/json]${OFF} ${RED}(required)${OFF}${OFF} - Updated user object" | paste -sd' ' | fold -sw 80 | sed '2,$s/^/ /' echo -e "" echo "" diff --git a/samples/client/petstore/bash/docs/UserApi.md b/samples/client/petstore/bash/docs/UserApi.md index f36e39d38ee6..21401e72c4c8 100644 --- a/samples/client/petstore/bash/docs/UserApi.md +++ b/samples/client/petstore/bash/docs/UserApi.md @@ -265,7 +265,7 @@ petstore-cli updateUser username=value Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **username** | **string** | name that need to be deleted | [default to null] + **username** | **string** | name of the user that needs to be updated | [default to null] **user** | [**User**](User.md) | Updated user object | ### Return type diff --git a/samples/client/petstore/bash/petstore-cli b/samples/client/petstore/bash/petstore-cli index 7e496f60eeca..593feaf1d378 100755 --- a/samples/client/petstore/bash/petstore-cli +++ b/samples/client/petstore/bash/petstore-cli @@ -1585,7 +1585,7 @@ print_updateUser_help() { echo -e "This can only be done by the logged in user." | paste -sd' ' | fold -sw 80 echo -e "" echo -e "${BOLD}${WHITE}Parameters${OFF}" - echo -e " * ${GREEN}username${OFF} ${BLUE}[string]${OFF} ${RED}(required)${OFF} ${CYAN}(default: null)${OFF} - name that need to be deleted ${YELLOW}Specify as: username=value${OFF}" | paste -sd' ' | fold -sw 80 | sed '2,$s/^/ /' + echo -e " * ${GREEN}username${OFF} ${BLUE}[string]${OFF} ${RED}(required)${OFF} ${CYAN}(default: null)${OFF} - name of the user that needs to be updated ${YELLOW}Specify as: username=value${OFF}" | paste -sd' ' | fold -sw 80 | sed '2,$s/^/ /' echo -e " * ${GREEN}body${OFF} ${BLUE}[application/json]${OFF} ${RED}(required)${OFF}${OFF} - Updated user object" | paste -sd' ' | fold -sw 80 | sed '2,$s/^/ /' echo -e "" echo "" diff --git a/samples/client/petstore/cpp-restsdk/client/api/UserApi.h b/samples/client/petstore/cpp-restsdk/client/api/UserApi.h index 04a0036b5fa8..92712381ea21 100644 --- a/samples/client/petstore/cpp-restsdk/client/api/UserApi.h +++ b/samples/client/petstore/cpp-restsdk/client/api/UserApi.h @@ -121,7 +121,7 @@ class UserApi /// /// This can only be done by the logged in user. /// - /// name that need to be deleted + /// name of the user that needs to be updated /// Updated user object pplx::task updateUser( utility::string_t username, diff --git a/samples/client/petstore/cpp-tizen/src/UserManager.h b/samples/client/petstore/cpp-tizen/src/UserManager.h index 0b72c159294c..0348e916161e 100644 --- a/samples/client/petstore/cpp-tizen/src/UserManager.h +++ b/samples/client/petstore/cpp-tizen/src/UserManager.h @@ -217,7 +217,7 @@ bool logoutUserAsync(char * accessToken, /*! \brief Updated user. *Synchronous* * * This can only be done by the logged in user. - * \param username name that need to be deleted *Required* + * \param username name of the user that needs to be updated *Required* * \param body Updated user object *Required* * \param handler The callback function to be invoked on completion. *Required* * \param accessToken The Authorization token. *Required* @@ -231,7 +231,7 @@ bool updateUserSync(char * accessToken, /*! \brief Updated user. *Asynchronous* * * This can only be done by the logged in user. - * \param username name that need to be deleted *Required* + * \param username name of the user that needs to be updated *Required* * \param body Updated user object *Required* * \param handler The callback function to be invoked on completion. *Required* * \param accessToken The Authorization token. *Required* diff --git a/samples/client/petstore/cpp-ue4/Public/OpenAPIUserApiOperations.h b/samples/client/petstore/cpp-ue4/Public/OpenAPIUserApiOperations.h index 8c287474ed38..dcbc17132ae5 100644 --- a/samples/client/petstore/cpp-ue4/Public/OpenAPIUserApiOperations.h +++ b/samples/client/petstore/cpp-ue4/Public/OpenAPIUserApiOperations.h @@ -201,7 +201,7 @@ class OPENAPI_API OpenAPIUserApi::UpdateUserRequest : public Request void SetupHttpRequest(const TSharedRef& HttpRequest) const final; FString ComputePath() const final; - /* name that need to be deleted */ + /* name of the user that needs to be updated */ FString Username; /* Updated user object */ OpenAPIUser Body; diff --git a/samples/client/petstore/csharp-dotnet2/OpenAPIClientTest/Lib/OpenAPIClient/docs/UserApi.md b/samples/client/petstore/csharp-dotnet2/OpenAPIClientTest/Lib/OpenAPIClient/docs/UserApi.md index 74ca98353aa7..066c277c43ee 100644 --- a/samples/client/petstore/csharp-dotnet2/OpenAPIClientTest/Lib/OpenAPIClient/docs/UserApi.md +++ b/samples/client/petstore/csharp-dotnet2/OpenAPIClientTest/Lib/OpenAPIClient/docs/UserApi.md @@ -447,7 +447,7 @@ namespace Example public void main() { var apiInstance = new UserApi(); - var username = username_example; // string | name that need to be deleted + var username = username_example; // string | name of the user that needs to be updated var body = new User(); // User | Updated user object try @@ -468,7 +468,7 @@ namespace Example Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **username** | **string**| name that need to be deleted | + **username** | **string**| name of the user that needs to be updated | **body** | [**User**](User.md)| Updated user object | ### Return type diff --git a/samples/client/petstore/csharp-dotnet2/OpenAPIClientTest/Lib/OpenAPIClient/src/main/CsharpDotNet2/Org/OpenAPITools/Api/UserApi.cs b/samples/client/petstore/csharp-dotnet2/OpenAPIClientTest/Lib/OpenAPIClient/src/main/CsharpDotNet2/Org/OpenAPITools/Api/UserApi.cs index 3f453e6b9b21..0f0d89939a9a 100644 --- a/samples/client/petstore/csharp-dotnet2/OpenAPIClientTest/Lib/OpenAPIClient/src/main/CsharpDotNet2/Org/OpenAPITools/Api/UserApi.cs +++ b/samples/client/petstore/csharp-dotnet2/OpenAPIClientTest/Lib/OpenAPIClient/src/main/CsharpDotNet2/Org/OpenAPITools/Api/UserApi.cs @@ -56,7 +56,7 @@ public interface IUserApi /// /// Updated user This can only be done by the logged in user. /// - /// name that need to be deleted + /// name of the user that needs to be updated /// Updated user object /// void UpdateUser (string username, User body); @@ -377,7 +377,7 @@ public void LogoutUser () /// /// Updated user This can only be done by the logged in user. /// - /// name that need to be deleted + /// name of the user that needs to be updated /// Updated user object /// public void UpdateUser (string username, User body) diff --git a/samples/client/petstore/csharp-dotnet2/SwaggerClientTest/Lib/SwaggerClient/docs/UserApi.md b/samples/client/petstore/csharp-dotnet2/SwaggerClientTest/Lib/SwaggerClient/docs/UserApi.md index dad1e5050052..3380a3803a9d 100644 --- a/samples/client/petstore/csharp-dotnet2/SwaggerClientTest/Lib/SwaggerClient/docs/UserApi.md +++ b/samples/client/petstore/csharp-dotnet2/SwaggerClientTest/Lib/SwaggerClient/docs/UserApi.md @@ -455,7 +455,7 @@ namespace Example { var apiInstance = new UserApi(); - var username = username_example; // string | name that need to be deleted + var username = username_example; // string | name of the user that needs to be updated var user = new User(); // User | Updated user object try @@ -476,7 +476,7 @@ namespace Example Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **username** | **string**| name that need to be deleted | + **username** | **string**| name of the user that needs to be updated | **user** | [**User**](User.md)| Updated user object | ### Return type diff --git a/samples/client/petstore/csharp-dotnet2/SwaggerClientTest/Lib/SwaggerClient/src/main/CsharpDotNet2/Org/OpenAPITools/Api/UserApi.cs b/samples/client/petstore/csharp-dotnet2/SwaggerClientTest/Lib/SwaggerClient/src/main/CsharpDotNet2/Org/OpenAPITools/Api/UserApi.cs index 60a0ccac5994..26a5530ec020 100644 --- a/samples/client/petstore/csharp-dotnet2/SwaggerClientTest/Lib/SwaggerClient/src/main/CsharpDotNet2/Org/OpenAPITools/Api/UserApi.cs +++ b/samples/client/petstore/csharp-dotnet2/SwaggerClientTest/Lib/SwaggerClient/src/main/CsharpDotNet2/Org/OpenAPITools/Api/UserApi.cs @@ -56,7 +56,7 @@ public interface IUserApi /// /// Updated user This can only be done by the logged in user. /// - /// name that need to be deleted + /// name of the user that needs to be updated /// Updated user object /// void UpdateUser (string username, User user); @@ -377,7 +377,7 @@ public void LogoutUser () /// /// Updated user This can only be done by the logged in user. /// - /// name that need to be deleted + /// name of the user that needs to be updated /// Updated user object /// public void UpdateUser (string username, User user) diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient-net47/docs/UserApi.md b/samples/client/petstore/csharp-netcore/OpenAPIClient-net47/docs/UserApi.md index 73b2c545a543..5befdb4c4270 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient-net47/docs/UserApi.md +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient-net47/docs/UserApi.md @@ -516,7 +516,7 @@ namespace Example Configuration config = new Configuration(); config.BasePath = "http://petstore.swagger.io:80/v2"; var apiInstance = new UserApi(config); - var username = username_example; // string | name that need to be deleted + var username = username_example; // string | name of the user that needs to be updated var user = new User(); // User | Updated user object try @@ -539,7 +539,7 @@ namespace Example Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **username** | **string**| name that need to be deleted | + **username** | **string**| name of the user that needs to be updated | **user** | [**User**](User.md)| Updated user object | ### Return type diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient-net47/src/Org.OpenAPITools/Api/UserApi.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient-net47/src/Org.OpenAPITools/Api/UserApi.cs index 80436c9b4331..f2b07528dac6 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient-net47/src/Org.OpenAPITools/Api/UserApi.cs +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient-net47/src/Org.OpenAPITools/Api/UserApi.cs @@ -165,7 +165,7 @@ public interface IUserApiSync : IApiAccessor /// This can only be done by the logged in user. /// /// Thrown when fails to make API call - /// name that need to be deleted + /// name of the user that needs to be updated /// Updated user object /// void UpdateUser(string username, User user); @@ -177,7 +177,7 @@ public interface IUserApiSync : IApiAccessor /// This can only be done by the logged in user. /// /// Thrown when fails to make API call - /// name that need to be deleted + /// name of the user that needs to be updated /// Updated user object /// ApiResponse of Object(void) ApiResponse UpdateUserWithHttpInfo(string username, User user); @@ -358,7 +358,7 @@ public interface IUserApiAsync : IApiAccessor /// This can only be done by the logged in user. /// /// Thrown when fails to make API call - /// name that need to be deleted + /// name of the user that needs to be updated /// Updated user object /// Cancellation Token to cancel the request. /// Task of void @@ -371,7 +371,7 @@ public interface IUserApiAsync : IApiAccessor /// This can only be done by the logged in user. /// /// Thrown when fails to make API call - /// name that need to be deleted + /// name of the user that needs to be updated /// Updated user object /// Cancellation Token to cancel the request. /// Task of ApiResponse @@ -1295,7 +1295,7 @@ public Org.OpenAPITools.Client.ApiResponse LogoutUserWithHttpInfo() /// Updated user This can only be done by the logged in user. /// /// Thrown when fails to make API call - /// name that need to be deleted + /// name of the user that needs to be updated /// Updated user object /// public void UpdateUser(string username, User user) @@ -1307,7 +1307,7 @@ public void UpdateUser(string username, User user) /// Updated user This can only be done by the logged in user. /// /// Thrown when fails to make API call - /// name that need to be deleted + /// name of the user that needs to be updated /// Updated user object /// ApiResponse of Object(void) public Org.OpenAPITools.Client.ApiResponse UpdateUserWithHttpInfo(string username, User user) @@ -1356,7 +1356,7 @@ public Org.OpenAPITools.Client.ApiResponse UpdateUserWithHttpInfo(string /// Updated user This can only be done by the logged in user. /// /// Thrown when fails to make API call - /// name that need to be deleted + /// name of the user that needs to be updated /// Updated user object /// Cancellation Token to cancel the request. /// Task of void @@ -1369,7 +1369,7 @@ public Org.OpenAPITools.Client.ApiResponse UpdateUserWithHttpInfo(string /// Updated user This can only be done by the logged in user. /// /// Thrown when fails to make API call - /// name that need to be deleted + /// name of the user that needs to be updated /// Updated user object /// Cancellation Token to cancel the request. /// Task of ApiResponse diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient/docs/UserApi.md b/samples/client/petstore/csharp-netcore/OpenAPIClient/docs/UserApi.md index 73b2c545a543..5befdb4c4270 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient/docs/UserApi.md +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient/docs/UserApi.md @@ -516,7 +516,7 @@ namespace Example Configuration config = new Configuration(); config.BasePath = "http://petstore.swagger.io:80/v2"; var apiInstance = new UserApi(config); - var username = username_example; // string | name that need to be deleted + var username = username_example; // string | name of the user that needs to be updated var user = new User(); // User | Updated user object try @@ -539,7 +539,7 @@ namespace Example Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **username** | **string**| name that need to be deleted | + **username** | **string**| name of the user that needs to be updated | **user** | [**User**](User.md)| Updated user object | ### Return type diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Api/UserApi.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Api/UserApi.cs index 80436c9b4331..f2b07528dac6 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Api/UserApi.cs +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Api/UserApi.cs @@ -165,7 +165,7 @@ public interface IUserApiSync : IApiAccessor /// This can only be done by the logged in user. /// /// Thrown when fails to make API call - /// name that need to be deleted + /// name of the user that needs to be updated /// Updated user object /// void UpdateUser(string username, User user); @@ -177,7 +177,7 @@ public interface IUserApiSync : IApiAccessor /// This can only be done by the logged in user. /// /// Thrown when fails to make API call - /// name that need to be deleted + /// name of the user that needs to be updated /// Updated user object /// ApiResponse of Object(void) ApiResponse UpdateUserWithHttpInfo(string username, User user); @@ -358,7 +358,7 @@ public interface IUserApiAsync : IApiAccessor /// This can only be done by the logged in user. /// /// Thrown when fails to make API call - /// name that need to be deleted + /// name of the user that needs to be updated /// Updated user object /// Cancellation Token to cancel the request. /// Task of void @@ -371,7 +371,7 @@ public interface IUserApiAsync : IApiAccessor /// This can only be done by the logged in user. /// /// Thrown when fails to make API call - /// name that need to be deleted + /// name of the user that needs to be updated /// Updated user object /// Cancellation Token to cancel the request. /// Task of ApiResponse @@ -1295,7 +1295,7 @@ public Org.OpenAPITools.Client.ApiResponse LogoutUserWithHttpInfo() /// Updated user This can only be done by the logged in user. /// /// Thrown when fails to make API call - /// name that need to be deleted + /// name of the user that needs to be updated /// Updated user object /// public void UpdateUser(string username, User user) @@ -1307,7 +1307,7 @@ public void UpdateUser(string username, User user) /// Updated user This can only be done by the logged in user. /// /// Thrown when fails to make API call - /// name that need to be deleted + /// name of the user that needs to be updated /// Updated user object /// ApiResponse of Object(void) public Org.OpenAPITools.Client.ApiResponse UpdateUserWithHttpInfo(string username, User user) @@ -1356,7 +1356,7 @@ public Org.OpenAPITools.Client.ApiResponse UpdateUserWithHttpInfo(string /// Updated user This can only be done by the logged in user. /// /// Thrown when fails to make API call - /// name that need to be deleted + /// name of the user that needs to be updated /// Updated user object /// Cancellation Token to cancel the request. /// Task of void @@ -1369,7 +1369,7 @@ public Org.OpenAPITools.Client.ApiResponse UpdateUserWithHttpInfo(string /// Updated user This can only be done by the logged in user. /// /// Thrown when fails to make API call - /// name that need to be deleted + /// name of the user that needs to be updated /// Updated user object /// Cancellation Token to cancel the request. /// Task of ApiResponse diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/UserApi.md b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/UserApi.md index 73b2c545a543..5befdb4c4270 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/UserApi.md +++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/UserApi.md @@ -516,7 +516,7 @@ namespace Example Configuration config = new Configuration(); config.BasePath = "http://petstore.swagger.io:80/v2"; var apiInstance = new UserApi(config); - var username = username_example; // string | name that need to be deleted + var username = username_example; // string | name of the user that needs to be updated var user = new User(); // User | Updated user object try @@ -539,7 +539,7 @@ namespace Example Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **username** | **string**| name that need to be deleted | + **username** | **string**| name of the user that needs to be updated | **user** | [**User**](User.md)| Updated user object | ### Return type diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Api/UserApi.cs b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Api/UserApi.cs index 80436c9b4331..f2b07528dac6 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Api/UserApi.cs +++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Api/UserApi.cs @@ -165,7 +165,7 @@ public interface IUserApiSync : IApiAccessor /// This can only be done by the logged in user. /// /// Thrown when fails to make API call - /// name that need to be deleted + /// name of the user that needs to be updated /// Updated user object /// void UpdateUser(string username, User user); @@ -177,7 +177,7 @@ public interface IUserApiSync : IApiAccessor /// This can only be done by the logged in user. /// /// Thrown when fails to make API call - /// name that need to be deleted + /// name of the user that needs to be updated /// Updated user object /// ApiResponse of Object(void) ApiResponse UpdateUserWithHttpInfo(string username, User user); @@ -358,7 +358,7 @@ public interface IUserApiAsync : IApiAccessor /// This can only be done by the logged in user. /// /// Thrown when fails to make API call - /// name that need to be deleted + /// name of the user that needs to be updated /// Updated user object /// Cancellation Token to cancel the request. /// Task of void @@ -371,7 +371,7 @@ public interface IUserApiAsync : IApiAccessor /// This can only be done by the logged in user. /// /// Thrown when fails to make API call - /// name that need to be deleted + /// name of the user that needs to be updated /// Updated user object /// Cancellation Token to cancel the request. /// Task of ApiResponse @@ -1295,7 +1295,7 @@ public Org.OpenAPITools.Client.ApiResponse LogoutUserWithHttpInfo() /// Updated user This can only be done by the logged in user. /// /// Thrown when fails to make API call - /// name that need to be deleted + /// name of the user that needs to be updated /// Updated user object /// public void UpdateUser(string username, User user) @@ -1307,7 +1307,7 @@ public void UpdateUser(string username, User user) /// Updated user This can only be done by the logged in user. /// /// Thrown when fails to make API call - /// name that need to be deleted + /// name of the user that needs to be updated /// Updated user object /// ApiResponse of Object(void) public Org.OpenAPITools.Client.ApiResponse UpdateUserWithHttpInfo(string username, User user) @@ -1356,7 +1356,7 @@ public Org.OpenAPITools.Client.ApiResponse UpdateUserWithHttpInfo(string /// Updated user This can only be done by the logged in user. /// /// Thrown when fails to make API call - /// name that need to be deleted + /// name of the user that needs to be updated /// Updated user object /// Cancellation Token to cancel the request. /// Task of void @@ -1369,7 +1369,7 @@ public Org.OpenAPITools.Client.ApiResponse UpdateUserWithHttpInfo(string /// Updated user This can only be done by the logged in user. /// /// Thrown when fails to make API call - /// name that need to be deleted + /// name of the user that needs to be updated /// Updated user object /// Cancellation Token to cancel the request. /// Task of ApiResponse diff --git a/samples/client/petstore/csharp/OpenAPIClient/docs/UserApi.md b/samples/client/petstore/csharp/OpenAPIClient/docs/UserApi.md index 7c37179a9102..fc3b5ca610cc 100644 --- a/samples/client/petstore/csharp/OpenAPIClient/docs/UserApi.md +++ b/samples/client/petstore/csharp/OpenAPIClient/docs/UserApi.md @@ -552,7 +552,7 @@ namespace Example { Configuration.Default.BasePath = "http://petstore.swagger.io:80/v2"; var apiInstance = new UserApi(Configuration.Default); - var username = username_example; // string | name that need to be deleted + var username = username_example; // string | name of the user that needs to be updated var user = new User(); // User | Updated user object try @@ -576,7 +576,7 @@ namespace Example Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **username** | **string**| name that need to be deleted | + **username** | **string**| name of the user that needs to be updated | **user** | [**User**](User.md)| Updated user object | ### Return type diff --git a/samples/client/petstore/csharp/OpenAPIClient/src/Org.OpenAPITools/Api/UserApi.cs b/samples/client/petstore/csharp/OpenAPIClient/src/Org.OpenAPITools/Api/UserApi.cs index db99c657f86c..8274f3268120 100644 --- a/samples/client/petstore/csharp/OpenAPIClient/src/Org.OpenAPITools/Api/UserApi.cs +++ b/samples/client/petstore/csharp/OpenAPIClient/src/Org.OpenAPITools/Api/UserApi.cs @@ -179,7 +179,7 @@ public interface IUserApi : IApiAccessor /// This can only be done by the logged in user. /// /// Thrown when fails to make API call - /// name that need to be deleted + /// name of the user that needs to be updated /// Updated user object /// void UpdateUser (string username, User user); @@ -191,7 +191,7 @@ public interface IUserApi : IApiAccessor /// This can only be done by the logged in user. /// /// Thrown when fails to make API call - /// name that need to be deleted + /// name of the user that needs to be updated /// Updated user object /// ApiResponse of Object(void) ApiResponse UpdateUserWithHttpInfo (string username, User user); @@ -365,7 +365,7 @@ public interface IUserApi : IApiAccessor /// This can only be done by the logged in user. /// /// Thrown when fails to make API call - /// name that need to be deleted + /// name of the user that needs to be updated /// Updated user object /// Cancellation Token to cancel request (optional) /// Task of void @@ -378,7 +378,7 @@ public interface IUserApi : IApiAccessor /// This can only be done by the logged in user. /// /// Thrown when fails to make API call - /// name that need to be deleted + /// name of the user that needs to be updated /// Updated user object /// Cancellation Token to cancel request (optional) /// Task of ApiResponse @@ -1475,7 +1475,7 @@ public ApiResponse LogoutUserWithHttpInfo () /// Updated user This can only be done by the logged in user. /// /// Thrown when fails to make API call - /// name that need to be deleted + /// name of the user that needs to be updated /// Updated user object /// public void UpdateUser (string username, User user) @@ -1487,7 +1487,7 @@ public void UpdateUser (string username, User user) /// Updated user This can only be done by the logged in user. /// /// Thrown when fails to make API call - /// name that need to be deleted + /// name of the user that needs to be updated /// Updated user object /// ApiResponse of Object(void) public ApiResponse UpdateUserWithHttpInfo (string username, User user) @@ -1553,7 +1553,7 @@ public ApiResponse UpdateUserWithHttpInfo (string username, User user) /// Updated user This can only be done by the logged in user. /// /// Thrown when fails to make API call - /// name that need to be deleted + /// name of the user that needs to be updated /// Updated user object /// Cancellation Token to cancel request (optional) /// Task of void @@ -1567,7 +1567,7 @@ public ApiResponse UpdateUserWithHttpInfo (string username, User user) /// Updated user This can only be done by the logged in user. /// /// Thrown when fails to make API call - /// name that need to be deleted + /// name of the user that needs to be updated /// Updated user object /// Cancellation Token to cancel request (optional) /// Task of ApiResponse diff --git a/samples/client/petstore/csharp/OpenAPIClientNet35/docs/UserApi.md b/samples/client/petstore/csharp/OpenAPIClientNet35/docs/UserApi.md index 1385d840413c..c35fcb0358ed 100644 --- a/samples/client/petstore/csharp/OpenAPIClientNet35/docs/UserApi.md +++ b/samples/client/petstore/csharp/OpenAPIClientNet35/docs/UserApi.md @@ -552,7 +552,7 @@ namespace Example { Configuration.Default.BasePath = "http://petstore.swagger.io:80/v2"; var apiInstance = new UserApi(Configuration.Default); - var username = username_example; // string | name that need to be deleted + var username = username_example; // string | name of the user that needs to be updated var body = new User(); // User | Updated user object try @@ -576,7 +576,7 @@ namespace Example Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **username** | **string**| name that need to be deleted | + **username** | **string**| name of the user that needs to be updated | **body** | [**User**](User.md)| Updated user object | ### Return type diff --git a/samples/client/petstore/csharp/OpenAPIClientNet35/src/Org.OpenAPITools/Api/UserApi.cs b/samples/client/petstore/csharp/OpenAPIClientNet35/src/Org.OpenAPITools/Api/UserApi.cs index 9fa2c7f4d1a5..479e4e1802ee 100644 --- a/samples/client/petstore/csharp/OpenAPIClientNet35/src/Org.OpenAPITools/Api/UserApi.cs +++ b/samples/client/petstore/csharp/OpenAPIClientNet35/src/Org.OpenAPITools/Api/UserApi.cs @@ -179,7 +179,7 @@ public interface IUserApi : IApiAccessor /// This can only be done by the logged in user. /// /// Thrown when fails to make API call - /// name that need to be deleted + /// name of the user that needs to be updated /// Updated user object /// void UpdateUser (string username, User body); @@ -191,7 +191,7 @@ public interface IUserApi : IApiAccessor /// This can only be done by the logged in user. /// /// Thrown when fails to make API call - /// name that need to be deleted + /// name of the user that needs to be updated /// Updated user object /// ApiResponse of Object(void) ApiResponse UpdateUserWithHttpInfo (string username, User body); @@ -785,7 +785,7 @@ public ApiResponse LogoutUserWithHttpInfo () /// Updated user This can only be done by the logged in user. /// /// Thrown when fails to make API call - /// name that need to be deleted + /// name of the user that needs to be updated /// Updated user object /// public void UpdateUser (string username, User body) @@ -797,7 +797,7 @@ public void UpdateUser (string username, User body) /// Updated user This can only be done by the logged in user. /// /// Thrown when fails to make API call - /// name that need to be deleted + /// name of the user that needs to be updated /// Updated user object /// ApiResponse of Object(void) public ApiResponse UpdateUserWithHttpInfo (string username, User body) diff --git a/samples/client/petstore/csharp/OpenAPIClientNet40/docs/UserApi.md b/samples/client/petstore/csharp/OpenAPIClientNet40/docs/UserApi.md index 1385d840413c..c35fcb0358ed 100644 --- a/samples/client/petstore/csharp/OpenAPIClientNet40/docs/UserApi.md +++ b/samples/client/petstore/csharp/OpenAPIClientNet40/docs/UserApi.md @@ -552,7 +552,7 @@ namespace Example { Configuration.Default.BasePath = "http://petstore.swagger.io:80/v2"; var apiInstance = new UserApi(Configuration.Default); - var username = username_example; // string | name that need to be deleted + var username = username_example; // string | name of the user that needs to be updated var body = new User(); // User | Updated user object try @@ -576,7 +576,7 @@ namespace Example Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **username** | **string**| name that need to be deleted | + **username** | **string**| name of the user that needs to be updated | **body** | [**User**](User.md)| Updated user object | ### Return type diff --git a/samples/client/petstore/csharp/OpenAPIClientNet40/src/Org.OpenAPITools/Api/UserApi.cs b/samples/client/petstore/csharp/OpenAPIClientNet40/src/Org.OpenAPITools/Api/UserApi.cs index aff00bb32673..4c5bdce57864 100644 --- a/samples/client/petstore/csharp/OpenAPIClientNet40/src/Org.OpenAPITools/Api/UserApi.cs +++ b/samples/client/petstore/csharp/OpenAPIClientNet40/src/Org.OpenAPITools/Api/UserApi.cs @@ -179,7 +179,7 @@ public interface IUserApi : IApiAccessor /// This can only be done by the logged in user. /// /// Thrown when fails to make API call - /// name that need to be deleted + /// name of the user that needs to be updated /// Updated user object /// void UpdateUser (string username, User body); @@ -191,7 +191,7 @@ public interface IUserApi : IApiAccessor /// This can only be done by the logged in user. /// /// Thrown when fails to make API call - /// name that need to be deleted + /// name of the user that needs to be updated /// Updated user object /// ApiResponse of Object(void) ApiResponse UpdateUserWithHttpInfo (string username, User body); @@ -785,7 +785,7 @@ public ApiResponse LogoutUserWithHttpInfo () /// Updated user This can only be done by the logged in user. /// /// Thrown when fails to make API call - /// name that need to be deleted + /// name of the user that needs to be updated /// Updated user object /// public void UpdateUser (string username, User body) @@ -797,7 +797,7 @@ public void UpdateUser (string username, User body) /// Updated user This can only be done by the logged in user. /// /// Thrown when fails to make API call - /// name that need to be deleted + /// name of the user that needs to be updated /// Updated user object /// ApiResponse of Object(void) public ApiResponse UpdateUserWithHttpInfo (string username, User body) diff --git a/samples/client/petstore/csharp/OpenAPIClientNetCoreProject/docs/UserApi.md b/samples/client/petstore/csharp/OpenAPIClientNetCoreProject/docs/UserApi.md index 1385d840413c..c35fcb0358ed 100644 --- a/samples/client/petstore/csharp/OpenAPIClientNetCoreProject/docs/UserApi.md +++ b/samples/client/petstore/csharp/OpenAPIClientNetCoreProject/docs/UserApi.md @@ -552,7 +552,7 @@ namespace Example { Configuration.Default.BasePath = "http://petstore.swagger.io:80/v2"; var apiInstance = new UserApi(Configuration.Default); - var username = username_example; // string | name that need to be deleted + var username = username_example; // string | name of the user that needs to be updated var body = new User(); // User | Updated user object try @@ -576,7 +576,7 @@ namespace Example Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **username** | **string**| name that need to be deleted | + **username** | **string**| name of the user that needs to be updated | **body** | [**User**](User.md)| Updated user object | ### Return type diff --git a/samples/client/petstore/csharp/OpenAPIClientNetCoreProject/src/Org.OpenAPITools/Api/UserApi.cs b/samples/client/petstore/csharp/OpenAPIClientNetCoreProject/src/Org.OpenAPITools/Api/UserApi.cs index 5a11ce06ea81..14aaeb1ba00b 100644 --- a/samples/client/petstore/csharp/OpenAPIClientNetCoreProject/src/Org.OpenAPITools/Api/UserApi.cs +++ b/samples/client/petstore/csharp/OpenAPIClientNetCoreProject/src/Org.OpenAPITools/Api/UserApi.cs @@ -179,7 +179,7 @@ public interface IUserApi : IApiAccessor /// This can only be done by the logged in user. /// /// Thrown when fails to make API call - /// name that need to be deleted + /// name of the user that needs to be updated /// Updated user object /// void UpdateUser (string username, User body); @@ -191,7 +191,7 @@ public interface IUserApi : IApiAccessor /// This can only be done by the logged in user. /// /// Thrown when fails to make API call - /// name that need to be deleted + /// name of the user that needs to be updated /// Updated user object /// ApiResponse of Object(void) ApiResponse UpdateUserWithHttpInfo (string username, User body); @@ -365,7 +365,7 @@ public interface IUserApi : IApiAccessor /// This can only be done by the logged in user. /// /// Thrown when fails to make API call - /// name that need to be deleted + /// name of the user that needs to be updated /// Updated user object /// Cancellation Token to cancel request (optional) /// Task of void @@ -378,7 +378,7 @@ public interface IUserApi : IApiAccessor /// This can only be done by the logged in user. /// /// Thrown when fails to make API call - /// name that need to be deleted + /// name of the user that needs to be updated /// Updated user object /// Cancellation Token to cancel request (optional) /// Task of ApiResponse @@ -1469,7 +1469,7 @@ public ApiResponse LogoutUserWithHttpInfo () /// Updated user This can only be done by the logged in user. /// /// Thrown when fails to make API call - /// name that need to be deleted + /// name of the user that needs to be updated /// Updated user object /// public void UpdateUser (string username, User body) @@ -1481,7 +1481,7 @@ public void UpdateUser (string username, User body) /// Updated user This can only be done by the logged in user. /// /// Thrown when fails to make API call - /// name that need to be deleted + /// name of the user that needs to be updated /// Updated user object /// ApiResponse of Object(void) public ApiResponse UpdateUserWithHttpInfo (string username, User body) @@ -1546,7 +1546,7 @@ public ApiResponse UpdateUserWithHttpInfo (string username, User body) /// Updated user This can only be done by the logged in user. /// /// Thrown when fails to make API call - /// name that need to be deleted + /// name of the user that needs to be updated /// Updated user object /// Cancellation Token to cancel request (optional) /// Task of void @@ -1560,7 +1560,7 @@ public ApiResponse UpdateUserWithHttpInfo (string username, User body) /// Updated user This can only be done by the logged in user. /// /// Thrown when fails to make API call - /// name that need to be deleted + /// name of the user that needs to be updated /// Updated user object /// Cancellation Token to cancel request (optional) /// Task of ApiResponse diff --git a/samples/client/petstore/csharp/OpenAPIClientNetStandard/docs/UserApi.md b/samples/client/petstore/csharp/OpenAPIClientNetStandard/docs/UserApi.md index 1385d840413c..c35fcb0358ed 100644 --- a/samples/client/petstore/csharp/OpenAPIClientNetStandard/docs/UserApi.md +++ b/samples/client/petstore/csharp/OpenAPIClientNetStandard/docs/UserApi.md @@ -552,7 +552,7 @@ namespace Example { Configuration.Default.BasePath = "http://petstore.swagger.io:80/v2"; var apiInstance = new UserApi(Configuration.Default); - var username = username_example; // string | name that need to be deleted + var username = username_example; // string | name of the user that needs to be updated var body = new User(); // User | Updated user object try @@ -576,7 +576,7 @@ namespace Example Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **username** | **string**| name that need to be deleted | + **username** | **string**| name of the user that needs to be updated | **body** | [**User**](User.md)| Updated user object | ### Return type diff --git a/samples/client/petstore/csharp/OpenAPIClientNetStandard/src/Org.OpenAPITools/Api/UserApi.cs b/samples/client/petstore/csharp/OpenAPIClientNetStandard/src/Org.OpenAPITools/Api/UserApi.cs index 5a11ce06ea81..14aaeb1ba00b 100644 --- a/samples/client/petstore/csharp/OpenAPIClientNetStandard/src/Org.OpenAPITools/Api/UserApi.cs +++ b/samples/client/petstore/csharp/OpenAPIClientNetStandard/src/Org.OpenAPITools/Api/UserApi.cs @@ -179,7 +179,7 @@ public interface IUserApi : IApiAccessor /// This can only be done by the logged in user. /// /// Thrown when fails to make API call - /// name that need to be deleted + /// name of the user that needs to be updated /// Updated user object /// void UpdateUser (string username, User body); @@ -191,7 +191,7 @@ public interface IUserApi : IApiAccessor /// This can only be done by the logged in user. /// /// Thrown when fails to make API call - /// name that need to be deleted + /// name of the user that needs to be updated /// Updated user object /// ApiResponse of Object(void) ApiResponse UpdateUserWithHttpInfo (string username, User body); @@ -365,7 +365,7 @@ public interface IUserApi : IApiAccessor /// This can only be done by the logged in user. /// /// Thrown when fails to make API call - /// name that need to be deleted + /// name of the user that needs to be updated /// Updated user object /// Cancellation Token to cancel request (optional) /// Task of void @@ -378,7 +378,7 @@ public interface IUserApi : IApiAccessor /// This can only be done by the logged in user. /// /// Thrown when fails to make API call - /// name that need to be deleted + /// name of the user that needs to be updated /// Updated user object /// Cancellation Token to cancel request (optional) /// Task of ApiResponse @@ -1469,7 +1469,7 @@ public ApiResponse LogoutUserWithHttpInfo () /// Updated user This can only be done by the logged in user. /// /// Thrown when fails to make API call - /// name that need to be deleted + /// name of the user that needs to be updated /// Updated user object /// public void UpdateUser (string username, User body) @@ -1481,7 +1481,7 @@ public void UpdateUser (string username, User body) /// Updated user This can only be done by the logged in user. /// /// Thrown when fails to make API call - /// name that need to be deleted + /// name of the user that needs to be updated /// Updated user object /// ApiResponse of Object(void) public ApiResponse UpdateUserWithHttpInfo (string username, User body) @@ -1546,7 +1546,7 @@ public ApiResponse UpdateUserWithHttpInfo (string username, User body) /// Updated user This can only be done by the logged in user. /// /// Thrown when fails to make API call - /// name that need to be deleted + /// name of the user that needs to be updated /// Updated user object /// Cancellation Token to cancel request (optional) /// Task of void @@ -1560,7 +1560,7 @@ public ApiResponse UpdateUserWithHttpInfo (string username, User body) /// Updated user This can only be done by the logged in user. /// /// Thrown when fails to make API call - /// name that need to be deleted + /// name of the user that needs to be updated /// Updated user object /// Cancellation Token to cancel request (optional) /// Task of ApiResponse diff --git a/samples/client/petstore/csharp/OpenAPIClientWithPropertyChanged/docs/UserApi.md b/samples/client/petstore/csharp/OpenAPIClientWithPropertyChanged/docs/UserApi.md index 1385d840413c..c35fcb0358ed 100644 --- a/samples/client/petstore/csharp/OpenAPIClientWithPropertyChanged/docs/UserApi.md +++ b/samples/client/petstore/csharp/OpenAPIClientWithPropertyChanged/docs/UserApi.md @@ -552,7 +552,7 @@ namespace Example { Configuration.Default.BasePath = "http://petstore.swagger.io:80/v2"; var apiInstance = new UserApi(Configuration.Default); - var username = username_example; // string | name that need to be deleted + var username = username_example; // string | name of the user that needs to be updated var body = new User(); // User | Updated user object try @@ -576,7 +576,7 @@ namespace Example Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **username** | **string**| name that need to be deleted | + **username** | **string**| name of the user that needs to be updated | **body** | [**User**](User.md)| Updated user object | ### Return type diff --git a/samples/client/petstore/csharp/OpenAPIClientWithPropertyChanged/src/Org.OpenAPITools/Api/UserApi.cs b/samples/client/petstore/csharp/OpenAPIClientWithPropertyChanged/src/Org.OpenAPITools/Api/UserApi.cs index 13703badf4d4..a25444b31ec3 100644 --- a/samples/client/petstore/csharp/OpenAPIClientWithPropertyChanged/src/Org.OpenAPITools/Api/UserApi.cs +++ b/samples/client/petstore/csharp/OpenAPIClientWithPropertyChanged/src/Org.OpenAPITools/Api/UserApi.cs @@ -179,7 +179,7 @@ public interface IUserApi : IApiAccessor /// This can only be done by the logged in user. /// /// Thrown when fails to make API call - /// name that need to be deleted + /// name of the user that needs to be updated /// Updated user object /// void UpdateUser (string username, User body); @@ -191,7 +191,7 @@ public interface IUserApi : IApiAccessor /// This can only be done by the logged in user. /// /// Thrown when fails to make API call - /// name that need to be deleted + /// name of the user that needs to be updated /// Updated user object /// ApiResponse of Object(void) ApiResponse UpdateUserWithHttpInfo (string username, User body); @@ -365,7 +365,7 @@ public interface IUserApi : IApiAccessor /// This can only be done by the logged in user. /// /// Thrown when fails to make API call - /// name that need to be deleted + /// name of the user that needs to be updated /// Updated user object /// Cancellation Token to cancel request (optional) /// Task of void @@ -378,7 +378,7 @@ public interface IUserApi : IApiAccessor /// This can only be done by the logged in user. /// /// Thrown when fails to make API call - /// name that need to be deleted + /// name of the user that needs to be updated /// Updated user object /// Cancellation Token to cancel request (optional) /// Task of ApiResponse @@ -1469,7 +1469,7 @@ public ApiResponse LogoutUserWithHttpInfo () /// Updated user This can only be done by the logged in user. /// /// Thrown when fails to make API call - /// name that need to be deleted + /// name of the user that needs to be updated /// Updated user object /// public void UpdateUser (string username, User body) @@ -1481,7 +1481,7 @@ public void UpdateUser (string username, User body) /// Updated user This can only be done by the logged in user. /// /// Thrown when fails to make API call - /// name that need to be deleted + /// name of the user that needs to be updated /// Updated user object /// ApiResponse of Object(void) public ApiResponse UpdateUserWithHttpInfo (string username, User body) @@ -1546,7 +1546,7 @@ public ApiResponse UpdateUserWithHttpInfo (string username, User body) /// Updated user This can only be done by the logged in user. /// /// Thrown when fails to make API call - /// name that need to be deleted + /// name of the user that needs to be updated /// Updated user object /// Cancellation Token to cancel request (optional) /// Task of void @@ -1560,7 +1560,7 @@ public ApiResponse UpdateUserWithHttpInfo (string username, User body) /// Updated user This can only be done by the logged in user. /// /// Thrown when fails to make API call - /// name that need to be deleted + /// name of the user that needs to be updated /// Updated user object /// Cancellation Token to cancel request (optional) /// Task of ApiResponse diff --git a/samples/client/petstore/dart-dio/petstore_client_lib/doc/UserApi.md b/samples/client/petstore/dart-dio/petstore_client_lib/doc/UserApi.md index 9cdbae87963b..9e7e1638e1cf 100644 --- a/samples/client/petstore/dart-dio/petstore_client_lib/doc/UserApi.md +++ b/samples/client/petstore/dart-dio/petstore_client_lib/doc/UserApi.md @@ -315,7 +315,7 @@ This can only be done by the logged in user. import 'package:openapi/api.dart'; var api_instance = new UserApi(); -var username = username_example; // String | name that need to be deleted +var username = username_example; // String | name of the user that needs to be updated var body = new User(); // User | Updated user object try { @@ -329,7 +329,7 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **username** | **String**| name that need to be deleted | + **username** | **String**| name of the user that needs to be updated | **body** | [**User**](User.md)| Updated user object | ### Return type diff --git a/samples/client/petstore/dart-jaguar/flutter_petstore/openapi/doc/UserApi.md b/samples/client/petstore/dart-jaguar/flutter_petstore/openapi/doc/UserApi.md index 24494bd8757a..fd63e717905c 100644 --- a/samples/client/petstore/dart-jaguar/flutter_petstore/openapi/doc/UserApi.md +++ b/samples/client/petstore/dart-jaguar/flutter_petstore/openapi/doc/UserApi.md @@ -315,7 +315,7 @@ This can only be done by the logged in user. import 'package:openapi/api.dart'; var api_instance = new UserApi(); -var username = username_example; // String | name that need to be deleted +var username = username_example; // String | name of the user that needs to be updated var body = new User(); // User | Updated user object try { @@ -329,7 +329,7 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **username** | **String**| name that need to be deleted | [default to null] + **username** | **String**| name of the user that needs to be updated | [default to null] **body** | [**User**](User.md)| Updated user object | ### Return type diff --git a/samples/client/petstore/dart-jaguar/flutter_proto_petstore/openapi/doc/UserApi.md b/samples/client/petstore/dart-jaguar/flutter_proto_petstore/openapi/doc/UserApi.md index 91cad43d7a11..626ff8ac2c99 100644 --- a/samples/client/petstore/dart-jaguar/flutter_proto_petstore/openapi/doc/UserApi.md +++ b/samples/client/petstore/dart-jaguar/flutter_proto_petstore/openapi/doc/UserApi.md @@ -315,7 +315,7 @@ This can only be done by the logged in user. import 'package:openapi/api.dart'; var api_instance = new UserApi(); -var username = username_example; // String | name that need to be deleted +var username = username_example; // String | name of the user that needs to be updated var body = new User(); // User | Updated user object try { @@ -329,7 +329,7 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **username** | **String**| name that need to be deleted | [default to null] + **username** | **String**| name of the user that needs to be updated | [default to null] **body** | [**User**](User.md)| Updated user object | ### Return type diff --git a/samples/client/petstore/dart-jaguar/openapi/doc/UserApi.md b/samples/client/petstore/dart-jaguar/openapi/doc/UserApi.md index 24494bd8757a..fd63e717905c 100644 --- a/samples/client/petstore/dart-jaguar/openapi/doc/UserApi.md +++ b/samples/client/petstore/dart-jaguar/openapi/doc/UserApi.md @@ -315,7 +315,7 @@ This can only be done by the logged in user. import 'package:openapi/api.dart'; var api_instance = new UserApi(); -var username = username_example; // String | name that need to be deleted +var username = username_example; // String | name of the user that needs to be updated var body = new User(); // User | Updated user object try { @@ -329,7 +329,7 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **username** | **String**| name that need to be deleted | [default to null] + **username** | **String**| name of the user that needs to be updated | [default to null] **body** | [**User**](User.md)| Updated user object | ### Return type diff --git a/samples/client/petstore/dart-jaguar/openapi_proto/doc/UserApi.md b/samples/client/petstore/dart-jaguar/openapi_proto/doc/UserApi.md index 91cad43d7a11..626ff8ac2c99 100644 --- a/samples/client/petstore/dart-jaguar/openapi_proto/doc/UserApi.md +++ b/samples/client/petstore/dart-jaguar/openapi_proto/doc/UserApi.md @@ -315,7 +315,7 @@ This can only be done by the logged in user. import 'package:openapi/api.dart'; var api_instance = new UserApi(); -var username = username_example; // String | name that need to be deleted +var username = username_example; // String | name of the user that needs to be updated var body = new User(); // User | Updated user object try { @@ -329,7 +329,7 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **username** | **String**| name that need to be deleted | [default to null] + **username** | **String**| name of the user that needs to be updated | [default to null] **body** | [**User**](User.md)| Updated user object | ### Return type diff --git a/samples/client/petstore/dart2/petstore_client_lib/doc/UserApi.md b/samples/client/petstore/dart2/petstore_client_lib/doc/UserApi.md index 711b6726a92e..0f96d0913946 100644 --- a/samples/client/petstore/dart2/petstore_client_lib/doc/UserApi.md +++ b/samples/client/petstore/dart2/petstore_client_lib/doc/UserApi.md @@ -315,7 +315,7 @@ This can only be done by the logged in user. import 'package:openapi/api.dart'; final api_instance = UserApi(); -final username = username_example; // String | name that need to be deleted +final username = username_example; // String | name of the user that needs to be updated final body = User(); // User | Updated user object try { @@ -329,7 +329,7 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **username** | **String**| name that need to be deleted | + **username** | **String**| name of the user that needs to be updated | **body** | [**User**](User.md)| Updated user object | ### Return type diff --git a/samples/client/petstore/dart2/petstore_client_lib/lib/api/user_api.dart b/samples/client/petstore/dart2/petstore_client_lib/lib/api/user_api.dart index de7e2ace8ce6..6d2e22a751dd 100644 --- a/samples/client/petstore/dart2/petstore_client_lib/lib/api/user_api.dart +++ b/samples/client/petstore/dart2/petstore_client_lib/lib/api/user_api.dart @@ -486,7 +486,7 @@ class UserApi { /// Parameters: /// /// * [String] username (required): - /// name that need to be deleted + /// name of the user that needs to be updated /// /// * [User] body (required): /// Updated user object @@ -543,7 +543,7 @@ class UserApi { /// Parameters: /// /// * [String] username (required): - /// name that need to be deleted + /// name of the user that needs to be updated /// /// * [User] body (required): /// Updated user object diff --git a/samples/client/petstore/eiffel/docs/USER_API.md b/samples/client/petstore/eiffel/docs/USER_API.md index 8c3bb38bd920..6e6a38c326e2 100644 --- a/samples/client/petstore/eiffel/docs/USER_API.md +++ b/samples/client/petstore/eiffel/docs/USER_API.md @@ -197,7 +197,7 @@ This can only be done by the logged in user. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **username** | **STRING_32**| name that need to be deleted | [default to null] + **username** | **STRING_32**| name of the user that needs to be updated | [default to null] **body** | [**USER**](USER.md)| Updated user object | ### Return type diff --git a/samples/client/petstore/eiffel/src/api/user_api.e b/samples/client/petstore/eiffel/src/api/user_api.e index 7b053e216808..dff4b13e341c 100644 --- a/samples/client/petstore/eiffel/src/api/user_api.e +++ b/samples/client/petstore/eiffel/src/api/user_api.e @@ -216,7 +216,7 @@ feature -- API Access -- Updated user -- This can only be done by the logged in user. -- - -- argument: username name that need to be deleted (required) + -- argument: username name of the user that needs to be updated (required) -- -- argument: body Updated user object (required) -- diff --git a/samples/client/petstore/elixir/lib/openapi_petstore/api/user.ex b/samples/client/petstore/elixir/lib/openapi_petstore/api/user.ex index a2acacce0ae0..e7ab2f805658 100644 --- a/samples/client/petstore/elixir/lib/openapi_petstore/api/user.ex +++ b/samples/client/petstore/elixir/lib/openapi_petstore/api/user.ex @@ -204,7 +204,7 @@ defmodule OpenapiPetstore.Api.User do ## Parameters - connection (OpenapiPetstore.Connection): Connection to server - - username (String.t): name that need to be deleted + - username (String.t): name of the user that needs to be updated - body (User): Updated user object - opts (KeywordList): [optional] Optional parameters ## Returns diff --git a/samples/client/petstore/go/go-petstore/api/openapi.yaml b/samples/client/petstore/go/go-petstore/api/openapi.yaml index 4c7dda7a3b82..7ea885942e40 100644 --- a/samples/client/petstore/go/go-petstore/api/openapi.yaml +++ b/samples/client/petstore/go/go-petstore/api/openapi.yaml @@ -563,7 +563,7 @@ paths: description: This can only be done by the logged in user. operationId: updateUser parameters: - - description: name that need to be deleted + - description: name of the user that needs to be updated in: path name: username required: true diff --git a/samples/client/petstore/go/go-petstore/api_user.go b/samples/client/petstore/go/go-petstore/api_user.go index e4c0eaeef16c..a1a1fa334827 100644 --- a/samples/client/petstore/go/go-petstore/api_user.go +++ b/samples/client/petstore/go/go-petstore/api_user.go @@ -120,7 +120,7 @@ type UserApi interface { * UpdateUser Updated user * This can only be done by the logged in user. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param username name that need to be deleted + * @param username name of the user that needs to be updated * @return ApiUpdateUserRequest */ UpdateUser(ctx _context.Context, username string) ApiUpdateUserRequest @@ -904,7 +904,7 @@ func (r ApiUpdateUserRequest) Execute() (*_nethttp.Response, GenericOpenAPIError * UpdateUser Updated user * This can only be done by the logged in user. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param username name that need to be deleted + * @param username name of the user that needs to be updated * @return ApiUpdateUserRequest */ func (a *UserApiService) UpdateUser(ctx _context.Context, username string) ApiUpdateUserRequest { diff --git a/samples/client/petstore/go/go-petstore/docs/UserApi.md b/samples/client/petstore/go/go-petstore/docs/UserApi.md index 712e0de87dee..87475402b179 100644 --- a/samples/client/petstore/go/go-petstore/docs/UserApi.md +++ b/samples/client/petstore/go/go-petstore/docs/UserApi.md @@ -483,7 +483,7 @@ import ( ) func main() { - username := "username_example" // string | name that need to be deleted + username := "username_example" // string | name of the user that needs to be updated body := *openapiclient.NewUser() // User | Updated user object configuration := openapiclient.NewConfiguration() @@ -502,7 +502,7 @@ func main() { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. -**username** | **string** | name that need to be deleted | +**username** | **string** | name of the user that needs to be updated | ### Other Parameters diff --git a/samples/client/petstore/haskell-http-client/docs/OpenAPIPetstore-API-User.html b/samples/client/petstore/haskell-http-client/docs/OpenAPIPetstore-API-User.html index 4d638b5aeeb4..b3a5ab4e8856 100644 --- a/samples/client/petstore/haskell-http-client/docs/OpenAPIPetstore-API-User.html +++ b/samples/client/petstore/haskell-http-client/docs/OpenAPIPetstore-API-User.html @@ -1 +1 @@ -OpenAPIPetstore.API.User

openapi-petstore-0.1.0.0: Auto-generated openapi-petstore API Client

Safe HaskellNone
LanguageHaskell2010

OpenAPIPetstore.API.User

Description

 

Operations

User

createUser

createUser Source #

Arguments

:: (Consumes CreateUser contentType, MimeRender contentType User) 
=> ContentType contentType

request content-type (MimeType)

-> User

"body" - Created user object

-> OpenAPIPetstoreRequest CreateUser contentType NoContent MimeNoContent 
POST /user

Create user

This can only be done by the logged in user.

data CreateUser Source #

Instances
Produces CreateUser MimeNoContent Source # 
Instance details

Defined in OpenAPIPetstore.API.User

MimeType mtype => Consumes CreateUser mtype Source #
*/*
Instance details

Defined in OpenAPIPetstore.API.User

HasBodyParam CreateUser User Source #

Body Param "body" - Created user object

Instance details

Defined in OpenAPIPetstore.API.User

Methods

setBodyParam :: (Consumes CreateUser contentType, MimeRender contentType User) => OpenAPIPetstoreRequest CreateUser contentType res accept -> User -> OpenAPIPetstoreRequest CreateUser contentType res accept Source #

createUsersWithArrayInput

createUsersWithArrayInput Source #

Arguments

:: (Consumes CreateUsersWithArrayInput contentType, MimeRender contentType Body) 
=> ContentType contentType

request content-type (MimeType)

-> Body

"body" - List of user object

-> OpenAPIPetstoreRequest CreateUsersWithArrayInput contentType NoContent MimeNoContent 
POST /user/createWithArray

Creates list of users with given input array

createUsersWithListInput

createUsersWithListInput Source #

Arguments

:: (Consumes CreateUsersWithListInput contentType, MimeRender contentType Body) 
=> ContentType contentType

request content-type (MimeType)

-> Body

"body" - List of user object

-> OpenAPIPetstoreRequest CreateUsersWithListInput contentType NoContent MimeNoContent 
POST /user/createWithList

Creates list of users with given input array

data CreateUsersWithListInput Source #

Instances
Produces CreateUsersWithListInput MimeNoContent Source # 
Instance details

Defined in OpenAPIPetstore.API.User

MimeType mtype => Consumes CreateUsersWithListInput mtype Source #
*/*
Instance details

Defined in OpenAPIPetstore.API.User

HasBodyParam CreateUsersWithListInput Body Source #

Body Param "body" - List of user object

Instance details

Defined in OpenAPIPetstore.API.User

deleteUser

deleteUser Source #

Arguments

:: Username

"username" - The name that needs to be deleted

-> OpenAPIPetstoreRequest DeleteUser MimeNoContent NoContent MimeNoContent 
DELETE /user/{username}

Delete user

This can only be done by the logged in user.

getUserByName

getUserByName Source #

Arguments

:: Accept accept

request accept (MimeType)

-> Username

"username" - The name that needs to be fetched. Use user1 for testing.

-> OpenAPIPetstoreRequest GetUserByName MimeNoContent User accept 
GET /user/{username}

Get user by user name

data GetUserByName Source #

Instances
Produces GetUserByName MimeXML Source #
application/xml
Instance details

Defined in OpenAPIPetstore.API.User

Produces GetUserByName MimeJSON Source #
application/json
Instance details

Defined in OpenAPIPetstore.API.User

loginUser

loginUser Source #

Arguments

:: Accept accept

request accept (MimeType)

-> Username

"username" - The user name for login

-> Password

"password" - The password for login in clear text

-> OpenAPIPetstoreRequest LoginUser MimeNoContent Text accept 
GET /user/login

Logs user into the system

data LoginUser Source #

Instances
Produces LoginUser MimeXML Source #
application/xml
Instance details

Defined in OpenAPIPetstore.API.User

Produces LoginUser MimeJSON Source #
application/json
Instance details

Defined in OpenAPIPetstore.API.User

logoutUser

logoutUser :: OpenAPIPetstoreRequest LogoutUser MimeNoContent NoContent MimeNoContent Source #

GET /user/logout

Logs out current logged in user session

updateUser

updateUser Source #

Arguments

:: (Consumes UpdateUser contentType, MimeRender contentType User) 
=> ContentType contentType

request content-type (MimeType)

-> User

"body" - Updated user object

-> Username

"username" - name that need to be deleted

-> OpenAPIPetstoreRequest UpdateUser contentType NoContent MimeNoContent 
PUT /user/{username}

Updated user

This can only be done by the logged in user.

data UpdateUser Source #

Instances
Produces UpdateUser MimeNoContent Source # 
Instance details

Defined in OpenAPIPetstore.API.User

MimeType mtype => Consumes UpdateUser mtype Source #
*/*
Instance details

Defined in OpenAPIPetstore.API.User

HasBodyParam UpdateUser User Source #

Body Param "body" - Updated user object

Instance details

Defined in OpenAPIPetstore.API.User

Methods

setBodyParam :: (Consumes UpdateUser contentType, MimeRender contentType User) => OpenAPIPetstoreRequest UpdateUser contentType res accept -> User -> OpenAPIPetstoreRequest UpdateUser contentType res accept Source #

\ No newline at end of file +OpenAPIPetstore.API.User

openapi-petstore-0.1.0.0: Auto-generated openapi-petstore API Client

Safe HaskellNone
LanguageHaskell2010

OpenAPIPetstore.API.User

Description

 

Operations

User

createUser

createUser Source #

Arguments

:: (Consumes CreateUser contentType, MimeRender contentType User) 
=> ContentType contentType

request content-type (MimeType)

-> User

"body" - Created user object

-> OpenAPIPetstoreRequest CreateUser contentType NoContent MimeNoContent 
POST /user

Create user

This can only be done by the logged in user.

data CreateUser Source #

Instances
Produces CreateUser MimeNoContent Source # 
Instance details

Defined in OpenAPIPetstore.API.User

MimeType mtype => Consumes CreateUser mtype Source #
*/*
Instance details

Defined in OpenAPIPetstore.API.User

HasBodyParam CreateUser User Source #

Body Param "body" - Created user object

Instance details

Defined in OpenAPIPetstore.API.User

Methods

setBodyParam :: (Consumes CreateUser contentType, MimeRender contentType User) => OpenAPIPetstoreRequest CreateUser contentType res accept -> User -> OpenAPIPetstoreRequest CreateUser contentType res accept Source #

createUsersWithArrayInput

createUsersWithArrayInput Source #

Arguments

:: (Consumes CreateUsersWithArrayInput contentType, MimeRender contentType Body) 
=> ContentType contentType

request content-type (MimeType)

-> Body

"body" - List of user object

-> OpenAPIPetstoreRequest CreateUsersWithArrayInput contentType NoContent MimeNoContent 
POST /user/createWithArray

Creates list of users with given input array

createUsersWithListInput

createUsersWithListInput Source #

Arguments

:: (Consumes CreateUsersWithListInput contentType, MimeRender contentType Body) 
=> ContentType contentType

request content-type (MimeType)

-> Body

"body" - List of user object

-> OpenAPIPetstoreRequest CreateUsersWithListInput contentType NoContent MimeNoContent 
POST /user/createWithList

Creates list of users with given input array

data CreateUsersWithListInput Source #

Instances
Produces CreateUsersWithListInput MimeNoContent Source # 
Instance details

Defined in OpenAPIPetstore.API.User

MimeType mtype => Consumes CreateUsersWithListInput mtype Source #
*/*
Instance details

Defined in OpenAPIPetstore.API.User

HasBodyParam CreateUsersWithListInput Body Source #

Body Param "body" - List of user object

Instance details

Defined in OpenAPIPetstore.API.User

deleteUser

deleteUser Source #

Arguments

:: Username

"username" - The name that needs to be deleted

-> OpenAPIPetstoreRequest DeleteUser MimeNoContent NoContent MimeNoContent 
DELETE /user/{username}

Delete user

This can only be done by the logged in user.

getUserByName

getUserByName Source #

Arguments

:: Accept accept

request accept (MimeType)

-> Username

"username" - The name that needs to be fetched. Use user1 for testing.

-> OpenAPIPetstoreRequest GetUserByName MimeNoContent User accept 
GET /user/{username}

Get user by user name

data GetUserByName Source #

Instances
Produces GetUserByName MimeXML Source #
application/xml
Instance details

Defined in OpenAPIPetstore.API.User

Produces GetUserByName MimeJSON Source #
application/json
Instance details

Defined in OpenAPIPetstore.API.User

loginUser

loginUser Source #

Arguments

:: Accept accept

request accept (MimeType)

-> Username

"username" - The user name for login

-> Password

"password" - The password for login in clear text

-> OpenAPIPetstoreRequest LoginUser MimeNoContent Text accept 
GET /user/login

Logs user into the system

data LoginUser Source #

Instances
Produces LoginUser MimeXML Source #
application/xml
Instance details

Defined in OpenAPIPetstore.API.User

Produces LoginUser MimeJSON Source #
application/json
Instance details

Defined in OpenAPIPetstore.API.User

logoutUser

logoutUser :: OpenAPIPetstoreRequest LogoutUser MimeNoContent NoContent MimeNoContent Source #

GET /user/logout

Logs out current logged in user session

updateUser

updateUser Source #

Arguments

:: (Consumes UpdateUser contentType, MimeRender contentType User) 
=> ContentType contentType

request content-type (MimeType)

-> User

"body" - Updated user object

-> Username

"username" - name of the user that needs to be updated

-> OpenAPIPetstoreRequest UpdateUser contentType NoContent MimeNoContent 
PUT /user/{username}

Updated user

This can only be done by the logged in user.

data UpdateUser Source #

Instances
Produces UpdateUser MimeNoContent Source # 
Instance details

Defined in OpenAPIPetstore.API.User

MimeType mtype => Consumes UpdateUser mtype Source #
*/*
Instance details

Defined in OpenAPIPetstore.API.User

HasBodyParam UpdateUser User Source #

Body Param "body" - Updated user object

Instance details

Defined in OpenAPIPetstore.API.User

Methods

setBodyParam :: (Consumes UpdateUser contentType, MimeRender contentType User) => OpenAPIPetstoreRequest UpdateUser contentType res accept -> User -> OpenAPIPetstoreRequest UpdateUser contentType res accept Source #

\ No newline at end of file diff --git a/samples/client/petstore/haskell-http-client/docs/src/OpenAPIPetstore.API.User.html b/samples/client/petstore/haskell-http-client/docs/src/OpenAPIPetstore.API.User.html index 39fa7b4e49f9..98e45a6437e5 100644 --- a/samples/client/petstore/haskell-http-client/docs/src/OpenAPIPetstore.API.User.html +++ b/samples/client/petstore/haskell-http-client/docs/src/OpenAPIPetstore.API.User.html @@ -225,7 +225,7 @@ :: (Consumes UpdateUser contentType, MimeRender contentType User) => ContentType contentType -- ^ request content-type ('MimeType') -> User -- ^ "body" - Updated user object - -> Username -- ^ "username" - name that need to be deleted + -> Username -- ^ "username" - name of the user that needs to be updated -> OpenAPIPetstoreRequest UpdateUser contentType NoContent MimeNoContent updateUser _ body (Username username) = _mkRequest "PUT" ["/user/",toPath username] diff --git a/samples/client/petstore/haskell-http-client/lib/OpenAPIPetstore/API/User.hs b/samples/client/petstore/haskell-http-client/lib/OpenAPIPetstore/API/User.hs index 80db14091dfd..1d842f63bdca 100644 --- a/samples/client/petstore/haskell-http-client/lib/OpenAPIPetstore/API/User.hs +++ b/samples/client/petstore/haskell-http-client/lib/OpenAPIPetstore/API/User.hs @@ -225,7 +225,7 @@ updateUser :: (Consumes UpdateUser contentType, MimeRender contentType User) => ContentType contentType -- ^ request content-type ('MimeType') -> User -- ^ "body" - Updated user object - -> Username -- ^ "username" - name that need to be deleted + -> Username -- ^ "username" - name of the user that needs to be updated -> OpenAPIPetstoreRequest UpdateUser contentType NoContent MimeNoContent updateUser _ body (Username username) = _mkRequest "PUT" ["/user/",toPath username] diff --git a/samples/client/petstore/haskell-http-client/openapi.yaml b/samples/client/petstore/haskell-http-client/openapi.yaml index 4c7dda7a3b82..7ea885942e40 100644 --- a/samples/client/petstore/haskell-http-client/openapi.yaml +++ b/samples/client/petstore/haskell-http-client/openapi.yaml @@ -563,7 +563,7 @@ paths: description: This can only be done by the logged in user. operationId: updateUser parameters: - - description: name that need to be deleted + - description: name of the user that needs to be updated in: path name: username required: true diff --git a/samples/client/petstore/java/feign-no-nullable/api/openapi.yaml b/samples/client/petstore/java/feign-no-nullable/api/openapi.yaml index 0b3ef3a11c93..41270eeca3f7 100644 --- a/samples/client/petstore/java/feign-no-nullable/api/openapi.yaml +++ b/samples/client/petstore/java/feign-no-nullable/api/openapi.yaml @@ -590,7 +590,7 @@ paths: description: This can only be done by the logged in user. operationId: updateUser parameters: - - description: name that need to be deleted + - description: name of the user that needs to be updated in: path name: username required: true diff --git a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/api/UserApi.java b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/api/UserApi.java index 40b6010dab2e..dc7b9f4c5242 100644 --- a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/api/UserApi.java +++ b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/api/UserApi.java @@ -137,7 +137,7 @@ public LoginUserQueryParams password(final String value) { /** * Updated user * This can only be done by the logged in user. - * @param username name that need to be deleted (required) + * @param username name of the user that needs to be updated (required) * @param body Updated user object (required) */ @RequestLine("PUT /user/{username}") diff --git a/samples/client/petstore/java/feign/api/openapi.yaml b/samples/client/petstore/java/feign/api/openapi.yaml index 0b3ef3a11c93..41270eeca3f7 100644 --- a/samples/client/petstore/java/feign/api/openapi.yaml +++ b/samples/client/petstore/java/feign/api/openapi.yaml @@ -590,7 +590,7 @@ paths: description: This can only be done by the logged in user. operationId: updateUser parameters: - - description: name that need to be deleted + - description: name of the user that needs to be updated in: path name: username required: true diff --git a/samples/client/petstore/java/feign/feign10x/api/openapi.yaml b/samples/client/petstore/java/feign/feign10x/api/openapi.yaml index a49359fd348c..45db35fbf92f 100644 --- a/samples/client/petstore/java/feign/feign10x/api/openapi.yaml +++ b/samples/client/petstore/java/feign/feign10x/api/openapi.yaml @@ -590,7 +590,7 @@ paths: description: This can only be done by the logged in user. operationId: updateUser parameters: - - description: name that need to be deleted + - description: name of the user that needs to be updated in: path name: username required: true diff --git a/samples/client/petstore/java/feign/feign10x/src/main/java/org/openapitools/client/api/UserApi.java b/samples/client/petstore/java/feign/feign10x/src/main/java/org/openapitools/client/api/UserApi.java index 40b6010dab2e..dc7b9f4c5242 100644 --- a/samples/client/petstore/java/feign/feign10x/src/main/java/org/openapitools/client/api/UserApi.java +++ b/samples/client/petstore/java/feign/feign10x/src/main/java/org/openapitools/client/api/UserApi.java @@ -137,7 +137,7 @@ public LoginUserQueryParams password(final String value) { /** * Updated user * This can only be done by the logged in user. - * @param username name that need to be deleted (required) + * @param username name of the user that needs to be updated (required) * @param body Updated user object (required) */ @RequestLine("PUT /user/{username}") diff --git a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/api/UserApi.java b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/api/UserApi.java index 40b6010dab2e..dc7b9f4c5242 100644 --- a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/api/UserApi.java +++ b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/api/UserApi.java @@ -137,7 +137,7 @@ public LoginUserQueryParams password(final String value) { /** * Updated user * This can only be done by the logged in user. - * @param username name that need to be deleted (required) + * @param username name of the user that needs to be updated (required) * @param body Updated user object (required) */ @RequestLine("PUT /user/{username}") diff --git a/samples/client/petstore/java/google-api-client/api/openapi.yaml b/samples/client/petstore/java/google-api-client/api/openapi.yaml index 0b3ef3a11c93..41270eeca3f7 100644 --- a/samples/client/petstore/java/google-api-client/api/openapi.yaml +++ b/samples/client/petstore/java/google-api-client/api/openapi.yaml @@ -590,7 +590,7 @@ paths: description: This can only be done by the logged in user. operationId: updateUser parameters: - - description: name that need to be deleted + - description: name of the user that needs to be updated in: path name: username required: true diff --git a/samples/client/petstore/java/google-api-client/docs/UserApi.md b/samples/client/petstore/java/google-api-client/docs/UserApi.md index ca9f550c3167..4fcc051637b8 100644 --- a/samples/client/petstore/java/google-api-client/docs/UserApi.md +++ b/samples/client/petstore/java/google-api-client/docs/UserApi.md @@ -481,7 +481,7 @@ public class Example { defaultClient.setBasePath("http://petstore.swagger.io:80/v2"); UserApi apiInstance = new UserApi(defaultClient); - String username = "username_example"; // String | name that need to be deleted + String username = "username_example"; // String | name of the user that needs to be updated User body = new User(); // User | Updated user object try { apiInstance.updateUser(username, body); @@ -501,7 +501,7 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **username** | **String**| name that need to be deleted | + **username** | **String**| name of the user that needs to be updated | **body** | [**User**](User.md)| Updated user object | ### Return type diff --git a/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/api/UserApi.java b/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/api/UserApi.java index eaf587737db9..66d28848380e 100644 --- a/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/api/UserApi.java +++ b/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/api/UserApi.java @@ -631,7 +631,7 @@ public HttpResponse logoutUserForHttpResponse(Map params) throws * This can only be done by the logged in user. *

400 - Invalid user supplied *

404 - User not found - * @param username name that need to be deleted + * @param username name of the user that needs to be updated * @param body Updated user object * @throws IOException if an error occurs while attempting to invoke the API **/ @@ -644,7 +644,7 @@ public void updateUser(String username, User body) throws IOException { * This can only be done by the logged in user. *

400 - Invalid user supplied *

404 - User not found - * @param username name that need to be deleted + * @param username name of the user that needs to be updated * @param body Updated user object * @param params Map of query params. A collection will be interpreted as passing in multiple instances of the same query param. * @throws IOException if an error occurs while attempting to invoke the API diff --git a/samples/client/petstore/java/jersey1/api/openapi.yaml b/samples/client/petstore/java/jersey1/api/openapi.yaml index 0b3ef3a11c93..41270eeca3f7 100644 --- a/samples/client/petstore/java/jersey1/api/openapi.yaml +++ b/samples/client/petstore/java/jersey1/api/openapi.yaml @@ -590,7 +590,7 @@ paths: description: This can only be done by the logged in user. operationId: updateUser parameters: - - description: name that need to be deleted + - description: name of the user that needs to be updated in: path name: username required: true diff --git a/samples/client/petstore/java/jersey1/docs/UserApi.md b/samples/client/petstore/java/jersey1/docs/UserApi.md index ca9f550c3167..4fcc051637b8 100644 --- a/samples/client/petstore/java/jersey1/docs/UserApi.md +++ b/samples/client/petstore/java/jersey1/docs/UserApi.md @@ -481,7 +481,7 @@ public class Example { defaultClient.setBasePath("http://petstore.swagger.io:80/v2"); UserApi apiInstance = new UserApi(defaultClient); - String username = "username_example"; // String | name that need to be deleted + String username = "username_example"; // String | name of the user that needs to be updated User body = new User(); // User | Updated user object try { apiInstance.updateUser(username, body); @@ -501,7 +501,7 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **username** | **String**| name that need to be deleted | + **username** | **String**| name of the user that needs to be updated | **body** | [**User**](User.md)| Updated user object | ### Return type diff --git a/samples/client/petstore/java/jersey1/src/main/java/org/openapitools/client/api/UserApi.java b/samples/client/petstore/java/jersey1/src/main/java/org/openapitools/client/api/UserApi.java index 1c6ce952c316..4083f98b9b72 100644 --- a/samples/client/petstore/java/jersey1/src/main/java/org/openapitools/client/api/UserApi.java +++ b/samples/client/petstore/java/jersey1/src/main/java/org/openapitools/client/api/UserApi.java @@ -358,7 +358,7 @@ public void logoutUser() throws ApiException { /** * Updated user * This can only be done by the logged in user. - * @param username name that need to be deleted (required) + * @param username name of the user that needs to be updated (required) * @param body Updated user object (required) * @throws ApiException if fails to make API call */ diff --git a/samples/client/petstore/java/jersey2-java8/api/openapi.yaml b/samples/client/petstore/java/jersey2-java8/api/openapi.yaml index 0b3ef3a11c93..41270eeca3f7 100644 --- a/samples/client/petstore/java/jersey2-java8/api/openapi.yaml +++ b/samples/client/petstore/java/jersey2-java8/api/openapi.yaml @@ -590,7 +590,7 @@ paths: description: This can only be done by the logged in user. operationId: updateUser parameters: - - description: name that need to be deleted + - description: name of the user that needs to be updated in: path name: username required: true diff --git a/samples/client/petstore/java/jersey2-java8/docs/UserApi.md b/samples/client/petstore/java/jersey2-java8/docs/UserApi.md index d81d5f802230..e75ab4044aed 100644 --- a/samples/client/petstore/java/jersey2-java8/docs/UserApi.md +++ b/samples/client/petstore/java/jersey2-java8/docs/UserApi.md @@ -481,7 +481,7 @@ public class Example { defaultClient.setBasePath("http://petstore.swagger.io:80/v2"); UserApi apiInstance = new UserApi(defaultClient); - String username = "username_example"; // String | name that need to be deleted + String username = "username_example"; // String | name of the user that needs to be updated User body = new User(); // User | Updated user object try { apiInstance.updateUser(username, body); @@ -501,7 +501,7 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **username** | **String**| name that need to be deleted | + **username** | **String**| name of the user that needs to be updated | **body** | [**User**](User.md)| Updated user object | ### Return type diff --git a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/api/UserApi.java b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/api/UserApi.java index cf1f8c794073..068d35ec17ad 100644 --- a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/api/UserApi.java +++ b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/api/UserApi.java @@ -514,7 +514,7 @@ public ApiResponse logoutUserWithHttpInfo() throws ApiException { /** * Updated user * This can only be done by the logged in user. - * @param username name that need to be deleted (required) + * @param username name of the user that needs to be updated (required) * @param body Updated user object (required) * @throws ApiException if fails to make API call * @http.response.details @@ -531,7 +531,7 @@ public void updateUser(String username, User body) throws ApiException { /** * Updated user * This can only be done by the logged in user. - * @param username name that need to be deleted (required) + * @param username name of the user that needs to be updated (required) * @param body Updated user object (required) * @return ApiResponse<Void> * @throws ApiException if fails to make API call diff --git a/samples/client/petstore/java/microprofile-rest-client/docs/UserApi.md b/samples/client/petstore/java/microprofile-rest-client/docs/UserApi.md index 891af2578894..bda3fb768c41 100644 --- a/samples/client/petstore/java/microprofile-rest-client/docs/UserApi.md +++ b/samples/client/petstore/java/microprofile-rest-client/docs/UserApi.md @@ -486,7 +486,7 @@ public class Example { defaultClient.setBasePath("http://petstore.swagger.io/v2"); UserApi apiInstance = new UserApi(defaultClient); - String username = "username_example"; // String | name that need to be deleted + String username = "username_example"; // String | name of the user that needs to be updated User body = new User(); // User | Updated user object try { void result = apiInstance.updateUser(username, body); @@ -507,7 +507,7 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **username** | **String**| name that need to be deleted | + **username** | **String**| name of the user that needs to be updated | **body** | [**User**](User.md)| Updated user object | ### Return type diff --git a/samples/client/petstore/java/native-async/api/openapi.yaml b/samples/client/petstore/java/native-async/api/openapi.yaml index 0b3ef3a11c93..41270eeca3f7 100644 --- a/samples/client/petstore/java/native-async/api/openapi.yaml +++ b/samples/client/petstore/java/native-async/api/openapi.yaml @@ -590,7 +590,7 @@ paths: description: This can only be done by the logged in user. operationId: updateUser parameters: - - description: name that need to be deleted + - description: name of the user that needs to be updated in: path name: username required: true diff --git a/samples/client/petstore/java/native-async/docs/UserApi.md b/samples/client/petstore/java/native-async/docs/UserApi.md index ef3c6265600a..6aca0fc7d54a 100644 --- a/samples/client/petstore/java/native-async/docs/UserApi.md +++ b/samples/client/petstore/java/native-async/docs/UserApi.md @@ -1023,7 +1023,7 @@ public class Example { defaultClient.setBasePath("http://petstore.swagger.io:80/v2"); UserApi apiInstance = new UserApi(defaultClient); - String username = "username_example"; // String | name that need to be deleted + String username = "username_example"; // String | name of the user that needs to be updated User body = new User(); // User | Updated user object try { CompletableFuture result = apiInstance.updateUser(username, body); @@ -1043,7 +1043,7 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **username** | **String**| name that need to be deleted | + **username** | **String**| name of the user that needs to be updated | **body** | [**User**](User.md)| Updated user object | ### Return type @@ -1092,7 +1092,7 @@ public class Example { defaultClient.setBasePath("http://petstore.swagger.io:80/v2"); UserApi apiInstance = new UserApi(defaultClient); - String username = "username_example"; // String | name that need to be deleted + String username = "username_example"; // String | name of the user that needs to be updated User body = new User(); // User | Updated user object try { CompletableFuture> response = apiInstance.updateUserWithHttpInfo(username, body); @@ -1121,7 +1121,7 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **username** | **String**| name that need to be deleted | + **username** | **String**| name of the user that needs to be updated | **body** | [**User**](User.md)| Updated user object | ### Return type diff --git a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/api/UserApi.java b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/api/UserApi.java index bb13d02a2030..ae431ecb95ad 100644 --- a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/api/UserApi.java +++ b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/api/UserApi.java @@ -639,7 +639,7 @@ private HttpRequest.Builder logoutUserRequestBuilder() throws ApiException { /** * Updated user * This can only be done by the logged in user. - * @param username name that need to be deleted (required) + * @param username name of the user that needs to be updated (required) * @param body Updated user object (required) * @throws ApiException if fails to make API call */ @@ -663,7 +663,7 @@ public CompletableFuture updateUser(String username, User body) throws Api /** * Updated user * This can only be done by the logged in user. - * @param username name that need to be deleted (required) + * @param username name of the user that needs to be updated (required) * @param body Updated user object (required) * @return CompletableFuture<ApiResponse<Void>> * @throws ApiException if fails to make API call diff --git a/samples/client/petstore/java/native/api/openapi.yaml b/samples/client/petstore/java/native/api/openapi.yaml index 0b3ef3a11c93..41270eeca3f7 100644 --- a/samples/client/petstore/java/native/api/openapi.yaml +++ b/samples/client/petstore/java/native/api/openapi.yaml @@ -590,7 +590,7 @@ paths: description: This can only be done by the logged in user. operationId: updateUser parameters: - - description: name that need to be deleted + - description: name of the user that needs to be updated in: path name: username required: true diff --git a/samples/client/petstore/java/native/docs/UserApi.md b/samples/client/petstore/java/native/docs/UserApi.md index 7188e70cb95b..f7475ed90165 100644 --- a/samples/client/petstore/java/native/docs/UserApi.md +++ b/samples/client/petstore/java/native/docs/UserApi.md @@ -959,7 +959,7 @@ public class Example { defaultClient.setBasePath("http://petstore.swagger.io:80/v2"); UserApi apiInstance = new UserApi(defaultClient); - String username = "username_example"; // String | name that need to be deleted + String username = "username_example"; // String | name of the user that needs to be updated User body = new User(); // User | Updated user object try { apiInstance.updateUser(username, body); @@ -979,7 +979,7 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **username** | **String**| name that need to be deleted | + **username** | **String**| name of the user that needs to be updated | **body** | [**User**](User.md)| Updated user object | ### Return type @@ -1027,7 +1027,7 @@ public class Example { defaultClient.setBasePath("http://petstore.swagger.io:80/v2"); UserApi apiInstance = new UserApi(defaultClient); - String username = "username_example"; // String | name that need to be deleted + String username = "username_example"; // String | name of the user that needs to be updated User body = new User(); // User | Updated user object try { ApiResponse response = apiInstance.updateUserWithHttpInfo(username, body); @@ -1049,7 +1049,7 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **username** | **String**| name that need to be deleted | + **username** | **String**| name of the user that needs to be updated | **body** | [**User**](User.md)| Updated user object | ### Return type diff --git a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/api/UserApi.java b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/api/UserApi.java index 6e5b6a147090..97d67bf3300a 100644 --- a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/api/UserApi.java +++ b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/api/UserApi.java @@ -578,7 +578,7 @@ private HttpRequest.Builder logoutUserRequestBuilder() throws ApiException { /** * Updated user * This can only be done by the logged in user. - * @param username name that need to be deleted (required) + * @param username name of the user that needs to be updated (required) * @param body Updated user object (required) * @throws ApiException if fails to make API call */ @@ -589,7 +589,7 @@ public void updateUser(String username, User body) throws ApiException { /** * Updated user * This can only be done by the logged in user. - * @param username name that need to be deleted (required) + * @param username name of the user that needs to be updated (required) * @param body Updated user object (required) * @return ApiResponse<Void> * @throws ApiException if fails to make API call diff --git a/samples/client/petstore/java/okhttp-gson-dynamicOperations/docs/UserApi.md b/samples/client/petstore/java/okhttp-gson-dynamicOperations/docs/UserApi.md index 7a90fb438b19..d0302b0c235a 100644 --- a/samples/client/petstore/java/okhttp-gson-dynamicOperations/docs/UserApi.md +++ b/samples/client/petstore/java/okhttp-gson-dynamicOperations/docs/UserApi.md @@ -458,7 +458,7 @@ public class Example { defaultClient.setBasePath("http://petstore.swagger.io:80/v2"); UserApi apiInstance = new UserApi(defaultClient); - String username = "username_example"; // String | name that need to be deleted + String username = "username_example"; // String | name of the user that needs to be updated User body = new User(); // User | Updated user object try { apiInstance.updateUser(username, body); @@ -477,7 +477,7 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **username** | **String**| name that need to be deleted | + **username** | **String**| name of the user that needs to be updated | **body** | [**User**](User.md)| Updated user object | ### Return type diff --git a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/api/UserApi.java b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/api/UserApi.java index 4abe365e3adc..7e72183c9b9a 100644 --- a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/api/UserApi.java +++ b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/api/UserApi.java @@ -892,7 +892,7 @@ public okhttp3.Call logoutUserAsync(final ApiCallback _callback) throws Ap } /** * Build call for updateUser - * @param username name that need to be deleted (required) + * @param username name of the user that needs to be updated (required) * @param body Updated user object (required) * @param _callback Callback for upload/download progress * @return Call to execute @@ -965,7 +965,7 @@ private okhttp3.Call updateUserValidateBeforeCall(String username, User body, fi /** * Updated user * This can only be done by the logged in user. - * @param username name that need to be deleted (required) + * @param username name of the user that needs to be updated (required) * @param body Updated user object (required) * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -982,7 +982,7 @@ public void updateUser(String username, User body) throws ApiException { /** * Updated user * This can only be done by the logged in user. - * @param username name that need to be deleted (required) + * @param username name of the user that needs to be updated (required) * @param body Updated user object (required) * @return ApiResponse<Void> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body @@ -1001,7 +1001,7 @@ public ApiResponse updateUserWithHttpInfo(String username, User body) thro /** * Updated user (asynchronously) * This can only be done by the logged in user. - * @param username name that need to be deleted (required) + * @param username name of the user that needs to be updated (required) * @param body Updated user object (required) * @param _callback The callback to be executed when the API call finishes * @return The request call diff --git a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/resources/openapi/openapi.yaml b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/resources/openapi/openapi.yaml index 0b3ef3a11c93..41270eeca3f7 100644 --- a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/resources/openapi/openapi.yaml +++ b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/resources/openapi/openapi.yaml @@ -590,7 +590,7 @@ paths: description: This can only be done by the logged in user. operationId: updateUser parameters: - - description: name that need to be deleted + - description: name of the user that needs to be updated in: path name: username required: true diff --git a/samples/client/petstore/java/okhttp-gson-parcelableModel/api/openapi.yaml b/samples/client/petstore/java/okhttp-gson-parcelableModel/api/openapi.yaml index 0b3ef3a11c93..41270eeca3f7 100644 --- a/samples/client/petstore/java/okhttp-gson-parcelableModel/api/openapi.yaml +++ b/samples/client/petstore/java/okhttp-gson-parcelableModel/api/openapi.yaml @@ -590,7 +590,7 @@ paths: description: This can only be done by the logged in user. operationId: updateUser parameters: - - description: name that need to be deleted + - description: name of the user that needs to be updated in: path name: username required: true diff --git a/samples/client/petstore/java/okhttp-gson-parcelableModel/docs/UserApi.md b/samples/client/petstore/java/okhttp-gson-parcelableModel/docs/UserApi.md index 7a90fb438b19..d0302b0c235a 100644 --- a/samples/client/petstore/java/okhttp-gson-parcelableModel/docs/UserApi.md +++ b/samples/client/petstore/java/okhttp-gson-parcelableModel/docs/UserApi.md @@ -458,7 +458,7 @@ public class Example { defaultClient.setBasePath("http://petstore.swagger.io:80/v2"); UserApi apiInstance = new UserApi(defaultClient); - String username = "username_example"; // String | name that need to be deleted + String username = "username_example"; // String | name of the user that needs to be updated User body = new User(); // User | Updated user object try { apiInstance.updateUser(username, body); @@ -477,7 +477,7 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **username** | **String**| name that need to be deleted | + **username** | **String**| name of the user that needs to be updated | **body** | [**User**](User.md)| Updated user object | ### Return type diff --git a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/api/UserApi.java b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/api/UserApi.java index 3c78c4049b5f..265beea1259e 100644 --- a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/api/UserApi.java +++ b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/api/UserApi.java @@ -839,7 +839,7 @@ public okhttp3.Call logoutUserAsync(final ApiCallback _callback) throws Ap } /** * Build call for updateUser - * @param username name that need to be deleted (required) + * @param username name of the user that needs to be updated (required) * @param body Updated user object (required) * @param _callback Callback for upload/download progress * @return Call to execute @@ -904,7 +904,7 @@ private okhttp3.Call updateUserValidateBeforeCall(String username, User body, fi /** * Updated user * This can only be done by the logged in user. - * @param username name that need to be deleted (required) + * @param username name of the user that needs to be updated (required) * @param body Updated user object (required) * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -921,7 +921,7 @@ public void updateUser(String username, User body) throws ApiException { /** * Updated user * This can only be done by the logged in user. - * @param username name that need to be deleted (required) + * @param username name of the user that needs to be updated (required) * @param body Updated user object (required) * @return ApiResponse<Void> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body @@ -940,7 +940,7 @@ public ApiResponse updateUserWithHttpInfo(String username, User body) thro /** * Updated user (asynchronously) * This can only be done by the logged in user. - * @param username name that need to be deleted (required) + * @param username name of the user that needs to be updated (required) * @param body Updated user object (required) * @param _callback The callback to be executed when the API call finishes * @return The request call diff --git a/samples/client/petstore/java/okhttp-gson/api/openapi.yaml b/samples/client/petstore/java/okhttp-gson/api/openapi.yaml index 0b3ef3a11c93..41270eeca3f7 100644 --- a/samples/client/petstore/java/okhttp-gson/api/openapi.yaml +++ b/samples/client/petstore/java/okhttp-gson/api/openapi.yaml @@ -590,7 +590,7 @@ paths: description: This can only be done by the logged in user. operationId: updateUser parameters: - - description: name that need to be deleted + - description: name of the user that needs to be updated in: path name: username required: true diff --git a/samples/client/petstore/java/okhttp-gson/docs/UserApi.md b/samples/client/petstore/java/okhttp-gson/docs/UserApi.md index 7a90fb438b19..d0302b0c235a 100644 --- a/samples/client/petstore/java/okhttp-gson/docs/UserApi.md +++ b/samples/client/petstore/java/okhttp-gson/docs/UserApi.md @@ -458,7 +458,7 @@ public class Example { defaultClient.setBasePath("http://petstore.swagger.io:80/v2"); UserApi apiInstance = new UserApi(defaultClient); - String username = "username_example"; // String | name that need to be deleted + String username = "username_example"; // String | name of the user that needs to be updated User body = new User(); // User | Updated user object try { apiInstance.updateUser(username, body); @@ -477,7 +477,7 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **username** | **String**| name that need to be deleted | + **username** | **String**| name of the user that needs to be updated | **body** | [**User**](User.md)| Updated user object | ### Return type diff --git a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/api/UserApi.java b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/api/UserApi.java index 3c78c4049b5f..265beea1259e 100644 --- a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/api/UserApi.java +++ b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/api/UserApi.java @@ -839,7 +839,7 @@ public okhttp3.Call logoutUserAsync(final ApiCallback _callback) throws Ap } /** * Build call for updateUser - * @param username name that need to be deleted (required) + * @param username name of the user that needs to be updated (required) * @param body Updated user object (required) * @param _callback Callback for upload/download progress * @return Call to execute @@ -904,7 +904,7 @@ private okhttp3.Call updateUserValidateBeforeCall(String username, User body, fi /** * Updated user * This can only be done by the logged in user. - * @param username name that need to be deleted (required) + * @param username name of the user that needs to be updated (required) * @param body Updated user object (required) * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -921,7 +921,7 @@ public void updateUser(String username, User body) throws ApiException { /** * Updated user * This can only be done by the logged in user. - * @param username name that need to be deleted (required) + * @param username name of the user that needs to be updated (required) * @param body Updated user object (required) * @return ApiResponse<Void> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body @@ -940,7 +940,7 @@ public ApiResponse updateUserWithHttpInfo(String username, User body) thro /** * Updated user (asynchronously) * This can only be done by the logged in user. - * @param username name that need to be deleted (required) + * @param username name of the user that needs to be updated (required) * @param body Updated user object (required) * @param _callback The callback to be executed when the API call finishes * @return The request call diff --git a/samples/client/petstore/java/rest-assured-jackson/api/openapi.yaml b/samples/client/petstore/java/rest-assured-jackson/api/openapi.yaml index 0b3ef3a11c93..41270eeca3f7 100644 --- a/samples/client/petstore/java/rest-assured-jackson/api/openapi.yaml +++ b/samples/client/petstore/java/rest-assured-jackson/api/openapi.yaml @@ -590,7 +590,7 @@ paths: description: This can only be done by the logged in user. operationId: updateUser parameters: - - description: name that need to be deleted + - description: name of the user that needs to be updated in: path name: username required: true diff --git a/samples/client/petstore/java/rest-assured-jackson/docs/UserApi.md b/samples/client/petstore/java/rest-assured-jackson/docs/UserApi.md index 5f5a5dbd3627..538f165678e0 100644 --- a/samples/client/petstore/java/rest-assured-jackson/docs/UserApi.md +++ b/samples/client/petstore/java/rest-assured-jackson/docs/UserApi.md @@ -324,7 +324,7 @@ api.updateUser() Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **username** | **String**| name that need to be deleted | + **username** | **String**| name of the user that needs to be updated | **body** | [**User**](User.md)| Updated user object | ### Return type diff --git a/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/api/UserApi.java b/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/api/UserApi.java index 4caf52a8d5f8..ada3b9251cee 100644 --- a/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/api/UserApi.java +++ b/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/api/UserApi.java @@ -621,7 +621,7 @@ public LogoutUserOper respSpec(Consumer respSpecCustomizer) * Updated user * This can only be done by the logged in user. * - * @see #usernamePath name that need to be deleted (required) + * @see #usernamePath name of the user that needs to be updated (required) * @see #body Updated user object (required) */ public static class UpdateUserOper implements Oper { @@ -662,7 +662,7 @@ public UpdateUserOper body(User body) { public static final String USERNAME_PATH = "username"; /** - * @param username (String) name that need to be deleted (required) + * @param username (String) name of the user that needs to be updated (required) * @return operation */ public UpdateUserOper usernamePath(Object username) { diff --git a/samples/client/petstore/java/rest-assured/api/openapi.yaml b/samples/client/petstore/java/rest-assured/api/openapi.yaml index 0b3ef3a11c93..41270eeca3f7 100644 --- a/samples/client/petstore/java/rest-assured/api/openapi.yaml +++ b/samples/client/petstore/java/rest-assured/api/openapi.yaml @@ -590,7 +590,7 @@ paths: description: This can only be done by the logged in user. operationId: updateUser parameters: - - description: name that need to be deleted + - description: name of the user that needs to be updated in: path name: username required: true diff --git a/samples/client/petstore/java/rest-assured/docs/UserApi.md b/samples/client/petstore/java/rest-assured/docs/UserApi.md index 5f5a5dbd3627..538f165678e0 100644 --- a/samples/client/petstore/java/rest-assured/docs/UserApi.md +++ b/samples/client/petstore/java/rest-assured/docs/UserApi.md @@ -324,7 +324,7 @@ api.updateUser() Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **username** | **String**| name that need to be deleted | + **username** | **String**| name of the user that needs to be updated | **body** | [**User**](User.md)| Updated user object | ### Return type diff --git a/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/api/UserApi.java b/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/api/UserApi.java index 4b2ee75cb922..b1c5895511b1 100644 --- a/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/api/UserApi.java +++ b/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/api/UserApi.java @@ -622,7 +622,7 @@ public LogoutUserOper respSpec(Consumer respSpecCustomizer) * Updated user * This can only be done by the logged in user. * - * @see #usernamePath name that need to be deleted (required) + * @see #usernamePath name of the user that needs to be updated (required) * @see #body Updated user object (required) */ public static class UpdateUserOper implements Oper { @@ -663,7 +663,7 @@ public UpdateUserOper body(User body) { public static final String USERNAME_PATH = "username"; /** - * @param username (String) name that need to be deleted (required) + * @param username (String) name of the user that needs to be updated (required) * @return operation */ public UpdateUserOper usernamePath(Object username) { diff --git a/samples/client/petstore/java/resteasy/api/openapi.yaml b/samples/client/petstore/java/resteasy/api/openapi.yaml index 0b3ef3a11c93..41270eeca3f7 100644 --- a/samples/client/petstore/java/resteasy/api/openapi.yaml +++ b/samples/client/petstore/java/resteasy/api/openapi.yaml @@ -590,7 +590,7 @@ paths: description: This can only be done by the logged in user. operationId: updateUser parameters: - - description: name that need to be deleted + - description: name of the user that needs to be updated in: path name: username required: true diff --git a/samples/client/petstore/java/resteasy/docs/UserApi.md b/samples/client/petstore/java/resteasy/docs/UserApi.md index ca9f550c3167..4fcc051637b8 100644 --- a/samples/client/petstore/java/resteasy/docs/UserApi.md +++ b/samples/client/petstore/java/resteasy/docs/UserApi.md @@ -481,7 +481,7 @@ public class Example { defaultClient.setBasePath("http://petstore.swagger.io:80/v2"); UserApi apiInstance = new UserApi(defaultClient); - String username = "username_example"; // String | name that need to be deleted + String username = "username_example"; // String | name of the user that needs to be updated User body = new User(); // User | Updated user object try { apiInstance.updateUser(username, body); @@ -501,7 +501,7 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **username** | **String**| name that need to be deleted | + **username** | **String**| name of the user that needs to be updated | **body** | [**User**](User.md)| Updated user object | ### Return type diff --git a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/api/UserApi.java b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/api/UserApi.java index 96c7210bf240..3152f235bcb7 100644 --- a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/api/UserApi.java +++ b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/api/UserApi.java @@ -337,7 +337,7 @@ public void logoutUser() throws ApiException { /** * Updated user * This can only be done by the logged in user. - * @param username name that need to be deleted (required) + * @param username name of the user that needs to be updated (required) * @param body Updated user object (required) * @throws ApiException if fails to make API call */ diff --git a/samples/client/petstore/java/resttemplate-withXml/api/openapi.yaml b/samples/client/petstore/java/resttemplate-withXml/api/openapi.yaml index 0b3ef3a11c93..41270eeca3f7 100644 --- a/samples/client/petstore/java/resttemplate-withXml/api/openapi.yaml +++ b/samples/client/petstore/java/resttemplate-withXml/api/openapi.yaml @@ -590,7 +590,7 @@ paths: description: This can only be done by the logged in user. operationId: updateUser parameters: - - description: name that need to be deleted + - description: name of the user that needs to be updated in: path name: username required: true diff --git a/samples/client/petstore/java/resttemplate-withXml/docs/UserApi.md b/samples/client/petstore/java/resttemplate-withXml/docs/UserApi.md index ca9f550c3167..4fcc051637b8 100644 --- a/samples/client/petstore/java/resttemplate-withXml/docs/UserApi.md +++ b/samples/client/petstore/java/resttemplate-withXml/docs/UserApi.md @@ -481,7 +481,7 @@ public class Example { defaultClient.setBasePath("http://petstore.swagger.io:80/v2"); UserApi apiInstance = new UserApi(defaultClient); - String username = "username_example"; // String | name that need to be deleted + String username = "username_example"; // String | name of the user that needs to be updated User body = new User(); // User | Updated user object try { apiInstance.updateUser(username, body); @@ -501,7 +501,7 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **username** | **String**| name that need to be deleted | + **username** | **String**| name of the user that needs to be updated | **body** | [**User**](User.md)| Updated user object | ### Return type diff --git a/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/api/UserApi.java b/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/api/UserApi.java index 35f6e6609633..b7d878143eb0 100644 --- a/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/api/UserApi.java +++ b/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/api/UserApi.java @@ -383,7 +383,7 @@ public ResponseEntity logoutUserWithHttpInfo() throws RestClientException * This can only be done by the logged in user. *

400 - Invalid user supplied *

404 - User not found - * @param username name that need to be deleted (required) + * @param username name of the user that needs to be updated (required) * @param body Updated user object (required) * @throws RestClientException if an error occurs while attempting to invoke the API */ @@ -396,7 +396,7 @@ public void updateUser(String username, User body) throws RestClientException { * This can only be done by the logged in user. *

400 - Invalid user supplied *

404 - User not found - * @param username name that need to be deleted (required) + * @param username name of the user that needs to be updated (required) * @param body Updated user object (required) * @return ResponseEntity<Void> * @throws RestClientException if an error occurs while attempting to invoke the API diff --git a/samples/client/petstore/java/resttemplate/api/openapi.yaml b/samples/client/petstore/java/resttemplate/api/openapi.yaml index 0b3ef3a11c93..41270eeca3f7 100644 --- a/samples/client/petstore/java/resttemplate/api/openapi.yaml +++ b/samples/client/petstore/java/resttemplate/api/openapi.yaml @@ -590,7 +590,7 @@ paths: description: This can only be done by the logged in user. operationId: updateUser parameters: - - description: name that need to be deleted + - description: name of the user that needs to be updated in: path name: username required: true diff --git a/samples/client/petstore/java/resttemplate/docs/UserApi.md b/samples/client/petstore/java/resttemplate/docs/UserApi.md index ca9f550c3167..4fcc051637b8 100644 --- a/samples/client/petstore/java/resttemplate/docs/UserApi.md +++ b/samples/client/petstore/java/resttemplate/docs/UserApi.md @@ -481,7 +481,7 @@ public class Example { defaultClient.setBasePath("http://petstore.swagger.io:80/v2"); UserApi apiInstance = new UserApi(defaultClient); - String username = "username_example"; // String | name that need to be deleted + String username = "username_example"; // String | name of the user that needs to be updated User body = new User(); // User | Updated user object try { apiInstance.updateUser(username, body); @@ -501,7 +501,7 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **username** | **String**| name that need to be deleted | + **username** | **String**| name of the user that needs to be updated | **body** | [**User**](User.md)| Updated user object | ### Return type diff --git a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/api/UserApi.java b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/api/UserApi.java index 35f6e6609633..b7d878143eb0 100644 --- a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/api/UserApi.java +++ b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/api/UserApi.java @@ -383,7 +383,7 @@ public ResponseEntity logoutUserWithHttpInfo() throws RestClientException * This can only be done by the logged in user. *

400 - Invalid user supplied *

404 - User not found - * @param username name that need to be deleted (required) + * @param username name of the user that needs to be updated (required) * @param body Updated user object (required) * @throws RestClientException if an error occurs while attempting to invoke the API */ @@ -396,7 +396,7 @@ public void updateUser(String username, User body) throws RestClientException { * This can only be done by the logged in user. *

400 - Invalid user supplied *

404 - User not found - * @param username name that need to be deleted (required) + * @param username name of the user that needs to be updated (required) * @param body Updated user object (required) * @return ResponseEntity<Void> * @throws RestClientException if an error occurs while attempting to invoke the API diff --git a/samples/client/petstore/java/retrofit2-play26/api/openapi.yaml b/samples/client/petstore/java/retrofit2-play26/api/openapi.yaml index 0b3ef3a11c93..41270eeca3f7 100644 --- a/samples/client/petstore/java/retrofit2-play26/api/openapi.yaml +++ b/samples/client/petstore/java/retrofit2-play26/api/openapi.yaml @@ -590,7 +590,7 @@ paths: description: This can only be done by the logged in user. operationId: updateUser parameters: - - description: name that need to be deleted + - description: name of the user that needs to be updated in: path name: username required: true diff --git a/samples/client/petstore/java/retrofit2-play26/docs/UserApi.md b/samples/client/petstore/java/retrofit2-play26/docs/UserApi.md index d03e871ce01b..d1dcbcbde487 100644 --- a/samples/client/petstore/java/retrofit2-play26/docs/UserApi.md +++ b/samples/client/petstore/java/retrofit2-play26/docs/UserApi.md @@ -481,7 +481,7 @@ public class Example { defaultClient.setBasePath("http://petstore.swagger.io:80/v2"); UserApi apiInstance = new UserApi(defaultClient); - String username = "username_example"; // String | name that need to be deleted + String username = "username_example"; // String | name of the user that needs to be updated User body = new User(); // User | Updated user object try { apiInstance.updateUser(username, body); @@ -501,7 +501,7 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **username** | **String**| name that need to be deleted | + **username** | **String**| name of the user that needs to be updated | **body** | [**User**](User.md)| Updated user object | ### Return type diff --git a/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/api/UserApi.java b/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/api/UserApi.java index 3208b159ade7..28b29e793b6d 100644 --- a/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/api/UserApi.java +++ b/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/api/UserApi.java @@ -101,7 +101,7 @@ CompletionStage> loginUser( /** * Updated user * This can only be done by the logged in user. - * @param username name that need to be deleted (required) + * @param username name of the user that needs to be updated (required) * @param body Updated user object (required) * @return Call<Void> */ diff --git a/samples/client/petstore/java/retrofit2/api/openapi.yaml b/samples/client/petstore/java/retrofit2/api/openapi.yaml index 0b3ef3a11c93..41270eeca3f7 100644 --- a/samples/client/petstore/java/retrofit2/api/openapi.yaml +++ b/samples/client/petstore/java/retrofit2/api/openapi.yaml @@ -590,7 +590,7 @@ paths: description: This can only be done by the logged in user. operationId: updateUser parameters: - - description: name that need to be deleted + - description: name of the user that needs to be updated in: path name: username required: true diff --git a/samples/client/petstore/java/retrofit2/docs/UserApi.md b/samples/client/petstore/java/retrofit2/docs/UserApi.md index d03e871ce01b..d1dcbcbde487 100644 --- a/samples/client/petstore/java/retrofit2/docs/UserApi.md +++ b/samples/client/petstore/java/retrofit2/docs/UserApi.md @@ -481,7 +481,7 @@ public class Example { defaultClient.setBasePath("http://petstore.swagger.io:80/v2"); UserApi apiInstance = new UserApi(defaultClient); - String username = "username_example"; // String | name that need to be deleted + String username = "username_example"; // String | name of the user that needs to be updated User body = new User(); // User | Updated user object try { apiInstance.updateUser(username, body); @@ -501,7 +501,7 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **username** | **String**| name that need to be deleted | + **username** | **String**| name of the user that needs to be updated | **body** | [**User**](User.md)| Updated user object | ### Return type diff --git a/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/api/UserApi.java b/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/api/UserApi.java index be6071fd7d0e..049c9bb74e53 100644 --- a/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/api/UserApi.java +++ b/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/api/UserApi.java @@ -96,7 +96,7 @@ Call loginUser( /** * Updated user * This can only be done by the logged in user. - * @param username name that need to be deleted (required) + * @param username name of the user that needs to be updated (required) * @param body Updated user object (required) * @return Call<Void> */ diff --git a/samples/client/petstore/java/retrofit2rx2/api/openapi.yaml b/samples/client/petstore/java/retrofit2rx2/api/openapi.yaml index 0b3ef3a11c93..41270eeca3f7 100644 --- a/samples/client/petstore/java/retrofit2rx2/api/openapi.yaml +++ b/samples/client/petstore/java/retrofit2rx2/api/openapi.yaml @@ -590,7 +590,7 @@ paths: description: This can only be done by the logged in user. operationId: updateUser parameters: - - description: name that need to be deleted + - description: name of the user that needs to be updated in: path name: username required: true diff --git a/samples/client/petstore/java/retrofit2rx2/docs/UserApi.md b/samples/client/petstore/java/retrofit2rx2/docs/UserApi.md index d03e871ce01b..d1dcbcbde487 100644 --- a/samples/client/petstore/java/retrofit2rx2/docs/UserApi.md +++ b/samples/client/petstore/java/retrofit2rx2/docs/UserApi.md @@ -481,7 +481,7 @@ public class Example { defaultClient.setBasePath("http://petstore.swagger.io:80/v2"); UserApi apiInstance = new UserApi(defaultClient); - String username = "username_example"; // String | name that need to be deleted + String username = "username_example"; // String | name of the user that needs to be updated User body = new User(); // User | Updated user object try { apiInstance.updateUser(username, body); @@ -501,7 +501,7 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **username** | **String**| name that need to be deleted | + **username** | **String**| name of the user that needs to be updated | **body** | [**User**](User.md)| Updated user object | ### Return type diff --git a/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/api/UserApi.java b/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/api/UserApi.java index 134d9ea66f5d..bc9e4feef07f 100644 --- a/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/api/UserApi.java +++ b/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/api/UserApi.java @@ -97,7 +97,7 @@ Observable loginUser( /** * Updated user * This can only be done by the logged in user. - * @param username name that need to be deleted (required) + * @param username name of the user that needs to be updated (required) * @param body Updated user object (required) * @return Completable */ diff --git a/samples/client/petstore/java/retrofit2rx3/api/openapi.yaml b/samples/client/petstore/java/retrofit2rx3/api/openapi.yaml index 0b3ef3a11c93..41270eeca3f7 100644 --- a/samples/client/petstore/java/retrofit2rx3/api/openapi.yaml +++ b/samples/client/petstore/java/retrofit2rx3/api/openapi.yaml @@ -590,7 +590,7 @@ paths: description: This can only be done by the logged in user. operationId: updateUser parameters: - - description: name that need to be deleted + - description: name of the user that needs to be updated in: path name: username required: true diff --git a/samples/client/petstore/java/retrofit2rx3/docs/UserApi.md b/samples/client/petstore/java/retrofit2rx3/docs/UserApi.md index d03e871ce01b..d1dcbcbde487 100644 --- a/samples/client/petstore/java/retrofit2rx3/docs/UserApi.md +++ b/samples/client/petstore/java/retrofit2rx3/docs/UserApi.md @@ -481,7 +481,7 @@ public class Example { defaultClient.setBasePath("http://petstore.swagger.io:80/v2"); UserApi apiInstance = new UserApi(defaultClient); - String username = "username_example"; // String | name that need to be deleted + String username = "username_example"; // String | name of the user that needs to be updated User body = new User(); // User | Updated user object try { apiInstance.updateUser(username, body); @@ -501,7 +501,7 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **username** | **String**| name that need to be deleted | + **username** | **String**| name of the user that needs to be updated | **body** | [**User**](User.md)| Updated user object | ### Return type diff --git a/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/api/UserApi.java b/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/api/UserApi.java index 7be5be28df39..ce281d75a3b5 100644 --- a/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/api/UserApi.java +++ b/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/api/UserApi.java @@ -97,7 +97,7 @@ Observable loginUser( /** * Updated user * This can only be done by the logged in user. - * @param username name that need to be deleted (required) + * @param username name of the user that needs to be updated (required) * @param body Updated user object (required) * @return Completable */ diff --git a/samples/client/petstore/java/vertx-no-nullable/api/openapi.yaml b/samples/client/petstore/java/vertx-no-nullable/api/openapi.yaml index 0b3ef3a11c93..41270eeca3f7 100644 --- a/samples/client/petstore/java/vertx-no-nullable/api/openapi.yaml +++ b/samples/client/petstore/java/vertx-no-nullable/api/openapi.yaml @@ -590,7 +590,7 @@ paths: description: This can only be done by the logged in user. operationId: updateUser parameters: - - description: name that need to be deleted + - description: name of the user that needs to be updated in: path name: username required: true diff --git a/samples/client/petstore/java/vertx-no-nullable/docs/UserApi.md b/samples/client/petstore/java/vertx-no-nullable/docs/UserApi.md index ca9f550c3167..4fcc051637b8 100644 --- a/samples/client/petstore/java/vertx-no-nullable/docs/UserApi.md +++ b/samples/client/petstore/java/vertx-no-nullable/docs/UserApi.md @@ -481,7 +481,7 @@ public class Example { defaultClient.setBasePath("http://petstore.swagger.io:80/v2"); UserApi apiInstance = new UserApi(defaultClient); - String username = "username_example"; // String | name that need to be deleted + String username = "username_example"; // String | name of the user that needs to be updated User body = new User(); // User | Updated user object try { apiInstance.updateUser(username, body); @@ -501,7 +501,7 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **username** | **String**| name that need to be deleted | + **username** | **String**| name of the user that needs to be updated | **body** | [**User**](User.md)| Updated user object | ### Return type diff --git a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/api/UserApiImpl.java b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/api/UserApiImpl.java index 7c2885ba3bc1..8c70804b854a 100644 --- a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/api/UserApiImpl.java +++ b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/api/UserApiImpl.java @@ -381,7 +381,7 @@ public void logoutUser(ApiClient.AuthInfo authInfo, Handler> r /** * Updated user * This can only be done by the logged in user. - * @param username name that need to be deleted (required) + * @param username name of the user that needs to be updated (required) * @param body Updated user object (required) * @param resultHandler Asynchronous result handler */ @@ -392,7 +392,7 @@ public void updateUser(String username, User body, Handler> re /** * Updated user * This can only be done by the logged in user. - * @param username name that need to be deleted (required) + * @param username name of the user that needs to be updated (required) * @param body Updated user object (required) * @param authInfo per call authentication override. * @param resultHandler Asynchronous result handler diff --git a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/api/rxjava/UserApi.java b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/api/rxjava/UserApi.java index 51280eef3804..2cd69047ecda 100644 --- a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/api/rxjava/UserApi.java +++ b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/api/rxjava/UserApi.java @@ -340,7 +340,7 @@ public Single rxLogoutUser(ApiClient.AuthInfo authInfo) { /** * Updated user * This can only be done by the logged in user. - * @param username name that need to be deleted (required) + * @param username name of the user that needs to be updated (required) * @param body Updated user object (required) * @param resultHandler Asynchronous result handler */ @@ -351,7 +351,7 @@ public void updateUser(String username, User body, Handler> re /** * Updated user * This can only be done by the logged in user. - * @param username name that need to be deleted (required) + * @param username name of the user that needs to be updated (required) * @param body Updated user object (required) * @param authInfo call specific auth overrides * @param resultHandler Asynchronous result handler @@ -363,7 +363,7 @@ public void updateUser(String username, User body, ApiClient.AuthInfo authInfo, /** * Updated user * This can only be done by the logged in user. - * @param username name that need to be deleted (required) + * @param username name of the user that needs to be updated (required) * @param body Updated user object (required) * @return Asynchronous result handler (RxJava Single) */ @@ -376,7 +376,7 @@ public Single rxUpdateUser(String username, User body) { /** * Updated user * This can only be done by the logged in user. - * @param username name that need to be deleted (required) + * @param username name of the user that needs to be updated (required) * @param body Updated user object (required) * @param authInfo call specific auth overrides * @return Asynchronous result handler (RxJava Single) diff --git a/samples/client/petstore/java/vertx/api/openapi.yaml b/samples/client/petstore/java/vertx/api/openapi.yaml index 0b3ef3a11c93..41270eeca3f7 100644 --- a/samples/client/petstore/java/vertx/api/openapi.yaml +++ b/samples/client/petstore/java/vertx/api/openapi.yaml @@ -590,7 +590,7 @@ paths: description: This can only be done by the logged in user. operationId: updateUser parameters: - - description: name that need to be deleted + - description: name of the user that needs to be updated in: path name: username required: true diff --git a/samples/client/petstore/java/vertx/docs/UserApi.md b/samples/client/petstore/java/vertx/docs/UserApi.md index ca9f550c3167..4fcc051637b8 100644 --- a/samples/client/petstore/java/vertx/docs/UserApi.md +++ b/samples/client/petstore/java/vertx/docs/UserApi.md @@ -481,7 +481,7 @@ public class Example { defaultClient.setBasePath("http://petstore.swagger.io:80/v2"); UserApi apiInstance = new UserApi(defaultClient); - String username = "username_example"; // String | name that need to be deleted + String username = "username_example"; // String | name of the user that needs to be updated User body = new User(); // User | Updated user object try { apiInstance.updateUser(username, body); @@ -501,7 +501,7 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **username** | **String**| name that need to be deleted | + **username** | **String**| name of the user that needs to be updated | **body** | [**User**](User.md)| Updated user object | ### Return type diff --git a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/api/UserApiImpl.java b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/api/UserApiImpl.java index 7c2885ba3bc1..8c70804b854a 100644 --- a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/api/UserApiImpl.java +++ b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/api/UserApiImpl.java @@ -381,7 +381,7 @@ public void logoutUser(ApiClient.AuthInfo authInfo, Handler> r /** * Updated user * This can only be done by the logged in user. - * @param username name that need to be deleted (required) + * @param username name of the user that needs to be updated (required) * @param body Updated user object (required) * @param resultHandler Asynchronous result handler */ @@ -392,7 +392,7 @@ public void updateUser(String username, User body, Handler> re /** * Updated user * This can only be done by the logged in user. - * @param username name that need to be deleted (required) + * @param username name of the user that needs to be updated (required) * @param body Updated user object (required) * @param authInfo per call authentication override. * @param resultHandler Asynchronous result handler diff --git a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/api/rxjava/UserApi.java b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/api/rxjava/UserApi.java index 51280eef3804..2cd69047ecda 100644 --- a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/api/rxjava/UserApi.java +++ b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/api/rxjava/UserApi.java @@ -340,7 +340,7 @@ public Single rxLogoutUser(ApiClient.AuthInfo authInfo) { /** * Updated user * This can only be done by the logged in user. - * @param username name that need to be deleted (required) + * @param username name of the user that needs to be updated (required) * @param body Updated user object (required) * @param resultHandler Asynchronous result handler */ @@ -351,7 +351,7 @@ public void updateUser(String username, User body, Handler> re /** * Updated user * This can only be done by the logged in user. - * @param username name that need to be deleted (required) + * @param username name of the user that needs to be updated (required) * @param body Updated user object (required) * @param authInfo call specific auth overrides * @param resultHandler Asynchronous result handler @@ -363,7 +363,7 @@ public void updateUser(String username, User body, ApiClient.AuthInfo authInfo, /** * Updated user * This can only be done by the logged in user. - * @param username name that need to be deleted (required) + * @param username name of the user that needs to be updated (required) * @param body Updated user object (required) * @return Asynchronous result handler (RxJava Single) */ @@ -376,7 +376,7 @@ public Single rxUpdateUser(String username, User body) { /** * Updated user * This can only be done by the logged in user. - * @param username name that need to be deleted (required) + * @param username name of the user that needs to be updated (required) * @param body Updated user object (required) * @param authInfo call specific auth overrides * @return Asynchronous result handler (RxJava Single) diff --git a/samples/client/petstore/java/webclient/api/openapi.yaml b/samples/client/petstore/java/webclient/api/openapi.yaml index 0b3ef3a11c93..41270eeca3f7 100644 --- a/samples/client/petstore/java/webclient/api/openapi.yaml +++ b/samples/client/petstore/java/webclient/api/openapi.yaml @@ -590,7 +590,7 @@ paths: description: This can only be done by the logged in user. operationId: updateUser parameters: - - description: name that need to be deleted + - description: name of the user that needs to be updated in: path name: username required: true diff --git a/samples/client/petstore/java/webclient/docs/UserApi.md b/samples/client/petstore/java/webclient/docs/UserApi.md index ca9f550c3167..4fcc051637b8 100644 --- a/samples/client/petstore/java/webclient/docs/UserApi.md +++ b/samples/client/petstore/java/webclient/docs/UserApi.md @@ -481,7 +481,7 @@ public class Example { defaultClient.setBasePath("http://petstore.swagger.io:80/v2"); UserApi apiInstance = new UserApi(defaultClient); - String username = "username_example"; // String | name that need to be deleted + String username = "username_example"; // String | name of the user that needs to be updated User body = new User(); // User | Updated user object try { apiInstance.updateUser(username, body); @@ -501,7 +501,7 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **username** | **String**| name that need to be deleted | + **username** | **String**| name of the user that needs to be updated | **body** | [**User**](User.md)| Updated user object | ### Return type diff --git a/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/api/UserApi.java b/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/api/UserApi.java index 62188c93a1cc..4e8179ae5fb0 100644 --- a/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/api/UserApi.java +++ b/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/api/UserApi.java @@ -284,7 +284,7 @@ public Mono logoutUser() throws WebClientResponseException { * This can only be done by the logged in user. *

400 - Invalid user supplied *

404 - User not found - * @param username name that need to be deleted + * @param username name of the user that needs to be updated * @param body Updated user object * @throws WebClientResponseException if an error occurs while attempting to invoke the API */ diff --git a/samples/client/petstore/javascript-apollo/docs/UserApi.md b/samples/client/petstore/javascript-apollo/docs/UserApi.md index 01e0bc048dbf..4b61bf25317a 100644 --- a/samples/client/petstore/javascript-apollo/docs/UserApi.md +++ b/samples/client/petstore/javascript-apollo/docs/UserApi.md @@ -332,7 +332,7 @@ This can only be done by the logged in user. import OpenApiPetstore from 'open_api_petstore'; let apiInstance = new OpenApiPetstore.UserApi(); -let username = "username_example"; // String | name that need to be deleted +let username = "username_example"; // String | name of the user that needs to be updated let body = new OpenApiPetstore.User(); // User | Updated user object apiInstance.updateUser(username, body, (error, data, response) => { if (error) { @@ -348,7 +348,7 @@ apiInstance.updateUser(username, body, (error, data, response) => { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **username** | **String**| name that need to be deleted | + **username** | **String**| name of the user that needs to be updated | **body** | [**User**](User.md)| Updated user object | ### Return type diff --git a/samples/client/petstore/javascript-apollo/src/api/UserApi.js b/samples/client/petstore/javascript-apollo/src/api/UserApi.js index 9d8c47b9e014..6a406c3bd118 100644 --- a/samples/client/petstore/javascript-apollo/src/api/UserApi.js +++ b/samples/client/petstore/javascript-apollo/src/api/UserApi.js @@ -274,7 +274,7 @@ export default class UserApi extends ApiClient { /** * Updated user * This can only be done by the logged in user. - * @param {String} username name that need to be deleted + * @param {String} username name of the user that needs to be updated * @param {User} body Updated user object * @return {Promise} */ diff --git a/samples/client/petstore/javascript-closure-angular/API/Client/UserApi.js b/samples/client/petstore/javascript-closure-angular/API/Client/UserApi.js index 1b8b3fc744b7..27ac0ebab0c6 100644 --- a/samples/client/petstore/javascript-closure-angular/API/Client/UserApi.js +++ b/samples/client/petstore/javascript-closure-angular/API/Client/UserApi.js @@ -311,7 +311,7 @@ API.Client.UserApi.prototype.logoutUser = function(opt_extraHttpRequestParams) { /** * Updated user * This can only be done by the logged in user. - * @param {!string} username name that need to be deleted + * @param {!string} username name of the user that needs to be updated * @param {!User} user Updated user object * @param {!angular.$http.Config=} opt_extraHttpRequestParams Extra HTTP parameters to send. * @return {!angular.$q.Promise} diff --git a/samples/client/petstore/javascript-es6/docs/UserApi.md b/samples/client/petstore/javascript-es6/docs/UserApi.md index c45620854176..6f9b70445058 100644 --- a/samples/client/petstore/javascript-es6/docs/UserApi.md +++ b/samples/client/petstore/javascript-es6/docs/UserApi.md @@ -332,7 +332,7 @@ This can only be done by the logged in user. import OpenApiPetstore from 'open_api_petstore'; let apiInstance = new OpenApiPetstore.UserApi(); -let username = "username_example"; // String | name that need to be deleted +let username = "username_example"; // String | name of the user that needs to be updated let user = new OpenApiPetstore.User(); // User | Updated user object apiInstance.updateUser(username, user, (error, data, response) => { if (error) { @@ -348,7 +348,7 @@ apiInstance.updateUser(username, user, (error, data, response) => { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **username** | **String**| name that need to be deleted | + **username** | **String**| name of the user that needs to be updated | **user** | [**User**](User.md)| Updated user object | ### Return type diff --git a/samples/client/petstore/javascript-es6/src/api/UserApi.js b/samples/client/petstore/javascript-es6/src/api/UserApi.js index 83720dd3a1dd..ea265cdc0563 100644 --- a/samples/client/petstore/javascript-es6/src/api/UserApi.js +++ b/samples/client/petstore/javascript-es6/src/api/UserApi.js @@ -333,7 +333,7 @@ export default class UserApi { /** * Updated user * This can only be done by the logged in user. - * @param {String} username name that need to be deleted + * @param {String} username name of the user that needs to be updated * @param {module:model/User} user Updated user object * @param {module:api/UserApi~updateUserCallback} callback The callback function, accepting three arguments: error, data, response */ diff --git a/samples/client/petstore/javascript-promise-es6/docs/UserApi.md b/samples/client/petstore/javascript-promise-es6/docs/UserApi.md index 9d6f340886b6..29fdcefe5ae5 100644 --- a/samples/client/petstore/javascript-promise-es6/docs/UserApi.md +++ b/samples/client/petstore/javascript-promise-es6/docs/UserApi.md @@ -325,7 +325,7 @@ This can only be done by the logged in user. import OpenApiPetstore from 'open_api_petstore'; let apiInstance = new OpenApiPetstore.UserApi(); -let username = "username_example"; // String | name that need to be deleted +let username = "username_example"; // String | name of the user that needs to be updated let user = new OpenApiPetstore.User(); // User | Updated user object apiInstance.updateUser(username, user).then(() => { console.log('API called successfully.'); @@ -340,7 +340,7 @@ apiInstance.updateUser(username, user).then(() => { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **username** | **String**| name that need to be deleted | + **username** | **String**| name of the user that needs to be updated | **user** | [**User**](User.md)| Updated user object | ### Return type diff --git a/samples/client/petstore/javascript-promise-es6/src/api/UserApi.js b/samples/client/petstore/javascript-promise-es6/src/api/UserApi.js index 976e0da36da7..41d82e2ffc4c 100644 --- a/samples/client/petstore/javascript-promise-es6/src/api/UserApi.js +++ b/samples/client/petstore/javascript-promise-es6/src/api/UserApi.js @@ -361,7 +361,7 @@ export default class UserApi { /** * Updated user * This can only be done by the logged in user. - * @param {String} username name that need to be deleted + * @param {String} username name of the user that needs to be updated * @param {module:model/User} user Updated user object * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response */ @@ -400,7 +400,7 @@ export default class UserApi { /** * Updated user * This can only be done by the logged in user. - * @param {String} username name that need to be deleted + * @param {String} username name of the user that needs to be updated * @param {module:model/User} user Updated user object * @return {Promise} a {@link https://www.promisejs.org/|Promise} */ diff --git a/samples/client/petstore/kotlin-gson/docs/UserApi.md b/samples/client/petstore/kotlin-gson/docs/UserApi.md index fd98ce696add..eee3a3f5710b 100644 --- a/samples/client/petstore/kotlin-gson/docs/UserApi.md +++ b/samples/client/petstore/kotlin-gson/docs/UserApi.md @@ -341,7 +341,7 @@ This can only be done by the logged in user. //import org.openapitools.client.models.* val apiInstance = UserApi() -val username : kotlin.String = username_example // kotlin.String | name that need to be deleted +val username : kotlin.String = username_example // kotlin.String | name of the user that needs to be updated val body : User = // User | Updated user object try { apiInstance.updateUser(username, body) @@ -358,7 +358,7 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **username** | **kotlin.String**| name that need to be deleted | + **username** | **kotlin.String**| name of the user that needs to be updated | **body** | [**User**](User.md)| Updated user object | ### Return type diff --git a/samples/client/petstore/kotlin-gson/src/main/kotlin/org/openapitools/client/apis/UserApi.kt b/samples/client/petstore/kotlin-gson/src/main/kotlin/org/openapitools/client/apis/UserApi.kt index 258a2540e9e8..d74e4b8bbd06 100644 --- a/samples/client/petstore/kotlin-gson/src/main/kotlin/org/openapitools/client/apis/UserApi.kt +++ b/samples/client/petstore/kotlin-gson/src/main/kotlin/org/openapitools/client/apis/UserApi.kt @@ -322,7 +322,7 @@ class UserApi(basePath: kotlin.String = defaultBasePath) : ApiClient(basePath) { /** * Updated user * This can only be done by the logged in user. - * @param username name that need to be deleted + * @param username name of the user that needs to be updated * @param body Updated user object * @return void * @throws UnsupportedOperationException If the API returns an informational or redirection response diff --git a/samples/client/petstore/kotlin-jackson/docs/UserApi.md b/samples/client/petstore/kotlin-jackson/docs/UserApi.md index fd98ce696add..eee3a3f5710b 100644 --- a/samples/client/petstore/kotlin-jackson/docs/UserApi.md +++ b/samples/client/petstore/kotlin-jackson/docs/UserApi.md @@ -341,7 +341,7 @@ This can only be done by the logged in user. //import org.openapitools.client.models.* val apiInstance = UserApi() -val username : kotlin.String = username_example // kotlin.String | name that need to be deleted +val username : kotlin.String = username_example // kotlin.String | name of the user that needs to be updated val body : User = // User | Updated user object try { apiInstance.updateUser(username, body) @@ -358,7 +358,7 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **username** | **kotlin.String**| name that need to be deleted | + **username** | **kotlin.String**| name of the user that needs to be updated | **body** | [**User**](User.md)| Updated user object | ### Return type diff --git a/samples/client/petstore/kotlin-jackson/src/main/kotlin/org/openapitools/client/apis/UserApi.kt b/samples/client/petstore/kotlin-jackson/src/main/kotlin/org/openapitools/client/apis/UserApi.kt index 258a2540e9e8..d74e4b8bbd06 100644 --- a/samples/client/petstore/kotlin-jackson/src/main/kotlin/org/openapitools/client/apis/UserApi.kt +++ b/samples/client/petstore/kotlin-jackson/src/main/kotlin/org/openapitools/client/apis/UserApi.kt @@ -322,7 +322,7 @@ class UserApi(basePath: kotlin.String = defaultBasePath) : ApiClient(basePath) { /** * Updated user * This can only be done by the logged in user. - * @param username name that need to be deleted + * @param username name of the user that needs to be updated * @param body Updated user object * @return void * @throws UnsupportedOperationException If the API returns an informational or redirection response diff --git a/samples/client/petstore/kotlin-json-request-string/docs/UserApi.md b/samples/client/petstore/kotlin-json-request-string/docs/UserApi.md index fd98ce696add..eee3a3f5710b 100644 --- a/samples/client/petstore/kotlin-json-request-string/docs/UserApi.md +++ b/samples/client/petstore/kotlin-json-request-string/docs/UserApi.md @@ -341,7 +341,7 @@ This can only be done by the logged in user. //import org.openapitools.client.models.* val apiInstance = UserApi() -val username : kotlin.String = username_example // kotlin.String | name that need to be deleted +val username : kotlin.String = username_example // kotlin.String | name of the user that needs to be updated val body : User = // User | Updated user object try { apiInstance.updateUser(username, body) @@ -358,7 +358,7 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **username** | **kotlin.String**| name that need to be deleted | + **username** | **kotlin.String**| name of the user that needs to be updated | **body** | [**User**](User.md)| Updated user object | ### Return type diff --git a/samples/client/petstore/kotlin-json-request-string/src/main/kotlin/org/openapitools/client/apis/UserApi.kt b/samples/client/petstore/kotlin-json-request-string/src/main/kotlin/org/openapitools/client/apis/UserApi.kt index 258a2540e9e8..d74e4b8bbd06 100644 --- a/samples/client/petstore/kotlin-json-request-string/src/main/kotlin/org/openapitools/client/apis/UserApi.kt +++ b/samples/client/petstore/kotlin-json-request-string/src/main/kotlin/org/openapitools/client/apis/UserApi.kt @@ -322,7 +322,7 @@ class UserApi(basePath: kotlin.String = defaultBasePath) : ApiClient(basePath) { /** * Updated user * This can only be done by the logged in user. - * @param username name that need to be deleted + * @param username name of the user that needs to be updated * @param body Updated user object * @return void * @throws UnsupportedOperationException If the API returns an informational or redirection response diff --git a/samples/client/petstore/kotlin-jvm-okhttp4-coroutines/docs/UserApi.md b/samples/client/petstore/kotlin-jvm-okhttp4-coroutines/docs/UserApi.md index fd98ce696add..eee3a3f5710b 100644 --- a/samples/client/petstore/kotlin-jvm-okhttp4-coroutines/docs/UserApi.md +++ b/samples/client/petstore/kotlin-jvm-okhttp4-coroutines/docs/UserApi.md @@ -341,7 +341,7 @@ This can only be done by the logged in user. //import org.openapitools.client.models.* val apiInstance = UserApi() -val username : kotlin.String = username_example // kotlin.String | name that need to be deleted +val username : kotlin.String = username_example // kotlin.String | name of the user that needs to be updated val body : User = // User | Updated user object try { apiInstance.updateUser(username, body) @@ -358,7 +358,7 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **username** | **kotlin.String**| name that need to be deleted | + **username** | **kotlin.String**| name of the user that needs to be updated | **body** | [**User**](User.md)| Updated user object | ### Return type diff --git a/samples/client/petstore/kotlin-jvm-okhttp4-coroutines/src/main/kotlin/org/openapitools/client/apis/UserApi.kt b/samples/client/petstore/kotlin-jvm-okhttp4-coroutines/src/main/kotlin/org/openapitools/client/apis/UserApi.kt index 6494674c7f3d..f0a7bea341dd 100644 --- a/samples/client/petstore/kotlin-jvm-okhttp4-coroutines/src/main/kotlin/org/openapitools/client/apis/UserApi.kt +++ b/samples/client/petstore/kotlin-jvm-okhttp4-coroutines/src/main/kotlin/org/openapitools/client/apis/UserApi.kt @@ -322,7 +322,7 @@ class UserApi(basePath: kotlin.String = defaultBasePath) : ApiClient(basePath) { /** * Updated user * This can only be done by the logged in user. - * @param username name that need to be deleted + * @param username name of the user that needs to be updated * @param body Updated user object * @return void * @throws UnsupportedOperationException If the API returns an informational or redirection response diff --git a/samples/client/petstore/kotlin-moshi-codegen/docs/UserApi.md b/samples/client/petstore/kotlin-moshi-codegen/docs/UserApi.md index fd98ce696add..eee3a3f5710b 100644 --- a/samples/client/petstore/kotlin-moshi-codegen/docs/UserApi.md +++ b/samples/client/petstore/kotlin-moshi-codegen/docs/UserApi.md @@ -341,7 +341,7 @@ This can only be done by the logged in user. //import org.openapitools.client.models.* val apiInstance = UserApi() -val username : kotlin.String = username_example // kotlin.String | name that need to be deleted +val username : kotlin.String = username_example // kotlin.String | name of the user that needs to be updated val body : User = // User | Updated user object try { apiInstance.updateUser(username, body) @@ -358,7 +358,7 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **username** | **kotlin.String**| name that need to be deleted | + **username** | **kotlin.String**| name of the user that needs to be updated | **body** | [**User**](User.md)| Updated user object | ### Return type diff --git a/samples/client/petstore/kotlin-moshi-codegen/src/main/kotlin/org/openapitools/client/apis/UserApi.kt b/samples/client/petstore/kotlin-moshi-codegen/src/main/kotlin/org/openapitools/client/apis/UserApi.kt index 258a2540e9e8..d74e4b8bbd06 100644 --- a/samples/client/petstore/kotlin-moshi-codegen/src/main/kotlin/org/openapitools/client/apis/UserApi.kt +++ b/samples/client/petstore/kotlin-moshi-codegen/src/main/kotlin/org/openapitools/client/apis/UserApi.kt @@ -322,7 +322,7 @@ class UserApi(basePath: kotlin.String = defaultBasePath) : ApiClient(basePath) { /** * Updated user * This can only be done by the logged in user. - * @param username name that need to be deleted + * @param username name of the user that needs to be updated * @param body Updated user object * @return void * @throws UnsupportedOperationException If the API returns an informational or redirection response diff --git a/samples/client/petstore/kotlin-multiplatform/docs/UserApi.md b/samples/client/petstore/kotlin-multiplatform/docs/UserApi.md index fd98ce696add..eee3a3f5710b 100644 --- a/samples/client/petstore/kotlin-multiplatform/docs/UserApi.md +++ b/samples/client/petstore/kotlin-multiplatform/docs/UserApi.md @@ -341,7 +341,7 @@ This can only be done by the logged in user. //import org.openapitools.client.models.* val apiInstance = UserApi() -val username : kotlin.String = username_example // kotlin.String | name that need to be deleted +val username : kotlin.String = username_example // kotlin.String | name of the user that needs to be updated val body : User = // User | Updated user object try { apiInstance.updateUser(username, body) @@ -358,7 +358,7 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **username** | **kotlin.String**| name that need to be deleted | + **username** | **kotlin.String**| name of the user that needs to be updated | **body** | [**User**](User.md)| Updated user object | ### Return type diff --git a/samples/client/petstore/kotlin-multiplatform/src/commonMain/kotlin/org/openapitools/client/apis/UserApi.kt b/samples/client/petstore/kotlin-multiplatform/src/commonMain/kotlin/org/openapitools/client/apis/UserApi.kt index 88474dc9ef80..8646279824fe 100644 --- a/samples/client/petstore/kotlin-multiplatform/src/commonMain/kotlin/org/openapitools/client/apis/UserApi.kt +++ b/samples/client/petstore/kotlin-multiplatform/src/commonMain/kotlin/org/openapitools/client/apis/UserApi.kt @@ -286,7 +286,7 @@ class UserApi @UseExperimental(UnstableDefault::class) constructor( /** * Updated user * This can only be done by the logged in user. - * @param username name that need to be deleted + * @param username name of the user that needs to be updated * @param body Updated user object * @return void */ diff --git a/samples/client/petstore/kotlin-nonpublic/docs/UserApi.md b/samples/client/petstore/kotlin-nonpublic/docs/UserApi.md index fd98ce696add..eee3a3f5710b 100644 --- a/samples/client/petstore/kotlin-nonpublic/docs/UserApi.md +++ b/samples/client/petstore/kotlin-nonpublic/docs/UserApi.md @@ -341,7 +341,7 @@ This can only be done by the logged in user. //import org.openapitools.client.models.* val apiInstance = UserApi() -val username : kotlin.String = username_example // kotlin.String | name that need to be deleted +val username : kotlin.String = username_example // kotlin.String | name of the user that needs to be updated val body : User = // User | Updated user object try { apiInstance.updateUser(username, body) @@ -358,7 +358,7 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **username** | **kotlin.String**| name that need to be deleted | + **username** | **kotlin.String**| name of the user that needs to be updated | **body** | [**User**](User.md)| Updated user object | ### Return type diff --git a/samples/client/petstore/kotlin-nonpublic/src/main/kotlin/org/openapitools/client/apis/UserApi.kt b/samples/client/petstore/kotlin-nonpublic/src/main/kotlin/org/openapitools/client/apis/UserApi.kt index 725b36b01060..2cfee541d796 100644 --- a/samples/client/petstore/kotlin-nonpublic/src/main/kotlin/org/openapitools/client/apis/UserApi.kt +++ b/samples/client/petstore/kotlin-nonpublic/src/main/kotlin/org/openapitools/client/apis/UserApi.kt @@ -322,7 +322,7 @@ internal class UserApi(basePath: kotlin.String = defaultBasePath) : ApiClient(ba /** * Updated user * This can only be done by the logged in user. - * @param username name that need to be deleted + * @param username name of the user that needs to be updated * @param body Updated user object * @return void * @throws UnsupportedOperationException If the API returns an informational or redirection response diff --git a/samples/client/petstore/kotlin-nullable/docs/UserApi.md b/samples/client/petstore/kotlin-nullable/docs/UserApi.md index d91ca1e97cf8..2259a8bef75c 100644 --- a/samples/client/petstore/kotlin-nullable/docs/UserApi.md +++ b/samples/client/petstore/kotlin-nullable/docs/UserApi.md @@ -341,7 +341,7 @@ This can only be done by the logged in user. //import org.openapitools.client.models.* val apiInstance = UserApi() -val username : kotlin.String = username_example // kotlin.String | name that need to be deleted +val username : kotlin.String = username_example // kotlin.String | name of the user that needs to be updated val body : User = // User | Updated user object try { apiInstance.updateUser(username, body) @@ -358,7 +358,7 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **username** | **kotlin.String**| name that need to be deleted | + **username** | **kotlin.String**| name of the user that needs to be updated | **body** | [**User**](User.md)| Updated user object | ### Return type diff --git a/samples/client/petstore/kotlin-nullable/src/main/kotlin/org/openapitools/client/apis/UserApi.kt b/samples/client/petstore/kotlin-nullable/src/main/kotlin/org/openapitools/client/apis/UserApi.kt index 2ae5998489dd..85f97cba2bd6 100644 --- a/samples/client/petstore/kotlin-nullable/src/main/kotlin/org/openapitools/client/apis/UserApi.kt +++ b/samples/client/petstore/kotlin-nullable/src/main/kotlin/org/openapitools/client/apis/UserApi.kt @@ -322,7 +322,7 @@ class UserApi(basePath: kotlin.String = defaultBasePath) : ApiClient(basePath) { /** * Updated user * This can only be done by the logged in user. - * @param username name that need to be deleted + * @param username name of the user that needs to be updated * @param body Updated user object * @return void * @throws UnsupportedOperationException If the API returns an informational or redirection response diff --git a/samples/client/petstore/kotlin-okhttp3/docs/UserApi.md b/samples/client/petstore/kotlin-okhttp3/docs/UserApi.md index fd98ce696add..eee3a3f5710b 100644 --- a/samples/client/petstore/kotlin-okhttp3/docs/UserApi.md +++ b/samples/client/petstore/kotlin-okhttp3/docs/UserApi.md @@ -341,7 +341,7 @@ This can only be done by the logged in user. //import org.openapitools.client.models.* val apiInstance = UserApi() -val username : kotlin.String = username_example // kotlin.String | name that need to be deleted +val username : kotlin.String = username_example // kotlin.String | name of the user that needs to be updated val body : User = // User | Updated user object try { apiInstance.updateUser(username, body) @@ -358,7 +358,7 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **username** | **kotlin.String**| name that need to be deleted | + **username** | **kotlin.String**| name of the user that needs to be updated | **body** | [**User**](User.md)| Updated user object | ### Return type diff --git a/samples/client/petstore/kotlin-okhttp3/src/main/kotlin/org/openapitools/client/apis/UserApi.kt b/samples/client/petstore/kotlin-okhttp3/src/main/kotlin/org/openapitools/client/apis/UserApi.kt index 258a2540e9e8..d74e4b8bbd06 100644 --- a/samples/client/petstore/kotlin-okhttp3/src/main/kotlin/org/openapitools/client/apis/UserApi.kt +++ b/samples/client/petstore/kotlin-okhttp3/src/main/kotlin/org/openapitools/client/apis/UserApi.kt @@ -322,7 +322,7 @@ class UserApi(basePath: kotlin.String = defaultBasePath) : ApiClient(basePath) { /** * Updated user * This can only be done by the logged in user. - * @param username name that need to be deleted + * @param username name of the user that needs to be updated * @param body Updated user object * @return void * @throws UnsupportedOperationException If the API returns an informational or redirection response diff --git a/samples/client/petstore/kotlin-retrofit2-rx3/docs/UserApi.md b/samples/client/petstore/kotlin-retrofit2-rx3/docs/UserApi.md index 6d27b5096f64..de91c639762d 100644 --- a/samples/client/petstore/kotlin-retrofit2-rx3/docs/UserApi.md +++ b/samples/client/petstore/kotlin-retrofit2-rx3/docs/UserApi.md @@ -282,7 +282,7 @@ This can only be done by the logged in user. val apiClient = ApiClient() val webService = apiClient.createWebservice(UserApi::class.java) -val username : kotlin.String = username_example // kotlin.String | name that need to be deleted +val username : kotlin.String = username_example // kotlin.String | name of the user that needs to be updated val body : User = // User | Updated user object webService.updateUser(username, body) @@ -292,7 +292,7 @@ webService.updateUser(username, body) Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **username** | **kotlin.String**| name that need to be deleted | + **username** | **kotlin.String**| name of the user that needs to be updated | **body** | [**User**](User.md)| Updated user object | ### Return type diff --git a/samples/client/petstore/kotlin-retrofit2-rx3/src/main/kotlin/org/openapitools/client/apis/UserApi.kt b/samples/client/petstore/kotlin-retrofit2-rx3/src/main/kotlin/org/openapitools/client/apis/UserApi.kt index d6fad78e88f3..f569f28780c4 100644 --- a/samples/client/petstore/kotlin-retrofit2-rx3/src/main/kotlin/org/openapitools/client/apis/UserApi.kt +++ b/samples/client/petstore/kotlin-retrofit2-rx3/src/main/kotlin/org/openapitools/client/apis/UserApi.kt @@ -104,7 +104,7 @@ interface UserApi { * - 400: Invalid user supplied * - 404: User not found * - * @param username name that need to be deleted + * @param username name of the user that needs to be updated * @param body Updated user object * @return [Call]<[Unit]> */ diff --git a/samples/client/petstore/kotlin-retrofit2/docs/UserApi.md b/samples/client/petstore/kotlin-retrofit2/docs/UserApi.md index 6d27b5096f64..de91c639762d 100644 --- a/samples/client/petstore/kotlin-retrofit2/docs/UserApi.md +++ b/samples/client/petstore/kotlin-retrofit2/docs/UserApi.md @@ -282,7 +282,7 @@ This can only be done by the logged in user. val apiClient = ApiClient() val webService = apiClient.createWebservice(UserApi::class.java) -val username : kotlin.String = username_example // kotlin.String | name that need to be deleted +val username : kotlin.String = username_example // kotlin.String | name of the user that needs to be updated val body : User = // User | Updated user object webService.updateUser(username, body) @@ -292,7 +292,7 @@ webService.updateUser(username, body) Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **username** | **kotlin.String**| name that need to be deleted | + **username** | **kotlin.String**| name of the user that needs to be updated | **body** | [**User**](User.md)| Updated user object | ### Return type diff --git a/samples/client/petstore/kotlin-retrofit2/src/main/kotlin/org/openapitools/client/apis/UserApi.kt b/samples/client/petstore/kotlin-retrofit2/src/main/kotlin/org/openapitools/client/apis/UserApi.kt index 66c1e7fbd264..2155e4d9dbca 100644 --- a/samples/client/petstore/kotlin-retrofit2/src/main/kotlin/org/openapitools/client/apis/UserApi.kt +++ b/samples/client/petstore/kotlin-retrofit2/src/main/kotlin/org/openapitools/client/apis/UserApi.kt @@ -103,7 +103,7 @@ interface UserApi { * - 400: Invalid user supplied * - 404: User not found * - * @param username name that need to be deleted + * @param username name of the user that needs to be updated * @param body Updated user object * @return [Call]<[Unit]> */ diff --git a/samples/client/petstore/kotlin-string/docs/UserApi.md b/samples/client/petstore/kotlin-string/docs/UserApi.md index fd98ce696add..eee3a3f5710b 100644 --- a/samples/client/petstore/kotlin-string/docs/UserApi.md +++ b/samples/client/petstore/kotlin-string/docs/UserApi.md @@ -341,7 +341,7 @@ This can only be done by the logged in user. //import org.openapitools.client.models.* val apiInstance = UserApi() -val username : kotlin.String = username_example // kotlin.String | name that need to be deleted +val username : kotlin.String = username_example // kotlin.String | name of the user that needs to be updated val body : User = // User | Updated user object try { apiInstance.updateUser(username, body) @@ -358,7 +358,7 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **username** | **kotlin.String**| name that need to be deleted | + **username** | **kotlin.String**| name of the user that needs to be updated | **body** | [**User**](User.md)| Updated user object | ### Return type diff --git a/samples/client/petstore/kotlin-string/src/main/kotlin/org/openapitools/client/apis/UserApi.kt b/samples/client/petstore/kotlin-string/src/main/kotlin/org/openapitools/client/apis/UserApi.kt index 258a2540e9e8..d74e4b8bbd06 100644 --- a/samples/client/petstore/kotlin-string/src/main/kotlin/org/openapitools/client/apis/UserApi.kt +++ b/samples/client/petstore/kotlin-string/src/main/kotlin/org/openapitools/client/apis/UserApi.kt @@ -322,7 +322,7 @@ class UserApi(basePath: kotlin.String = defaultBasePath) : ApiClient(basePath) { /** * Updated user * This can only be done by the logged in user. - * @param username name that need to be deleted + * @param username name of the user that needs to be updated * @param body Updated user object * @return void * @throws UnsupportedOperationException If the API returns an informational or redirection response diff --git a/samples/client/petstore/kotlin-threetenbp/docs/UserApi.md b/samples/client/petstore/kotlin-threetenbp/docs/UserApi.md index fd98ce696add..eee3a3f5710b 100644 --- a/samples/client/petstore/kotlin-threetenbp/docs/UserApi.md +++ b/samples/client/petstore/kotlin-threetenbp/docs/UserApi.md @@ -341,7 +341,7 @@ This can only be done by the logged in user. //import org.openapitools.client.models.* val apiInstance = UserApi() -val username : kotlin.String = username_example // kotlin.String | name that need to be deleted +val username : kotlin.String = username_example // kotlin.String | name of the user that needs to be updated val body : User = // User | Updated user object try { apiInstance.updateUser(username, body) @@ -358,7 +358,7 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **username** | **kotlin.String**| name that need to be deleted | + **username** | **kotlin.String**| name of the user that needs to be updated | **body** | [**User**](User.md)| Updated user object | ### Return type diff --git a/samples/client/petstore/kotlin-threetenbp/src/main/kotlin/org/openapitools/client/apis/UserApi.kt b/samples/client/petstore/kotlin-threetenbp/src/main/kotlin/org/openapitools/client/apis/UserApi.kt index 258a2540e9e8..d74e4b8bbd06 100644 --- a/samples/client/petstore/kotlin-threetenbp/src/main/kotlin/org/openapitools/client/apis/UserApi.kt +++ b/samples/client/petstore/kotlin-threetenbp/src/main/kotlin/org/openapitools/client/apis/UserApi.kt @@ -322,7 +322,7 @@ class UserApi(basePath: kotlin.String = defaultBasePath) : ApiClient(basePath) { /** * Updated user * This can only be done by the logged in user. - * @param username name that need to be deleted + * @param username name of the user that needs to be updated * @param body Updated user object * @return void * @throws UnsupportedOperationException If the API returns an informational or redirection response diff --git a/samples/client/petstore/kotlin/bin/org/openapitools/client/apis/UserApi.kt b/samples/client/petstore/kotlin/bin/org/openapitools/client/apis/UserApi.kt index 130def3847f0..97756b37a800 100644 --- a/samples/client/petstore/kotlin/bin/org/openapitools/client/apis/UserApi.kt +++ b/samples/client/petstore/kotlin/bin/org/openapitools/client/apis/UserApi.kt @@ -239,7 +239,7 @@ class UserApi(basePath: kotlin.String = "http://petstore.swagger.io/v2") : ApiCl /** * Updated user * This can only be done by the logged in user. - * @param username name that need to be deleted + * @param username name of the user that needs to be updated * @param body Updated user object * @return void */ diff --git a/samples/client/petstore/kotlin/docs/UserApi.md b/samples/client/petstore/kotlin/docs/UserApi.md index fd98ce696add..eee3a3f5710b 100644 --- a/samples/client/petstore/kotlin/docs/UserApi.md +++ b/samples/client/petstore/kotlin/docs/UserApi.md @@ -341,7 +341,7 @@ This can only be done by the logged in user. //import org.openapitools.client.models.* val apiInstance = UserApi() -val username : kotlin.String = username_example // kotlin.String | name that need to be deleted +val username : kotlin.String = username_example // kotlin.String | name of the user that needs to be updated val body : User = // User | Updated user object try { apiInstance.updateUser(username, body) @@ -358,7 +358,7 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **username** | **kotlin.String**| name that need to be deleted | + **username** | **kotlin.String**| name of the user that needs to be updated | **body** | [**User**](User.md)| Updated user object | ### Return type diff --git a/samples/client/petstore/kotlin/src/main/kotlin/org/openapitools/client/apis/UserApi.kt b/samples/client/petstore/kotlin/src/main/kotlin/org/openapitools/client/apis/UserApi.kt index 258a2540e9e8..d74e4b8bbd06 100644 --- a/samples/client/petstore/kotlin/src/main/kotlin/org/openapitools/client/apis/UserApi.kt +++ b/samples/client/petstore/kotlin/src/main/kotlin/org/openapitools/client/apis/UserApi.kt @@ -322,7 +322,7 @@ class UserApi(basePath: kotlin.String = defaultBasePath) : ApiClient(basePath) { /** * Updated user * This can only be done by the logged in user. - * @param username name that need to be deleted + * @param username name of the user that needs to be updated * @param body Updated user object * @return void * @throws UnsupportedOperationException If the API returns an informational or redirection response diff --git a/samples/client/petstore/objc/core-data/SwaggerClient/Api/SWGUserApi.h b/samples/client/petstore/objc/core-data/SwaggerClient/Api/SWGUserApi.h index 98a3a1756d5d..f0de1781d6a2 100644 --- a/samples/client/petstore/objc/core-data/SwaggerClient/Api/SWGUserApi.h +++ b/samples/client/petstore/objc/core-data/SwaggerClient/Api/SWGUserApi.h @@ -115,7 +115,7 @@ extern NSInteger kSWGUserApiMissingParamErrorCode; /// Updated user /// This can only be done by the logged in user. /// -/// @param username name that need to be deleted +/// @param username name of the user that needs to be updated /// @param user Updated user object (optional) /// /// code:400 message:"Invalid user supplied", diff --git a/samples/client/petstore/objc/core-data/SwaggerClient/Api/SWGUserApi.m b/samples/client/petstore/objc/core-data/SwaggerClient/Api/SWGUserApi.m index 94651c70282f..2a2376cf295e 100644 --- a/samples/client/petstore/objc/core-data/SwaggerClient/Api/SWGUserApi.m +++ b/samples/client/petstore/objc/core-data/SwaggerClient/Api/SWGUserApi.m @@ -468,7 +468,7 @@ -(NSURLSessionTask*) logoutUserWithCompletionHandler: /// /// Updated user /// This can only be done by the logged in user. -/// @param username name that need to be deleted +/// @param username name of the user that needs to be updated /// /// @param user Updated user object (optional) /// diff --git a/samples/client/petstore/objc/core-data/docs/SWGUserApi.md b/samples/client/petstore/objc/core-data/docs/SWGUserApi.md index 549a9e0f72cf..452aedc8c329 100644 --- a/samples/client/petstore/objc/core-data/docs/SWGUserApi.md +++ b/samples/client/petstore/objc/core-data/docs/SWGUserApi.md @@ -353,7 +353,7 @@ This can only be done by the logged in user. ### Example ```objc -NSString* username = @"username_example"; // name that need to be deleted +NSString* username = @"username_example"; // name of the user that needs to be updated SWGUser* user = [[SWGUser alloc] init]; // Updated user object (optional) SWGUserApi*apiInstance = [[SWGUserApi alloc] init]; @@ -372,7 +372,7 @@ SWGUserApi*apiInstance = [[SWGUserApi alloc] init]; Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **username** | **NSString***| name that need to be deleted | + **username** | **NSString***| name of the user that needs to be updated | **user** | [**SWGUser***](SWGUser.md)| Updated user object | [optional] ### Return type diff --git a/samples/client/petstore/objc/default/SwaggerClient/Api/SWGUserApi.h b/samples/client/petstore/objc/default/SwaggerClient/Api/SWGUserApi.h index 98a3a1756d5d..f0de1781d6a2 100644 --- a/samples/client/petstore/objc/default/SwaggerClient/Api/SWGUserApi.h +++ b/samples/client/petstore/objc/default/SwaggerClient/Api/SWGUserApi.h @@ -115,7 +115,7 @@ extern NSInteger kSWGUserApiMissingParamErrorCode; /// Updated user /// This can only be done by the logged in user. /// -/// @param username name that need to be deleted +/// @param username name of the user that needs to be updated /// @param user Updated user object (optional) /// /// code:400 message:"Invalid user supplied", diff --git a/samples/client/petstore/objc/default/SwaggerClient/Api/SWGUserApi.m b/samples/client/petstore/objc/default/SwaggerClient/Api/SWGUserApi.m index 94651c70282f..2a2376cf295e 100644 --- a/samples/client/petstore/objc/default/SwaggerClient/Api/SWGUserApi.m +++ b/samples/client/petstore/objc/default/SwaggerClient/Api/SWGUserApi.m @@ -468,7 +468,7 @@ -(NSURLSessionTask*) logoutUserWithCompletionHandler: /// /// Updated user /// This can only be done by the logged in user. -/// @param username name that need to be deleted +/// @param username name of the user that needs to be updated /// /// @param user Updated user object (optional) /// diff --git a/samples/client/petstore/objc/default/docs/SWGUserApi.md b/samples/client/petstore/objc/default/docs/SWGUserApi.md index 549a9e0f72cf..452aedc8c329 100644 --- a/samples/client/petstore/objc/default/docs/SWGUserApi.md +++ b/samples/client/petstore/objc/default/docs/SWGUserApi.md @@ -353,7 +353,7 @@ This can only be done by the logged in user. ### Example ```objc -NSString* username = @"username_example"; // name that need to be deleted +NSString* username = @"username_example"; // name of the user that needs to be updated SWGUser* user = [[SWGUser alloc] init]; // Updated user object (optional) SWGUserApi*apiInstance = [[SWGUserApi alloc] init]; @@ -372,7 +372,7 @@ SWGUserApi*apiInstance = [[SWGUserApi alloc] init]; Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **username** | **NSString***| name that need to be deleted | + **username** | **NSString***| name of the user that needs to be updated | **user** | [**SWGUser***](SWGUser.md)| Updated user object | [optional] ### Return type diff --git a/samples/client/petstore/perl/docs/UserApi.md b/samples/client/petstore/perl/docs/UserApi.md index 3ab7ae9e4064..f6b86118688d 100644 --- a/samples/client/petstore/perl/docs/UserApi.md +++ b/samples/client/petstore/perl/docs/UserApi.md @@ -338,7 +338,7 @@ use WWW::OpenAPIClient::UserApi; my $api_instance = WWW::OpenAPIClient::UserApi->new( ); -my $username = "username_example"; # string | name that need to be deleted +my $username = "username_example"; # string | name of the user that needs to be updated my $user = WWW::OpenAPIClient::Object::User->new(); # User | Updated user object eval { @@ -353,7 +353,7 @@ if ($@) { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **username** | **string**| name that need to be deleted | + **username** | **string**| name of the user that needs to be updated | **user** | [**User**](User.md)| Updated user object | ### Return type diff --git a/samples/client/petstore/perl/lib/WWW/OpenAPIClient/UserApi.pm b/samples/client/petstore/perl/lib/WWW/OpenAPIClient/UserApi.pm index 15bb4b97a3c1..71d5fb6b6399 100644 --- a/samples/client/petstore/perl/lib/WWW/OpenAPIClient/UserApi.pm +++ b/samples/client/petstore/perl/lib/WWW/OpenAPIClient/UserApi.pm @@ -492,13 +492,13 @@ sub logout_user { # # Updated user # -# @param string $username name that need to be deleted (required) +# @param string $username name of the user that needs to be updated (required) # @param User $user Updated user object (required) { my $params = { 'username' => { data_type => 'string', - description => 'name that need to be deleted', + description => 'name of the user that needs to be updated', required => '1', }, 'user' => { diff --git a/samples/client/petstore/php/OpenAPIClient-php/docs/Api/UserApi.md b/samples/client/petstore/php/OpenAPIClient-php/docs/Api/UserApi.md index 04fb1b76378a..653c3f8ba0a8 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/docs/Api/UserApi.md +++ b/samples/client/petstore/php/OpenAPIClient-php/docs/Api/UserApi.md @@ -413,7 +413,7 @@ $apiInstance = new OpenAPI\Client\Api\UserApi( // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client() ); -$username = 'username_example'; // string | name that need to be deleted +$username = 'username_example'; // string | name of the user that needs to be updated $user = new \OpenAPI\Client\Model\User(); // \OpenAPI\Client\Model\User | Updated user object try { @@ -427,7 +427,7 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **username** | **string**| name that need to be deleted | + **username** | **string**| name of the user that needs to be updated | **user** | [**\OpenAPI\Client\Model\User**](../Model/User.md)| Updated user object | ### Return type diff --git a/samples/client/petstore/php/OpenAPIClient-php/lib/Api/UserApi.php b/samples/client/petstore/php/OpenAPIClient-php/lib/Api/UserApi.php index 15a8e5a8e83e..0a3b7d9551af 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/lib/Api/UserApi.php +++ b/samples/client/petstore/php/OpenAPIClient-php/lib/Api/UserApi.php @@ -1749,7 +1749,7 @@ public function logoutUserRequest() * * Updated user * - * @param string $username name that need to be deleted (required) + * @param string $username name of the user that needs to be updated (required) * @param \OpenAPI\Client\Model\User $user Updated user object (required) * * @throws \OpenAPI\Client\ApiException on non-2xx response @@ -1766,7 +1766,7 @@ public function updateUser($username, $user) * * Updated user * - * @param string $username name that need to be deleted (required) + * @param string $username name of the user that needs to be updated (required) * @param \OpenAPI\Client\Model\User $user Updated user object (required) * * @throws \OpenAPI\Client\ApiException on non-2xx response @@ -1819,7 +1819,7 @@ public function updateUserWithHttpInfo($username, $user) * * Updated user * - * @param string $username name that need to be deleted (required) + * @param string $username name of the user that needs to be updated (required) * @param \OpenAPI\Client\Model\User $user Updated user object (required) * * @throws \InvalidArgumentException @@ -1840,7 +1840,7 @@ function ($response) { * * Updated user * - * @param string $username name that need to be deleted (required) + * @param string $username name of the user that needs to be updated (required) * @param \OpenAPI\Client\Model\User $user Updated user object (required) * * @throws \InvalidArgumentException @@ -1877,7 +1877,7 @@ function ($exception) { /** * Create request for operation 'updateUser' * - * @param string $username name that need to be deleted (required) + * @param string $username name of the user that needs to be updated (required) * @param \OpenAPI\Client\Model\User $user Updated user object (required) * * @throws \InvalidArgumentException diff --git a/samples/client/petstore/powershell/docs/PSUserApi.md b/samples/client/petstore/powershell/docs/PSUserApi.md index f6ed241c88b0..6c0b915bd9fa 100644 --- a/samples/client/petstore/powershell/docs/PSUserApi.md +++ b/samples/client/petstore/powershell/docs/PSUserApi.md @@ -373,7 +373,7 @@ $Configuration["ApiKey"]["AUTH_KEY"] = "YOUR_API_KEY" #$Configuration["ApiKeyPrefix"]["AUTH_KEY"] = "Bearer" -$Username = "Username_example" # String | name that need to be deleted +$Username = "Username_example" # String | name of the user that needs to be updated $User = # User | Updated user object # Updated user @@ -389,7 +389,7 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **Username** | **String**| name that need to be deleted | + **Username** | **String**| name of the user that needs to be updated | **User** | [**User**](User.md)| Updated user object | ### Return type diff --git a/samples/client/petstore/powershell/src/PSPetstore/Api/PSUserApi.ps1 b/samples/client/petstore/powershell/src/PSPetstore/Api/PSUserApi.ps1 index cbf47aace799..3a17b37fe532 100644 --- a/samples/client/petstore/powershell/src/PSPetstore/Api/PSUserApi.ps1 +++ b/samples/client/petstore/powershell/src/PSPetstore/Api/PSUserApi.ps1 @@ -577,7 +577,7 @@ Updated user No description available. .PARAMETER Username -name that need to be deleted +name of the user that needs to be updated .PARAMETER User Updated user object diff --git a/samples/client/petstore/python-asyncio/docs/UserApi.md b/samples/client/petstore/python-asyncio/docs/UserApi.md index 6cb9d1ec3849..ff90dad60b9f 100644 --- a/samples/client/petstore/python-asyncio/docs/UserApi.md +++ b/samples/client/petstore/python-asyncio/docs/UserApi.md @@ -461,7 +461,7 @@ configuration = petstore_api.Configuration( with petstore_api.ApiClient() as api_client: # Create an instance of the API class api_instance = petstore_api.UserApi(api_client) - username = 'username_example' # str | name that need to be deleted + username = 'username_example' # str | name of the user that needs to be updated body = petstore_api.User() # User | Updated user object try: @@ -475,7 +475,7 @@ body = petstore_api.User() # User | Updated user object Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **username** | **str**| name that need to be deleted | + **username** | **str**| name of the user that needs to be updated | **body** | [**User**](User.md)| Updated user object | ### Return type diff --git a/samples/client/petstore/python-asyncio/petstore_api/api/user_api.py b/samples/client/petstore/python-asyncio/petstore_api/api/user_api.py index 9f8be84771ae..a080407afe83 100644 --- a/samples/client/petstore/python-asyncio/petstore_api/api/user_api.py +++ b/samples/client/petstore/python-asyncio/petstore_api/api/user_api.py @@ -954,7 +954,7 @@ def update_user(self, username, body, **kwargs): # noqa: E501 >>> thread = api.update_user(username, body, async_req=True) >>> result = thread.get() - :param username: name that need to be deleted (required) + :param username: name of the user that needs to be updated (required) :type username: str :param body: Updated user object (required) :type body: User @@ -986,7 +986,7 @@ def update_user_with_http_info(self, username, body, **kwargs): # noqa: E501 >>> thread = api.update_user_with_http_info(username, body, async_req=True) >>> result = thread.get() - :param username: name that need to be deleted (required) + :param username: name of the user that needs to be updated (required) :type username: str :param body: Updated user object (required) :type body: User diff --git a/samples/client/petstore/python-legacy/docs/UserApi.md b/samples/client/petstore/python-legacy/docs/UserApi.md index 6cb9d1ec3849..ff90dad60b9f 100644 --- a/samples/client/petstore/python-legacy/docs/UserApi.md +++ b/samples/client/petstore/python-legacy/docs/UserApi.md @@ -461,7 +461,7 @@ configuration = petstore_api.Configuration( with petstore_api.ApiClient() as api_client: # Create an instance of the API class api_instance = petstore_api.UserApi(api_client) - username = 'username_example' # str | name that need to be deleted + username = 'username_example' # str | name of the user that needs to be updated body = petstore_api.User() # User | Updated user object try: @@ -475,7 +475,7 @@ body = petstore_api.User() # User | Updated user object Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **username** | **str**| name that need to be deleted | + **username** | **str**| name of the user that needs to be updated | **body** | [**User**](User.md)| Updated user object | ### Return type diff --git a/samples/client/petstore/python-legacy/petstore_api/api/user_api.py b/samples/client/petstore/python-legacy/petstore_api/api/user_api.py index 9f8be84771ae..a080407afe83 100644 --- a/samples/client/petstore/python-legacy/petstore_api/api/user_api.py +++ b/samples/client/petstore/python-legacy/petstore_api/api/user_api.py @@ -954,7 +954,7 @@ def update_user(self, username, body, **kwargs): # noqa: E501 >>> thread = api.update_user(username, body, async_req=True) >>> result = thread.get() - :param username: name that need to be deleted (required) + :param username: name of the user that needs to be updated (required) :type username: str :param body: Updated user object (required) :type body: User @@ -986,7 +986,7 @@ def update_user_with_http_info(self, username, body, **kwargs): # noqa: E501 >>> thread = api.update_user_with_http_info(username, body, async_req=True) >>> result = thread.get() - :param username: name that need to be deleted (required) + :param username: name of the user that needs to be updated (required) :type username: str :param body: Updated user object (required) :type body: User diff --git a/samples/client/petstore/python-tornado/docs/UserApi.md b/samples/client/petstore/python-tornado/docs/UserApi.md index 6cb9d1ec3849..ff90dad60b9f 100644 --- a/samples/client/petstore/python-tornado/docs/UserApi.md +++ b/samples/client/petstore/python-tornado/docs/UserApi.md @@ -461,7 +461,7 @@ configuration = petstore_api.Configuration( with petstore_api.ApiClient() as api_client: # Create an instance of the API class api_instance = petstore_api.UserApi(api_client) - username = 'username_example' # str | name that need to be deleted + username = 'username_example' # str | name of the user that needs to be updated body = petstore_api.User() # User | Updated user object try: @@ -475,7 +475,7 @@ body = petstore_api.User() # User | Updated user object Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **username** | **str**| name that need to be deleted | + **username** | **str**| name of the user that needs to be updated | **body** | [**User**](User.md)| Updated user object | ### Return type diff --git a/samples/client/petstore/python-tornado/petstore_api/api/user_api.py b/samples/client/petstore/python-tornado/petstore_api/api/user_api.py index 9f8be84771ae..a080407afe83 100644 --- a/samples/client/petstore/python-tornado/petstore_api/api/user_api.py +++ b/samples/client/petstore/python-tornado/petstore_api/api/user_api.py @@ -954,7 +954,7 @@ def update_user(self, username, body, **kwargs): # noqa: E501 >>> thread = api.update_user(username, body, async_req=True) >>> result = thread.get() - :param username: name that need to be deleted (required) + :param username: name of the user that needs to be updated (required) :type username: str :param body: Updated user object (required) :type body: User @@ -986,7 +986,7 @@ def update_user_with_http_info(self, username, body, **kwargs): # noqa: E501 >>> thread = api.update_user_with_http_info(username, body, async_req=True) >>> result = thread.get() - :param username: name that need to be deleted (required) + :param username: name of the user that needs to be updated (required) :type username: str :param body: Updated user object (required) :type body: User diff --git a/samples/client/petstore/python/docs/UserApi.md b/samples/client/petstore/python/docs/UserApi.md index 429d7918521d..6167250321d1 100644 --- a/samples/client/petstore/python/docs/UserApi.md +++ b/samples/client/petstore/python/docs/UserApi.md @@ -496,7 +496,7 @@ configuration = petstore_api.Configuration( with petstore_api.ApiClient() as api_client: # Create an instance of the API class api_instance = user_api.UserApi(api_client) - username = "username_example" # str | name that need to be deleted + username = "username_example" # str | name of the user that needs to be updated body = User( id=1, username="username_example", @@ -520,7 +520,7 @@ with petstore_api.ApiClient() as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **username** | **str**| name that need to be deleted | + **username** | **str**| name of the user that needs to be updated | **body** | [**User**](User.md)| Updated user object | ### Return type diff --git a/samples/client/petstore/python/petstore_api/api/user_api.py b/samples/client/petstore/python/petstore_api/api/user_api.py index 8df2eca21f0f..aea89607ba71 100644 --- a/samples/client/petstore/python/petstore_api/api/user_api.py +++ b/samples/client/petstore/python/petstore_api/api/user_api.py @@ -853,7 +853,7 @@ def __update_user( >>> result = thread.get() Args: - username (str): name that need to be deleted + username (str): name of the user that needs to be updated body (User): Updated user object Keyword Args: diff --git a/samples/client/petstore/ruby-faraday/docs/UserApi.md b/samples/client/petstore/ruby-faraday/docs/UserApi.md index 456561f92f3e..5394ef6dfba7 100644 --- a/samples/client/petstore/ruby-faraday/docs/UserApi.md +++ b/samples/client/petstore/ruby-faraday/docs/UserApi.md @@ -461,7 +461,7 @@ require 'time' require 'petstore' api_instance = Petstore::UserApi.new -username = 'username_example' # String | name that need to be deleted +username = 'username_example' # String | name of the user that needs to be updated user = Petstore::User.new # User | Updated user object begin @@ -494,7 +494,7 @@ end | Name | Type | Description | Notes | | ---- | ---- | ----------- | ----- | -| **username** | **String** | name that need to be deleted | | +| **username** | **String** | name of the user that needs to be updated | | | **user** | [**User**](User.md) | Updated user object | | ### Return type diff --git a/samples/client/petstore/ruby-faraday/lib/petstore/api/user_api.rb b/samples/client/petstore/ruby-faraday/lib/petstore/api/user_api.rb index d692582fc862..045f1e019087 100644 --- a/samples/client/petstore/ruby-faraday/lib/petstore/api/user_api.rb +++ b/samples/client/petstore/ruby-faraday/lib/petstore/api/user_api.rb @@ -450,7 +450,7 @@ def logout_user_with_http_info(opts = {}) # Updated user # This can only be done by the logged in user. - # @param username [String] name that need to be deleted + # @param username [String] name of the user that needs to be updated # @param user [User] Updated user object # @param [Hash] opts the optional parameters # @return [nil] @@ -461,7 +461,7 @@ def update_user(username, user, opts = {}) # Updated user # This can only be done by the logged in user. - # @param username [String] name that need to be deleted + # @param username [String] name of the user that needs to be updated # @param user [User] Updated user object # @param [Hash] opts the optional parameters # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers diff --git a/samples/client/petstore/ruby-faraday/spec/api/user_api_spec.rb b/samples/client/petstore/ruby-faraday/spec/api/user_api_spec.rb index 39178c5a5ac7..399d69bcfdef 100644 --- a/samples/client/petstore/ruby-faraday/spec/api/user_api_spec.rb +++ b/samples/client/petstore/ruby-faraday/spec/api/user_api_spec.rb @@ -114,7 +114,7 @@ # unit tests for update_user # Updated user # This can only be done by the logged in user. - # @param username name that need to be deleted + # @param username name of the user that needs to be updated # @param user Updated user object # @param [Hash] opts the optional parameters # @return [nil] diff --git a/samples/client/petstore/ruby/docs/UserApi.md b/samples/client/petstore/ruby/docs/UserApi.md index 456561f92f3e..5394ef6dfba7 100644 --- a/samples/client/petstore/ruby/docs/UserApi.md +++ b/samples/client/petstore/ruby/docs/UserApi.md @@ -461,7 +461,7 @@ require 'time' require 'petstore' api_instance = Petstore::UserApi.new -username = 'username_example' # String | name that need to be deleted +username = 'username_example' # String | name of the user that needs to be updated user = Petstore::User.new # User | Updated user object begin @@ -494,7 +494,7 @@ end | Name | Type | Description | Notes | | ---- | ---- | ----------- | ----- | -| **username** | **String** | name that need to be deleted | | +| **username** | **String** | name of the user that needs to be updated | | | **user** | [**User**](User.md) | Updated user object | | ### Return type diff --git a/samples/client/petstore/ruby/lib/petstore/api/user_api.rb b/samples/client/petstore/ruby/lib/petstore/api/user_api.rb index 99b7fd2f6641..0eb9bb782730 100644 --- a/samples/client/petstore/ruby/lib/petstore/api/user_api.rb +++ b/samples/client/petstore/ruby/lib/petstore/api/user_api.rb @@ -450,7 +450,7 @@ def logout_user_with_http_info(opts = {}) # Updated user # This can only be done by the logged in user. - # @param username [String] name that need to be deleted + # @param username [String] name of the user that needs to be updated # @param user [User] Updated user object # @param [Hash] opts the optional parameters # @return [nil] @@ -461,7 +461,7 @@ def update_user(username, user, opts = {}) # Updated user # This can only be done by the logged in user. - # @param username [String] name that need to be deleted + # @param username [String] name of the user that needs to be updated # @param user [User] Updated user object # @param [Hash] opts the optional parameters # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers diff --git a/samples/client/petstore/ruby/spec/api/user_api_spec.rb b/samples/client/petstore/ruby/spec/api/user_api_spec.rb index 39178c5a5ac7..399d69bcfdef 100644 --- a/samples/client/petstore/ruby/spec/api/user_api_spec.rb +++ b/samples/client/petstore/ruby/spec/api/user_api_spec.rb @@ -114,7 +114,7 @@ # unit tests for update_user # Updated user # This can only be done by the logged in user. - # @param username name that need to be deleted + # @param username name of the user that needs to be updated # @param user Updated user object # @param [Hash] opts the optional parameters # @return [nil] diff --git a/samples/client/petstore/rust/hyper/petstore/docs/UserApi.md b/samples/client/petstore/rust/hyper/petstore/docs/UserApi.md index f3fce53b66da..83a0d9735d0b 100644 --- a/samples/client/petstore/rust/hyper/petstore/docs/UserApi.md +++ b/samples/client/petstore/rust/hyper/petstore/docs/UserApi.md @@ -225,7 +225,7 @@ This can only be done by the logged in user. Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**username** | **String** | name that need to be deleted | [required] | +**username** | **String** | name of the user that needs to be updated | [required] | **body** | [**User**](User.md) | Updated user object | [required] | ### Return type diff --git a/samples/client/petstore/rust/reqwest/petstore-async/docs/UserApi.md b/samples/client/petstore/rust/reqwest/petstore-async/docs/UserApi.md index a6268f251a64..01d9793ff63b 100644 --- a/samples/client/petstore/rust/reqwest/petstore-async/docs/UserApi.md +++ b/samples/client/petstore/rust/reqwest/petstore-async/docs/UserApi.md @@ -225,7 +225,7 @@ This can only be done by the logged in user. Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**username** | **String** | name that need to be deleted | [required] | +**username** | **String** | name of the user that needs to be updated | [required] | **body** | [**User**](User.md) | Updated user object | [required] | ### Return type diff --git a/samples/client/petstore/rust/reqwest/petstore-async/src/apis/user_api.rs b/samples/client/petstore/rust/reqwest/petstore-async/src/apis/user_api.rs index 7a0375ba9b14..8c2537e9c6d1 100644 --- a/samples/client/petstore/rust/reqwest/petstore-async/src/apis/user_api.rs +++ b/samples/client/petstore/rust/reqwest/petstore-async/src/apis/user_api.rs @@ -61,7 +61,7 @@ pub struct LoginUserParams { /// struct for passing parameters to the method `update_user` #[derive(Clone, Debug)] pub struct UpdateUserParams { - /// name that need to be deleted + /// name of the user that needs to be updated pub username: String, /// Updated user object pub body: crate::models::User diff --git a/samples/client/petstore/rust/reqwest/petstore/docs/UserApi.md b/samples/client/petstore/rust/reqwest/petstore/docs/UserApi.md index a6268f251a64..01d9793ff63b 100644 --- a/samples/client/petstore/rust/reqwest/petstore/docs/UserApi.md +++ b/samples/client/petstore/rust/reqwest/petstore/docs/UserApi.md @@ -225,7 +225,7 @@ This can only be done by the logged in user. Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**username** | **String** | name that need to be deleted | [required] | +**username** | **String** | name of the user that needs to be updated | [required] | **body** | [**User**](User.md) | Updated user object | [required] | ### Return type diff --git a/samples/client/petstore/scala-akka/src/main/scala/org/openapitools/client/api/UserApi.scala b/samples/client/petstore/scala-akka/src/main/scala/org/openapitools/client/api/UserApi.scala index 83a7a46de65e..1d1eb6a05cea 100644 --- a/samples/client/petstore/scala-akka/src/main/scala/org/openapitools/client/api/UserApi.scala +++ b/samples/client/petstore/scala-akka/src/main/scala/org/openapitools/client/api/UserApi.scala @@ -157,7 +157,7 @@ class UserApi(baseUrl: String) { * Available security schemes: * auth_cookie (apiKey) * - * @param username name that need to be deleted + * @param username name of the user that needs to be updated * @param user Updated user object */ def updateUser(username: String, user: User)(implicit apiKey: ApiKeyValue): ApiRequest[Unit] = diff --git a/samples/client/petstore/scala-httpclient/bin/org/openapitools/client/api/UserApi.scala b/samples/client/petstore/scala-httpclient/bin/org/openapitools/client/api/UserApi.scala index efd7f1ef97fa..2b55a9f5631f 100644 --- a/samples/client/petstore/scala-httpclient/bin/org/openapitools/client/api/UserApi.scala +++ b/samples/client/petstore/scala-httpclient/bin/org/openapitools/client/api/UserApi.scala @@ -260,7 +260,7 @@ class UserApi( * Updated user * This can only be done by the logged in user. * - * @param username name that need to be deleted + * @param username name of the user that needs to be updated * @param body Updated user object * @return void */ @@ -276,7 +276,7 @@ class UserApi( * Updated user asynchronously * This can only be done by the logged in user. * - * @param username name that need to be deleted + * @param username name of the user that needs to be updated * @param body Updated user object * @return Future(void) */ diff --git a/samples/client/petstore/scala-httpclient/src/main/scala/org/openapitools/client/api/UserApi.scala b/samples/client/petstore/scala-httpclient/src/main/scala/org/openapitools/client/api/UserApi.scala index 585fd19ee512..5ab0ca0d0192 100644 --- a/samples/client/petstore/scala-httpclient/src/main/scala/org/openapitools/client/api/UserApi.scala +++ b/samples/client/petstore/scala-httpclient/src/main/scala/org/openapitools/client/api/UserApi.scala @@ -260,7 +260,7 @@ class UserApi( * Updated user * This can only be done by the logged in user. * - * @param username name that need to be deleted + * @param username name of the user that needs to be updated * @param user Updated user object * @return void */ @@ -276,7 +276,7 @@ class UserApi( * Updated user asynchronously * This can only be done by the logged in user. * - * @param username name that need to be deleted + * @param username name of the user that needs to be updated * @param user Updated user object * @return Future(void) */ diff --git a/samples/client/petstore/scala-sttp/src/main/scala/org/openapitools/client/api/UserApi.scala b/samples/client/petstore/scala-sttp/src/main/scala/org/openapitools/client/api/UserApi.scala index b3a39fea84a1..fdd018b9c699 100644 --- a/samples/client/petstore/scala-sttp/src/main/scala/org/openapitools/client/api/UserApi.scala +++ b/samples/client/petstore/scala-sttp/src/main/scala/org/openapitools/client/api/UserApi.scala @@ -158,7 +158,7 @@ class UserApi(baseUrl: String) { * Available security schemes: * api_key (apiKey) * - * @param username name that need to be deleted + * @param username name of the user that needs to be updated * @param user Updated user object */ def updateUser(apiKey: String)(username: String, user: User diff --git a/samples/client/petstore/spring-cloud-async/src/main/java/org/openapitools/api/UserApi.java b/samples/client/petstore/spring-cloud-async/src/main/java/org/openapitools/api/UserApi.java index 298a3f639184..9e90f8eb8c1b 100644 --- a/samples/client/petstore/spring-cloud-async/src/main/java/org/openapitools/api/UserApi.java +++ b/samples/client/petstore/spring-cloud-async/src/main/java/org/openapitools/api/UserApi.java @@ -150,7 +150,7 @@ public interface UserApi { * PUT /user/{username} : Updated user * This can only be done by the logged in user. * - * @param username name that need to be deleted (required) + * @param username name of the user that needs to be updated (required) * @param body Updated user object (required) * @return Invalid user supplied (status code 400) * or User not found (status code 404) @@ -162,6 +162,6 @@ public interface UserApi { @PutMapping( value = "/user/{username}" ) - CompletableFuture> updateUser(@ApiParam(value = "name that need to be deleted",required=true) @PathVariable("username") String username,@ApiParam(value = "Updated user object" ,required=true ) @Valid @RequestBody User body); + CompletableFuture> updateUser(@ApiParam(value = "name of the user that needs to be updated",required=true) @PathVariable("username") String username,@ApiParam(value = "Updated user object" ,required=true ) @Valid @RequestBody User body); } diff --git a/samples/client/petstore/spring-cloud-no-nullable/src/main/java/org/openapitools/api/UserApi.java b/samples/client/petstore/spring-cloud-no-nullable/src/main/java/org/openapitools/api/UserApi.java index c42b7b1c0ea8..5c2a8902785d 100644 --- a/samples/client/petstore/spring-cloud-no-nullable/src/main/java/org/openapitools/api/UserApi.java +++ b/samples/client/petstore/spring-cloud-no-nullable/src/main/java/org/openapitools/api/UserApi.java @@ -149,7 +149,7 @@ public interface UserApi { * PUT /user/{username} : Updated user * This can only be done by the logged in user. * - * @param username name that need to be deleted (required) + * @param username name of the user that needs to be updated (required) * @param body Updated user object (required) * @return Invalid user supplied (status code 400) * or User not found (status code 404) @@ -161,6 +161,6 @@ public interface UserApi { @PutMapping( value = "/user/{username}" ) - com.netflix.hystrix.HystrixCommand> updateUser(@ApiParam(value = "name that need to be deleted",required=true) @PathVariable("username") String username,@ApiParam(value = "Updated user object" ,required=true ) @Valid @RequestBody User body); + com.netflix.hystrix.HystrixCommand> updateUser(@ApiParam(value = "name of the user that needs to be updated",required=true) @PathVariable("username") String username,@ApiParam(value = "Updated user object" ,required=true ) @Valid @RequestBody User body); } diff --git a/samples/client/petstore/spring-cloud-spring-pageable/src/main/java/org/openapitools/api/UserApi.java b/samples/client/petstore/spring-cloud-spring-pageable/src/main/java/org/openapitools/api/UserApi.java index 3e58072223be..92a5a7cdd325 100644 --- a/samples/client/petstore/spring-cloud-spring-pageable/src/main/java/org/openapitools/api/UserApi.java +++ b/samples/client/petstore/spring-cloud-spring-pageable/src/main/java/org/openapitools/api/UserApi.java @@ -149,7 +149,7 @@ public interface UserApi { * PUT /user/{username} : Updated user * This can only be done by the logged in user. * - * @param username name that need to be deleted (required) + * @param username name of the user that needs to be updated (required) * @param body Updated user object (required) * @return Invalid user supplied (status code 400) * or User not found (status code 404) @@ -161,6 +161,6 @@ public interface UserApi { @PutMapping( value = "/user/{username}" ) - ResponseEntity updateUser(@ApiParam(value = "name that need to be deleted",required=true) @PathVariable("username") String username,@ApiParam(value = "Updated user object" ,required=true ) @Valid @RequestBody User body); + ResponseEntity updateUser(@ApiParam(value = "name of the user that needs to be updated",required=true) @PathVariable("username") String username,@ApiParam(value = "Updated user object" ,required=true ) @Valid @RequestBody User body); } diff --git a/samples/client/petstore/spring-cloud/src/main/java/org/openapitools/api/UserApi.java b/samples/client/petstore/spring-cloud/src/main/java/org/openapitools/api/UserApi.java index c42b7b1c0ea8..5c2a8902785d 100644 --- a/samples/client/petstore/spring-cloud/src/main/java/org/openapitools/api/UserApi.java +++ b/samples/client/petstore/spring-cloud/src/main/java/org/openapitools/api/UserApi.java @@ -149,7 +149,7 @@ public interface UserApi { * PUT /user/{username} : Updated user * This can only be done by the logged in user. * - * @param username name that need to be deleted (required) + * @param username name of the user that needs to be updated (required) * @param body Updated user object (required) * @return Invalid user supplied (status code 400) * or User not found (status code 404) @@ -161,6 +161,6 @@ public interface UserApi { @PutMapping( value = "/user/{username}" ) - com.netflix.hystrix.HystrixCommand> updateUser(@ApiParam(value = "name that need to be deleted",required=true) @PathVariable("username") String username,@ApiParam(value = "Updated user object" ,required=true ) @Valid @RequestBody User body); + com.netflix.hystrix.HystrixCommand> updateUser(@ApiParam(value = "name of the user that needs to be updated",required=true) @PathVariable("username") String username,@ApiParam(value = "Updated user object" ,required=true ) @Valid @RequestBody User body); } diff --git a/samples/client/petstore/spring-stubs/src/main/java/org/openapitools/api/UserApi.java b/samples/client/petstore/spring-stubs/src/main/java/org/openapitools/api/UserApi.java index c027e6f2c0d5..c276063d8518 100644 --- a/samples/client/petstore/spring-stubs/src/main/java/org/openapitools/api/UserApi.java +++ b/samples/client/petstore/spring-stubs/src/main/java/org/openapitools/api/UserApi.java @@ -188,7 +188,7 @@ default ResponseEntity logoutUser() { * PUT /user/{username} : Updated user * This can only be done by the logged in user. * - * @param username name that need to be deleted (required) + * @param username name of the user that needs to be updated (required) * @param body Updated user object (required) * @return Invalid user supplied (status code 400) * or User not found (status code 404) @@ -200,7 +200,7 @@ default ResponseEntity logoutUser() { @PutMapping( value = "/user/{username}" ) - default ResponseEntity updateUser(@ApiParam(value = "name that need to be deleted",required=true) @PathVariable("username") String username,@ApiParam(value = "Updated user object" ,required=true ) @Valid @RequestBody User body) { + default ResponseEntity updateUser(@ApiParam(value = "name of the user that needs to be updated",required=true) @PathVariable("username") String username,@ApiParam(value = "Updated user object" ,required=true ) @Valid @RequestBody User body) { return new ResponseEntity<>(HttpStatus.NOT_IMPLEMENTED); } diff --git a/samples/client/petstore/swift5/alamofireLibrary/PetstoreClient/Classes/OpenAPIs/APIs/UserAPI.swift b/samples/client/petstore/swift5/alamofireLibrary/PetstoreClient/Classes/OpenAPIs/APIs/UserAPI.swift index 505ed1b0c5c9..0fdb8e6ed23e 100644 --- a/samples/client/petstore/swift5/alamofireLibrary/PetstoreClient/Classes/OpenAPIs/APIs/UserAPI.swift +++ b/samples/client/petstore/swift5/alamofireLibrary/PetstoreClient/Classes/OpenAPIs/APIs/UserAPI.swift @@ -276,7 +276,7 @@ open class UserAPI { /** Updated user - - parameter username: (path) name that need to be deleted + - parameter username: (path) name of the user that needs to be updated - parameter body: (body) Updated user object - parameter apiResponseQueue: The queue on which api response is dispatched. - parameter completion: completion handler to receive the data and the error objects @@ -296,7 +296,7 @@ open class UserAPI { Updated user - PUT /user/{username} - This can only be done by the logged in user. - - parameter username: (path) name that need to be deleted + - parameter username: (path) name of the user that needs to be updated - parameter body: (body) Updated user object - returns: RequestBuilder */ diff --git a/samples/client/petstore/swift5/alamofireLibrary/docs/UserAPI.md b/samples/client/petstore/swift5/alamofireLibrary/docs/UserAPI.md index 380813bc68c0..12894806071f 100644 --- a/samples/client/petstore/swift5/alamofireLibrary/docs/UserAPI.md +++ b/samples/client/petstore/swift5/alamofireLibrary/docs/UserAPI.md @@ -366,7 +366,7 @@ This can only be done by the logged in user. // The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new import PetstoreClient -let username = "username_example" // String | name that need to be deleted +let username = "username_example" // String | name of the user that needs to be updated let body = User(id: 123, username: "username_example", firstName: "firstName_example", lastName: "lastName_example", email: "email_example", password: "password_example", phone: "phone_example", userStatus: 123) // User | Updated user object // Updated user @@ -386,7 +386,7 @@ UserAPI.updateUser(username: username, body: body) { (response, error) in Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **username** | **String** | name that need to be deleted | + **username** | **String** | name of the user that needs to be updated | **body** | [**User**](User.md) | Updated user object | ### Return type diff --git a/samples/client/petstore/swift5/combineLibrary/PetstoreClient/Classes/OpenAPIs/APIs/UserAPI.swift b/samples/client/petstore/swift5/combineLibrary/PetstoreClient/Classes/OpenAPIs/APIs/UserAPI.swift index 747e2f31fb93..274edd965683 100644 --- a/samples/client/petstore/swift5/combineLibrary/PetstoreClient/Classes/OpenAPIs/APIs/UserAPI.swift +++ b/samples/client/petstore/swift5/combineLibrary/PetstoreClient/Classes/OpenAPIs/APIs/UserAPI.swift @@ -298,7 +298,7 @@ open class UserAPI { /** Updated user - - parameter username: (path) name that need to be deleted + - parameter username: (path) name of the user that needs to be updated - parameter body: (body) Updated user object - parameter apiResponseQueue: The queue on which api response is dispatched. - returns: AnyPublisher @@ -321,7 +321,7 @@ open class UserAPI { Updated user - PUT /user/{username} - This can only be done by the logged in user. - - parameter username: (path) name that need to be deleted + - parameter username: (path) name of the user that needs to be updated - parameter body: (body) Updated user object - returns: RequestBuilder */ diff --git a/samples/client/petstore/swift5/combineLibrary/docs/UserAPI.md b/samples/client/petstore/swift5/combineLibrary/docs/UserAPI.md index 380813bc68c0..12894806071f 100644 --- a/samples/client/petstore/swift5/combineLibrary/docs/UserAPI.md +++ b/samples/client/petstore/swift5/combineLibrary/docs/UserAPI.md @@ -366,7 +366,7 @@ This can only be done by the logged in user. // The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new import PetstoreClient -let username = "username_example" // String | name that need to be deleted +let username = "username_example" // String | name of the user that needs to be updated let body = User(id: 123, username: "username_example", firstName: "firstName_example", lastName: "lastName_example", email: "email_example", password: "password_example", phone: "phone_example", userStatus: 123) // User | Updated user object // Updated user @@ -386,7 +386,7 @@ UserAPI.updateUser(username: username, body: body) { (response, error) in Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **username** | **String** | name that need to be deleted | + **username** | **String** | name of the user that needs to be updated | **body** | [**User**](User.md) | Updated user object | ### Return type diff --git a/samples/client/petstore/swift5/default/PetstoreClient/Classes/OpenAPIs/APIs/UserAPI.swift b/samples/client/petstore/swift5/default/PetstoreClient/Classes/OpenAPIs/APIs/UserAPI.swift index 505ed1b0c5c9..0fdb8e6ed23e 100644 --- a/samples/client/petstore/swift5/default/PetstoreClient/Classes/OpenAPIs/APIs/UserAPI.swift +++ b/samples/client/petstore/swift5/default/PetstoreClient/Classes/OpenAPIs/APIs/UserAPI.swift @@ -276,7 +276,7 @@ open class UserAPI { /** Updated user - - parameter username: (path) name that need to be deleted + - parameter username: (path) name of the user that needs to be updated - parameter body: (body) Updated user object - parameter apiResponseQueue: The queue on which api response is dispatched. - parameter completion: completion handler to receive the data and the error objects @@ -296,7 +296,7 @@ open class UserAPI { Updated user - PUT /user/{username} - This can only be done by the logged in user. - - parameter username: (path) name that need to be deleted + - parameter username: (path) name of the user that needs to be updated - parameter body: (body) Updated user object - returns: RequestBuilder */ diff --git a/samples/client/petstore/swift5/default/docs/UserAPI.md b/samples/client/petstore/swift5/default/docs/UserAPI.md index 380813bc68c0..12894806071f 100644 --- a/samples/client/petstore/swift5/default/docs/UserAPI.md +++ b/samples/client/petstore/swift5/default/docs/UserAPI.md @@ -366,7 +366,7 @@ This can only be done by the logged in user. // The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new import PetstoreClient -let username = "username_example" // String | name that need to be deleted +let username = "username_example" // String | name of the user that needs to be updated let body = User(id: 123, username: "username_example", firstName: "firstName_example", lastName: "lastName_example", email: "email_example", password: "password_example", phone: "phone_example", userStatus: 123) // User | Updated user object // Updated user @@ -386,7 +386,7 @@ UserAPI.updateUser(username: username, body: body) { (response, error) in Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **username** | **String** | name that need to be deleted | + **username** | **String** | name of the user that needs to be updated | **body** | [**User**](User.md) | Updated user object | ### Return type diff --git a/samples/client/petstore/swift5/deprecated/PetstoreClient/Classes/OpenAPIs/APIs/UserAPI.swift b/samples/client/petstore/swift5/deprecated/PetstoreClient/Classes/OpenAPIs/APIs/UserAPI.swift index 04a9b99643c0..6acfe87e983a 100644 --- a/samples/client/petstore/swift5/deprecated/PetstoreClient/Classes/OpenAPIs/APIs/UserAPI.swift +++ b/samples/client/petstore/swift5/deprecated/PetstoreClient/Classes/OpenAPIs/APIs/UserAPI.swift @@ -291,7 +291,7 @@ open class UserAPI { /** Updated user - - parameter username: (path) name that need to be deleted + - parameter username: (path) name of the user that needs to be updated - parameter user: (body) Updated user object - parameter apiResponseQueue: The queue on which api response is dispatched. - parameter completion: completion handler to receive the data and the error objects @@ -314,7 +314,7 @@ open class UserAPI { - API Key: - type: apiKey AUTH_KEY - name: auth_cookie - - parameter username: (path) name that need to be deleted + - parameter username: (path) name of the user that needs to be updated - parameter user: (body) Updated user object - returns: RequestBuilder */ diff --git a/samples/client/petstore/swift5/deprecated/docs/UserAPI.md b/samples/client/petstore/swift5/deprecated/docs/UserAPI.md index 18f3327a1e2f..1bcde585e88e 100644 --- a/samples/client/petstore/swift5/deprecated/docs/UserAPI.md +++ b/samples/client/petstore/swift5/deprecated/docs/UserAPI.md @@ -366,7 +366,7 @@ This can only be done by the logged in user. // The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new import PetstoreClient -let username = "username_example" // String | name that need to be deleted +let username = "username_example" // String | name of the user that needs to be updated let user = User(id: 123, username: "username_example", firstName: "firstName_example", lastName: "lastName_example", email: "email_example", password: "password_example", phone: "phone_example", userStatus: 123) // User | Updated user object // Updated user @@ -386,7 +386,7 @@ UserAPI.updateUser(username: username, user: user) { (response, error) in Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **username** | **String** | name that need to be deleted | + **username** | **String** | name of the user that needs to be updated | **user** | [**User**](User.md) | Updated user object | ### Return type diff --git a/samples/client/petstore/swift5/nonPublicApi/PetstoreClient/Classes/OpenAPIs/APIs/UserAPI.swift b/samples/client/petstore/swift5/nonPublicApi/PetstoreClient/Classes/OpenAPIs/APIs/UserAPI.swift index c8d714e89916..5201647122d7 100644 --- a/samples/client/petstore/swift5/nonPublicApi/PetstoreClient/Classes/OpenAPIs/APIs/UserAPI.swift +++ b/samples/client/petstore/swift5/nonPublicApi/PetstoreClient/Classes/OpenAPIs/APIs/UserAPI.swift @@ -276,7 +276,7 @@ internal class UserAPI { /** Updated user - - parameter username: (path) name that need to be deleted + - parameter username: (path) name of the user that needs to be updated - parameter body: (body) Updated user object - parameter apiResponseQueue: The queue on which api response is dispatched. - parameter completion: completion handler to receive the data and the error objects @@ -296,7 +296,7 @@ internal class UserAPI { Updated user - PUT /user/{username} - This can only be done by the logged in user. - - parameter username: (path) name that need to be deleted + - parameter username: (path) name of the user that needs to be updated - parameter body: (body) Updated user object - returns: RequestBuilder */ diff --git a/samples/client/petstore/swift5/nonPublicApi/docs/UserAPI.md b/samples/client/petstore/swift5/nonPublicApi/docs/UserAPI.md index 56fba1b3c9eb..1e2a19437afb 100644 --- a/samples/client/petstore/swift5/nonPublicApi/docs/UserAPI.md +++ b/samples/client/petstore/swift5/nonPublicApi/docs/UserAPI.md @@ -366,7 +366,7 @@ This can only be done by the logged in user. // The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new import PetstoreClient -let username = "username_example" // String | name that need to be deleted +let username = "username_example" // String | name of the user that needs to be updated let body = User(id: 123, username: "username_example", firstName: "firstName_example", lastName: "lastName_example", email: "email_example", password: "password_example", phone: "phone_example", userStatus: 123) // User | Updated user object // Updated user @@ -386,7 +386,7 @@ UserAPI.updateUser(username: username, body: body) { (response, error) in Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **username** | **String** | name that need to be deleted | + **username** | **String** | name of the user that needs to be updated | **body** | [**User**](User.md) | Updated user object | ### Return type diff --git a/samples/client/petstore/swift5/objcCompatible/PetstoreClient/Classes/OpenAPIs/APIs/UserAPI.swift b/samples/client/petstore/swift5/objcCompatible/PetstoreClient/Classes/OpenAPIs/APIs/UserAPI.swift index 4dfe4da1a021..d8a04cbf865f 100644 --- a/samples/client/petstore/swift5/objcCompatible/PetstoreClient/Classes/OpenAPIs/APIs/UserAPI.swift +++ b/samples/client/petstore/swift5/objcCompatible/PetstoreClient/Classes/OpenAPIs/APIs/UserAPI.swift @@ -276,7 +276,7 @@ import Foundation /** Updated user - - parameter username: (path) name that need to be deleted + - parameter username: (path) name of the user that needs to be updated - parameter body: (body) Updated user object - parameter apiResponseQueue: The queue on which api response is dispatched. - parameter completion: completion handler to receive the data and the error objects @@ -296,7 +296,7 @@ import Foundation Updated user - PUT /user/{username} - This can only be done by the logged in user. - - parameter username: (path) name that need to be deleted + - parameter username: (path) name of the user that needs to be updated - parameter body: (body) Updated user object - returns: RequestBuilder */ diff --git a/samples/client/petstore/swift5/objcCompatible/docs/UserAPI.md b/samples/client/petstore/swift5/objcCompatible/docs/UserAPI.md index 18e233420ab3..69626cea2865 100644 --- a/samples/client/petstore/swift5/objcCompatible/docs/UserAPI.md +++ b/samples/client/petstore/swift5/objcCompatible/docs/UserAPI.md @@ -366,7 +366,7 @@ This can only be done by the logged in user. // The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new import PetstoreClient -let username = "username_example" // String | name that need to be deleted +let username = "username_example" // String | name of the user that needs to be updated let body = User(_id: 123, username: "username_example", firstName: "firstName_example", lastName: "lastName_example", email: "email_example", password: "password_example", phone: "phone_example", userStatus: 123) // User | Updated user object // Updated user @@ -386,7 +386,7 @@ UserAPI.updateUser(username: username, body: body) { (response, error) in Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **username** | **String** | name that need to be deleted | + **username** | **String** | name of the user that needs to be updated | **body** | [**User**](User.md) | Updated user object | ### Return type diff --git a/samples/client/petstore/swift5/promisekitLibrary/PetstoreClient/Classes/OpenAPIs/APIs/UserAPI.swift b/samples/client/petstore/swift5/promisekitLibrary/PetstoreClient/Classes/OpenAPIs/APIs/UserAPI.swift index 89c48c3b28f8..1c1849fd75df 100644 --- a/samples/client/petstore/swift5/promisekitLibrary/PetstoreClient/Classes/OpenAPIs/APIs/UserAPI.swift +++ b/samples/client/petstore/swift5/promisekitLibrary/PetstoreClient/Classes/OpenAPIs/APIs/UserAPI.swift @@ -291,7 +291,7 @@ open class UserAPI { /** Updated user - - parameter username: (path) name that need to be deleted + - parameter username: (path) name of the user that needs to be updated - parameter body: (body) Updated user object - parameter apiResponseQueue: The queue on which api response is dispatched. - returns: Promise @@ -313,7 +313,7 @@ open class UserAPI { Updated user - PUT /user/{username} - This can only be done by the logged in user. - - parameter username: (path) name that need to be deleted + - parameter username: (path) name of the user that needs to be updated - parameter body: (body) Updated user object - returns: RequestBuilder */ diff --git a/samples/client/petstore/swift5/promisekitLibrary/docs/UserAPI.md b/samples/client/petstore/swift5/promisekitLibrary/docs/UserAPI.md index e18cc451e98e..152a842f47f8 100644 --- a/samples/client/petstore/swift5/promisekitLibrary/docs/UserAPI.md +++ b/samples/client/petstore/swift5/promisekitLibrary/docs/UserAPI.md @@ -345,7 +345,7 @@ This can only be done by the logged in user. // The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new import PetstoreClient -let username = "username_example" // String | name that need to be deleted +let username = "username_example" // String | name of the user that needs to be updated let body = User(id: 123, username: "username_example", firstName: "firstName_example", lastName: "lastName_example", email: "email_example", password: "password_example", phone: "phone_example", userStatus: 123) // User | Updated user object // Updated user @@ -362,7 +362,7 @@ UserAPI.updateUser(username: username, body: body).then { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **username** | **String** | name that need to be deleted | + **username** | **String** | name of the user that needs to be updated | **body** | [**User**](User.md) | Updated user object | ### Return type diff --git a/samples/client/petstore/swift5/readonlyProperties/PetstoreClient/Classes/OpenAPIs/APIs/UserAPI.swift b/samples/client/petstore/swift5/readonlyProperties/PetstoreClient/Classes/OpenAPIs/APIs/UserAPI.swift index 505ed1b0c5c9..0fdb8e6ed23e 100644 --- a/samples/client/petstore/swift5/readonlyProperties/PetstoreClient/Classes/OpenAPIs/APIs/UserAPI.swift +++ b/samples/client/petstore/swift5/readonlyProperties/PetstoreClient/Classes/OpenAPIs/APIs/UserAPI.swift @@ -276,7 +276,7 @@ open class UserAPI { /** Updated user - - parameter username: (path) name that need to be deleted + - parameter username: (path) name of the user that needs to be updated - parameter body: (body) Updated user object - parameter apiResponseQueue: The queue on which api response is dispatched. - parameter completion: completion handler to receive the data and the error objects @@ -296,7 +296,7 @@ open class UserAPI { Updated user - PUT /user/{username} - This can only be done by the logged in user. - - parameter username: (path) name that need to be deleted + - parameter username: (path) name of the user that needs to be updated - parameter body: (body) Updated user object - returns: RequestBuilder */ diff --git a/samples/client/petstore/swift5/readonlyProperties/docs/UserAPI.md b/samples/client/petstore/swift5/readonlyProperties/docs/UserAPI.md index 380813bc68c0..12894806071f 100644 --- a/samples/client/petstore/swift5/readonlyProperties/docs/UserAPI.md +++ b/samples/client/petstore/swift5/readonlyProperties/docs/UserAPI.md @@ -366,7 +366,7 @@ This can only be done by the logged in user. // The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new import PetstoreClient -let username = "username_example" // String | name that need to be deleted +let username = "username_example" // String | name of the user that needs to be updated let body = User(id: 123, username: "username_example", firstName: "firstName_example", lastName: "lastName_example", email: "email_example", password: "password_example", phone: "phone_example", userStatus: 123) // User | Updated user object // Updated user @@ -386,7 +386,7 @@ UserAPI.updateUser(username: username, body: body) { (response, error) in Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **username** | **String** | name that need to be deleted | + **username** | **String** | name of the user that needs to be updated | **body** | [**User**](User.md) | Updated user object | ### Return type diff --git a/samples/client/petstore/swift5/resultLibrary/PetstoreClient/Classes/OpenAPIs/APIs/UserAPI.swift b/samples/client/petstore/swift5/resultLibrary/PetstoreClient/Classes/OpenAPIs/APIs/UserAPI.swift index c96c572b50c0..c40bb5a28b63 100644 --- a/samples/client/petstore/swift5/resultLibrary/PetstoreClient/Classes/OpenAPIs/APIs/UserAPI.swift +++ b/samples/client/petstore/swift5/resultLibrary/PetstoreClient/Classes/OpenAPIs/APIs/UserAPI.swift @@ -276,7 +276,7 @@ open class UserAPI { /** Updated user - - parameter username: (path) name that need to be deleted + - parameter username: (path) name of the user that needs to be updated - parameter body: (body) Updated user object - parameter apiResponseQueue: The queue on which api response is dispatched. - parameter completion: completion handler to receive the result @@ -296,7 +296,7 @@ open class UserAPI { Updated user - PUT /user/{username} - This can only be done by the logged in user. - - parameter username: (path) name that need to be deleted + - parameter username: (path) name of the user that needs to be updated - parameter body: (body) Updated user object - returns: RequestBuilder */ diff --git a/samples/client/petstore/swift5/resultLibrary/docs/UserAPI.md b/samples/client/petstore/swift5/resultLibrary/docs/UserAPI.md index 380813bc68c0..12894806071f 100644 --- a/samples/client/petstore/swift5/resultLibrary/docs/UserAPI.md +++ b/samples/client/petstore/swift5/resultLibrary/docs/UserAPI.md @@ -366,7 +366,7 @@ This can only be done by the logged in user. // The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new import PetstoreClient -let username = "username_example" // String | name that need to be deleted +let username = "username_example" // String | name of the user that needs to be updated let body = User(id: 123, username: "username_example", firstName: "firstName_example", lastName: "lastName_example", email: "email_example", password: "password_example", phone: "phone_example", userStatus: 123) // User | Updated user object // Updated user @@ -386,7 +386,7 @@ UserAPI.updateUser(username: username, body: body) { (response, error) in Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **username** | **String** | name that need to be deleted | + **username** | **String** | name of the user that needs to be updated | **body** | [**User**](User.md) | Updated user object | ### Return type diff --git a/samples/client/petstore/swift5/rxswiftLibrary/PetstoreClient/Classes/OpenAPIs/APIs/UserAPI.swift b/samples/client/petstore/swift5/rxswiftLibrary/PetstoreClient/Classes/OpenAPIs/APIs/UserAPI.swift index 3447ea28c0ed..7d8b5074e733 100644 --- a/samples/client/petstore/swift5/rxswiftLibrary/PetstoreClient/Classes/OpenAPIs/APIs/UserAPI.swift +++ b/samples/client/petstore/swift5/rxswiftLibrary/PetstoreClient/Classes/OpenAPIs/APIs/UserAPI.swift @@ -305,7 +305,7 @@ open class UserAPI { /** Updated user - - parameter username: (path) name that need to be deleted + - parameter username: (path) name of the user that needs to be updated - parameter body: (body) Updated user object - parameter apiResponseQueue: The queue on which api response is dispatched. - returns: Observable @@ -329,7 +329,7 @@ open class UserAPI { Updated user - PUT /user/{username} - This can only be done by the logged in user. - - parameter username: (path) name that need to be deleted + - parameter username: (path) name of the user that needs to be updated - parameter body: (body) Updated user object - returns: RequestBuilder */ diff --git a/samples/client/petstore/swift5/rxswiftLibrary/docs/UserAPI.md b/samples/client/petstore/swift5/rxswiftLibrary/docs/UserAPI.md index a707c7085a37..bcdf6a5ec13c 100644 --- a/samples/client/petstore/swift5/rxswiftLibrary/docs/UserAPI.md +++ b/samples/client/petstore/swift5/rxswiftLibrary/docs/UserAPI.md @@ -296,7 +296,7 @@ This can only be done by the logged in user. // The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new import PetstoreClient -let username = "username_example" // String | name that need to be deleted +let username = "username_example" // String | name of the user that needs to be updated let body = User(id: 123, username: "username_example", firstName: "firstName_example", lastName: "lastName_example", email: "email_example", password: "password_example", phone: "phone_example", userStatus: 123) // User | Updated user object // TODO RxSwift sample code not yet implemented. To contribute, please open a ticket via http://github.com/OpenAPITools/openapi-generator/issues/new @@ -306,7 +306,7 @@ let body = User(id: 123, username: "username_example", firstName: "firstName_exa Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **username** | **String** | name that need to be deleted | + **username** | **String** | name of the user that needs to be updated | **body** | [**User**](User.md) | Updated user object | ### Return type diff --git a/samples/client/petstore/swift5/urlsessionLibrary/PetstoreClient/Classes/OpenAPIs/APIs/UserAPI.swift b/samples/client/petstore/swift5/urlsessionLibrary/PetstoreClient/Classes/OpenAPIs/APIs/UserAPI.swift index 505ed1b0c5c9..0fdb8e6ed23e 100644 --- a/samples/client/petstore/swift5/urlsessionLibrary/PetstoreClient/Classes/OpenAPIs/APIs/UserAPI.swift +++ b/samples/client/petstore/swift5/urlsessionLibrary/PetstoreClient/Classes/OpenAPIs/APIs/UserAPI.swift @@ -276,7 +276,7 @@ open class UserAPI { /** Updated user - - parameter username: (path) name that need to be deleted + - parameter username: (path) name of the user that needs to be updated - parameter body: (body) Updated user object - parameter apiResponseQueue: The queue on which api response is dispatched. - parameter completion: completion handler to receive the data and the error objects @@ -296,7 +296,7 @@ open class UserAPI { Updated user - PUT /user/{username} - This can only be done by the logged in user. - - parameter username: (path) name that need to be deleted + - parameter username: (path) name of the user that needs to be updated - parameter body: (body) Updated user object - returns: RequestBuilder */ diff --git a/samples/client/petstore/swift5/urlsessionLibrary/docs/UserAPI.md b/samples/client/petstore/swift5/urlsessionLibrary/docs/UserAPI.md index 380813bc68c0..12894806071f 100644 --- a/samples/client/petstore/swift5/urlsessionLibrary/docs/UserAPI.md +++ b/samples/client/petstore/swift5/urlsessionLibrary/docs/UserAPI.md @@ -366,7 +366,7 @@ This can only be done by the logged in user. // The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new import PetstoreClient -let username = "username_example" // String | name that need to be deleted +let username = "username_example" // String | name of the user that needs to be updated let body = User(id: 123, username: "username_example", firstName: "firstName_example", lastName: "lastName_example", email: "email_example", password: "password_example", phone: "phone_example", userStatus: 123) // User | Updated user object // Updated user @@ -386,7 +386,7 @@ UserAPI.updateUser(username: username, body: body) { (response, error) in Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **username** | **String** | name that need to be deleted | + **username** | **String** | name of the user that needs to be updated | **body** | [**User**](User.md) | Updated user object | ### Return type diff --git a/samples/client/petstore/typescript-angular-v10-provided-in-root/builds/default/api/user.service.ts b/samples/client/petstore/typescript-angular-v10-provided-in-root/builds/default/api/user.service.ts index 399676219054..d6bfd7dfb493 100644 --- a/samples/client/petstore/typescript-angular-v10-provided-in-root/builds/default/api/user.service.ts +++ b/samples/client/petstore/typescript-angular-v10-provided-in-root/builds/default/api/user.service.ts @@ -439,7 +439,7 @@ export class UserService { /** * Updated user * This can only be done by the logged in user. - * @param username name that need to be deleted + * @param username name of the user that needs to be updated * @param body Updated user object * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. diff --git a/samples/client/petstore/typescript-angular-v10-provided-in-root/builds/with-npm/api/user.service.ts b/samples/client/petstore/typescript-angular-v10-provided-in-root/builds/with-npm/api/user.service.ts index 399676219054..d6bfd7dfb493 100644 --- a/samples/client/petstore/typescript-angular-v10-provided-in-root/builds/with-npm/api/user.service.ts +++ b/samples/client/petstore/typescript-angular-v10-provided-in-root/builds/with-npm/api/user.service.ts @@ -439,7 +439,7 @@ export class UserService { /** * Updated user * This can only be done by the logged in user. - * @param username name that need to be deleted + * @param username name of the user that needs to be updated * @param body Updated user object * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. diff --git a/samples/client/petstore/typescript-angular-v11-provided-in-root/builds/default/api/user.service.ts b/samples/client/petstore/typescript-angular-v11-provided-in-root/builds/default/api/user.service.ts index 399676219054..d6bfd7dfb493 100644 --- a/samples/client/petstore/typescript-angular-v11-provided-in-root/builds/default/api/user.service.ts +++ b/samples/client/petstore/typescript-angular-v11-provided-in-root/builds/default/api/user.service.ts @@ -439,7 +439,7 @@ export class UserService { /** * Updated user * This can only be done by the logged in user. - * @param username name that need to be deleted + * @param username name of the user that needs to be updated * @param body Updated user object * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. diff --git a/samples/client/petstore/typescript-angular-v11-provided-in-root/builds/with-npm/api/user.service.ts b/samples/client/petstore/typescript-angular-v11-provided-in-root/builds/with-npm/api/user.service.ts index 399676219054..d6bfd7dfb493 100644 --- a/samples/client/petstore/typescript-angular-v11-provided-in-root/builds/with-npm/api/user.service.ts +++ b/samples/client/petstore/typescript-angular-v11-provided-in-root/builds/with-npm/api/user.service.ts @@ -439,7 +439,7 @@ export class UserService { /** * Updated user * This can only be done by the logged in user. - * @param username name that need to be deleted + * @param username name of the user that needs to be updated * @param body Updated user object * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. diff --git a/samples/client/petstore/typescript-angular-v6-not-provided-in-root/builds/default/api/user.service.ts b/samples/client/petstore/typescript-angular-v6-not-provided-in-root/builds/default/api/user.service.ts index da1199c86d45..775ff2737530 100644 --- a/samples/client/petstore/typescript-angular-v6-not-provided-in-root/builds/default/api/user.service.ts +++ b/samples/client/petstore/typescript-angular-v6-not-provided-in-root/builds/default/api/user.service.ts @@ -437,7 +437,7 @@ export class UserService { /** * Updated user * This can only be done by the logged in user. - * @param username name that need to be deleted + * @param username name of the user that needs to be updated * @param body Updated user object * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. diff --git a/samples/client/petstore/typescript-angular-v6-not-provided-in-root/builds/with-npm/api/user.service.ts b/samples/client/petstore/typescript-angular-v6-not-provided-in-root/builds/with-npm/api/user.service.ts index da1199c86d45..775ff2737530 100644 --- a/samples/client/petstore/typescript-angular-v6-not-provided-in-root/builds/with-npm/api/user.service.ts +++ b/samples/client/petstore/typescript-angular-v6-not-provided-in-root/builds/with-npm/api/user.service.ts @@ -437,7 +437,7 @@ export class UserService { /** * Updated user * This can only be done by the logged in user. - * @param username name that need to be deleted + * @param username name of the user that needs to be updated * @param body Updated user object * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. diff --git a/samples/client/petstore/typescript-angular-v6-provided-in-root/builds/default/api/user.service.ts b/samples/client/petstore/typescript-angular-v6-provided-in-root/builds/default/api/user.service.ts index 399676219054..d6bfd7dfb493 100644 --- a/samples/client/petstore/typescript-angular-v6-provided-in-root/builds/default/api/user.service.ts +++ b/samples/client/petstore/typescript-angular-v6-provided-in-root/builds/default/api/user.service.ts @@ -439,7 +439,7 @@ export class UserService { /** * Updated user * This can only be done by the logged in user. - * @param username name that need to be deleted + * @param username name of the user that needs to be updated * @param body Updated user object * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. diff --git a/samples/client/petstore/typescript-angular-v6-provided-in-root/builds/with-npm/api/user.service.ts b/samples/client/petstore/typescript-angular-v6-provided-in-root/builds/with-npm/api/user.service.ts index 399676219054..d6bfd7dfb493 100644 --- a/samples/client/petstore/typescript-angular-v6-provided-in-root/builds/with-npm/api/user.service.ts +++ b/samples/client/petstore/typescript-angular-v6-provided-in-root/builds/with-npm/api/user.service.ts @@ -439,7 +439,7 @@ export class UserService { /** * Updated user * This can only be done by the logged in user. - * @param username name that need to be deleted + * @param username name of the user that needs to be updated * @param body Updated user object * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. diff --git a/samples/client/petstore/typescript-angular-v7-not-provided-in-root/builds/default/api/user.service.ts b/samples/client/petstore/typescript-angular-v7-not-provided-in-root/builds/default/api/user.service.ts index da1199c86d45..775ff2737530 100644 --- a/samples/client/petstore/typescript-angular-v7-not-provided-in-root/builds/default/api/user.service.ts +++ b/samples/client/petstore/typescript-angular-v7-not-provided-in-root/builds/default/api/user.service.ts @@ -437,7 +437,7 @@ export class UserService { /** * Updated user * This can only be done by the logged in user. - * @param username name that need to be deleted + * @param username name of the user that needs to be updated * @param body Updated user object * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. diff --git a/samples/client/petstore/typescript-angular-v7-not-provided-in-root/builds/with-npm/api/user.service.ts b/samples/client/petstore/typescript-angular-v7-not-provided-in-root/builds/with-npm/api/user.service.ts index da1199c86d45..775ff2737530 100644 --- a/samples/client/petstore/typescript-angular-v7-not-provided-in-root/builds/with-npm/api/user.service.ts +++ b/samples/client/petstore/typescript-angular-v7-not-provided-in-root/builds/with-npm/api/user.service.ts @@ -437,7 +437,7 @@ export class UserService { /** * Updated user * This can only be done by the logged in user. - * @param username name that need to be deleted + * @param username name of the user that needs to be updated * @param body Updated user object * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. diff --git a/samples/client/petstore/typescript-angular-v7-provided-in-root/builds/default/api/user.service.ts b/samples/client/petstore/typescript-angular-v7-provided-in-root/builds/default/api/user.service.ts index 399676219054..d6bfd7dfb493 100644 --- a/samples/client/petstore/typescript-angular-v7-provided-in-root/builds/default/api/user.service.ts +++ b/samples/client/petstore/typescript-angular-v7-provided-in-root/builds/default/api/user.service.ts @@ -439,7 +439,7 @@ export class UserService { /** * Updated user * This can only be done by the logged in user. - * @param username name that need to be deleted + * @param username name of the user that needs to be updated * @param body Updated user object * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. diff --git a/samples/client/petstore/typescript-angular-v7-provided-in-root/builds/with-npm/api/user.service.ts b/samples/client/petstore/typescript-angular-v7-provided-in-root/builds/with-npm/api/user.service.ts index 399676219054..d6bfd7dfb493 100644 --- a/samples/client/petstore/typescript-angular-v7-provided-in-root/builds/with-npm/api/user.service.ts +++ b/samples/client/petstore/typescript-angular-v7-provided-in-root/builds/with-npm/api/user.service.ts @@ -439,7 +439,7 @@ export class UserService { /** * Updated user * This can only be done by the logged in user. - * @param username name that need to be deleted + * @param username name of the user that needs to be updated * @param body Updated user object * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. diff --git a/samples/client/petstore/typescript-angular-v8-provided-in-root/builds/single-request-parameter/api/user.service.ts b/samples/client/petstore/typescript-angular-v8-provided-in-root/builds/single-request-parameter/api/user.service.ts index 326c0f7b8730..fccf935dd3c2 100644 --- a/samples/client/petstore/typescript-angular-v8-provided-in-root/builds/single-request-parameter/api/user.service.ts +++ b/samples/client/petstore/typescript-angular-v8-provided-in-root/builds/single-request-parameter/api/user.service.ts @@ -56,7 +56,7 @@ export interface LoginUserRequestParams { } export interface UpdateUserRequestParams { - /** name that need to be deleted */ + /** name of the user that needs to be updated */ username: string; /** Updated user object */ body: User; diff --git a/samples/client/petstore/typescript-angular-v8-provided-in-root/builds/with-npm/api/user.service.ts b/samples/client/petstore/typescript-angular-v8-provided-in-root/builds/with-npm/api/user.service.ts index 399676219054..d6bfd7dfb493 100644 --- a/samples/client/petstore/typescript-angular-v8-provided-in-root/builds/with-npm/api/user.service.ts +++ b/samples/client/petstore/typescript-angular-v8-provided-in-root/builds/with-npm/api/user.service.ts @@ -439,7 +439,7 @@ export class UserService { /** * Updated user * This can only be done by the logged in user. - * @param username name that need to be deleted + * @param username name of the user that needs to be updated * @param body Updated user object * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. diff --git a/samples/client/petstore/typescript-angular-v8-provided-in-root/builds/with-prefixed-module-name/api/user.service.ts b/samples/client/petstore/typescript-angular-v8-provided-in-root/builds/with-prefixed-module-name/api/user.service.ts index a79076289582..4a585dab3d3a 100644 --- a/samples/client/petstore/typescript-angular-v8-provided-in-root/builds/with-prefixed-module-name/api/user.service.ts +++ b/samples/client/petstore/typescript-angular-v8-provided-in-root/builds/with-prefixed-module-name/api/user.service.ts @@ -439,7 +439,7 @@ export class UserService { /** * Updated user * This can only be done by the logged in user. - * @param username name that need to be deleted + * @param username name of the user that needs to be updated * @param body Updated user object * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. diff --git a/samples/client/petstore/typescript-angular-v9-provided-in-root/builds/default/api/user.service.ts b/samples/client/petstore/typescript-angular-v9-provided-in-root/builds/default/api/user.service.ts index 399676219054..d6bfd7dfb493 100644 --- a/samples/client/petstore/typescript-angular-v9-provided-in-root/builds/default/api/user.service.ts +++ b/samples/client/petstore/typescript-angular-v9-provided-in-root/builds/default/api/user.service.ts @@ -439,7 +439,7 @@ export class UserService { /** * Updated user * This can only be done by the logged in user. - * @param username name that need to be deleted + * @param username name of the user that needs to be updated * @param body Updated user object * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. diff --git a/samples/client/petstore/typescript-angular-v9-provided-in-root/builds/with-npm/api/user.service.ts b/samples/client/petstore/typescript-angular-v9-provided-in-root/builds/with-npm/api/user.service.ts index 399676219054..d6bfd7dfb493 100644 --- a/samples/client/petstore/typescript-angular-v9-provided-in-root/builds/with-npm/api/user.service.ts +++ b/samples/client/petstore/typescript-angular-v9-provided-in-root/builds/with-npm/api/user.service.ts @@ -439,7 +439,7 @@ export class UserService { /** * Updated user * This can only be done by the logged in user. - * @param username name that need to be deleted + * @param username name of the user that needs to be updated * @param body Updated user object * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. diff --git a/samples/client/petstore/typescript-angularjs/api/UserApi.ts b/samples/client/petstore/typescript-angularjs/api/UserApi.ts index f63bb64b8b11..8c6a9b5ba601 100644 --- a/samples/client/petstore/typescript-angularjs/api/UserApi.ts +++ b/samples/client/petstore/typescript-angularjs/api/UserApi.ts @@ -238,7 +238,7 @@ export class UserApi { /** * This can only be done by the logged in user. * @summary Updated user - * @param username name that need to be deleted + * @param username name of the user that needs to be updated * @param body Updated user object */ public updateUser (username: string, body: models.User, extraHttpRequestParams?: any ) : ng.IHttpPromise<{}> { diff --git a/samples/client/petstore/typescript-aurelia/default/UserApi.ts b/samples/client/petstore/typescript-aurelia/default/UserApi.ts index c4ff06bea101..8bea982bd058 100644 --- a/samples/client/petstore/typescript-aurelia/default/UserApi.ts +++ b/samples/client/petstore/typescript-aurelia/default/UserApi.ts @@ -294,7 +294,7 @@ export class UserApi extends Api { /** * Updated user * This can only be done by the logged in user. - * @param params.username name that need to be deleted + * @param params.username name of the user that needs to be updated * @param params.body Updated user object */ async updateUser(params: IUpdateUserParams): Promise { diff --git a/samples/client/petstore/typescript-axios/builds/default/api.ts b/samples/client/petstore/typescript-axios/builds/default/api.ts index 1aca2afe9082..4207dc2796d5 100644 --- a/samples/client/petstore/typescript-axios/builds/default/api.ts +++ b/samples/client/petstore/typescript-axios/builds/default/api.ts @@ -1754,7 +1754,7 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration) /** * This can only be done by the logged in user. * @summary Updated user - * @param {string} username name that need to be deleted + * @param {string} username name of the user that needs to be updated * @param {User} body Updated user object * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -1918,7 +1918,7 @@ export const UserApiFp = function(configuration?: Configuration) { /** * This can only be done by the logged in user. * @summary Updated user - * @param {string} username name that need to be deleted + * @param {string} username name of the user that needs to be updated * @param {User} body Updated user object * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -2012,7 +2012,7 @@ export const UserApiFactory = function (configuration?: Configuration, basePath? /** * This can only be done by the logged in user. * @summary Updated user - * @param {string} username name that need to be deleted + * @param {string} username name of the user that needs to be updated * @param {User} body Updated user object * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -2117,7 +2117,7 @@ export class UserApi extends BaseAPI { /** * This can only be done by the logged in user. * @summary Updated user - * @param {string} username name that need to be deleted + * @param {string} username name of the user that needs to be updated * @param {User} body Updated user object * @param {*} [options] Override http request option. * @throws {RequiredError} diff --git a/samples/client/petstore/typescript-axios/builds/es6-target/api.ts b/samples/client/petstore/typescript-axios/builds/es6-target/api.ts index 1aca2afe9082..4207dc2796d5 100644 --- a/samples/client/petstore/typescript-axios/builds/es6-target/api.ts +++ b/samples/client/petstore/typescript-axios/builds/es6-target/api.ts @@ -1754,7 +1754,7 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration) /** * This can only be done by the logged in user. * @summary Updated user - * @param {string} username name that need to be deleted + * @param {string} username name of the user that needs to be updated * @param {User} body Updated user object * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -1918,7 +1918,7 @@ export const UserApiFp = function(configuration?: Configuration) { /** * This can only be done by the logged in user. * @summary Updated user - * @param {string} username name that need to be deleted + * @param {string} username name of the user that needs to be updated * @param {User} body Updated user object * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -2012,7 +2012,7 @@ export const UserApiFactory = function (configuration?: Configuration, basePath? /** * This can only be done by the logged in user. * @summary Updated user - * @param {string} username name that need to be deleted + * @param {string} username name of the user that needs to be updated * @param {User} body Updated user object * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -2117,7 +2117,7 @@ export class UserApi extends BaseAPI { /** * This can only be done by the logged in user. * @summary Updated user - * @param {string} username name that need to be deleted + * @param {string} username name of the user that needs to be updated * @param {User} body Updated user object * @param {*} [options] Override http request option. * @throws {RequiredError} diff --git a/samples/client/petstore/typescript-axios/builds/with-complex-headers/api.ts b/samples/client/petstore/typescript-axios/builds/with-complex-headers/api.ts index 9b2c0fd3fed3..1106fd9f39ba 100644 --- a/samples/client/petstore/typescript-axios/builds/with-complex-headers/api.ts +++ b/samples/client/petstore/typescript-axios/builds/with-complex-headers/api.ts @@ -1771,7 +1771,7 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration) /** * This can only be done by the logged in user. * @summary Updated user - * @param {string} username name that need to be deleted + * @param {string} username name of the user that needs to be updated * @param {User} user Updated user object * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -1935,7 +1935,7 @@ export const UserApiFp = function(configuration?: Configuration) { /** * This can only be done by the logged in user. * @summary Updated user - * @param {string} username name that need to be deleted + * @param {string} username name of the user that needs to be updated * @param {User} user Updated user object * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -2029,7 +2029,7 @@ export const UserApiFactory = function (configuration?: Configuration, basePath? /** * This can only be done by the logged in user. * @summary Updated user - * @param {string} username name that need to be deleted + * @param {string} username name of the user that needs to be updated * @param {User} user Updated user object * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -2134,7 +2134,7 @@ export class UserApi extends BaseAPI { /** * This can only be done by the logged in user. * @summary Updated user - * @param {string} username name that need to be deleted + * @param {string} username name of the user that needs to be updated * @param {User} user Updated user object * @param {*} [options] Override http request option. * @throws {RequiredError} diff --git a/samples/client/petstore/typescript-axios/builds/with-interfaces/api.ts b/samples/client/petstore/typescript-axios/builds/with-interfaces/api.ts index 132c7cc96358..7edba13e0fd8 100644 --- a/samples/client/petstore/typescript-axios/builds/with-interfaces/api.ts +++ b/samples/client/petstore/typescript-axios/builds/with-interfaces/api.ts @@ -1894,7 +1894,7 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration) /** * This can only be done by the logged in user. * @summary Updated user - * @param {string} username name that need to be deleted + * @param {string} username name of the user that needs to be updated * @param {User} body Updated user object * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -2058,7 +2058,7 @@ export const UserApiFp = function(configuration?: Configuration) { /** * This can only be done by the logged in user. * @summary Updated user - * @param {string} username name that need to be deleted + * @param {string} username name of the user that needs to be updated * @param {User} body Updated user object * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -2152,7 +2152,7 @@ export const UserApiFactory = function (configuration?: Configuration, basePath? /** * This can only be done by the logged in user. * @summary Updated user - * @param {string} username name that need to be deleted + * @param {string} username name of the user that needs to be updated * @param {User} body Updated user object * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -2242,7 +2242,7 @@ export interface UserApiInterface { /** * This can only be done by the logged in user. * @summary Updated user - * @param {string} username name that need to be deleted + * @param {string} username name of the user that needs to be updated * @param {User} body Updated user object * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -2346,7 +2346,7 @@ export class UserApi extends BaseAPI implements UserApiInterface { /** * This can only be done by the logged in user. * @summary Updated user - * @param {string} username name that need to be deleted + * @param {string} username name of the user that needs to be updated * @param {User} body Updated user object * @param {*} [options] Override http request option. * @throws {RequiredError} diff --git a/samples/client/petstore/typescript-axios/builds/with-npm-version-and-separate-models-and-api/api/another/level/user-api.ts b/samples/client/petstore/typescript-axios/builds/with-npm-version-and-separate-models-and-api/api/another/level/user-api.ts index bc264d72753a..f1c7b3dc3ed1 100644 --- a/samples/client/petstore/typescript-axios/builds/with-npm-version-and-separate-models-and-api/api/another/level/user-api.ts +++ b/samples/client/petstore/typescript-axios/builds/with-npm-version-and-separate-models-and-api/api/another/level/user-api.ts @@ -360,7 +360,7 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration) /** * This can only be done by the logged in user. * @summary Updated user - * @param {string} username name that need to be deleted + * @param {string} username name of the user that needs to be updated * @param {User} body Updated user object * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -524,7 +524,7 @@ export const UserApiFp = function(configuration?: Configuration) { /** * This can only be done by the logged in user. * @summary Updated user - * @param {string} username name that need to be deleted + * @param {string} username name of the user that needs to be updated * @param {User} body Updated user object * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -618,7 +618,7 @@ export const UserApiFactory = function (configuration?: Configuration, basePath? /** * This can only be done by the logged in user. * @summary Updated user - * @param {string} username name that need to be deleted + * @param {string} username name of the user that needs to be updated * @param {User} body Updated user object * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -723,7 +723,7 @@ export class UserApi extends BaseAPI { /** * This can only be done by the logged in user. * @summary Updated user - * @param {string} username name that need to be deleted + * @param {string} username name of the user that needs to be updated * @param {User} body Updated user object * @param {*} [options] Override http request option. * @throws {RequiredError} diff --git a/samples/client/petstore/typescript-axios/builds/with-npm-version/api.ts b/samples/client/petstore/typescript-axios/builds/with-npm-version/api.ts index 1aca2afe9082..4207dc2796d5 100644 --- a/samples/client/petstore/typescript-axios/builds/with-npm-version/api.ts +++ b/samples/client/petstore/typescript-axios/builds/with-npm-version/api.ts @@ -1754,7 +1754,7 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration) /** * This can only be done by the logged in user. * @summary Updated user - * @param {string} username name that need to be deleted + * @param {string} username name of the user that needs to be updated * @param {User} body Updated user object * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -1918,7 +1918,7 @@ export const UserApiFp = function(configuration?: Configuration) { /** * This can only be done by the logged in user. * @summary Updated user - * @param {string} username name that need to be deleted + * @param {string} username name of the user that needs to be updated * @param {User} body Updated user object * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -2012,7 +2012,7 @@ export const UserApiFactory = function (configuration?: Configuration, basePath? /** * This can only be done by the logged in user. * @summary Updated user - * @param {string} username name that need to be deleted + * @param {string} username name of the user that needs to be updated * @param {User} body Updated user object * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -2117,7 +2117,7 @@ export class UserApi extends BaseAPI { /** * This can only be done by the logged in user. * @summary Updated user - * @param {string} username name that need to be deleted + * @param {string} username name of the user that needs to be updated * @param {User} body Updated user object * @param {*} [options] Override http request option. * @throws {RequiredError} diff --git a/samples/client/petstore/typescript-axios/builds/with-single-request-parameters/api.ts b/samples/client/petstore/typescript-axios/builds/with-single-request-parameters/api.ts index 601ae3dd5813..91300534362a 100644 --- a/samples/client/petstore/typescript-axios/builds/with-single-request-parameters/api.ts +++ b/samples/client/petstore/typescript-axios/builds/with-single-request-parameters/api.ts @@ -1934,7 +1934,7 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration) /** * This can only be done by the logged in user. * @summary Updated user - * @param {string} username name that need to be deleted + * @param {string} username name of the user that needs to be updated * @param {User} body Updated user object * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -2098,7 +2098,7 @@ export const UserApiFp = function(configuration?: Configuration) { /** * This can only be done by the logged in user. * @summary Updated user - * @param {string} username name that need to be deleted + * @param {string} username name of the user that needs to be updated * @param {User} body Updated user object * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -2192,7 +2192,7 @@ export const UserApiFactory = function (configuration?: Configuration, basePath? /** * This can only be done by the logged in user. * @summary Updated user - * @param {string} username name that need to be deleted + * @param {string} username name of the user that needs to be updated * @param {User} body Updated user object * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -2301,7 +2301,7 @@ export interface UserApiLoginUserRequest { */ export interface UserApiUpdateUserRequest { /** - * name that need to be deleted + * name of the user that needs to be updated * @type {string} * @memberof UserApiUpdateUser */ diff --git a/samples/client/petstore/typescript-fetch/builds/with-interfaces/apis/UserApi.ts b/samples/client/petstore/typescript-fetch/builds/with-interfaces/apis/UserApi.ts index 85159f4221c9..ac900058f0e7 100644 --- a/samples/client/petstore/typescript-fetch/builds/with-interfaces/apis/UserApi.ts +++ b/samples/client/petstore/typescript-fetch/builds/with-interfaces/apis/UserApi.ts @@ -167,7 +167,7 @@ export interface UserApiInterface { /** * This can only be done by the logged in user. * @summary Updated user - * @param {string} username name that need to be deleted + * @param {string} username name of the user that needs to be updated * @param {User} body Updated user object * @param {*} [options] Override http request option. * @throws {RequiredError} diff --git a/samples/client/petstore/typescript-inversify/api/user.service.ts b/samples/client/petstore/typescript-inversify/api/user.service.ts index 1f8ed49283e6..8ad435f25193 100644 --- a/samples/client/petstore/typescript-inversify/api/user.service.ts +++ b/samples/client/petstore/typescript-inversify/api/user.service.ts @@ -225,7 +225,7 @@ export class UserService { /** * Updated user * This can only be done by the logged in user. - * @param username name that need to be deleted + * @param username name of the user that needs to be updated * @param body Updated user object */ diff --git a/samples/client/petstore/typescript-jquery/default/api/UserApi.ts b/samples/client/petstore/typescript-jquery/default/api/UserApi.ts index c2469d6ef19a..c988898bd087 100644 --- a/samples/client/petstore/typescript-jquery/default/api/UserApi.ts +++ b/samples/client/petstore/typescript-jquery/default/api/UserApi.ts @@ -495,7 +495,7 @@ export class UserApi { /** * This can only be done by the logged in user. * @summary Updated user - * @param username name that need to be deleted + * @param username name of the user that needs to be updated * @param body Updated user object */ public updateUser(username: string, body: models.User, extraJQueryAjaxSettings?: JQueryAjaxSettings): JQuery.Promise< diff --git a/samples/client/petstore/typescript-jquery/npm/api/UserApi.ts b/samples/client/petstore/typescript-jquery/npm/api/UserApi.ts index c2469d6ef19a..c988898bd087 100644 --- a/samples/client/petstore/typescript-jquery/npm/api/UserApi.ts +++ b/samples/client/petstore/typescript-jquery/npm/api/UserApi.ts @@ -495,7 +495,7 @@ export class UserApi { /** * This can only be done by the logged in user. * @summary Updated user - * @param username name that need to be deleted + * @param username name of the user that needs to be updated * @param body Updated user object */ public updateUser(username: string, body: models.User, extraJQueryAjaxSettings?: JQueryAjaxSettings): JQuery.Promise< diff --git a/samples/client/petstore/typescript-node/default/api/userApi.ts b/samples/client/petstore/typescript-node/default/api/userApi.ts index ab4675de90a1..81df66603478 100644 --- a/samples/client/petstore/typescript-node/default/api/userApi.ts +++ b/samples/client/petstore/typescript-node/default/api/userApi.ts @@ -538,7 +538,7 @@ export class UserApi { /** * This can only be done by the logged in user. * @summary Updated user - * @param username name that need to be deleted + * @param username name of the user that needs to be updated * @param body Updated user object */ public async updateUser (username: string, body: User, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body?: any; }> { diff --git a/samples/client/petstore/typescript-node/npm/api/userApi.ts b/samples/client/petstore/typescript-node/npm/api/userApi.ts index ab4675de90a1..81df66603478 100644 --- a/samples/client/petstore/typescript-node/npm/api/userApi.ts +++ b/samples/client/petstore/typescript-node/npm/api/userApi.ts @@ -538,7 +538,7 @@ export class UserApi { /** * This can only be done by the logged in user. * @summary Updated user - * @param username name that need to be deleted + * @param username name of the user that needs to be updated * @param body Updated user object */ public async updateUser (username: string, body: User, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body?: any; }> { diff --git a/samples/config/petstore/graphql-schema/petstore/api/user_api.graphql b/samples/config/petstore/graphql-schema/petstore/api/user_api.graphql index 5c07d7f10e58..64d945d3d6a0 100644 --- a/samples/config/petstore/graphql-schema/petstore/api/user_api.graphql +++ b/samples/config/petstore/graphql-schema/petstore/api/user_api.graphql @@ -33,7 +33,7 @@ type mutation { # Updated user # This can only be done by the logged in user. - # @param String! username name that need to be deleted + # @param String! username name of the user that needs to be updated # @param User user Updated user object # @return [null] UpdateUser(username: String!, user: User): null diff --git a/samples/config/petstore/protobuf-schema/services/user_service.proto b/samples/config/petstore/protobuf-schema/services/user_service.proto index 43fd415beaa1..23f6c60b3649 100644 --- a/samples/config/petstore/protobuf-schema/services/user_service.proto +++ b/samples/config/petstore/protobuf-schema/services/user_service.proto @@ -77,7 +77,7 @@ message LoginUserResponse { } message UpdateUserRequest { - // name that need to be deleted + // name of the user that needs to be updated string username = 1; // Updated user object User user = 2; diff --git a/samples/documentation/asciidoc/index.adoc b/samples/documentation/asciidoc/index.adoc index bc9f84fa1f28..c39273fb3519 100644 --- a/samples/documentation/asciidoc/index.adoc +++ b/samples/documentation/asciidoc/index.adoc @@ -1732,7 +1732,7 @@ This can only be done by the logged in user. |Name| Description| Required| Default| Pattern | username -| name that need to be deleted +| name of the user that needs to be updated | X | null | diff --git a/samples/documentation/cwiki/confluence-markup.txt b/samples/documentation/cwiki/confluence-markup.txt index d70e1c766c6c..3c731cf1d1dc 100644 --- a/samples/documentation/cwiki/confluence-markup.txt +++ b/samples/documentation/cwiki/confluence-markup.txt @@ -997,7 +997,7 @@ h3. updateUser h4. Parameters h5. Path Parameters ||Name||Description||Type||Required||Default||Pattern||Enum|| - |username |name that need to be deleted | String | (/) |null | | | + |username |name of the user that needs to be updated | String | (/) |null | | | h5. Body Parameter ||Name||Description||Type||Required||Default||Pattern||Enum|| diff --git a/samples/documentation/dynamic-html/docs/operations/UserApi.html b/samples/documentation/dynamic-html/docs/operations/UserApi.html index 5c20a3fce8e3..a951236acd3c 100644 --- a/samples/documentation/dynamic-html/docs/operations/UserApi.html +++ b/samples/documentation/dynamic-html/docs/operations/UserApi.html @@ -191,7 +191,7 @@

Parameters

username String -

name that need to be deleted

+

name of the user that needs to be updated

  • diff --git a/samples/documentation/html/index.html b/samples/documentation/html/index.html index 3d50eb596c64..dd432e62a850 100644 --- a/samples/documentation/html/index.html +++ b/samples/documentation/html/index.html @@ -1277,7 +1277,7 @@

    Path parameters

    username (required)
    -
    Path Parameter — name that need to be deleted default: null
    +
    Path Parameter — name of the user that needs to be updated default: null

    Consumes

    diff --git a/samples/documentation/html2/index.html b/samples/documentation/html2/index.html index 8b2d69320c3d..c08de02fa38b 100644 --- a/samples/documentation/html2/index.html +++ b/samples/documentation/html2/index.html @@ -8507,7 +8507,7 @@

    Usage and SDK Samples

    // Create an instance of the API class UserApi apiInstance = new UserApi(); - String username = username_example; // String | name that need to be deleted + String username = username_example; // String | name of the user that needs to be updated User user = ; // User | try { @@ -8527,7 +8527,7 @@

    Usage and SDK Samples

    public class UserApiExample { public static void main(String[] args) { UserApi apiInstance = new UserApi(); - String username = username_example; // String | name that need to be deleted + String username = username_example; // String | name of the user that needs to be updated User user = ; // User | try { @@ -8554,7 +8554,7 @@

    Usage and SDK Samples

    // Create an instance of the API class UserApi *apiInstance = [[UserApi alloc] init]; -String *username = username_example; // name that need to be deleted (default to null) +String *username = username_example; // name of the user that needs to be updated (default to null) User *user = ; // // Updated user @@ -8580,7 +8580,7 @@

    Usage and SDK Samples

    // Create an instance of the API class var api = new OpenApiPetstore.UserApi() -var username = username_example; // {String} name that need to be deleted +var username = username_example; // {String} name of the user that needs to be updated var user = ; // {User} var callback = function(error, data, response) { @@ -8617,7 +8617,7 @@

    Usage and SDK Samples

    // Create an instance of the API class var apiInstance = new UserApi(); - var username = username_example; // String | name that need to be deleted (default to null) + var username = username_example; // String | name of the user that needs to be updated (default to null) var user = new User(); // User | try { @@ -8643,7 +8643,7 @@

    Usage and SDK Samples

    // Create an instance of the API class $api_instance = new OpenAPITools\Client\Api\UserApi(); -$username = username_example; // String | name that need to be deleted +$username = username_example; // String | name of the user that needs to be updated $user = ; // User | try { @@ -8666,7 +8666,7 @@

    Usage and SDK Samples

    # Create an instance of the API class my $api_instance = WWW::OPenAPIClient::UserApi->new(); -my $username = username_example; # String | name that need to be deleted +my $username = username_example; # String | name of the user that needs to be updated my $user = WWW::OPenAPIClient::Object::User->new(); # User | eval { @@ -8691,7 +8691,7 @@

    Usage and SDK Samples

    # Create an instance of the API class api_instance = openapi_client.UserApi() -username = username_example # String | name that need to be deleted (default to null) +username = username_example # String | name of the user that needs to be updated (default to null) user = # User | try: @@ -8742,7 +8742,7 @@

    Parameters

    -name that need to be deleted +name of the user that needs to be updated
    diff --git a/samples/documentation/markdown/Apis/UserApi.md b/samples/documentation/markdown/Apis/UserApi.md index 2f9caddbec11..3f9248c390e6 100644 --- a/samples/documentation/markdown/Apis/UserApi.md +++ b/samples/documentation/markdown/Apis/UserApi.md @@ -203,7 +203,7 @@ Updated user Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **username** | **String**| name that need to be deleted | [default to null] + **username** | **String**| name of the user that needs to be updated | [default to null] **User** | [**User**](../Models/User.md)| Updated user object | ### Return type diff --git a/samples/openapi3/client/petstore/dart-dio/petstore_client_lib/doc/UserApi.md b/samples/openapi3/client/petstore/dart-dio/petstore_client_lib/doc/UserApi.md index 7bc40983f690..54aa2a6804f2 100644 --- a/samples/openapi3/client/petstore/dart-dio/petstore_client_lib/doc/UserApi.md +++ b/samples/openapi3/client/petstore/dart-dio/petstore_client_lib/doc/UserApi.md @@ -339,7 +339,7 @@ import 'package:openapi/api.dart'; //defaultApiClient.getAuthentication('api_key').apiKeyPrefix = 'Bearer'; var api_instance = new UserApi(); -var username = username_example; // String | name that need to be deleted +var username = username_example; // String | name of the user that needs to be updated var user = new User(); // User | Updated user object try { @@ -353,7 +353,7 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **username** | **String**| name that need to be deleted | + **username** | **String**| name of the user that needs to be updated | **user** | [**User**](User.md)| Updated user object | ### Return type diff --git a/samples/openapi3/client/petstore/dart-dio/petstore_client_lib_fake/doc/UserApi.md b/samples/openapi3/client/petstore/dart-dio/petstore_client_lib_fake/doc/UserApi.md index 83a3fa85a5e8..a3b49813d170 100644 --- a/samples/openapi3/client/petstore/dart-dio/petstore_client_lib_fake/doc/UserApi.md +++ b/samples/openapi3/client/petstore/dart-dio/petstore_client_lib_fake/doc/UserApi.md @@ -315,7 +315,7 @@ This can only be done by the logged in user. import 'package:openapi/api.dart'; var api_instance = new UserApi(); -var username = username_example; // String | name that need to be deleted +var username = username_example; // String | name of the user that needs to be updated var user = new User(); // User | Updated user object try { @@ -329,7 +329,7 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **username** | **String**| name that need to be deleted | + **username** | **String**| name of the user that needs to be updated | **user** | [**User**](User.md)| Updated user object | ### Return type diff --git a/samples/openapi3/client/petstore/dart2/petstore_client_lib/doc/UserApi.md b/samples/openapi3/client/petstore/dart2/petstore_client_lib/doc/UserApi.md index 7b1d33715297..682fd9aef435 100644 --- a/samples/openapi3/client/petstore/dart2/petstore_client_lib/doc/UserApi.md +++ b/samples/openapi3/client/petstore/dart2/petstore_client_lib/doc/UserApi.md @@ -339,7 +339,7 @@ import 'package:openapi/api.dart'; //defaultApiClient.getAuthentication('api_key').apiKeyPrefix = 'Bearer'; final api_instance = UserApi(); -final username = username_example; // String | name that need to be deleted +final username = username_example; // String | name of the user that needs to be updated final user = User(); // User | Updated user object try { @@ -353,7 +353,7 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **username** | **String**| name that need to be deleted | + **username** | **String**| name of the user that needs to be updated | **user** | [**User**](User.md)| Updated user object | ### Return type diff --git a/samples/openapi3/client/petstore/dart2/petstore_client_lib/lib/api/user_api.dart b/samples/openapi3/client/petstore/dart2/petstore_client_lib/lib/api/user_api.dart index ed6dc5f0900f..066ecc0666b8 100644 --- a/samples/openapi3/client/petstore/dart2/petstore_client_lib/lib/api/user_api.dart +++ b/samples/openapi3/client/petstore/dart2/petstore_client_lib/lib/api/user_api.dart @@ -486,7 +486,7 @@ class UserApi { /// Parameters: /// /// * [String] username (required): - /// name that need to be deleted + /// name of the user that needs to be updated /// /// * [User] user (required): /// Updated user object @@ -543,7 +543,7 @@ class UserApi { /// Parameters: /// /// * [String] username (required): - /// name that need to be deleted + /// name of the user that needs to be updated /// /// * [User] user (required): /// Updated user object diff --git a/samples/openapi3/client/petstore/dart2/petstore_client_lib_fake/doc/UserApi.md b/samples/openapi3/client/petstore/dart2/petstore_client_lib_fake/doc/UserApi.md index 1fcc5faa1cb4..60dbbf8575b3 100644 --- a/samples/openapi3/client/petstore/dart2/petstore_client_lib_fake/doc/UserApi.md +++ b/samples/openapi3/client/petstore/dart2/petstore_client_lib_fake/doc/UserApi.md @@ -315,7 +315,7 @@ This can only be done by the logged in user. import 'package:openapi/api.dart'; final api_instance = UserApi(); -final username = username_example; // String | name that need to be deleted +final username = username_example; // String | name of the user that needs to be updated final user = User(); // User | Updated user object try { @@ -329,7 +329,7 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **username** | **String**| name that need to be deleted | + **username** | **String**| name of the user that needs to be updated | **user** | [**User**](User.md)| Updated user object | ### Return type diff --git a/samples/openapi3/client/petstore/dart2/petstore_client_lib_fake/lib/api/user_api.dart b/samples/openapi3/client/petstore/dart2/petstore_client_lib_fake/lib/api/user_api.dart index d8346bcb3b7b..e986f79de2ae 100644 --- a/samples/openapi3/client/petstore/dart2/petstore_client_lib_fake/lib/api/user_api.dart +++ b/samples/openapi3/client/petstore/dart2/petstore_client_lib_fake/lib/api/user_api.dart @@ -486,7 +486,7 @@ class UserApi { /// Parameters: /// /// * [String] username (required): - /// name that need to be deleted + /// name of the user that needs to be updated /// /// * [User] user (required): /// Updated user object @@ -543,7 +543,7 @@ class UserApi { /// Parameters: /// /// * [String] username (required): - /// name that need to be deleted + /// name of the user that needs to be updated /// /// * [User] user (required): /// Updated user object diff --git a/samples/openapi3/client/petstore/go/go-petstore/api/openapi.yaml b/samples/openapi3/client/petstore/go/go-petstore/api/openapi.yaml index 6777d5fdc645..4f57a4272070 100644 --- a/samples/openapi3/client/petstore/go/go-petstore/api/openapi.yaml +++ b/samples/openapi3/client/petstore/go/go-petstore/api/openapi.yaml @@ -561,7 +561,7 @@ paths: description: This can only be done by the logged in user. operationId: updateUser parameters: - - description: name that need to be deleted + - description: name of the user that needs to be updated explode: false in: path name: username diff --git a/samples/openapi3/client/petstore/go/go-petstore/api_user.go b/samples/openapi3/client/petstore/go/go-petstore/api_user.go index 9abef9ffe6e3..314e707553dd 100644 --- a/samples/openapi3/client/petstore/go/go-petstore/api_user.go +++ b/samples/openapi3/client/petstore/go/go-petstore/api_user.go @@ -120,7 +120,7 @@ type UserApi interface { * UpdateUser Updated user * This can only be done by the logged in user. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param username name that need to be deleted + * @param username name of the user that needs to be updated * @return ApiUpdateUserRequest */ UpdateUser(ctx _context.Context, username string) ApiUpdateUserRequest @@ -904,7 +904,7 @@ func (r ApiUpdateUserRequest) Execute() (*_nethttp.Response, GenericOpenAPIError * UpdateUser Updated user * This can only be done by the logged in user. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param username name that need to be deleted + * @param username name of the user that needs to be updated * @return ApiUpdateUserRequest */ func (a *UserApiService) UpdateUser(ctx _context.Context, username string) ApiUpdateUserRequest { diff --git a/samples/openapi3/client/petstore/go/go-petstore/docs/UserApi.md b/samples/openapi3/client/petstore/go/go-petstore/docs/UserApi.md index df784307bd0d..28ebbed545b8 100644 --- a/samples/openapi3/client/petstore/go/go-petstore/docs/UserApi.md +++ b/samples/openapi3/client/petstore/go/go-petstore/docs/UserApi.md @@ -483,7 +483,7 @@ import ( ) func main() { - username := "username_example" // string | name that need to be deleted + username := "username_example" // string | name of the user that needs to be updated user := *openapiclient.NewUser() // User | Updated user object configuration := openapiclient.NewConfiguration() @@ -502,7 +502,7 @@ func main() { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. -**username** | **string** | name that need to be deleted | +**username** | **string** | name of the user that needs to be updated | ### Other Parameters diff --git a/samples/openapi3/client/petstore/java/jersey2-java8/api/openapi.yaml b/samples/openapi3/client/petstore/java/jersey2-java8/api/openapi.yaml index 4e4b9f400214..5dd620e3688c 100644 --- a/samples/openapi3/client/petstore/java/jersey2-java8/api/openapi.yaml +++ b/samples/openapi3/client/petstore/java/jersey2-java8/api/openapi.yaml @@ -589,7 +589,7 @@ paths: description: This can only be done by the logged in user. operationId: updateUser parameters: - - description: name that need to be deleted + - description: name of the user that needs to be updated explode: false in: path name: username diff --git a/samples/openapi3/client/petstore/java/jersey2-java8/docs/UserApi.md b/samples/openapi3/client/petstore/java/jersey2-java8/docs/UserApi.md index 49d31db2ee2c..c3ef89f82b79 100644 --- a/samples/openapi3/client/petstore/java/jersey2-java8/docs/UserApi.md +++ b/samples/openapi3/client/petstore/java/jersey2-java8/docs/UserApi.md @@ -481,7 +481,7 @@ public class Example { defaultClient.setBasePath("http://petstore.swagger.io:80/v2"); UserApi apiInstance = new UserApi(defaultClient); - String username = "username_example"; // String | name that need to be deleted + String username = "username_example"; // String | name of the user that needs to be updated User user = new User(); // User | Updated user object try { apiInstance.updateUser(username, user); @@ -501,7 +501,7 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **username** | **String**| name that need to be deleted | + **username** | **String**| name of the user that needs to be updated | **user** | [**User**](User.md)| Updated user object | ### Return type diff --git a/samples/openapi3/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/api/UserApi.java b/samples/openapi3/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/api/UserApi.java index bdf2c62fcf0a..226f6977da9d 100644 --- a/samples/openapi3/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/api/UserApi.java +++ b/samples/openapi3/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/api/UserApi.java @@ -514,7 +514,7 @@ public ApiResponse logoutUserWithHttpInfo() throws ApiException { /** * Updated user * This can only be done by the logged in user. - * @param username name that need to be deleted (required) + * @param username name of the user that needs to be updated (required) * @param user Updated user object (required) * @throws ApiException if fails to make API call * @http.response.details @@ -531,7 +531,7 @@ public void updateUser(String username, User user) throws ApiException { /** * Updated user * This can only be done by the logged in user. - * @param username name that need to be deleted (required) + * @param username name of the user that needs to be updated (required) * @param user Updated user object (required) * @return ApiResponse<Void> * @throws ApiException if fails to make API call diff --git a/samples/openapi3/client/petstore/java/native/api/openapi.yaml b/samples/openapi3/client/petstore/java/native/api/openapi.yaml index 4e4b9f400214..5dd620e3688c 100644 --- a/samples/openapi3/client/petstore/java/native/api/openapi.yaml +++ b/samples/openapi3/client/petstore/java/native/api/openapi.yaml @@ -589,7 +589,7 @@ paths: description: This can only be done by the logged in user. operationId: updateUser parameters: - - description: name that need to be deleted + - description: name of the user that needs to be updated explode: false in: path name: username diff --git a/samples/openapi3/client/petstore/java/native/docs/UserApi.md b/samples/openapi3/client/petstore/java/native/docs/UserApi.md index 2fc189e76197..c790ffa82f21 100644 --- a/samples/openapi3/client/petstore/java/native/docs/UserApi.md +++ b/samples/openapi3/client/petstore/java/native/docs/UserApi.md @@ -959,7 +959,7 @@ public class Example { defaultClient.setBasePath("http://petstore.swagger.io:80/v2"); UserApi apiInstance = new UserApi(defaultClient); - String username = "username_example"; // String | name that need to be deleted + String username = "username_example"; // String | name of the user that needs to be updated User user = new User(); // User | Updated user object try { apiInstance.updateUser(username, user); @@ -979,7 +979,7 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **username** | **String**| name that need to be deleted | + **username** | **String**| name of the user that needs to be updated | **user** | [**User**](User.md)| Updated user object | ### Return type @@ -1027,7 +1027,7 @@ public class Example { defaultClient.setBasePath("http://petstore.swagger.io:80/v2"); UserApi apiInstance = new UserApi(defaultClient); - String username = "username_example"; // String | name that need to be deleted + String username = "username_example"; // String | name of the user that needs to be updated User user = new User(); // User | Updated user object try { ApiResponse response = apiInstance.updateUserWithHttpInfo(username, user); @@ -1049,7 +1049,7 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **username** | **String**| name that need to be deleted | + **username** | **String**| name of the user that needs to be updated | **user** | [**User**](User.md)| Updated user object | ### Return type diff --git a/samples/openapi3/client/petstore/java/native/src/main/java/org/openapitools/client/api/UserApi.java b/samples/openapi3/client/petstore/java/native/src/main/java/org/openapitools/client/api/UserApi.java index 56579ab17f04..9cdff49b61bf 100644 --- a/samples/openapi3/client/petstore/java/native/src/main/java/org/openapitools/client/api/UserApi.java +++ b/samples/openapi3/client/petstore/java/native/src/main/java/org/openapitools/client/api/UserApi.java @@ -578,7 +578,7 @@ private HttpRequest.Builder logoutUserRequestBuilder() throws ApiException { /** * Updated user * This can only be done by the logged in user. - * @param username name that need to be deleted (required) + * @param username name of the user that needs to be updated (required) * @param user Updated user object (required) * @throws ApiException if fails to make API call */ @@ -589,7 +589,7 @@ public void updateUser(String username, User user) throws ApiException { /** * Updated user * This can only be done by the logged in user. - * @param username name that need to be deleted (required) + * @param username name of the user that needs to be updated (required) * @param user Updated user object (required) * @return ApiResponse<Void> * @throws ApiException if fails to make API call diff --git a/samples/openapi3/client/petstore/kotlin-deprecated/docs/UserApi.md b/samples/openapi3/client/petstore/kotlin-deprecated/docs/UserApi.md index 89fef1a36581..2c46bef2f8c1 100644 --- a/samples/openapi3/client/petstore/kotlin-deprecated/docs/UserApi.md +++ b/samples/openapi3/client/petstore/kotlin-deprecated/docs/UserApi.md @@ -356,7 +356,7 @@ This can only be done by the logged in user. //import org.openapitools.client.models.* val apiInstance = UserApi() -val username : kotlin.String = username_example // kotlin.String | name that need to be deleted +val username : kotlin.String = username_example // kotlin.String | name of the user that needs to be updated val user : User = // User | Updated user object try { apiInstance.updateUser(username, user) @@ -373,7 +373,7 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **username** | **kotlin.String**| name that need to be deleted | + **username** | **kotlin.String**| name of the user that needs to be updated | **user** | [**User**](User.md)| Updated user object | ### Return type diff --git a/samples/openapi3/client/petstore/kotlin-deprecated/src/main/kotlin/org/openapitools/client/apis/UserApi.kt b/samples/openapi3/client/petstore/kotlin-deprecated/src/main/kotlin/org/openapitools/client/apis/UserApi.kt index 4c23e5d5c334..da9f77c28d5b 100644 --- a/samples/openapi3/client/petstore/kotlin-deprecated/src/main/kotlin/org/openapitools/client/apis/UserApi.kt +++ b/samples/openapi3/client/petstore/kotlin-deprecated/src/main/kotlin/org/openapitools/client/apis/UserApi.kt @@ -322,7 +322,7 @@ class UserApi(basePath: kotlin.String = defaultBasePath) : ApiClient(basePath) { /** * Updated user * This can only be done by the logged in user. - * @param username name that need to be deleted + * @param username name of the user that needs to be updated * @param user Updated user object * @return void * @throws UnsupportedOperationException If the API returns an informational or redirection response diff --git a/samples/openapi3/client/petstore/kotlin-jvm-retrofit2-coroutines/docs/UserApi.md b/samples/openapi3/client/petstore/kotlin-jvm-retrofit2-coroutines/docs/UserApi.md index 5cf484387734..6f8bd71b1955 100644 --- a/samples/openapi3/client/petstore/kotlin-jvm-retrofit2-coroutines/docs/UserApi.md +++ b/samples/openapi3/client/petstore/kotlin-jvm-retrofit2-coroutines/docs/UserApi.md @@ -296,7 +296,7 @@ This can only be done by the logged in user. val apiClient = ApiClient() val webService = apiClient.createWebservice(UserApi::class.java) -val username : kotlin.String = username_example // kotlin.String | name that need to be deleted +val username : kotlin.String = username_example // kotlin.String | name of the user that needs to be updated val user : User = // User | Updated user object launch(Dispatchers.IO) { @@ -308,7 +308,7 @@ launch(Dispatchers.IO) { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **username** | **kotlin.String**| name that need to be deleted | + **username** | **kotlin.String**| name of the user that needs to be updated | **user** | [**User**](User.md)| Updated user object | ### Return type diff --git a/samples/openapi3/client/petstore/kotlin-jvm-retrofit2-coroutines/src/main/kotlin/org/openapitools/client/apis/UserApi.kt b/samples/openapi3/client/petstore/kotlin-jvm-retrofit2-coroutines/src/main/kotlin/org/openapitools/client/apis/UserApi.kt index 2d0bd056b8ef..a55a0b2c8a3a 100644 --- a/samples/openapi3/client/petstore/kotlin-jvm-retrofit2-coroutines/src/main/kotlin/org/openapitools/client/apis/UserApi.kt +++ b/samples/openapi3/client/petstore/kotlin-jvm-retrofit2-coroutines/src/main/kotlin/org/openapitools/client/apis/UserApi.kt @@ -103,7 +103,7 @@ interface UserApi { * - 400: Invalid user supplied * - 404: User not found * - * @param username name that need to be deleted + * @param username name of the user that needs to be updated * @param user Updated user object * @return [Unit] */ diff --git a/samples/openapi3/client/petstore/kotlin-jvm-retrofit2-rx/docs/UserApi.md b/samples/openapi3/client/petstore/kotlin-jvm-retrofit2-rx/docs/UserApi.md index b667d3b0a600..12712d1a56e8 100644 --- a/samples/openapi3/client/petstore/kotlin-jvm-retrofit2-rx/docs/UserApi.md +++ b/samples/openapi3/client/petstore/kotlin-jvm-retrofit2-rx/docs/UserApi.md @@ -282,7 +282,7 @@ This can only be done by the logged in user. val apiClient = ApiClient() val webService = apiClient.createWebservice(UserApi::class.java) -val username : kotlin.String = username_example // kotlin.String | name that need to be deleted +val username : kotlin.String = username_example // kotlin.String | name of the user that needs to be updated val user : User = // User | Updated user object webService.updateUser(username, user) @@ -292,7 +292,7 @@ webService.updateUser(username, user) Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **username** | **kotlin.String**| name that need to be deleted | + **username** | **kotlin.String**| name of the user that needs to be updated | **user** | [**User**](User.md)| Updated user object | ### Return type diff --git a/samples/openapi3/client/petstore/kotlin-jvm-retrofit2-rx/src/main/kotlin/org/openapitools/client/apis/UserApi.kt b/samples/openapi3/client/petstore/kotlin-jvm-retrofit2-rx/src/main/kotlin/org/openapitools/client/apis/UserApi.kt index 465705c8ef72..9888ef050ed5 100644 --- a/samples/openapi3/client/petstore/kotlin-jvm-retrofit2-rx/src/main/kotlin/org/openapitools/client/apis/UserApi.kt +++ b/samples/openapi3/client/petstore/kotlin-jvm-retrofit2-rx/src/main/kotlin/org/openapitools/client/apis/UserApi.kt @@ -103,7 +103,7 @@ interface UserApi { * - 400: Invalid user supplied * - 404: User not found * - * @param username name that need to be deleted + * @param username name of the user that needs to be updated * @param user Updated user object * @return [Call]<[Unit]> */ diff --git a/samples/openapi3/client/petstore/kotlin-jvm-retrofit2-rx2/docs/UserApi.md b/samples/openapi3/client/petstore/kotlin-jvm-retrofit2-rx2/docs/UserApi.md index b667d3b0a600..12712d1a56e8 100644 --- a/samples/openapi3/client/petstore/kotlin-jvm-retrofit2-rx2/docs/UserApi.md +++ b/samples/openapi3/client/petstore/kotlin-jvm-retrofit2-rx2/docs/UserApi.md @@ -282,7 +282,7 @@ This can only be done by the logged in user. val apiClient = ApiClient() val webService = apiClient.createWebservice(UserApi::class.java) -val username : kotlin.String = username_example // kotlin.String | name that need to be deleted +val username : kotlin.String = username_example // kotlin.String | name of the user that needs to be updated val user : User = // User | Updated user object webService.updateUser(username, user) @@ -292,7 +292,7 @@ webService.updateUser(username, user) Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **username** | **kotlin.String**| name that need to be deleted | + **username** | **kotlin.String**| name of the user that needs to be updated | **user** | [**User**](User.md)| Updated user object | ### Return type diff --git a/samples/openapi3/client/petstore/kotlin-jvm-retrofit2-rx2/src/main/kotlin/org/openapitools/client/apis/UserApi.kt b/samples/openapi3/client/petstore/kotlin-jvm-retrofit2-rx2/src/main/kotlin/org/openapitools/client/apis/UserApi.kt index 0948c0c47a79..99b299df68b5 100644 --- a/samples/openapi3/client/petstore/kotlin-jvm-retrofit2-rx2/src/main/kotlin/org/openapitools/client/apis/UserApi.kt +++ b/samples/openapi3/client/petstore/kotlin-jvm-retrofit2-rx2/src/main/kotlin/org/openapitools/client/apis/UserApi.kt @@ -104,7 +104,7 @@ interface UserApi { * - 400: Invalid user supplied * - 404: User not found * - * @param username name that need to be deleted + * @param username name of the user that needs to be updated * @param user Updated user object * @return [Call]<[Unit]> */ diff --git a/samples/openapi3/client/petstore/kotlin-multiplatform/docs/UserApi.md b/samples/openapi3/client/petstore/kotlin-multiplatform/docs/UserApi.md index 543cbee5a390..f8d955407fc6 100644 --- a/samples/openapi3/client/petstore/kotlin-multiplatform/docs/UserApi.md +++ b/samples/openapi3/client/petstore/kotlin-multiplatform/docs/UserApi.md @@ -341,7 +341,7 @@ This can only be done by the logged in user. //import org.openapitools.client.models.* val apiInstance = UserApi() -val username : kotlin.String = username_example // kotlin.String | name that need to be deleted +val username : kotlin.String = username_example // kotlin.String | name of the user that needs to be updated val user : User = // User | Updated user object try { apiInstance.updateUser(username, user) @@ -358,7 +358,7 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **username** | **kotlin.String**| name that need to be deleted | + **username** | **kotlin.String**| name of the user that needs to be updated | **user** | [**User**](User.md)| Updated user object | ### Return type diff --git a/samples/openapi3/client/petstore/kotlin-multiplatform/src/commonMain/kotlin/org/openapitools/client/apis/UserApi.kt b/samples/openapi3/client/petstore/kotlin-multiplatform/src/commonMain/kotlin/org/openapitools/client/apis/UserApi.kt index 19bfb382876a..cbd6e05c988d 100644 --- a/samples/openapi3/client/petstore/kotlin-multiplatform/src/commonMain/kotlin/org/openapitools/client/apis/UserApi.kt +++ b/samples/openapi3/client/petstore/kotlin-multiplatform/src/commonMain/kotlin/org/openapitools/client/apis/UserApi.kt @@ -286,7 +286,7 @@ class UserApi @UseExperimental(UnstableDefault::class) constructor( /** * Updated user * This can only be done by the logged in user. - * @param username name that need to be deleted + * @param username name of the user that needs to be updated * @param user Updated user object * @return void */ diff --git a/samples/openapi3/client/petstore/kotlin/docs/UserApi.md b/samples/openapi3/client/petstore/kotlin/docs/UserApi.md index 543cbee5a390..f8d955407fc6 100644 --- a/samples/openapi3/client/petstore/kotlin/docs/UserApi.md +++ b/samples/openapi3/client/petstore/kotlin/docs/UserApi.md @@ -341,7 +341,7 @@ This can only be done by the logged in user. //import org.openapitools.client.models.* val apiInstance = UserApi() -val username : kotlin.String = username_example // kotlin.String | name that need to be deleted +val username : kotlin.String = username_example // kotlin.String | name of the user that needs to be updated val user : User = // User | Updated user object try { apiInstance.updateUser(username, user) @@ -358,7 +358,7 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **username** | **kotlin.String**| name that need to be deleted | + **username** | **kotlin.String**| name of the user that needs to be updated | **user** | [**User**](User.md)| Updated user object | ### Return type diff --git a/samples/openapi3/client/petstore/kotlin/src/main/kotlin/org/openapitools/client/apis/UserApi.kt b/samples/openapi3/client/petstore/kotlin/src/main/kotlin/org/openapitools/client/apis/UserApi.kt index 1ed6f6bc16b3..23ca94d05e4d 100644 --- a/samples/openapi3/client/petstore/kotlin/src/main/kotlin/org/openapitools/client/apis/UserApi.kt +++ b/samples/openapi3/client/petstore/kotlin/src/main/kotlin/org/openapitools/client/apis/UserApi.kt @@ -322,7 +322,7 @@ class UserApi(basePath: kotlin.String = defaultBasePath) : ApiClient(basePath) { /** * Updated user * This can only be done by the logged in user. - * @param username name that need to be deleted + * @param username name of the user that needs to be updated * @param user Updated user object * @return void * @throws UnsupportedOperationException If the API returns an informational or redirection response diff --git a/samples/openapi3/client/petstore/python-legacy/docs/UserApi.md b/samples/openapi3/client/petstore/python-legacy/docs/UserApi.md index 32a62c8add92..516f4fe0e150 100755 --- a/samples/openapi3/client/petstore/python-legacy/docs/UserApi.md +++ b/samples/openapi3/client/petstore/python-legacy/docs/UserApi.md @@ -461,7 +461,7 @@ configuration = petstore_api.Configuration( with petstore_api.ApiClient() as api_client: # Create an instance of the API class api_instance = petstore_api.UserApi(api_client) - username = 'username_example' # str | name that need to be deleted + username = 'username_example' # str | name of the user that needs to be updated user = petstore_api.User() # User | Updated user object try: @@ -475,7 +475,7 @@ user = petstore_api.User() # User | Updated user object Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **username** | **str**| name that need to be deleted | + **username** | **str**| name of the user that needs to be updated | **user** | [**User**](User.md)| Updated user object | ### Return type diff --git a/samples/openapi3/client/petstore/python-legacy/petstore_api/api/user_api.py b/samples/openapi3/client/petstore/python-legacy/petstore_api/api/user_api.py index a0a25e7bcbcf..2ddbb7bdfce3 100755 --- a/samples/openapi3/client/petstore/python-legacy/petstore_api/api/user_api.py +++ b/samples/openapi3/client/petstore/python-legacy/petstore_api/api/user_api.py @@ -966,7 +966,7 @@ def update_user(self, username, user, **kwargs): # noqa: E501 >>> thread = api.update_user(username, user, async_req=True) >>> result = thread.get() - :param username: name that need to be deleted (required) + :param username: name of the user that needs to be updated (required) :type username: str :param user: Updated user object (required) :type user: User @@ -998,7 +998,7 @@ def update_user_with_http_info(self, username, user, **kwargs): # noqa: E501 >>> thread = api.update_user_with_http_info(username, user, async_req=True) >>> result = thread.get() - :param username: name that need to be deleted (required) + :param username: name of the user that needs to be updated (required) :type username: str :param user: Updated user object (required) :type user: User diff --git a/samples/openapi3/client/petstore/python/docs/UserApi.md b/samples/openapi3/client/petstore/python/docs/UserApi.md index 59eeff9a3366..ba5253ae507e 100644 --- a/samples/openapi3/client/petstore/python/docs/UserApi.md +++ b/samples/openapi3/client/petstore/python/docs/UserApi.md @@ -508,7 +508,7 @@ configuration = petstore_api.Configuration( with petstore_api.ApiClient() as api_client: # Create an instance of the API class api_instance = user_api.UserApi(api_client) - username = "username_example" # str | name that need to be deleted + username = "username_example" # str | name of the user that needs to be updated user = User( id=1, username="username_example", @@ -536,7 +536,7 @@ with petstore_api.ApiClient() as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **username** | **str**| name that need to be deleted | + **username** | **str**| name of the user that needs to be updated | **user** | [**User**](User.md)| Updated user object | ### Return type diff --git a/samples/openapi3/client/petstore/python/petstore_api/api/user_api.py b/samples/openapi3/client/petstore/python/petstore_api/api/user_api.py index 0cc9d46c9b5f..0abd520e52a0 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/api/user_api.py +++ b/samples/openapi3/client/petstore/python/petstore_api/api/user_api.py @@ -859,7 +859,7 @@ def __update_user( >>> result = thread.get() Args: - username (str): name that need to be deleted + username (str): name of the user that needs to be updated user (User): Updated user object Keyword Args: diff --git a/samples/openapi3/client/petstore/typescript/builds/default/apis/UserApi.ts b/samples/openapi3/client/petstore/typescript/builds/default/apis/UserApi.ts index 1d43ec7a72b4..e74951f6b0f2 100644 --- a/samples/openapi3/client/petstore/typescript/builds/default/apis/UserApi.ts +++ b/samples/openapi3/client/petstore/typescript/builds/default/apis/UserApi.ts @@ -317,7 +317,7 @@ export class UserApiRequestFactory extends BaseAPIRequestFactory { /** * This can only be done by the logged in user. * Updated user - * @param username name that need to be deleted + * @param username name of the user that needs to be updated * @param user Updated user object */ public async updateUser(username: string, user: User, options?: Configuration): Promise { diff --git a/samples/openapi3/client/petstore/typescript/builds/default/types/ObjectParamAPI.ts b/samples/openapi3/client/petstore/typescript/builds/default/types/ObjectParamAPI.ts index bcc9c5afa0ae..e258acf5a1ec 100644 --- a/samples/openapi3/client/petstore/typescript/builds/default/types/ObjectParamAPI.ts +++ b/samples/openapi3/client/petstore/typescript/builds/default/types/ObjectParamAPI.ts @@ -345,7 +345,7 @@ export interface UserApiLogoutUserRequest { export interface UserApiUpdateUserRequest { /** - * name that need to be deleted + * name of the user that needs to be updated * @type string * @memberof UserApiupdateUser */ diff --git a/samples/openapi3/client/petstore/typescript/builds/default/types/ObservableAPI.ts b/samples/openapi3/client/petstore/typescript/builds/default/types/ObservableAPI.ts index 6154d267ed3a..d1013aa1534b 100644 --- a/samples/openapi3/client/petstore/typescript/builds/default/types/ObservableAPI.ts +++ b/samples/openapi3/client/petstore/typescript/builds/default/types/ObservableAPI.ts @@ -523,7 +523,7 @@ export class ObservableUserApi { /** * This can only be done by the logged in user. * Updated user - * @param username name that need to be deleted + * @param username name of the user that needs to be updated * @param user Updated user object */ public updateUser(username: string, user: User, options?: Configuration): Observable { diff --git a/samples/openapi3/client/petstore/typescript/builds/default/types/PromiseAPI.ts b/samples/openapi3/client/petstore/typescript/builds/default/types/PromiseAPI.ts index 533095a405d6..a0f8b626e133 100644 --- a/samples/openapi3/client/petstore/typescript/builds/default/types/PromiseAPI.ts +++ b/samples/openapi3/client/petstore/typescript/builds/default/types/PromiseAPI.ts @@ -249,7 +249,7 @@ export class PromiseUserApi { /** * This can only be done by the logged in user. * Updated user - * @param username name that need to be deleted + * @param username name of the user that needs to be updated * @param user Updated user object */ public updateUser(username: string, user: User, options?: Configuration): Promise { diff --git a/samples/openapi3/client/petstore/typescript/builds/deno/apis/UserApi.ts b/samples/openapi3/client/petstore/typescript/builds/deno/apis/UserApi.ts index 5744990ab8a3..764a66668116 100644 --- a/samples/openapi3/client/petstore/typescript/builds/deno/apis/UserApi.ts +++ b/samples/openapi3/client/petstore/typescript/builds/deno/apis/UserApi.ts @@ -316,7 +316,7 @@ export class UserApiRequestFactory extends BaseAPIRequestFactory { /** * This can only be done by the logged in user. * Updated user - * @param username name that need to be deleted + * @param username name of the user that needs to be updated * @param user Updated user object */ public async updateUser(username: string, user: User, options?: Configuration): Promise { diff --git a/samples/openapi3/client/petstore/typescript/builds/deno/types/ObjectParamAPI.ts b/samples/openapi3/client/petstore/typescript/builds/deno/types/ObjectParamAPI.ts index 6c05a844b2ca..563edb679826 100644 --- a/samples/openapi3/client/petstore/typescript/builds/deno/types/ObjectParamAPI.ts +++ b/samples/openapi3/client/petstore/typescript/builds/deno/types/ObjectParamAPI.ts @@ -345,7 +345,7 @@ export interface UserApiLogoutUserRequest { export interface UserApiUpdateUserRequest { /** - * name that need to be deleted + * name of the user that needs to be updated * @type string * @memberof UserApiupdateUser */ diff --git a/samples/openapi3/client/petstore/typescript/builds/deno/types/ObservableAPI.ts b/samples/openapi3/client/petstore/typescript/builds/deno/types/ObservableAPI.ts index 0b4531f7584c..8c72bd16a970 100644 --- a/samples/openapi3/client/petstore/typescript/builds/deno/types/ObservableAPI.ts +++ b/samples/openapi3/client/petstore/typescript/builds/deno/types/ObservableAPI.ts @@ -523,7 +523,7 @@ export class ObservableUserApi { /** * This can only be done by the logged in user. * Updated user - * @param username name that need to be deleted + * @param username name of the user that needs to be updated * @param user Updated user object */ public updateUser(username: string, user: User, options?: Configuration): Observable { diff --git a/samples/openapi3/client/petstore/typescript/builds/deno/types/PromiseAPI.ts b/samples/openapi3/client/petstore/typescript/builds/deno/types/PromiseAPI.ts index 4c44a1040947..22145c85e957 100644 --- a/samples/openapi3/client/petstore/typescript/builds/deno/types/PromiseAPI.ts +++ b/samples/openapi3/client/petstore/typescript/builds/deno/types/PromiseAPI.ts @@ -249,7 +249,7 @@ export class PromiseUserApi { /** * This can only be done by the logged in user. * Updated user - * @param username name that need to be deleted + * @param username name of the user that needs to be updated * @param user Updated user object */ public updateUser(username: string, user: User, options?: Configuration): Promise { diff --git a/samples/openapi3/client/petstore/typescript/builds/inversify/apis/UserApi.ts b/samples/openapi3/client/petstore/typescript/builds/inversify/apis/UserApi.ts index 353bae433c58..7bc25413e846 100644 --- a/samples/openapi3/client/petstore/typescript/builds/inversify/apis/UserApi.ts +++ b/samples/openapi3/client/petstore/typescript/builds/inversify/apis/UserApi.ts @@ -319,7 +319,7 @@ export class UserApiRequestFactory extends BaseAPIRequestFactory { /** * This can only be done by the logged in user. * Updated user - * @param username name that need to be deleted + * @param username name of the user that needs to be updated * @param user Updated user object */ public async updateUser(username: string, user: User, options?: Configuration): Promise { diff --git a/samples/openapi3/client/petstore/typescript/builds/inversify/types/ObjectParamAPI.ts b/samples/openapi3/client/petstore/typescript/builds/inversify/types/ObjectParamAPI.ts index bcc9c5afa0ae..e258acf5a1ec 100644 --- a/samples/openapi3/client/petstore/typescript/builds/inversify/types/ObjectParamAPI.ts +++ b/samples/openapi3/client/petstore/typescript/builds/inversify/types/ObjectParamAPI.ts @@ -345,7 +345,7 @@ export interface UserApiLogoutUserRequest { export interface UserApiUpdateUserRequest { /** - * name that need to be deleted + * name of the user that needs to be updated * @type string * @memberof UserApiupdateUser */ diff --git a/samples/openapi3/client/petstore/typescript/builds/inversify/types/ObservableAPI.ts b/samples/openapi3/client/petstore/typescript/builds/inversify/types/ObservableAPI.ts index 31ced8bbdca3..24a6c9fba178 100644 --- a/samples/openapi3/client/petstore/typescript/builds/inversify/types/ObservableAPI.ts +++ b/samples/openapi3/client/petstore/typescript/builds/inversify/types/ObservableAPI.ts @@ -534,7 +534,7 @@ export class ObservableUserApi { /** * This can only be done by the logged in user. * Updated user - * @param username name that need to be deleted + * @param username name of the user that needs to be updated * @param user Updated user object */ public updateUser(username: string, user: User, options?: Configuration): Observable { diff --git a/samples/openapi3/client/petstore/typescript/builds/inversify/types/PromiseAPI.ts b/samples/openapi3/client/petstore/typescript/builds/inversify/types/PromiseAPI.ts index 6077fdac2d59..0aa65d34f0a1 100644 --- a/samples/openapi3/client/petstore/typescript/builds/inversify/types/PromiseAPI.ts +++ b/samples/openapi3/client/petstore/typescript/builds/inversify/types/PromiseAPI.ts @@ -260,7 +260,7 @@ export class PromiseUserApi { /** * This can only be done by the logged in user. * Updated user - * @param username name that need to be deleted + * @param username name of the user that needs to be updated * @param user Updated user object */ public updateUser(username: string, user: User, options?: Configuration): Promise { diff --git a/samples/openapi3/client/petstore/typescript/builds/jquery/apis/UserApi.ts b/samples/openapi3/client/petstore/typescript/builds/jquery/apis/UserApi.ts index 83aae43a582c..2bb4e98915ae 100644 --- a/samples/openapi3/client/petstore/typescript/builds/jquery/apis/UserApi.ts +++ b/samples/openapi3/client/petstore/typescript/builds/jquery/apis/UserApi.ts @@ -316,7 +316,7 @@ export class UserApiRequestFactory extends BaseAPIRequestFactory { /** * This can only be done by the logged in user. * Updated user - * @param username name that need to be deleted + * @param username name of the user that needs to be updated * @param user Updated user object */ public async updateUser(username: string, user: User, options?: Configuration): Promise { diff --git a/samples/openapi3/client/petstore/typescript/builds/jquery/types/APIInterfaces.ts b/samples/openapi3/client/petstore/typescript/builds/jquery/types/APIInterfaces.ts index 370e025aa041..aa3dbec9eee2 100644 --- a/samples/openapi3/client/petstore/typescript/builds/jquery/types/APIInterfaces.ts +++ b/samples/openapi3/client/petstore/typescript/builds/jquery/types/APIInterfaces.ts @@ -155,7 +155,7 @@ export interface GenericUserApiInterface { /** * This can only be done by the logged in user. * Updated user - * @param username name that need to be deleted + * @param username name of the user that needs to be updated * @param user Updated user object */ updateUser(username: string, user: User, options?: Configuration): T8; diff --git a/samples/openapi3/client/petstore/typescript/builds/jquery/types/ObjectParamAPI.ts b/samples/openapi3/client/petstore/typescript/builds/jquery/types/ObjectParamAPI.ts index bcc9c5afa0ae..e258acf5a1ec 100644 --- a/samples/openapi3/client/petstore/typescript/builds/jquery/types/ObjectParamAPI.ts +++ b/samples/openapi3/client/petstore/typescript/builds/jquery/types/ObjectParamAPI.ts @@ -345,7 +345,7 @@ export interface UserApiLogoutUserRequest { export interface UserApiUpdateUserRequest { /** - * name that need to be deleted + * name of the user that needs to be updated * @type string * @memberof UserApiupdateUser */ diff --git a/samples/openapi3/client/petstore/typescript/builds/jquery/types/ObservableAPI.ts b/samples/openapi3/client/petstore/typescript/builds/jquery/types/ObservableAPI.ts index 6154d267ed3a..d1013aa1534b 100644 --- a/samples/openapi3/client/petstore/typescript/builds/jquery/types/ObservableAPI.ts +++ b/samples/openapi3/client/petstore/typescript/builds/jquery/types/ObservableAPI.ts @@ -523,7 +523,7 @@ export class ObservableUserApi { /** * This can only be done by the logged in user. * Updated user - * @param username name that need to be deleted + * @param username name of the user that needs to be updated * @param user Updated user object */ public updateUser(username: string, user: User, options?: Configuration): Observable { diff --git a/samples/openapi3/client/petstore/typescript/builds/jquery/types/PromiseAPI.ts b/samples/openapi3/client/petstore/typescript/builds/jquery/types/PromiseAPI.ts index 533095a405d6..a0f8b626e133 100644 --- a/samples/openapi3/client/petstore/typescript/builds/jquery/types/PromiseAPI.ts +++ b/samples/openapi3/client/petstore/typescript/builds/jquery/types/PromiseAPI.ts @@ -249,7 +249,7 @@ export class PromiseUserApi { /** * This can only be done by the logged in user. * Updated user - * @param username name that need to be deleted + * @param username name of the user that needs to be updated * @param user Updated user object */ public updateUser(username: string, user: User, options?: Configuration): Promise { diff --git a/samples/openapi3/client/petstore/typescript/builds/object_params/apis/UserApi.ts b/samples/openapi3/client/petstore/typescript/builds/object_params/apis/UserApi.ts index 1d43ec7a72b4..e74951f6b0f2 100644 --- a/samples/openapi3/client/petstore/typescript/builds/object_params/apis/UserApi.ts +++ b/samples/openapi3/client/petstore/typescript/builds/object_params/apis/UserApi.ts @@ -317,7 +317,7 @@ export class UserApiRequestFactory extends BaseAPIRequestFactory { /** * This can only be done by the logged in user. * Updated user - * @param username name that need to be deleted + * @param username name of the user that needs to be updated * @param user Updated user object */ public async updateUser(username: string, user: User, options?: Configuration): Promise { diff --git a/samples/openapi3/client/petstore/typescript/builds/object_params/types/ObjectParamAPI.ts b/samples/openapi3/client/petstore/typescript/builds/object_params/types/ObjectParamAPI.ts index bcc9c5afa0ae..e258acf5a1ec 100644 --- a/samples/openapi3/client/petstore/typescript/builds/object_params/types/ObjectParamAPI.ts +++ b/samples/openapi3/client/petstore/typescript/builds/object_params/types/ObjectParamAPI.ts @@ -345,7 +345,7 @@ export interface UserApiLogoutUserRequest { export interface UserApiUpdateUserRequest { /** - * name that need to be deleted + * name of the user that needs to be updated * @type string * @memberof UserApiupdateUser */ diff --git a/samples/openapi3/client/petstore/typescript/builds/object_params/types/ObservableAPI.ts b/samples/openapi3/client/petstore/typescript/builds/object_params/types/ObservableAPI.ts index 6154d267ed3a..d1013aa1534b 100644 --- a/samples/openapi3/client/petstore/typescript/builds/object_params/types/ObservableAPI.ts +++ b/samples/openapi3/client/petstore/typescript/builds/object_params/types/ObservableAPI.ts @@ -523,7 +523,7 @@ export class ObservableUserApi { /** * This can only be done by the logged in user. * Updated user - * @param username name that need to be deleted + * @param username name of the user that needs to be updated * @param user Updated user object */ public updateUser(username: string, user: User, options?: Configuration): Observable { diff --git a/samples/openapi3/client/petstore/typescript/builds/object_params/types/PromiseAPI.ts b/samples/openapi3/client/petstore/typescript/builds/object_params/types/PromiseAPI.ts index 533095a405d6..a0f8b626e133 100644 --- a/samples/openapi3/client/petstore/typescript/builds/object_params/types/PromiseAPI.ts +++ b/samples/openapi3/client/petstore/typescript/builds/object_params/types/PromiseAPI.ts @@ -249,7 +249,7 @@ export class PromiseUserApi { /** * This can only be done by the logged in user. * Updated user - * @param username name that need to be deleted + * @param username name of the user that needs to be updated * @param user Updated user object */ public updateUser(username: string, user: User, options?: Configuration): Promise { diff --git a/samples/openapi3/server/petstore/kotlin-springboot-reactive/src/main/kotlin/org/openapitools/api/UserApi.kt b/samples/openapi3/server/petstore/kotlin-springboot-reactive/src/main/kotlin/org/openapitools/api/UserApi.kt index 479219327adc..81e128d6339f 100644 --- a/samples/openapi3/server/petstore/kotlin-springboot-reactive/src/main/kotlin/org/openapitools/api/UserApi.kt +++ b/samples/openapi3/server/petstore/kotlin-springboot-reactive/src/main/kotlin/org/openapitools/api/UserApi.kt @@ -164,7 +164,7 @@ class UserApiController(@Autowired(required = true) val service: UserApiService) value = ["/user/{username}"], consumes = ["application/json"], method = [RequestMethod.PUT]) - suspend fun updateUser(@ApiParam(value = "name that need to be deleted", required=true) @PathVariable("username") username: kotlin.String + suspend fun updateUser(@ApiParam(value = "name of the user that needs to be updated", required=true) @PathVariable("username") username: kotlin.String ,@ApiParam(value = "Updated user object" ,required=true ) @Valid @RequestBody user: User ): ResponseEntity { return ResponseEntity(service.updateUser(username, user), HttpStatus.valueOf(400)) diff --git a/samples/openapi3/server/petstore/kotlin-springboot/src/main/kotlin/org/openapitools/api/UserApi.kt b/samples/openapi3/server/petstore/kotlin-springboot/src/main/kotlin/org/openapitools/api/UserApi.kt index 7a04f660f17f..c03b3a90c924 100644 --- a/samples/openapi3/server/petstore/kotlin-springboot/src/main/kotlin/org/openapitools/api/UserApi.kt +++ b/samples/openapi3/server/petstore/kotlin-springboot/src/main/kotlin/org/openapitools/api/UserApi.kt @@ -163,7 +163,7 @@ class UserApiController(@Autowired(required = true) val service: UserApiService) value = ["/user/{username}"], consumes = ["application/json"], method = [RequestMethod.PUT]) - fun updateUser(@ApiParam(value = "name that need to be deleted", required=true) @PathVariable("username") username: kotlin.String + fun updateUser(@ApiParam(value = "name of the user that needs to be updated", required=true) @PathVariable("username") username: kotlin.String ,@ApiParam(value = "Updated user object" ,required=true ) @Valid @RequestBody user: User ): ResponseEntity { return ResponseEntity(service.updateUser(username, user), HttpStatus.valueOf(400)) diff --git a/samples/openapi3/server/petstore/php-symfony/SymfonyBundle-php/Api/UserApiInterface.php b/samples/openapi3/server/petstore/php-symfony/SymfonyBundle-php/Api/UserApiInterface.php index 3c20062bf3d3..7c1d0e12be48 100644 --- a/samples/openapi3/server/petstore/php-symfony/SymfonyBundle-php/Api/UserApiInterface.php +++ b/samples/openapi3/server/petstore/php-symfony/SymfonyBundle-php/Api/UserApiInterface.php @@ -154,7 +154,7 @@ public function logoutUser(&$responseCode, array &$responseHeaders); * * Updated user * - * @param string $username name that need to be deleted (required) + * @param string $username name of the user that needs to be updated (required) * @param OpenAPI\Server\Model\User $user Updated user object (required) * @param integer $responseCode The HTTP response code to return * @param array $responseHeaders Additional HTTP headers to return with the response () diff --git a/samples/openapi3/server/petstore/php-symfony/SymfonyBundle-php/Resources/docs/Api/UserApiInterface.md b/samples/openapi3/server/petstore/php-symfony/SymfonyBundle-php/Resources/docs/Api/UserApiInterface.md index eb65fc1f8055..ad5b38f437e2 100644 --- a/samples/openapi3/server/petstore/php-symfony/SymfonyBundle-php/Resources/docs/Api/UserApiInterface.md +++ b/samples/openapi3/server/petstore/php-symfony/SymfonyBundle-php/Resources/docs/Api/UserApiInterface.md @@ -477,7 +477,7 @@ class UserApi implements UserApiInterface Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **username** | **string**| name that need to be deleted | + **username** | **string**| name of the user that needs to be updated | **user** | [**OpenAPI\Server\Model\User**](../Model/User.md)| Updated user object | ### Return type diff --git a/samples/openapi3/server/petstore/python-flask-python2/openapi_server/controllers/user_controller.py b/samples/openapi3/server/petstore/python-flask-python2/openapi_server/controllers/user_controller.py index e897814d4b0d..f326826f6670 100644 --- a/samples/openapi3/server/petstore/python-flask-python2/openapi_server/controllers/user_controller.py +++ b/samples/openapi3/server/petstore/python-flask-python2/openapi_server/controllers/user_controller.py @@ -107,7 +107,7 @@ def update_user(username, user): # noqa: E501 This can only be done by the logged in user. # noqa: E501 - :param username: name that need to be deleted + :param username: name of the user that needs to be updated :type username: str :param user: Updated user object :type user: dict | bytes diff --git a/samples/openapi3/server/petstore/python-flask-python2/openapi_server/openapi/openapi.yaml b/samples/openapi3/server/petstore/python-flask-python2/openapi_server/openapi/openapi.yaml index 31100fda5278..c81d07913772 100644 --- a/samples/openapi3/server/petstore/python-flask-python2/openapi_server/openapi/openapi.yaml +++ b/samples/openapi3/server/petstore/python-flask-python2/openapi_server/openapi/openapi.yaml @@ -576,7 +576,7 @@ paths: description: This can only be done by the logged in user. operationId: update_user parameters: - - description: name that need to be deleted + - description: name of the user that needs to be updated explode: false in: path name: username diff --git a/samples/openapi3/server/petstore/python-flask/openapi_server/controllers/user_controller.py b/samples/openapi3/server/petstore/python-flask/openapi_server/controllers/user_controller.py index e897814d4b0d..f326826f6670 100644 --- a/samples/openapi3/server/petstore/python-flask/openapi_server/controllers/user_controller.py +++ b/samples/openapi3/server/petstore/python-flask/openapi_server/controllers/user_controller.py @@ -107,7 +107,7 @@ def update_user(username, user): # noqa: E501 This can only be done by the logged in user. # noqa: E501 - :param username: name that need to be deleted + :param username: name of the user that needs to be updated :type username: str :param user: Updated user object :type user: dict | bytes diff --git a/samples/openapi3/server/petstore/python-flask/openapi_server/openapi/openapi.yaml b/samples/openapi3/server/petstore/python-flask/openapi_server/openapi/openapi.yaml index 31100fda5278..c81d07913772 100644 --- a/samples/openapi3/server/petstore/python-flask/openapi_server/openapi/openapi.yaml +++ b/samples/openapi3/server/petstore/python-flask/openapi_server/openapi/openapi.yaml @@ -576,7 +576,7 @@ paths: description: This can only be done by the logged in user. operationId: update_user parameters: - - description: name that need to be deleted + - description: name of the user that needs to be updated explode: false in: path name: username diff --git a/samples/server/petstore/aspnetcore-3.0/src/Org.OpenAPITools/Controllers/UserApi.cs b/samples/server/petstore/aspnetcore-3.0/src/Org.OpenAPITools/Controllers/UserApi.cs index c37f0251d3bc..8d8d6565da28 100644 --- a/samples/server/petstore/aspnetcore-3.0/src/Org.OpenAPITools/Controllers/UserApi.cs +++ b/samples/server/petstore/aspnetcore-3.0/src/Org.OpenAPITools/Controllers/UserApi.cs @@ -185,7 +185,7 @@ public virtual IActionResult LogoutUser() /// Updated user /// /// This can only be done by the logged in user. - /// name that need to be deleted + /// name of the user that needs to be updated /// Updated user object /// Invalid user supplied /// User not found diff --git a/samples/server/petstore/aspnetcore-3.0/src/Org.OpenAPITools/wwwroot/openapi-original.json b/samples/server/petstore/aspnetcore-3.0/src/Org.OpenAPITools/wwwroot/openapi-original.json index c72a9d39daa2..848c24da1064 100644 --- a/samples/server/petstore/aspnetcore-3.0/src/Org.OpenAPITools/wwwroot/openapi-original.json +++ b/samples/server/petstore/aspnetcore-3.0/src/Org.OpenAPITools/wwwroot/openapi-original.json @@ -733,7 +733,7 @@ "description" : "This can only be done by the logged in user.", "operationId" : "updateUser", "parameters" : [ { - "description" : "name that need to be deleted", + "description" : "name of the user that needs to be updated", "in" : "path", "name" : "username", "required" : true, diff --git a/samples/server/petstore/aspnetcore-3.1/src/Org.OpenAPITools/Controllers/UserApi.cs b/samples/server/petstore/aspnetcore-3.1/src/Org.OpenAPITools/Controllers/UserApi.cs index c37f0251d3bc..8d8d6565da28 100644 --- a/samples/server/petstore/aspnetcore-3.1/src/Org.OpenAPITools/Controllers/UserApi.cs +++ b/samples/server/petstore/aspnetcore-3.1/src/Org.OpenAPITools/Controllers/UserApi.cs @@ -185,7 +185,7 @@ public virtual IActionResult LogoutUser() /// Updated user /// /// This can only be done by the logged in user. - /// name that need to be deleted + /// name of the user that needs to be updated /// Updated user object /// Invalid user supplied /// User not found diff --git a/samples/server/petstore/aspnetcore-3.1/src/Org.OpenAPITools/wwwroot/openapi-original.json b/samples/server/petstore/aspnetcore-3.1/src/Org.OpenAPITools/wwwroot/openapi-original.json index c72a9d39daa2..848c24da1064 100644 --- a/samples/server/petstore/aspnetcore-3.1/src/Org.OpenAPITools/wwwroot/openapi-original.json +++ b/samples/server/petstore/aspnetcore-3.1/src/Org.OpenAPITools/wwwroot/openapi-original.json @@ -733,7 +733,7 @@ "description" : "This can only be done by the logged in user.", "operationId" : "updateUser", "parameters" : [ { - "description" : "name that need to be deleted", + "description" : "name of the user that needs to be updated", "in" : "path", "name" : "username", "required" : true, diff --git a/samples/server/petstore/aspnetcore/src/Org.OpenAPITools/Controllers/UserApi.cs b/samples/server/petstore/aspnetcore/src/Org.OpenAPITools/Controllers/UserApi.cs index 45ebf16ac795..d21634f45546 100644 --- a/samples/server/petstore/aspnetcore/src/Org.OpenAPITools/Controllers/UserApi.cs +++ b/samples/server/petstore/aspnetcore/src/Org.OpenAPITools/Controllers/UserApi.cs @@ -185,7 +185,7 @@ public virtual IActionResult LogoutUser() /// Updated user /// /// This can only be done by the logged in user. - /// name that need to be deleted + /// name of the user that needs to be updated /// Updated user object /// Invalid user supplied /// User not found diff --git a/samples/server/petstore/aspnetcore/src/Org.OpenAPITools/wwwroot/openapi-original.json b/samples/server/petstore/aspnetcore/src/Org.OpenAPITools/wwwroot/openapi-original.json index c72a9d39daa2..848c24da1064 100644 --- a/samples/server/petstore/aspnetcore/src/Org.OpenAPITools/wwwroot/openapi-original.json +++ b/samples/server/petstore/aspnetcore/src/Org.OpenAPITools/wwwroot/openapi-original.json @@ -733,7 +733,7 @@ "description" : "This can only be done by the logged in user.", "operationId" : "updateUser", "parameters" : [ { - "description" : "name that need to be deleted", + "description" : "name of the user that needs to be updated", "in" : "path", "name" : "username", "required" : true, diff --git a/samples/server/petstore/aspnetcore3/src/Org.OpenAPITools/Controllers/UserApi.cs b/samples/server/petstore/aspnetcore3/src/Org.OpenAPITools/Controllers/UserApi.cs index c37f0251d3bc..8d8d6565da28 100644 --- a/samples/server/petstore/aspnetcore3/src/Org.OpenAPITools/Controllers/UserApi.cs +++ b/samples/server/petstore/aspnetcore3/src/Org.OpenAPITools/Controllers/UserApi.cs @@ -185,7 +185,7 @@ public virtual IActionResult LogoutUser() /// Updated user /// /// This can only be done by the logged in user. - /// name that need to be deleted + /// name of the user that needs to be updated /// Updated user object /// Invalid user supplied /// User not found diff --git a/samples/server/petstore/aspnetcore3/src/Org.OpenAPITools/wwwroot/openapi-original.json b/samples/server/petstore/aspnetcore3/src/Org.OpenAPITools/wwwroot/openapi-original.json index c72a9d39daa2..848c24da1064 100644 --- a/samples/server/petstore/aspnetcore3/src/Org.OpenAPITools/wwwroot/openapi-original.json +++ b/samples/server/petstore/aspnetcore3/src/Org.OpenAPITools/wwwroot/openapi-original.json @@ -733,7 +733,7 @@ "description" : "This can only be done by the logged in user.", "operationId" : "updateUser", "parameters" : [ { - "description" : "name that need to be deleted", + "description" : "name of the user that needs to be updated", "in" : "path", "name" : "username", "required" : true, diff --git a/samples/server/petstore/cpp-pistache/api/UserApi.h b/samples/server/petstore/cpp-pistache/api/UserApi.h index 6c589979dbc9..f16e3ae31c08 100644 --- a/samples/server/petstore/cpp-pistache/api/UserApi.h +++ b/samples/server/petstore/cpp-pistache/api/UserApi.h @@ -128,7 +128,7 @@ class UserApi { /// /// This can only be done by the logged in user. /// - /// name that need to be deleted + /// name of the user that needs to be updated /// Updated user object virtual void update_user(const std::string &username, const User &body, Pistache::Http::ResponseWriter &response) = 0; diff --git a/samples/server/petstore/erlang-server/priv/openapi.json b/samples/server/petstore/erlang-server/priv/openapi.json index 4be6ecab7079..70e7eb3c1b59 100644 --- a/samples/server/petstore/erlang-server/priv/openapi.json +++ b/samples/server/petstore/erlang-server/priv/openapi.json @@ -745,7 +745,7 @@ "description" : "This can only be done by the logged in user.", "operationId" : "updateUser", "parameters" : [ { - "description" : "name that need to be deleted", + "description" : "name of the user that needs to be updated", "explode" : false, "in" : "path", "name" : "username", diff --git a/samples/server/petstore/go-api-server/api/openapi.yaml b/samples/server/petstore/go-api-server/api/openapi.yaml index 26aaeac34b7d..01c71e4d1427 100644 --- a/samples/server/petstore/go-api-server/api/openapi.yaml +++ b/samples/server/petstore/go-api-server/api/openapi.yaml @@ -559,7 +559,7 @@ paths: description: This can only be done by the logged in user. operationId: updateUser parameters: - - description: name that need to be deleted + - description: name of the user that needs to be updated explode: false in: path name: username diff --git a/samples/server/petstore/go-gin-api-server/api/openapi.yaml b/samples/server/petstore/go-gin-api-server/api/openapi.yaml index 26aaeac34b7d..01c71e4d1427 100644 --- a/samples/server/petstore/go-gin-api-server/api/openapi.yaml +++ b/samples/server/petstore/go-gin-api-server/api/openapi.yaml @@ -559,7 +559,7 @@ paths: description: This can only be done by the logged in user. operationId: updateUser parameters: - - description: name that need to be deleted + - description: name of the user that needs to be updated explode: false in: path name: username diff --git a/samples/server/petstore/graphql-nodejs-express-server/petstore/api/user_api.graphql b/samples/server/petstore/graphql-nodejs-express-server/petstore/api/user_api.graphql index d2744e88c4b0..ba7acce04f69 100644 --- a/samples/server/petstore/graphql-nodejs-express-server/petstore/api/user_api.graphql +++ b/samples/server/petstore/graphql-nodejs-express-server/petstore/api/user_api.graphql @@ -35,7 +35,7 @@ input DeleteUserInput { } input UpdateUserInput { - # name that need to be deleted + # name of the user that needs to be updated username: String!, # Updated user object body: UserInput @@ -62,7 +62,7 @@ type Mutation { DeleteUser(input: DeleteUserInput!): Boolean # Updated user # This can only be done by the logged in user. - # @param String! username name that need to be deleted + # @param String! username name of the user that needs to be updated # @param User body Updated user object # @return [Boolean] UpdateUser(input: UpdateUserInput!): Boolean diff --git a/samples/server/petstore/java-inflector/src/main/openapi/openapi.yaml b/samples/server/petstore/java-inflector/src/main/openapi/openapi.yaml index 0516277ce275..adcdc9af4c4f 100644 --- a/samples/server/petstore/java-inflector/src/main/openapi/openapi.yaml +++ b/samples/server/petstore/java-inflector/src/main/openapi/openapi.yaml @@ -590,7 +590,7 @@ paths: description: This can only be done by the logged in user. operationId: updateUser parameters: - - description: name that need to be deleted + - description: name of the user that needs to be updated in: path name: username required: true diff --git a/samples/server/petstore/java-msf4j/src/gen/java/org/openapitools/api/UserApi.java b/samples/server/petstore/java-msf4j/src/gen/java/org/openapitools/api/UserApi.java index 836abbd19f76..f0319587b3a8 100644 --- a/samples/server/petstore/java-msf4j/src/gen/java/org/openapitools/api/UserApi.java +++ b/samples/server/petstore/java-msf4j/src/gen/java/org/openapitools/api/UserApi.java @@ -132,7 +132,7 @@ public Response logoutUser() @io.swagger.annotations.ApiResponse(code = 400, message = "Invalid user supplied", response = Void.class), @io.swagger.annotations.ApiResponse(code = 404, message = "User not found", response = Void.class) }) - public Response updateUser(@ApiParam(value = "name that need to be deleted",required=true) @PathParam("username") String username + public Response updateUser(@ApiParam(value = "name of the user that needs to be updated",required=true) @PathParam("username") String username ,@ApiParam(value = "Updated user object" ,required=true) User body ) throws NotFoundException { diff --git a/samples/server/petstore/java-pkmst/src/main/java/com/prokarma/pkmst/controller/UserApi.java b/samples/server/petstore/java-pkmst/src/main/java/com/prokarma/pkmst/controller/UserApi.java index 759bac9b3d81..e304f1e4b8d6 100644 --- a/samples/server/petstore/java-pkmst/src/main/java/com/prokarma/pkmst/controller/UserApi.java +++ b/samples/server/petstore/java-pkmst/src/main/java/com/prokarma/pkmst/controller/UserApi.java @@ -100,6 +100,6 @@ public interface UserApi { @PutMapping( value = "/user/{username}" ) - ResponseEntity updateUser(@ApiParam(value = "name that need to be deleted",required=true ) @PathVariable("username") String username,@ApiParam(value = "Updated user object" ,required=true ) @RequestBody User body, @RequestHeader(value = "Accept", required = false) String accept) throws Exception; + ResponseEntity updateUser(@ApiParam(value = "name of the user that needs to be updated",required=true ) @PathVariable("username") String username,@ApiParam(value = "Updated user object" ,required=true ) @RequestBody User body, @RequestHeader(value = "Accept", required = false) String accept) throws Exception; } diff --git a/samples/server/petstore/java-pkmst/src/main/java/com/prokarma/pkmst/controller/UserApiController.java b/samples/server/petstore/java-pkmst/src/main/java/com/prokarma/pkmst/controller/UserApiController.java index 409941aa9494..946858a4fc74 100644 --- a/samples/server/petstore/java-pkmst/src/main/java/com/prokarma/pkmst/controller/UserApiController.java +++ b/samples/server/petstore/java-pkmst/src/main/java/com/prokarma/pkmst/controller/UserApiController.java @@ -85,7 +85,7 @@ public ResponseEntity logoutUser(@RequestHeader(value = "Accept", required return new ResponseEntity(HttpStatus.OK); } - public ResponseEntity updateUser(@ApiParam(value = "name that need to be deleted",required=true ) @PathVariable("username") String username, + public ResponseEntity updateUser(@ApiParam(value = "name of the user that needs to be updated",required=true ) @PathVariable("username") String username, @ApiParam(value = "Updated user object" ,required=true ) @RequestBody User body, @RequestHeader(value = "Accept", required = false) String accept) throws Exception { // do some magic! diff --git a/samples/server/petstore/java-play-framework-api-package-override/public/openapi.json b/samples/server/petstore/java-play-framework-api-package-override/public/openapi.json index e1554af7b8ff..27ef6ea9cce3 100644 --- a/samples/server/petstore/java-play-framework-api-package-override/public/openapi.json +++ b/samples/server/petstore/java-play-framework-api-package-override/public/openapi.json @@ -760,7 +760,7 @@ "description" : "This can only be done by the logged in user.", "operationId" : "updateUser", "parameters" : [ { - "description" : "name that need to be deleted", + "description" : "name of the user that needs to be updated", "in" : "path", "name" : "username", "required" : true, diff --git a/samples/server/petstore/java-play-framework-async/public/openapi.json b/samples/server/petstore/java-play-framework-async/public/openapi.json index e1554af7b8ff..27ef6ea9cce3 100644 --- a/samples/server/petstore/java-play-framework-async/public/openapi.json +++ b/samples/server/petstore/java-play-framework-async/public/openapi.json @@ -760,7 +760,7 @@ "description" : "This can only be done by the logged in user.", "operationId" : "updateUser", "parameters" : [ { - "description" : "name that need to be deleted", + "description" : "name of the user that needs to be updated", "in" : "path", "name" : "username", "required" : true, diff --git a/samples/server/petstore/java-play-framework-controller-only/public/openapi.json b/samples/server/petstore/java-play-framework-controller-only/public/openapi.json index e1554af7b8ff..27ef6ea9cce3 100644 --- a/samples/server/petstore/java-play-framework-controller-only/public/openapi.json +++ b/samples/server/petstore/java-play-framework-controller-only/public/openapi.json @@ -760,7 +760,7 @@ "description" : "This can only be done by the logged in user.", "operationId" : "updateUser", "parameters" : [ { - "description" : "name that need to be deleted", + "description" : "name of the user that needs to be updated", "in" : "path", "name" : "username", "required" : true, diff --git a/samples/server/petstore/java-play-framework-fake-endpoints/public/openapi.json b/samples/server/petstore/java-play-framework-fake-endpoints/public/openapi.json index 25825c7a17da..8c112d88347a 100644 --- a/samples/server/petstore/java-play-framework-fake-endpoints/public/openapi.json +++ b/samples/server/petstore/java-play-framework-fake-endpoints/public/openapi.json @@ -775,7 +775,7 @@ "description" : "This can only be done by the logged in user.", "operationId" : "updateUser", "parameters" : [ { - "description" : "name that need to be deleted", + "description" : "name of the user that needs to be updated", "in" : "path", "name" : "username", "required" : true, diff --git a/samples/server/petstore/java-play-framework-no-bean-validation/public/openapi.json b/samples/server/petstore/java-play-framework-no-bean-validation/public/openapi.json index e1554af7b8ff..27ef6ea9cce3 100644 --- a/samples/server/petstore/java-play-framework-no-bean-validation/public/openapi.json +++ b/samples/server/petstore/java-play-framework-no-bean-validation/public/openapi.json @@ -760,7 +760,7 @@ "description" : "This can only be done by the logged in user.", "operationId" : "updateUser", "parameters" : [ { - "description" : "name that need to be deleted", + "description" : "name of the user that needs to be updated", "in" : "path", "name" : "username", "required" : true, diff --git a/samples/server/petstore/java-play-framework-no-exception-handling/public/openapi.json b/samples/server/petstore/java-play-framework-no-exception-handling/public/openapi.json index e1554af7b8ff..27ef6ea9cce3 100644 --- a/samples/server/petstore/java-play-framework-no-exception-handling/public/openapi.json +++ b/samples/server/petstore/java-play-framework-no-exception-handling/public/openapi.json @@ -760,7 +760,7 @@ "description" : "This can only be done by the logged in user.", "operationId" : "updateUser", "parameters" : [ { - "description" : "name that need to be deleted", + "description" : "name of the user that needs to be updated", "in" : "path", "name" : "username", "required" : true, diff --git a/samples/server/petstore/java-play-framework-no-interface/public/openapi.json b/samples/server/petstore/java-play-framework-no-interface/public/openapi.json index e1554af7b8ff..27ef6ea9cce3 100644 --- a/samples/server/petstore/java-play-framework-no-interface/public/openapi.json +++ b/samples/server/petstore/java-play-framework-no-interface/public/openapi.json @@ -760,7 +760,7 @@ "description" : "This can only be done by the logged in user.", "operationId" : "updateUser", "parameters" : [ { - "description" : "name that need to be deleted", + "description" : "name of the user that needs to be updated", "in" : "path", "name" : "username", "required" : true, diff --git a/samples/server/petstore/java-play-framework-no-nullable/public/openapi.json b/samples/server/petstore/java-play-framework-no-nullable/public/openapi.json index e1554af7b8ff..27ef6ea9cce3 100644 --- a/samples/server/petstore/java-play-framework-no-nullable/public/openapi.json +++ b/samples/server/petstore/java-play-framework-no-nullable/public/openapi.json @@ -760,7 +760,7 @@ "description" : "This can only be done by the logged in user.", "operationId" : "updateUser", "parameters" : [ { - "description" : "name that need to be deleted", + "description" : "name of the user that needs to be updated", "in" : "path", "name" : "username", "required" : true, diff --git a/samples/server/petstore/java-play-framework-no-wrap-calls/public/openapi.json b/samples/server/petstore/java-play-framework-no-wrap-calls/public/openapi.json index e1554af7b8ff..27ef6ea9cce3 100644 --- a/samples/server/petstore/java-play-framework-no-wrap-calls/public/openapi.json +++ b/samples/server/petstore/java-play-framework-no-wrap-calls/public/openapi.json @@ -760,7 +760,7 @@ "description" : "This can only be done by the logged in user.", "operationId" : "updateUser", "parameters" : [ { - "description" : "name that need to be deleted", + "description" : "name of the user that needs to be updated", "in" : "path", "name" : "username", "required" : true, diff --git a/samples/server/petstore/java-play-framework/public/openapi.json b/samples/server/petstore/java-play-framework/public/openapi.json index e1554af7b8ff..27ef6ea9cce3 100644 --- a/samples/server/petstore/java-play-framework/public/openapi.json +++ b/samples/server/petstore/java-play-framework/public/openapi.json @@ -760,7 +760,7 @@ "description" : "This can only be done by the logged in user.", "operationId" : "updateUser", "parameters" : [ { - "description" : "name that need to be deleted", + "description" : "name of the user that needs to be updated", "in" : "path", "name" : "username", "required" : true, diff --git a/samples/server/petstore/java-undertow/src/main/resources/config/openapi.json b/samples/server/petstore/java-undertow/src/main/resources/config/openapi.json index 1a863721712a..7f89509e7cfd 100644 --- a/samples/server/petstore/java-undertow/src/main/resources/config/openapi.json +++ b/samples/server/petstore/java-undertow/src/main/resources/config/openapi.json @@ -760,7 +760,7 @@ "description" : "This can only be done by the logged in user.", "operationId" : "updateUser", "parameters" : [ { - "description" : "name that need to be deleted", + "description" : "name of the user that needs to be updated", "in" : "path", "name" : "username", "required" : true, diff --git a/samples/server/petstore/java-vertx-web/src/main/resources/openapi.yaml b/samples/server/petstore/java-vertx-web/src/main/resources/openapi.yaml index 12848353afb2..a0d133531cf0 100644 --- a/samples/server/petstore/java-vertx-web/src/main/resources/openapi.yaml +++ b/samples/server/petstore/java-vertx-web/src/main/resources/openapi.yaml @@ -586,7 +586,7 @@ paths: description: This can only be done by the logged in user. operationId: updateUser parameters: - - description: name that need to be deleted + - description: name of the user that needs to be updated explode: false in: path name: username diff --git a/samples/server/petstore/java-vertx/async/src/main/resources/openapi.json b/samples/server/petstore/java-vertx/async/src/main/resources/openapi.json index 2f40e269947a..e7d6c5509f8e 100644 --- a/samples/server/petstore/java-vertx/async/src/main/resources/openapi.json +++ b/samples/server/petstore/java-vertx/async/src/main/resources/openapi.json @@ -798,7 +798,7 @@ "description" : "This can only be done by the logged in user.", "operationId" : "updateUser", "parameters" : [ { - "description" : "name that need to be deleted", + "description" : "name of the user that needs to be updated", "in" : "path", "name" : "username", "required" : true, diff --git a/samples/server/petstore/java-vertx/rx/src/main/resources/openapi.json b/samples/server/petstore/java-vertx/rx/src/main/resources/openapi.json index 2f40e269947a..e7d6c5509f8e 100644 --- a/samples/server/petstore/java-vertx/rx/src/main/resources/openapi.json +++ b/samples/server/petstore/java-vertx/rx/src/main/resources/openapi.json @@ -798,7 +798,7 @@ "description" : "This can only be done by the logged in user.", "operationId" : "updateUser", "parameters" : [ { - "description" : "name that need to be deleted", + "description" : "name of the user that needs to be updated", "in" : "path", "name" : "username", "required" : true, diff --git a/samples/server/petstore/jaxrs-cxf-cdi/src/gen/java/org/openapitools/api/UserApi.java b/samples/server/petstore/jaxrs-cxf-cdi/src/gen/java/org/openapitools/api/UserApi.java index 285f6835da57..cc928e56953d 100644 --- a/samples/server/petstore/jaxrs-cxf-cdi/src/gen/java/org/openapitools/api/UserApi.java +++ b/samples/server/petstore/jaxrs-cxf-cdi/src/gen/java/org/openapitools/api/UserApi.java @@ -125,7 +125,7 @@ public Response logoutUser() { @ApiResponses(value = { @ApiResponse(code = 400, message = "Invalid user supplied", response = Void.class), @ApiResponse(code = 404, message = "User not found", response = Void.class) }) - public Response updateUser(@ApiParam(value = "name that need to be deleted",required=true) @PathParam("username") String username, @ApiParam(value = "Updated user object" ,required=true) User body) { + public Response updateUser(@ApiParam(value = "name of the user that needs to be updated",required=true) @PathParam("username") String username, @ApiParam(value = "Updated user object" ,required=true) User body) { return delegate.updateUser(username, body, securityContext); } } diff --git a/samples/server/petstore/jaxrs-datelib-j8/src/gen/java/org/openapitools/api/UserApi.java b/samples/server/petstore/jaxrs-datelib-j8/src/gen/java/org/openapitools/api/UserApi.java index 8f8e8f72c01b..b97f9f69e060 100644 --- a/samples/server/petstore/jaxrs-datelib-j8/src/gen/java/org/openapitools/api/UserApi.java +++ b/samples/server/petstore/jaxrs-datelib-j8/src/gen/java/org/openapitools/api/UserApi.java @@ -150,7 +150,7 @@ public Response logoutUser(@Context SecurityContext securityContext) @io.swagger.annotations.ApiResponse(code = 400, message = "Invalid user supplied", response = Void.class), @io.swagger.annotations.ApiResponse(code = 404, message = "User not found", response = Void.class) }) - public Response updateUser(@ApiParam(value = "name that need to be deleted", required = true) @PathParam("username") @NotNull String username,@ApiParam(value = "Updated user object", required = true) @NotNull @Valid User body,@Context SecurityContext securityContext) + public Response updateUser(@ApiParam(value = "name of the user that needs to be updated", required = true) @PathParam("username") @NotNull String username,@ApiParam(value = "Updated user object", required = true) @NotNull @Valid User body,@Context SecurityContext securityContext) throws NotFoundException { return delegate.updateUser(username, body, securityContext); } diff --git a/samples/server/petstore/jaxrs-jersey/src/gen/java/org/openapitools/api/UserApi.java b/samples/server/petstore/jaxrs-jersey/src/gen/java/org/openapitools/api/UserApi.java index bd4006d8d8cc..b58e4d0aca7c 100644 --- a/samples/server/petstore/jaxrs-jersey/src/gen/java/org/openapitools/api/UserApi.java +++ b/samples/server/petstore/jaxrs-jersey/src/gen/java/org/openapitools/api/UserApi.java @@ -150,7 +150,7 @@ public Response logoutUser(@Context SecurityContext securityContext) @io.swagger.annotations.ApiResponse(code = 400, message = "Invalid user supplied", response = Void.class), @io.swagger.annotations.ApiResponse(code = 404, message = "User not found", response = Void.class) }) - public Response updateUser(@ApiParam(value = "name that need to be deleted", required = true) @PathParam("username") @NotNull String username,@ApiParam(value = "Updated user object", required = true) @NotNull @Valid User user,@Context SecurityContext securityContext) + public Response updateUser(@ApiParam(value = "name of the user that needs to be updated", required = true) @PathParam("username") @NotNull String username,@ApiParam(value = "Updated user object", required = true) @NotNull @Valid User user,@Context SecurityContext securityContext) throws NotFoundException { return delegate.updateUser(username, user, securityContext); } diff --git a/samples/server/petstore/jaxrs-spec-interface-response/src/gen/java/org/openapitools/api/UserApi.java b/samples/server/petstore/jaxrs-spec-interface-response/src/gen/java/org/openapitools/api/UserApi.java index 7d8218371537..5bd331aa3f4d 100644 --- a/samples/server/petstore/jaxrs-spec-interface-response/src/gen/java/org/openapitools/api/UserApi.java +++ b/samples/server/petstore/jaxrs-spec-interface-response/src/gen/java/org/openapitools/api/UserApi.java @@ -78,5 +78,5 @@ @ApiResponses(value = { @ApiResponse(code = 400, message = "Invalid user supplied", response = Void.class), @ApiResponse(code = 404, message = "User not found", response = Void.class) }) - Response updateUser(@PathParam("username") @ApiParam("name that need to be deleted") String username,@Valid User body); + Response updateUser(@PathParam("username") @ApiParam("name of the user that needs to be updated") String username,@Valid User body); } diff --git a/samples/server/petstore/jaxrs-spec-interface-response/src/main/openapi/openapi.yaml b/samples/server/petstore/jaxrs-spec-interface-response/src/main/openapi/openapi.yaml index da95378bbc81..41a9edba950b 100644 --- a/samples/server/petstore/jaxrs-spec-interface-response/src/main/openapi/openapi.yaml +++ b/samples/server/petstore/jaxrs-spec-interface-response/src/main/openapi/openapi.yaml @@ -628,7 +628,7 @@ paths: description: This can only be done by the logged in user. operationId: updateUser parameters: - - description: name that need to be deleted + - description: name of the user that needs to be updated in: path name: username required: true diff --git a/samples/server/petstore/jaxrs-spec-interface/src/gen/java/org/openapitools/api/UserApi.java b/samples/server/petstore/jaxrs-spec-interface/src/gen/java/org/openapitools/api/UserApi.java index 3bbc52787063..ba4d3df65bde 100644 --- a/samples/server/petstore/jaxrs-spec-interface/src/gen/java/org/openapitools/api/UserApi.java +++ b/samples/server/petstore/jaxrs-spec-interface/src/gen/java/org/openapitools/api/UserApi.java @@ -78,5 +78,5 @@ @ApiResponses(value = { @ApiResponse(code = 400, message = "Invalid user supplied", response = Void.class), @ApiResponse(code = 404, message = "User not found", response = Void.class) }) - void updateUser(@PathParam("username") @ApiParam("name that need to be deleted") String username,@Valid User body); + void updateUser(@PathParam("username") @ApiParam("name of the user that needs to be updated") String username,@Valid User body); } diff --git a/samples/server/petstore/jaxrs-spec-interface/src/main/openapi/openapi.yaml b/samples/server/petstore/jaxrs-spec-interface/src/main/openapi/openapi.yaml index 7d2de524fc6e..8060470d83e7 100644 --- a/samples/server/petstore/jaxrs-spec-interface/src/main/openapi/openapi.yaml +++ b/samples/server/petstore/jaxrs-spec-interface/src/main/openapi/openapi.yaml @@ -628,7 +628,7 @@ paths: description: This can only be done by the logged in user. operationId: updateUser parameters: - - description: name that need to be deleted + - description: name of the user that needs to be updated in: path name: username required: true diff --git a/samples/server/petstore/jaxrs-spec/src/gen/java/org/openapitools/api/UserApi.java b/samples/server/petstore/jaxrs-spec/src/gen/java/org/openapitools/api/UserApi.java index 345e310614ab..8db5f939a8f5 100644 --- a/samples/server/petstore/jaxrs-spec/src/gen/java/org/openapitools/api/UserApi.java +++ b/samples/server/petstore/jaxrs-spec/src/gen/java/org/openapitools/api/UserApi.java @@ -100,7 +100,7 @@ public Response logoutUser() { @ApiResponse(code = 400, message = "Invalid user supplied", response = Void.class), @ApiResponse(code = 404, message = "User not found", response = Void.class) }) - public Response updateUser(@PathParam("username") @ApiParam("name that need to be deleted") String username,@Valid User body) { + public Response updateUser(@PathParam("username") @ApiParam("name of the user that needs to be updated") String username,@Valid User body) { return Response.ok().entity("magic!").build(); } } diff --git a/samples/server/petstore/jaxrs-spec/src/main/openapi/openapi.yaml b/samples/server/petstore/jaxrs-spec/src/main/openapi/openapi.yaml index 7d2de524fc6e..8060470d83e7 100644 --- a/samples/server/petstore/jaxrs-spec/src/main/openapi/openapi.yaml +++ b/samples/server/petstore/jaxrs-spec/src/main/openapi/openapi.yaml @@ -628,7 +628,7 @@ paths: description: This can only be done by the logged in user. operationId: updateUser parameters: - - description: name that need to be deleted + - description: name of the user that needs to be updated in: path name: username required: true diff --git a/samples/server/petstore/jaxrs/jersey1-useTags/src/gen/java/org/openapitools/api/UserApi.java b/samples/server/petstore/jaxrs/jersey1-useTags/src/gen/java/org/openapitools/api/UserApi.java index 9d44284fa0fc..010dada05bb0 100644 --- a/samples/server/petstore/jaxrs/jersey1-useTags/src/gen/java/org/openapitools/api/UserApi.java +++ b/samples/server/petstore/jaxrs/jersey1-useTags/src/gen/java/org/openapitools/api/UserApi.java @@ -138,7 +138,7 @@ public Response logoutUser( @io.swagger.annotations.ApiResponse(code = 400, message = "Invalid user supplied", response = Void.class), @io.swagger.annotations.ApiResponse(code = 404, message = "User not found", response = Void.class) }) public Response updateUser( - @ApiParam(value = "name that need to be deleted", required = true) @PathParam("username") @NotNull String username, + @ApiParam(value = "name of the user that needs to be updated", required = true) @PathParam("username") @NotNull String username, @ApiParam(value = "Updated user object", required = true) @NotNull @Valid User body, @Context SecurityContext securityContext) throws NotFoundException { diff --git a/samples/server/petstore/jaxrs/jersey1/src/gen/java/org/openapitools/api/UserApi.java b/samples/server/petstore/jaxrs/jersey1/src/gen/java/org/openapitools/api/UserApi.java index aa5b7ec2d6ff..580845a61306 100644 --- a/samples/server/petstore/jaxrs/jersey1/src/gen/java/org/openapitools/api/UserApi.java +++ b/samples/server/petstore/jaxrs/jersey1/src/gen/java/org/openapitools/api/UserApi.java @@ -138,7 +138,7 @@ public Response logoutUser( @io.swagger.annotations.ApiResponse(code = 400, message = "Invalid user supplied", response = Void.class), @io.swagger.annotations.ApiResponse(code = 404, message = "User not found", response = Void.class) }) public Response updateUser( - @ApiParam(value = "name that need to be deleted", required = true) @PathParam("username") @NotNull String username, + @ApiParam(value = "name of the user that needs to be updated", required = true) @PathParam("username") @NotNull String username, @ApiParam(value = "Updated user object", required = true) @NotNull @Valid User body, @Context SecurityContext securityContext) throws NotFoundException { diff --git a/samples/server/petstore/jaxrs/jersey2-useTags/src/gen/java/org/openapitools/api/UserApi.java b/samples/server/petstore/jaxrs/jersey2-useTags/src/gen/java/org/openapitools/api/UserApi.java index 7ad517e4c0df..60d96aa44c85 100644 --- a/samples/server/petstore/jaxrs/jersey2-useTags/src/gen/java/org/openapitools/api/UserApi.java +++ b/samples/server/petstore/jaxrs/jersey2-useTags/src/gen/java/org/openapitools/api/UserApi.java @@ -150,7 +150,7 @@ public Response logoutUser(@Context SecurityContext securityContext) @io.swagger.annotations.ApiResponse(code = 400, message = "Invalid user supplied", response = Void.class), @io.swagger.annotations.ApiResponse(code = 404, message = "User not found", response = Void.class) }) - public Response updateUser(@ApiParam(value = "name that need to be deleted", required = true) @PathParam("username") @NotNull String username,@ApiParam(value = "Updated user object", required = true) @NotNull @Valid User body,@Context SecurityContext securityContext) + public Response updateUser(@ApiParam(value = "name of the user that needs to be updated", required = true) @PathParam("username") @NotNull String username,@ApiParam(value = "Updated user object", required = true) @NotNull @Valid User body,@Context SecurityContext securityContext) throws NotFoundException { return delegate.updateUser(username, body, securityContext); } diff --git a/samples/server/petstore/jaxrs/jersey2/src/gen/java/org/openapitools/api/UserApi.java b/samples/server/petstore/jaxrs/jersey2/src/gen/java/org/openapitools/api/UserApi.java index 8f8e8f72c01b..b97f9f69e060 100644 --- a/samples/server/petstore/jaxrs/jersey2/src/gen/java/org/openapitools/api/UserApi.java +++ b/samples/server/petstore/jaxrs/jersey2/src/gen/java/org/openapitools/api/UserApi.java @@ -150,7 +150,7 @@ public Response logoutUser(@Context SecurityContext securityContext) @io.swagger.annotations.ApiResponse(code = 400, message = "Invalid user supplied", response = Void.class), @io.swagger.annotations.ApiResponse(code = 404, message = "User not found", response = Void.class) }) - public Response updateUser(@ApiParam(value = "name that need to be deleted", required = true) @PathParam("username") @NotNull String username,@ApiParam(value = "Updated user object", required = true) @NotNull @Valid User body,@Context SecurityContext securityContext) + public Response updateUser(@ApiParam(value = "name of the user that needs to be updated", required = true) @PathParam("username") @NotNull String username,@ApiParam(value = "Updated user object", required = true) @NotNull @Valid User body,@Context SecurityContext securityContext) throws NotFoundException { return delegate.updateUser(username, body, securityContext); } diff --git a/samples/server/petstore/kotlin-springboot-delegate/src/main/kotlin/org/openapitools/api/UserApi.kt b/samples/server/petstore/kotlin-springboot-delegate/src/main/kotlin/org/openapitools/api/UserApi.kt index 7fa6bf2b4a90..b69f8c419bdb 100644 --- a/samples/server/petstore/kotlin-springboot-delegate/src/main/kotlin/org/openapitools/api/UserApi.kt +++ b/samples/server/petstore/kotlin-springboot-delegate/src/main/kotlin/org/openapitools/api/UserApi.kt @@ -162,7 +162,7 @@ interface UserApi { value = ["/user/{username}"], consumes = ["application/json"] ) - fun updateUser(@ApiParam(value = "name that need to be deleted", required=true) @PathVariable("username") username: kotlin.String + fun updateUser(@ApiParam(value = "name of the user that needs to be updated", required=true) @PathVariable("username") username: kotlin.String ,@ApiParam(value = "Updated user object" ,required=true ) @Valid @RequestBody user: User ): ResponseEntity { return getDelegate().updateUser(username, user); diff --git a/samples/server/petstore/kotlin-springboot-modelMutable/src/main/kotlin/org/openapitools/api/UserApi.kt b/samples/server/petstore/kotlin-springboot-modelMutable/src/main/kotlin/org/openapitools/api/UserApi.kt index 1dbc304d88e4..eac0c35b6de2 100644 --- a/samples/server/petstore/kotlin-springboot-modelMutable/src/main/kotlin/org/openapitools/api/UserApi.kt +++ b/samples/server/petstore/kotlin-springboot-modelMutable/src/main/kotlin/org/openapitools/api/UserApi.kt @@ -153,7 +153,7 @@ class UserApiController(@Autowired(required = true) val service: UserApiService) @RequestMapping( value = ["/user/{username}"], method = [RequestMethod.PUT]) - fun updateUser(@ApiParam(value = "name that need to be deleted", required=true) @PathVariable("username") username: kotlin.String + fun updateUser(@ApiParam(value = "name of the user that needs to be updated", required=true) @PathVariable("username") username: kotlin.String ,@ApiParam(value = "Updated user object" ,required=true ) @Valid @RequestBody body: User ): ResponseEntity { return ResponseEntity(service.updateUser(username, body), HttpStatus.valueOf(400)) diff --git a/samples/server/petstore/kotlin-springboot-reactive/src/main/kotlin/org/openapitools/api/UserApi.kt b/samples/server/petstore/kotlin-springboot-reactive/src/main/kotlin/org/openapitools/api/UserApi.kt index d369aefe48c8..dfbb9e6a32d6 100644 --- a/samples/server/petstore/kotlin-springboot-reactive/src/main/kotlin/org/openapitools/api/UserApi.kt +++ b/samples/server/petstore/kotlin-springboot-reactive/src/main/kotlin/org/openapitools/api/UserApi.kt @@ -147,7 +147,7 @@ class UserApiController(@Autowired(required = true) val service: UserApiService) @PutMapping( value = ["/user/{username}"] ) - suspend fun updateUser(@ApiParam(value = "name that need to be deleted", required=true) @PathVariable("username") username: kotlin.String + suspend fun updateUser(@ApiParam(value = "name of the user that needs to be updated", required=true) @PathVariable("username") username: kotlin.String ,@ApiParam(value = "Updated user object" ,required=true ) @Valid @RequestBody body: User ): ResponseEntity { return ResponseEntity(service.updateUser(username, body), HttpStatus.valueOf(400)) diff --git a/samples/server/petstore/kotlin-springboot/src/main/kotlin/org/openapitools/api/UserApi.kt b/samples/server/petstore/kotlin-springboot/src/main/kotlin/org/openapitools/api/UserApi.kt index 7071afde110f..07cd32d3bcfc 100644 --- a/samples/server/petstore/kotlin-springboot/src/main/kotlin/org/openapitools/api/UserApi.kt +++ b/samples/server/petstore/kotlin-springboot/src/main/kotlin/org/openapitools/api/UserApi.kt @@ -146,7 +146,7 @@ class UserApiController(@Autowired(required = true) val service: UserApiService) @PutMapping( value = ["/user/{username}"] ) - fun updateUser(@ApiParam(value = "name that need to be deleted", required=true) @PathVariable("username") username: kotlin.String + fun updateUser(@ApiParam(value = "name of the user that needs to be updated", required=true) @PathVariable("username") username: kotlin.String ,@ApiParam(value = "Updated user object" ,required=true ) @Valid @RequestBody body: User ): ResponseEntity { return ResponseEntity(service.updateUser(username, body), HttpStatus.valueOf(400)) diff --git a/samples/server/petstore/nancyfx-async/src/IO.Swagger/Modules/UserModule.cs b/samples/server/petstore/nancyfx-async/src/IO.Swagger/Modules/UserModule.cs index 4faf9e38dbd3..c53094272703 100644 --- a/samples/server/petstore/nancyfx-async/src/IO.Swagger/Modules/UserModule.cs +++ b/samples/server/petstore/nancyfx-async/src/IO.Swagger/Modules/UserModule.cs @@ -163,7 +163,7 @@ public interface UserService /// This can only be done by the logged in user. /// /// Context of request - /// name that need to be deleted + /// name of the user that needs to be updated /// Updated user object /// Task UpdateUser(NancyContext context, string username, User body); diff --git a/samples/server/petstore/nancyfx-async/src/Org.OpenAPITools/Modules/UserModule.cs b/samples/server/petstore/nancyfx-async/src/Org.OpenAPITools/Modules/UserModule.cs index 23d99c214e4c..fd00cba7dd30 100644 --- a/samples/server/petstore/nancyfx-async/src/Org.OpenAPITools/Modules/UserModule.cs +++ b/samples/server/petstore/nancyfx-async/src/Org.OpenAPITools/Modules/UserModule.cs @@ -163,7 +163,7 @@ public interface UserService /// This can only be done by the logged in user. /// /// Context of request - /// name that need to be deleted + /// name of the user that needs to be updated /// Updated user object /// Task UpdateUser(NancyContext context, string username, User body); diff --git a/samples/server/petstore/nancyfx/src/Org.OpenAPITools/Modules/UserModule.cs b/samples/server/petstore/nancyfx/src/Org.OpenAPITools/Modules/UserModule.cs index cc268b9a2c54..ecd9be6467b0 100644 --- a/samples/server/petstore/nancyfx/src/Org.OpenAPITools/Modules/UserModule.cs +++ b/samples/server/petstore/nancyfx/src/Org.OpenAPITools/Modules/UserModule.cs @@ -162,7 +162,7 @@ public interface UserService /// This can only be done by the logged in user. /// /// Context of request - /// name that need to be deleted + /// name of the user that needs to be updated /// Updated user object /// void UpdateUser(NancyContext context, string username, User body); diff --git a/samples/server/petstore/nodejs-express-server/api/openapi.yaml b/samples/server/petstore/nodejs-express-server/api/openapi.yaml index db29b0bab2b4..5506222b6b55 100644 --- a/samples/server/petstore/nodejs-express-server/api/openapi.yaml +++ b/samples/server/petstore/nodejs-express-server/api/openapi.yaml @@ -569,7 +569,7 @@ paths: description: This can only be done by the logged in user. operationId: updateUser parameters: - - description: name that need to be deleted + - description: name of the user that needs to be updated in: path name: username required: true diff --git a/samples/server/petstore/nodejs-express-server/services/UserService.js b/samples/server/petstore/nodejs-express-server/services/UserService.js index 5dff957ee710..f3d43ec97568 100644 --- a/samples/server/petstore/nodejs-express-server/services/UserService.js +++ b/samples/server/petstore/nodejs-express-server/services/UserService.js @@ -147,7 +147,7 @@ const logoutUser = () => new Promise( * Updated user * This can only be done by the logged in user. * -* username String name that need to be deleted +* username String name of the user that needs to be updated * body User Updated user object * no response value expected for this operation * */ diff --git a/samples/server/petstore/php-laravel/lib/app/Http/Controllers/UserController.php b/samples/server/petstore/php-laravel/lib/app/Http/Controllers/UserController.php index 5d8db1751008..f4f4f848bbc5 100644 --- a/samples/server/petstore/php-laravel/lib/app/Http/Controllers/UserController.php +++ b/samples/server/petstore/php-laravel/lib/app/Http/Controllers/UserController.php @@ -196,7 +196,7 @@ public function getUserByName($username) * * Updated user. * - * @param string $username name that need to be deleted (required) + * @param string $username name of the user that needs to be updated (required) * * @return Http response */ diff --git a/samples/server/petstore/php-lumen/lib/app/Http/Controllers/UserApi.php b/samples/server/petstore/php-lumen/lib/app/Http/Controllers/UserApi.php index 141311537271..87b4ee58e4d4 100644 --- a/samples/server/petstore/php-lumen/lib/app/Http/Controllers/UserApi.php +++ b/samples/server/petstore/php-lumen/lib/app/Http/Controllers/UserApi.php @@ -192,7 +192,7 @@ public function getUserByName($username) * * Updated user. * - * @param string $username name that need to be deleted (required) + * @param string $username name of the user that needs to be updated (required) * * @return Http response */ diff --git a/samples/server/petstore/php-symfony/SymfonyBundle-php/Api/UserApiInterface.php b/samples/server/petstore/php-symfony/SymfonyBundle-php/Api/UserApiInterface.php index 960c1b6f8cc9..6d4e57efaed1 100644 --- a/samples/server/petstore/php-symfony/SymfonyBundle-php/Api/UserApiInterface.php +++ b/samples/server/petstore/php-symfony/SymfonyBundle-php/Api/UserApiInterface.php @@ -145,7 +145,7 @@ public function logoutUser(&$responseCode, array &$responseHeaders); * * Updated user * - * @param string $username name that need to be deleted (required) + * @param string $username name of the user that needs to be updated (required) * @param OpenAPI\Server\Model\User $body Updated user object (required) * @param integer $responseCode The HTTP response code to return * @param array $responseHeaders Additional HTTP headers to return with the response () diff --git a/samples/server/petstore/php-symfony/SymfonyBundle-php/Resources/docs/Api/UserApiInterface.md b/samples/server/petstore/php-symfony/SymfonyBundle-php/Resources/docs/Api/UserApiInterface.md index 571e9dcbf291..44902eb8a000 100644 --- a/samples/server/petstore/php-symfony/SymfonyBundle-php/Resources/docs/Api/UserApiInterface.md +++ b/samples/server/petstore/php-symfony/SymfonyBundle-php/Resources/docs/Api/UserApiInterface.md @@ -429,7 +429,7 @@ class UserApi implements UserApiInterface Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **username** | **string**| name that need to be deleted | + **username** | **string**| name of the user that needs to be updated | **body** | [**OpenAPI\Server\Model\User**](../Model/User.md)| Updated user object | ### Return type diff --git a/samples/server/petstore/python-aiohttp-srclayout/src/openapi_server/controllers/user_controller.py b/samples/server/petstore/python-aiohttp-srclayout/src/openapi_server/controllers/user_controller.py index 89dd08724136..740193c4b967 100644 --- a/samples/server/petstore/python-aiohttp-srclayout/src/openapi_server/controllers/user_controller.py +++ b/samples/server/petstore/python-aiohttp-srclayout/src/openapi_server/controllers/user_controller.py @@ -97,7 +97,7 @@ async def update_user(request: web.Request, username, body) -> web.Response: This can only be done by the logged in user. - :param username: name that need to be deleted + :param username: name of the user that needs to be updated :type username: str :param body: Updated user object :type body: dict | bytes diff --git a/samples/server/petstore/python-aiohttp-srclayout/src/openapi_server/openapi/openapi.yaml b/samples/server/petstore/python-aiohttp-srclayout/src/openapi_server/openapi/openapi.yaml index 1e68be278ed1..9f5c2994785f 100644 --- a/samples/server/petstore/python-aiohttp-srclayout/src/openapi_server/openapi/openapi.yaml +++ b/samples/server/petstore/python-aiohttp-srclayout/src/openapi_server/openapi/openapi.yaml @@ -579,7 +579,7 @@ paths: description: This can only be done by the logged in user. operationId: update_user parameters: - - description: name that need to be deleted + - description: name of the user that needs to be updated in: path name: username required: true diff --git a/samples/server/petstore/python-aiohttp/openapi_server/controllers/user_controller.py b/samples/server/petstore/python-aiohttp/openapi_server/controllers/user_controller.py index 89dd08724136..740193c4b967 100644 --- a/samples/server/petstore/python-aiohttp/openapi_server/controllers/user_controller.py +++ b/samples/server/petstore/python-aiohttp/openapi_server/controllers/user_controller.py @@ -97,7 +97,7 @@ async def update_user(request: web.Request, username, body) -> web.Response: This can only be done by the logged in user. - :param username: name that need to be deleted + :param username: name of the user that needs to be updated :type username: str :param body: Updated user object :type body: dict | bytes diff --git a/samples/server/petstore/python-aiohttp/openapi_server/openapi/openapi.yaml b/samples/server/petstore/python-aiohttp/openapi_server/openapi/openapi.yaml index 1e68be278ed1..9f5c2994785f 100644 --- a/samples/server/petstore/python-aiohttp/openapi_server/openapi/openapi.yaml +++ b/samples/server/petstore/python-aiohttp/openapi_server/openapi/openapi.yaml @@ -579,7 +579,7 @@ paths: description: This can only be done by the logged in user. operationId: update_user parameters: - - description: name that need to be deleted + - description: name of the user that needs to be updated in: path name: username required: true diff --git a/samples/server/petstore/python-blueplanet/app/openapi_server/controllers/user_controller.py b/samples/server/petstore/python-blueplanet/app/openapi_server/controllers/user_controller.py index 147f8d1cbb99..316f80a1b383 100644 --- a/samples/server/petstore/python-blueplanet/app/openapi_server/controllers/user_controller.py +++ b/samples/server/petstore/python-blueplanet/app/openapi_server/controllers/user_controller.py @@ -107,7 +107,7 @@ def update_user(username, body): # noqa: E501 This can only be done by the logged in user. # noqa: E501 - :param username: name that need to be deleted + :param username: name of the user that needs to be updated :type username: str :param body: Updated user object :type body: dict | bytes diff --git a/samples/server/petstore/python-flask/openapi_server/controllers/user_controller.py b/samples/server/petstore/python-flask/openapi_server/controllers/user_controller.py index 18173c5fe316..32dc4a807a3e 100644 --- a/samples/server/petstore/python-flask/openapi_server/controllers/user_controller.py +++ b/samples/server/petstore/python-flask/openapi_server/controllers/user_controller.py @@ -107,7 +107,7 @@ def update_user(username, body): # noqa: E501 This can only be done by the logged in user. # noqa: E501 - :param username: name that need to be deleted + :param username: name of the user that needs to be updated :type username: str :param body: Updated user object :type body: dict | bytes diff --git a/samples/server/petstore/python-flask/openapi_server/openapi/openapi.yaml b/samples/server/petstore/python-flask/openapi_server/openapi/openapi.yaml index 0edb89eac95b..59d95e417672 100644 --- a/samples/server/petstore/python-flask/openapi_server/openapi/openapi.yaml +++ b/samples/server/petstore/python-flask/openapi_server/openapi/openapi.yaml @@ -569,7 +569,7 @@ paths: description: This can only be done by the logged in user. operationId: update_user parameters: - - description: name that need to be deleted + - description: name of the user that needs to be updated in: path name: username required: true diff --git a/samples/server/petstore/ruby-sinatra/api/user_api.rb b/samples/server/petstore/ruby-sinatra/api/user_api.rb index e180ccb70e6b..3a7f635506fe 100644 --- a/samples/server/petstore/ruby-sinatra/api/user_api.rb +++ b/samples/server/petstore/ruby-sinatra/api/user_api.rb @@ -167,7 +167,7 @@ "parameters" => [ { "name" => "username", - "description" => "name that need to be deleted", + "description" => "name of the user that needs to be updated", "dataType" => "String", "paramType" => "path", }, diff --git a/samples/server/petstore/ruby-sinatra/openapi.yaml b/samples/server/petstore/ruby-sinatra/openapi.yaml index 2a48cecf82bb..fa6d9f316ecd 100644 --- a/samples/server/petstore/ruby-sinatra/openapi.yaml +++ b/samples/server/petstore/ruby-sinatra/openapi.yaml @@ -541,7 +541,7 @@ paths: description: This can only be done by the logged in user. operationId: updateUser parameters: - - description: name that need to be deleted + - description: name of the user that needs to be updated explode: false in: path name: username diff --git a/samples/server/petstore/ruby-sinatra/swagger.yaml b/samples/server/petstore/ruby-sinatra/swagger.yaml index bc7c6e9ae1d5..1262b18695fd 100644 --- a/samples/server/petstore/ruby-sinatra/swagger.yaml +++ b/samples/server/petstore/ruby-sinatra/swagger.yaml @@ -531,7 +531,7 @@ paths: parameters: - name: "username" in: "path" - description: "name that need to be deleted" + description: "name of the user that needs to be updated" required: true type: "string" - in: "body" diff --git a/samples/server/petstore/rust-server/output/petstore-with-fake-endpoints-models-for-testing/api/openapi.yaml b/samples/server/petstore/rust-server/output/petstore-with-fake-endpoints-models-for-testing/api/openapi.yaml index 0885080f5fdc..99ad9f62cd9f 100644 --- a/samples/server/petstore/rust-server/output/petstore-with-fake-endpoints-models-for-testing/api/openapi.yaml +++ b/samples/server/petstore/rust-server/output/petstore-with-fake-endpoints-models-for-testing/api/openapi.yaml @@ -551,7 +551,7 @@ paths: description: This can only be done by the logged in user. operationId: updateUser parameters: - - description: name that need to be deleted + - description: name of the user that needs to be updated in: path name: username required: true diff --git a/samples/server/petstore/rust-server/output/petstore-with-fake-endpoints-models-for-testing/docs/user_api.md b/samples/server/petstore/rust-server/output/petstore-with-fake-endpoints-models-for-testing/docs/user_api.md index 7e3c1b2ca1f6..4d0efb93d7b0 100644 --- a/samples/server/petstore/rust-server/output/petstore-with-fake-endpoints-models-for-testing/docs/user_api.md +++ b/samples/server/petstore/rust-server/output/petstore-with-fake-endpoints-models-for-testing/docs/user_api.md @@ -201,7 +201,7 @@ This can only be done by the logged in user. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **username** | **String**| name that need to be deleted | + **username** | **String**| name of the user that needs to be updated | **body** | [**User**](User.md)| Updated user object | ### Return type diff --git a/samples/server/petstore/scala-lagom-server/src/main/scala/io/swagger/client/api/UserApi.scala b/samples/server/petstore/scala-lagom-server/src/main/scala/io/swagger/client/api/UserApi.scala index 211db9974bfb..854d2c2f04cc 100644 --- a/samples/server/petstore/scala-lagom-server/src/main/scala/io/swagger/client/api/UserApi.scala +++ b/samples/server/petstore/scala-lagom-server/src/main/scala/io/swagger/client/api/UserApi.scala @@ -102,7 +102,7 @@ trait UserApi extends Service { * Updated user * This can only be done by the logged in user. * - * @param username name that need to be deleted + * @param username name of the user that needs to be updated * @return void Body Parameter Updated user object */ def updateUser(username: String): ServiceCall[User ,Done] diff --git a/samples/server/petstore/scala-play-server/app/api/UserApi.scala b/samples/server/petstore/scala-play-server/app/api/UserApi.scala index 548ce3ae03a9..5c207a921a5b 100644 --- a/samples/server/petstore/scala-play-server/app/api/UserApi.scala +++ b/samples/server/petstore/scala-play-server/app/api/UserApi.scala @@ -51,7 +51,7 @@ trait UserApi { /** * Updated user * This can only be done by the logged in user. - * @param username name that need to be deleted + * @param username name of the user that needs to be updated * @param user Updated user object */ def updateUser(username: String, user: User): Unit diff --git a/samples/server/petstore/scala-play-server/app/api/UserApiController.scala b/samples/server/petstore/scala-play-server/app/api/UserApiController.scala index f50910f852cb..58de89a52ea8 100644 --- a/samples/server/petstore/scala-play-server/app/api/UserApiController.scala +++ b/samples/server/petstore/scala-play-server/app/api/UserApiController.scala @@ -116,7 +116,7 @@ class UserApiController @Inject()(cc: ControllerComponents, api: UserApi) extend /** * PUT /v2/user/:username - * @param username name that need to be deleted + * @param username name of the user that needs to be updated */ def updateUser(username: String): Action[AnyContent] = Action { request => def executeApi(): Unit = { diff --git a/samples/server/petstore/scala-play-server/public/openapi.json b/samples/server/petstore/scala-play-server/public/openapi.json index 75103813bb29..81c7fbbcf3ac 100644 --- a/samples/server/petstore/scala-play-server/public/openapi.json +++ b/samples/server/petstore/scala-play-server/public/openapi.json @@ -745,7 +745,7 @@ "description" : "This can only be done by the logged in user.", "operationId" : "updateUser", "parameters" : [ { - "description" : "name that need to be deleted", + "description" : "name of the user that needs to be updated", "explode" : false, "in" : "path", "name" : "username", diff --git a/samples/server/petstore/spring-mvc-j8-async/src/main/java/org/openapitools/api/UserApi.java b/samples/server/petstore/spring-mvc-j8-async/src/main/java/org/openapitools/api/UserApi.java index 09d28377b995..2674b74cc557 100644 --- a/samples/server/petstore/spring-mvc-j8-async/src/main/java/org/openapitools/api/UserApi.java +++ b/samples/server/petstore/spring-mvc-j8-async/src/main/java/org/openapitools/api/UserApi.java @@ -191,7 +191,7 @@ default CompletableFuture> logoutUser() { * PUT /user/{username} : Updated user * This can only be done by the logged in user. * - * @param username name that need to be deleted (required) + * @param username name of the user that needs to be updated (required) * @param body Updated user object (required) * @return Invalid user supplied (status code 400) * or User not found (status code 404) @@ -203,7 +203,7 @@ default CompletableFuture> logoutUser() { @PutMapping( value = "/user/{username}" ) - default CompletableFuture> updateUser(@ApiParam(value = "name that need to be deleted",required=true) @PathVariable("username") String username,@ApiParam(value = "Updated user object" ,required=true ) @Valid @RequestBody User body) { + default CompletableFuture> updateUser(@ApiParam(value = "name of the user that needs to be updated",required=true) @PathVariable("username") String username,@ApiParam(value = "Updated user object" ,required=true ) @Valid @RequestBody User body) { return CompletableFuture.completedFuture(new ResponseEntity<>(HttpStatus.NOT_IMPLEMENTED)); } diff --git a/samples/server/petstore/spring-mvc-j8-localdatetime/src/main/java/org/openapitools/api/UserApi.java b/samples/server/petstore/spring-mvc-j8-localdatetime/src/main/java/org/openapitools/api/UserApi.java index e567eee02589..31356d202c93 100644 --- a/samples/server/petstore/spring-mvc-j8-localdatetime/src/main/java/org/openapitools/api/UserApi.java +++ b/samples/server/petstore/spring-mvc-j8-localdatetime/src/main/java/org/openapitools/api/UserApi.java @@ -188,7 +188,7 @@ default ResponseEntity logoutUser() { * PUT /user/{username} : Updated user * This can only be done by the logged in user. * - * @param username name that need to be deleted (required) + * @param username name of the user that needs to be updated (required) * @param body Updated user object (required) * @return Invalid user supplied (status code 400) * or User not found (status code 404) @@ -200,7 +200,7 @@ default ResponseEntity logoutUser() { @PutMapping( value = "/user/{username}" ) - default ResponseEntity updateUser(@ApiParam(value = "name that need to be deleted",required=true) @PathVariable("username") String username,@ApiParam(value = "Updated user object" ,required=true ) @Valid @RequestBody User body) { + default ResponseEntity updateUser(@ApiParam(value = "name of the user that needs to be updated",required=true) @PathVariable("username") String username,@ApiParam(value = "Updated user object" ,required=true ) @Valid @RequestBody User body) { return new ResponseEntity<>(HttpStatus.NOT_IMPLEMENTED); } diff --git a/samples/server/petstore/spring-mvc-no-nullable/src/main/java/org/openapitools/api/UserApi.java b/samples/server/petstore/spring-mvc-no-nullable/src/main/java/org/openapitools/api/UserApi.java index e567eee02589..31356d202c93 100644 --- a/samples/server/petstore/spring-mvc-no-nullable/src/main/java/org/openapitools/api/UserApi.java +++ b/samples/server/petstore/spring-mvc-no-nullable/src/main/java/org/openapitools/api/UserApi.java @@ -188,7 +188,7 @@ default ResponseEntity logoutUser() { * PUT /user/{username} : Updated user * This can only be done by the logged in user. * - * @param username name that need to be deleted (required) + * @param username name of the user that needs to be updated (required) * @param body Updated user object (required) * @return Invalid user supplied (status code 400) * or User not found (status code 404) @@ -200,7 +200,7 @@ default ResponseEntity logoutUser() { @PutMapping( value = "/user/{username}" ) - default ResponseEntity updateUser(@ApiParam(value = "name that need to be deleted",required=true) @PathVariable("username") String username,@ApiParam(value = "Updated user object" ,required=true ) @Valid @RequestBody User body) { + default ResponseEntity updateUser(@ApiParam(value = "name of the user that needs to be updated",required=true) @PathVariable("username") String username,@ApiParam(value = "Updated user object" ,required=true ) @Valid @RequestBody User body) { return new ResponseEntity<>(HttpStatus.NOT_IMPLEMENTED); } diff --git a/samples/server/petstore/spring-mvc-spring-pageable/src/main/java/org/openapitools/api/UserApi.java b/samples/server/petstore/spring-mvc-spring-pageable/src/main/java/org/openapitools/api/UserApi.java index e567eee02589..31356d202c93 100644 --- a/samples/server/petstore/spring-mvc-spring-pageable/src/main/java/org/openapitools/api/UserApi.java +++ b/samples/server/petstore/spring-mvc-spring-pageable/src/main/java/org/openapitools/api/UserApi.java @@ -188,7 +188,7 @@ default ResponseEntity logoutUser() { * PUT /user/{username} : Updated user * This can only be done by the logged in user. * - * @param username name that need to be deleted (required) + * @param username name of the user that needs to be updated (required) * @param body Updated user object (required) * @return Invalid user supplied (status code 400) * or User not found (status code 404) @@ -200,7 +200,7 @@ default ResponseEntity logoutUser() { @PutMapping( value = "/user/{username}" ) - default ResponseEntity updateUser(@ApiParam(value = "name that need to be deleted",required=true) @PathVariable("username") String username,@ApiParam(value = "Updated user object" ,required=true ) @Valid @RequestBody User body) { + default ResponseEntity updateUser(@ApiParam(value = "name of the user that needs to be updated",required=true) @PathVariable("username") String username,@ApiParam(value = "Updated user object" ,required=true ) @Valid @RequestBody User body) { return new ResponseEntity<>(HttpStatus.NOT_IMPLEMENTED); } diff --git a/samples/server/petstore/spring-mvc/src/main/java/org/openapitools/api/UserApi.java b/samples/server/petstore/spring-mvc/src/main/java/org/openapitools/api/UserApi.java index e567eee02589..31356d202c93 100644 --- a/samples/server/petstore/spring-mvc/src/main/java/org/openapitools/api/UserApi.java +++ b/samples/server/petstore/spring-mvc/src/main/java/org/openapitools/api/UserApi.java @@ -188,7 +188,7 @@ default ResponseEntity logoutUser() { * PUT /user/{username} : Updated user * This can only be done by the logged in user. * - * @param username name that need to be deleted (required) + * @param username name of the user that needs to be updated (required) * @param body Updated user object (required) * @return Invalid user supplied (status code 400) * or User not found (status code 404) @@ -200,7 +200,7 @@ default ResponseEntity logoutUser() { @PutMapping( value = "/user/{username}" ) - default ResponseEntity updateUser(@ApiParam(value = "name that need to be deleted",required=true) @PathVariable("username") String username,@ApiParam(value = "Updated user object" ,required=true ) @Valid @RequestBody User body) { + default ResponseEntity updateUser(@ApiParam(value = "name of the user that needs to be updated",required=true) @PathVariable("username") String username,@ApiParam(value = "Updated user object" ,required=true ) @Valid @RequestBody User body) { return new ResponseEntity<>(HttpStatus.NOT_IMPLEMENTED); } diff --git a/samples/server/petstore/springboot-beanvalidation-no-nullable/src/main/java/org/openapitools/api/UserApi.java b/samples/server/petstore/springboot-beanvalidation-no-nullable/src/main/java/org/openapitools/api/UserApi.java index 9d763df6aa3d..93690d90246d 100644 --- a/samples/server/petstore/springboot-beanvalidation-no-nullable/src/main/java/org/openapitools/api/UserApi.java +++ b/samples/server/petstore/springboot-beanvalidation-no-nullable/src/main/java/org/openapitools/api/UserApi.java @@ -145,7 +145,7 @@ public interface UserApi { * PUT /user/{username} : Updated user * This can only be done by the logged in user. * - * @param username name that need to be deleted (required) + * @param username name of the user that needs to be updated (required) * @param body Updated user object (required) * @return Invalid user supplied (status code 400) * or User not found (status code 404) @@ -157,6 +157,6 @@ public interface UserApi { @PutMapping( value = "/user/{username}" ) - ResponseEntity updateUser(@ApiParam(value = "name that need to be deleted",required=true) @PathVariable("username") String username,@ApiParam(value = "Updated user object" ,required=true ) @Valid @RequestBody User body); + ResponseEntity updateUser(@ApiParam(value = "name of the user that needs to be updated",required=true) @PathVariable("username") String username,@ApiParam(value = "Updated user object" ,required=true ) @Valid @RequestBody User body); } diff --git a/samples/server/petstore/springboot-beanvalidation-no-nullable/src/main/java/org/openapitools/api/UserApiController.java b/samples/server/petstore/springboot-beanvalidation-no-nullable/src/main/java/org/openapitools/api/UserApiController.java index e3895fd5f5fd..f86bbbaece4a 100644 --- a/samples/server/petstore/springboot-beanvalidation-no-nullable/src/main/java/org/openapitools/api/UserApiController.java +++ b/samples/server/petstore/springboot-beanvalidation-no-nullable/src/main/java/org/openapitools/api/UserApiController.java @@ -141,13 +141,13 @@ public ResponseEntity logoutUser() { * PUT /user/{username} : Updated user * This can only be done by the logged in user. * - * @param username name that need to be deleted (required) + * @param username name of the user that needs to be updated (required) * @param body Updated user object (required) * @return Invalid user supplied (status code 400) * or User not found (status code 404) * @see UserApi#updateUser */ - public ResponseEntity updateUser(@ApiParam(value = "name that need to be deleted",required=true) @PathVariable("username") String username,@ApiParam(value = "Updated user object" ,required=true ) @Valid @RequestBody User body) { + public ResponseEntity updateUser(@ApiParam(value = "name of the user that needs to be updated",required=true) @PathVariable("username") String username,@ApiParam(value = "Updated user object" ,required=true ) @Valid @RequestBody User body) { return new ResponseEntity<>(HttpStatus.NOT_IMPLEMENTED); } diff --git a/samples/server/petstore/springboot-beanvalidation/src/main/java/org/openapitools/api/UserApi.java b/samples/server/petstore/springboot-beanvalidation/src/main/java/org/openapitools/api/UserApi.java index e567eee02589..31356d202c93 100644 --- a/samples/server/petstore/springboot-beanvalidation/src/main/java/org/openapitools/api/UserApi.java +++ b/samples/server/petstore/springboot-beanvalidation/src/main/java/org/openapitools/api/UserApi.java @@ -188,7 +188,7 @@ default ResponseEntity logoutUser() { * PUT /user/{username} : Updated user * This can only be done by the logged in user. * - * @param username name that need to be deleted (required) + * @param username name of the user that needs to be updated (required) * @param body Updated user object (required) * @return Invalid user supplied (status code 400) * or User not found (status code 404) @@ -200,7 +200,7 @@ default ResponseEntity logoutUser() { @PutMapping( value = "/user/{username}" ) - default ResponseEntity updateUser(@ApiParam(value = "name that need to be deleted",required=true) @PathVariable("username") String username,@ApiParam(value = "Updated user object" ,required=true ) @Valid @RequestBody User body) { + default ResponseEntity updateUser(@ApiParam(value = "name of the user that needs to be updated",required=true) @PathVariable("username") String username,@ApiParam(value = "Updated user object" ,required=true ) @Valid @RequestBody User body) { return new ResponseEntity<>(HttpStatus.NOT_IMPLEMENTED); } diff --git a/samples/server/petstore/springboot-delegate-j8/src/main/java/org/openapitools/api/UserApi.java b/samples/server/petstore/springboot-delegate-j8/src/main/java/org/openapitools/api/UserApi.java index 45dd183e18d4..328df1952535 100644 --- a/samples/server/petstore/springboot-delegate-j8/src/main/java/org/openapitools/api/UserApi.java +++ b/samples/server/petstore/springboot-delegate-j8/src/main/java/org/openapitools/api/UserApi.java @@ -163,7 +163,7 @@ default ResponseEntity logoutUser() { * PUT /user/{username} : Updated user * This can only be done by the logged in user. * - * @param username name that need to be deleted (required) + * @param username name of the user that needs to be updated (required) * @param body Updated user object (required) * @return Invalid user supplied (status code 400) * or User not found (status code 404) @@ -175,7 +175,7 @@ default ResponseEntity logoutUser() { @PutMapping( value = "/user/{username}" ) - default ResponseEntity updateUser(@ApiParam(value = "name that need to be deleted",required=true) @PathVariable("username") String username,@ApiParam(value = "Updated user object" ,required=true ) @Valid @RequestBody User body) { + default ResponseEntity updateUser(@ApiParam(value = "name of the user that needs to be updated",required=true) @PathVariable("username") String username,@ApiParam(value = "Updated user object" ,required=true ) @Valid @RequestBody User body) { return getDelegate().updateUser(username, body); } diff --git a/samples/server/petstore/springboot-delegate-j8/src/main/java/org/openapitools/api/UserApiDelegate.java b/samples/server/petstore/springboot-delegate-j8/src/main/java/org/openapitools/api/UserApiDelegate.java index f3bd0746d192..9d55751f43dd 100644 --- a/samples/server/petstore/springboot-delegate-j8/src/main/java/org/openapitools/api/UserApiDelegate.java +++ b/samples/server/petstore/springboot-delegate-j8/src/main/java/org/openapitools/api/UserApiDelegate.java @@ -134,7 +134,7 @@ default ResponseEntity logoutUser() { * PUT /user/{username} : Updated user * This can only be done by the logged in user. * - * @param username name that need to be deleted (required) + * @param username name of the user that needs to be updated (required) * @param body Updated user object (required) * @return Invalid user supplied (status code 400) * or User not found (status code 404) diff --git a/samples/server/petstore/springboot-delegate/src/main/java/org/openapitools/api/UserApi.java b/samples/server/petstore/springboot-delegate/src/main/java/org/openapitools/api/UserApi.java index 45dd183e18d4..328df1952535 100644 --- a/samples/server/petstore/springboot-delegate/src/main/java/org/openapitools/api/UserApi.java +++ b/samples/server/petstore/springboot-delegate/src/main/java/org/openapitools/api/UserApi.java @@ -163,7 +163,7 @@ default ResponseEntity logoutUser() { * PUT /user/{username} : Updated user * This can only be done by the logged in user. * - * @param username name that need to be deleted (required) + * @param username name of the user that needs to be updated (required) * @param body Updated user object (required) * @return Invalid user supplied (status code 400) * or User not found (status code 404) @@ -175,7 +175,7 @@ default ResponseEntity logoutUser() { @PutMapping( value = "/user/{username}" ) - default ResponseEntity updateUser(@ApiParam(value = "name that need to be deleted",required=true) @PathVariable("username") String username,@ApiParam(value = "Updated user object" ,required=true ) @Valid @RequestBody User body) { + default ResponseEntity updateUser(@ApiParam(value = "name of the user that needs to be updated",required=true) @PathVariable("username") String username,@ApiParam(value = "Updated user object" ,required=true ) @Valid @RequestBody User body) { return getDelegate().updateUser(username, body); } diff --git a/samples/server/petstore/springboot-delegate/src/main/java/org/openapitools/api/UserApiDelegate.java b/samples/server/petstore/springboot-delegate/src/main/java/org/openapitools/api/UserApiDelegate.java index f3bd0746d192..9d55751f43dd 100644 --- a/samples/server/petstore/springboot-delegate/src/main/java/org/openapitools/api/UserApiDelegate.java +++ b/samples/server/petstore/springboot-delegate/src/main/java/org/openapitools/api/UserApiDelegate.java @@ -134,7 +134,7 @@ default ResponseEntity logoutUser() { * PUT /user/{username} : Updated user * This can only be done by the logged in user. * - * @param username name that need to be deleted (required) + * @param username name of the user that needs to be updated (required) * @param body Updated user object (required) * @return Invalid user supplied (status code 400) * or User not found (status code 404) diff --git a/samples/server/petstore/springboot-implicitHeaders/src/main/java/org/openapitools/api/UserApi.java b/samples/server/petstore/springboot-implicitHeaders/src/main/java/org/openapitools/api/UserApi.java index 92fd38f55c9f..9f4b0f9e1c1d 100644 --- a/samples/server/petstore/springboot-implicitHeaders/src/main/java/org/openapitools/api/UserApi.java +++ b/samples/server/petstore/springboot-implicitHeaders/src/main/java/org/openapitools/api/UserApi.java @@ -202,7 +202,7 @@ default ResponseEntity logoutUser() { * PUT /user/{username} : Updated user * This can only be done by the logged in user. * - * @param username name that need to be deleted (required) + * @param username name of the user that needs to be updated (required) * @param body Updated user object (required) * @return Invalid user supplied (status code 400) * or User not found (status code 404) @@ -216,7 +216,7 @@ default ResponseEntity logoutUser() { @PutMapping( value = "/user/{username}" ) - default ResponseEntity updateUser(@ApiParam(value = "name that need to be deleted",required=true) @PathVariable("username") String username,@ApiParam(value = "Updated user object" ,required=true ) @Valid @RequestBody User body) { + default ResponseEntity updateUser(@ApiParam(value = "name of the user that needs to be updated",required=true) @PathVariable("username") String username,@ApiParam(value = "Updated user object" ,required=true ) @Valid @RequestBody User body) { return new ResponseEntity<>(HttpStatus.NOT_IMPLEMENTED); } diff --git a/samples/server/petstore/springboot-reactive/src/main/java/org/openapitools/api/UserApi.java b/samples/server/petstore/springboot-reactive/src/main/java/org/openapitools/api/UserApi.java index ab86af2a61e5..d8f70f03be98 100644 --- a/samples/server/petstore/springboot-reactive/src/main/java/org/openapitools/api/UserApi.java +++ b/samples/server/petstore/springboot-reactive/src/main/java/org/openapitools/api/UserApi.java @@ -167,7 +167,7 @@ default Mono> logoutUser(@ApiIgnore final ServerWebExchange * PUT /user/{username} : Updated user * This can only be done by the logged in user. * - * @param username name that need to be deleted (required) + * @param username name of the user that needs to be updated (required) * @param body Updated user object (required) * @return Invalid user supplied (status code 400) * or User not found (status code 404) @@ -179,7 +179,7 @@ default Mono> logoutUser(@ApiIgnore final ServerWebExchange @PutMapping( value = "/user/{username}" ) - default Mono> updateUser(@ApiParam(value = "name that need to be deleted",required=true) @PathVariable("username") String username,@ApiParam(value = "Updated user object" ,required=true ) @Valid @RequestBody Mono body, @ApiIgnore final ServerWebExchange exchange) { + default Mono> updateUser(@ApiParam(value = "name of the user that needs to be updated",required=true) @PathVariable("username") String username,@ApiParam(value = "Updated user object" ,required=true ) @Valid @RequestBody Mono body, @ApiIgnore final ServerWebExchange exchange) { return getDelegate().updateUser(username, body, exchange); } diff --git a/samples/server/petstore/springboot-reactive/src/main/java/org/openapitools/api/UserApiDelegate.java b/samples/server/petstore/springboot-reactive/src/main/java/org/openapitools/api/UserApiDelegate.java index 1a6d194f4296..e9179a28f5a5 100644 --- a/samples/server/petstore/springboot-reactive/src/main/java/org/openapitools/api/UserApiDelegate.java +++ b/samples/server/petstore/springboot-reactive/src/main/java/org/openapitools/api/UserApiDelegate.java @@ -156,7 +156,7 @@ default Mono> logoutUser(ServerWebExchange exchange) { * PUT /user/{username} : Updated user * This can only be done by the logged in user. * - * @param username name that need to be deleted (required) + * @param username name of the user that needs to be updated (required) * @param body Updated user object (required) * @return Invalid user supplied (status code 400) * or User not found (status code 404) diff --git a/samples/server/petstore/springboot-reactive/src/main/resources/openapi.yaml b/samples/server/petstore/springboot-reactive/src/main/resources/openapi.yaml index 7d2de524fc6e..8060470d83e7 100644 --- a/samples/server/petstore/springboot-reactive/src/main/resources/openapi.yaml +++ b/samples/server/petstore/springboot-reactive/src/main/resources/openapi.yaml @@ -628,7 +628,7 @@ paths: description: This can only be done by the logged in user. operationId: updateUser parameters: - - description: name that need to be deleted + - description: name of the user that needs to be updated in: path name: username required: true diff --git a/samples/server/petstore/springboot-spring-pageable-delegatePattern-without-j8/src/main/java/org/openapitools/api/UserApi.java b/samples/server/petstore/springboot-spring-pageable-delegatePattern-without-j8/src/main/java/org/openapitools/api/UserApi.java index 9d763df6aa3d..93690d90246d 100644 --- a/samples/server/petstore/springboot-spring-pageable-delegatePattern-without-j8/src/main/java/org/openapitools/api/UserApi.java +++ b/samples/server/petstore/springboot-spring-pageable-delegatePattern-without-j8/src/main/java/org/openapitools/api/UserApi.java @@ -145,7 +145,7 @@ public interface UserApi { * PUT /user/{username} : Updated user * This can only be done by the logged in user. * - * @param username name that need to be deleted (required) + * @param username name of the user that needs to be updated (required) * @param body Updated user object (required) * @return Invalid user supplied (status code 400) * or User not found (status code 404) @@ -157,6 +157,6 @@ public interface UserApi { @PutMapping( value = "/user/{username}" ) - ResponseEntity updateUser(@ApiParam(value = "name that need to be deleted",required=true) @PathVariable("username") String username,@ApiParam(value = "Updated user object" ,required=true ) @Valid @RequestBody User body); + ResponseEntity updateUser(@ApiParam(value = "name of the user that needs to be updated",required=true) @PathVariable("username") String username,@ApiParam(value = "Updated user object" ,required=true ) @Valid @RequestBody User body); } diff --git a/samples/server/petstore/springboot-spring-pageable-delegatePattern-without-j8/src/main/java/org/openapitools/api/UserApiController.java b/samples/server/petstore/springboot-spring-pageable-delegatePattern-without-j8/src/main/java/org/openapitools/api/UserApiController.java index 42f6beef0088..da13b43fff4b 100644 --- a/samples/server/petstore/springboot-spring-pageable-delegatePattern-without-j8/src/main/java/org/openapitools/api/UserApiController.java +++ b/samples/server/petstore/springboot-spring-pageable-delegatePattern-without-j8/src/main/java/org/openapitools/api/UserApiController.java @@ -120,13 +120,13 @@ public ResponseEntity logoutUser() { * PUT /user/{username} : Updated user * This can only be done by the logged in user. * - * @param username name that need to be deleted (required) + * @param username name of the user that needs to be updated (required) * @param body Updated user object (required) * @return Invalid user supplied (status code 400) * or User not found (status code 404) * @see UserApi#updateUser */ - public ResponseEntity updateUser(@ApiParam(value = "name that need to be deleted",required=true) @PathVariable("username") String username,@ApiParam(value = "Updated user object" ,required=true ) @Valid @RequestBody User body) { + public ResponseEntity updateUser(@ApiParam(value = "name of the user that needs to be updated",required=true) @PathVariable("username") String username,@ApiParam(value = "Updated user object" ,required=true ) @Valid @RequestBody User body) { return delegate.updateUser(username, body); } diff --git a/samples/server/petstore/springboot-spring-pageable-delegatePattern-without-j8/src/main/java/org/openapitools/api/UserApiDelegate.java b/samples/server/petstore/springboot-spring-pageable-delegatePattern-without-j8/src/main/java/org/openapitools/api/UserApiDelegate.java index be45729d7e93..d6e44b9044d0 100644 --- a/samples/server/petstore/springboot-spring-pageable-delegatePattern-without-j8/src/main/java/org/openapitools/api/UserApiDelegate.java +++ b/samples/server/petstore/springboot-spring-pageable-delegatePattern-without-j8/src/main/java/org/openapitools/api/UserApiDelegate.java @@ -91,7 +91,7 @@ ResponseEntity loginUser(String username, * PUT /user/{username} : Updated user * This can only be done by the logged in user. * - * @param username name that need to be deleted (required) + * @param username name of the user that needs to be updated (required) * @param body Updated user object (required) * @return Invalid user supplied (status code 400) * or User not found (status code 404) diff --git a/samples/server/petstore/springboot-spring-pageable-delegatePattern/src/main/java/org/openapitools/api/UserApi.java b/samples/server/petstore/springboot-spring-pageable-delegatePattern/src/main/java/org/openapitools/api/UserApi.java index 45dd183e18d4..328df1952535 100644 --- a/samples/server/petstore/springboot-spring-pageable-delegatePattern/src/main/java/org/openapitools/api/UserApi.java +++ b/samples/server/petstore/springboot-spring-pageable-delegatePattern/src/main/java/org/openapitools/api/UserApi.java @@ -163,7 +163,7 @@ default ResponseEntity logoutUser() { * PUT /user/{username} : Updated user * This can only be done by the logged in user. * - * @param username name that need to be deleted (required) + * @param username name of the user that needs to be updated (required) * @param body Updated user object (required) * @return Invalid user supplied (status code 400) * or User not found (status code 404) @@ -175,7 +175,7 @@ default ResponseEntity logoutUser() { @PutMapping( value = "/user/{username}" ) - default ResponseEntity updateUser(@ApiParam(value = "name that need to be deleted",required=true) @PathVariable("username") String username,@ApiParam(value = "Updated user object" ,required=true ) @Valid @RequestBody User body) { + default ResponseEntity updateUser(@ApiParam(value = "name of the user that needs to be updated",required=true) @PathVariable("username") String username,@ApiParam(value = "Updated user object" ,required=true ) @Valid @RequestBody User body) { return getDelegate().updateUser(username, body); } diff --git a/samples/server/petstore/springboot-spring-pageable-delegatePattern/src/main/java/org/openapitools/api/UserApiDelegate.java b/samples/server/petstore/springboot-spring-pageable-delegatePattern/src/main/java/org/openapitools/api/UserApiDelegate.java index f3bd0746d192..9d55751f43dd 100644 --- a/samples/server/petstore/springboot-spring-pageable-delegatePattern/src/main/java/org/openapitools/api/UserApiDelegate.java +++ b/samples/server/petstore/springboot-spring-pageable-delegatePattern/src/main/java/org/openapitools/api/UserApiDelegate.java @@ -134,7 +134,7 @@ default ResponseEntity logoutUser() { * PUT /user/{username} : Updated user * This can only be done by the logged in user. * - * @param username name that need to be deleted (required) + * @param username name of the user that needs to be updated (required) * @param body Updated user object (required) * @return Invalid user supplied (status code 400) * or User not found (status code 404) diff --git a/samples/server/petstore/springboot-spring-pageable-without-j8/src/main/java/org/openapitools/api/UserApi.java b/samples/server/petstore/springboot-spring-pageable-without-j8/src/main/java/org/openapitools/api/UserApi.java index 9d763df6aa3d..93690d90246d 100644 --- a/samples/server/petstore/springboot-spring-pageable-without-j8/src/main/java/org/openapitools/api/UserApi.java +++ b/samples/server/petstore/springboot-spring-pageable-without-j8/src/main/java/org/openapitools/api/UserApi.java @@ -145,7 +145,7 @@ public interface UserApi { * PUT /user/{username} : Updated user * This can only be done by the logged in user. * - * @param username name that need to be deleted (required) + * @param username name of the user that needs to be updated (required) * @param body Updated user object (required) * @return Invalid user supplied (status code 400) * or User not found (status code 404) @@ -157,6 +157,6 @@ public interface UserApi { @PutMapping( value = "/user/{username}" ) - ResponseEntity updateUser(@ApiParam(value = "name that need to be deleted",required=true) @PathVariable("username") String username,@ApiParam(value = "Updated user object" ,required=true ) @Valid @RequestBody User body); + ResponseEntity updateUser(@ApiParam(value = "name of the user that needs to be updated",required=true) @PathVariable("username") String username,@ApiParam(value = "Updated user object" ,required=true ) @Valid @RequestBody User body); } diff --git a/samples/server/petstore/springboot-spring-pageable-without-j8/src/main/java/org/openapitools/api/UserApiController.java b/samples/server/petstore/springboot-spring-pageable-without-j8/src/main/java/org/openapitools/api/UserApiController.java index e3895fd5f5fd..f86bbbaece4a 100644 --- a/samples/server/petstore/springboot-spring-pageable-without-j8/src/main/java/org/openapitools/api/UserApiController.java +++ b/samples/server/petstore/springboot-spring-pageable-without-j8/src/main/java/org/openapitools/api/UserApiController.java @@ -141,13 +141,13 @@ public ResponseEntity logoutUser() { * PUT /user/{username} : Updated user * This can only be done by the logged in user. * - * @param username name that need to be deleted (required) + * @param username name of the user that needs to be updated (required) * @param body Updated user object (required) * @return Invalid user supplied (status code 400) * or User not found (status code 404) * @see UserApi#updateUser */ - public ResponseEntity updateUser(@ApiParam(value = "name that need to be deleted",required=true) @PathVariable("username") String username,@ApiParam(value = "Updated user object" ,required=true ) @Valid @RequestBody User body) { + public ResponseEntity updateUser(@ApiParam(value = "name of the user that needs to be updated",required=true) @PathVariable("username") String username,@ApiParam(value = "Updated user object" ,required=true ) @Valid @RequestBody User body) { return new ResponseEntity<>(HttpStatus.NOT_IMPLEMENTED); } diff --git a/samples/server/petstore/springboot-spring-pageable/src/main/java/org/openapitools/api/UserApi.java b/samples/server/petstore/springboot-spring-pageable/src/main/java/org/openapitools/api/UserApi.java index e567eee02589..31356d202c93 100644 --- a/samples/server/petstore/springboot-spring-pageable/src/main/java/org/openapitools/api/UserApi.java +++ b/samples/server/petstore/springboot-spring-pageable/src/main/java/org/openapitools/api/UserApi.java @@ -188,7 +188,7 @@ default ResponseEntity logoutUser() { * PUT /user/{username} : Updated user * This can only be done by the logged in user. * - * @param username name that need to be deleted (required) + * @param username name of the user that needs to be updated (required) * @param body Updated user object (required) * @return Invalid user supplied (status code 400) * or User not found (status code 404) @@ -200,7 +200,7 @@ default ResponseEntity logoutUser() { @PutMapping( value = "/user/{username}" ) - default ResponseEntity updateUser(@ApiParam(value = "name that need to be deleted",required=true) @PathVariable("username") String username,@ApiParam(value = "Updated user object" ,required=true ) @Valid @RequestBody User body) { + default ResponseEntity updateUser(@ApiParam(value = "name of the user that needs to be updated",required=true) @PathVariable("username") String username,@ApiParam(value = "Updated user object" ,required=true ) @Valid @RequestBody User body) { return new ResponseEntity<>(HttpStatus.NOT_IMPLEMENTED); } diff --git a/samples/server/petstore/springboot-useoptional/src/main/java/org/openapitools/api/UserApi.java b/samples/server/petstore/springboot-useoptional/src/main/java/org/openapitools/api/UserApi.java index e567eee02589..31356d202c93 100644 --- a/samples/server/petstore/springboot-useoptional/src/main/java/org/openapitools/api/UserApi.java +++ b/samples/server/petstore/springboot-useoptional/src/main/java/org/openapitools/api/UserApi.java @@ -188,7 +188,7 @@ default ResponseEntity logoutUser() { * PUT /user/{username} : Updated user * This can only be done by the logged in user. * - * @param username name that need to be deleted (required) + * @param username name of the user that needs to be updated (required) * @param body Updated user object (required) * @return Invalid user supplied (status code 400) * or User not found (status code 404) @@ -200,7 +200,7 @@ default ResponseEntity logoutUser() { @PutMapping( value = "/user/{username}" ) - default ResponseEntity updateUser(@ApiParam(value = "name that need to be deleted",required=true) @PathVariable("username") String username,@ApiParam(value = "Updated user object" ,required=true ) @Valid @RequestBody User body) { + default ResponseEntity updateUser(@ApiParam(value = "name of the user that needs to be updated",required=true) @PathVariable("username") String username,@ApiParam(value = "Updated user object" ,required=true ) @Valid @RequestBody User body) { return new ResponseEntity<>(HttpStatus.NOT_IMPLEMENTED); } diff --git a/samples/server/petstore/springboot-virtualan/src/main/java/org/openapitools/virtualan/api/UserApi.java b/samples/server/petstore/springboot-virtualan/src/main/java/org/openapitools/virtualan/api/UserApi.java index 034b9eb6d788..3f6696c36cad 100644 --- a/samples/server/petstore/springboot-virtualan/src/main/java/org/openapitools/virtualan/api/UserApi.java +++ b/samples/server/petstore/springboot-virtualan/src/main/java/org/openapitools/virtualan/api/UserApi.java @@ -198,7 +198,7 @@ default ResponseEntity logoutUser() { * PUT /user/{username} : Updated user * This can only be done by the logged in user. * - * @param username name that need to be deleted (required) + * @param username name of the user that needs to be updated (required) * @param body Updated user object (required) * @return Invalid user supplied (status code 400) * or User not found (status code 404) @@ -211,7 +211,7 @@ default ResponseEntity logoutUser() { @PutMapping( value = "/user/{username}" ) - default ResponseEntity updateUser(@ApiParam(value = "name that need to be deleted",required=true) @PathVariable("username") String username,@ApiParam(value = "Updated user object" ,required=true ) @Valid @RequestBody User body) { + default ResponseEntity updateUser(@ApiParam(value = "name of the user that needs to be updated",required=true) @PathVariable("username") String username,@ApiParam(value = "Updated user object" ,required=true ) @Valid @RequestBody User body) { return new ResponseEntity<>(HttpStatus.NOT_IMPLEMENTED); } diff --git a/samples/server/petstore/springboot/src/main/java/org/openapitools/api/UserApi.java b/samples/server/petstore/springboot/src/main/java/org/openapitools/api/UserApi.java index e567eee02589..31356d202c93 100644 --- a/samples/server/petstore/springboot/src/main/java/org/openapitools/api/UserApi.java +++ b/samples/server/petstore/springboot/src/main/java/org/openapitools/api/UserApi.java @@ -188,7 +188,7 @@ default ResponseEntity logoutUser() { * PUT /user/{username} : Updated user * This can only be done by the logged in user. * - * @param username name that need to be deleted (required) + * @param username name of the user that needs to be updated (required) * @param body Updated user object (required) * @return Invalid user supplied (status code 400) * or User not found (status code 404) @@ -200,7 +200,7 @@ default ResponseEntity logoutUser() { @PutMapping( value = "/user/{username}" ) - default ResponseEntity updateUser(@ApiParam(value = "name that need to be deleted",required=true) @PathVariable("username") String username,@ApiParam(value = "Updated user object" ,required=true ) @Valid @RequestBody User body) { + default ResponseEntity updateUser(@ApiParam(value = "name of the user that needs to be updated",required=true) @PathVariable("username") String username,@ApiParam(value = "Updated user object" ,required=true ) @Valid @RequestBody User body) { return new ResponseEntity<>(HttpStatus.NOT_IMPLEMENTED); } diff --git a/samples/yaml/user.yml b/samples/yaml/user.yml index 914b8b7778b0..58fb349ce9ba 100644 --- a/samples/yaml/user.yml +++ b/samples/yaml/user.yml @@ -61,7 +61,7 @@ apis: nickname: updateUser parameters: - name: username - description: name that need to be deleted + description: name of the user that needs to be updated required: true allowMultiple: false type: string