diff --git a/src/main/java/com/chat/yourway/controller/rest/ChangePasswordController.java b/src/main/java/com/chat/yourway/controller/rest/ChangePasswordController.java index 9ecc78c..ac8d846 100644 --- a/src/main/java/com/chat/yourway/controller/rest/ChangePasswordController.java +++ b/src/main/java/com/chat/yourway/controller/rest/ChangePasswordController.java @@ -29,8 +29,7 @@ public class ChangePasswordController { private static final String PASSWORD_RESTORE = "/password/restore"; @Operation(summary = "Change to new password", responses = { - @ApiResponse(responseCode = "200", description = SUCCESSFULLY_CHANGING_PASSWORD, - content = @Content), + @ApiResponse(responseCode = "200", description = SUCCESSFULLY_CHANGING_PASSWORD), @ApiResponse(responseCode = "400", description = INVALID_OLD_PASSWORD, content = @Content(schema = @Schema(implementation = ApiErrorResponseDto.class))) }) @@ -40,8 +39,7 @@ public void changePassword(@Valid @RequestBody ChangePasswordDto request) { } @Operation(summary = "Send email to restore password", responses = { - @ApiResponse(responseCode = "200", description = SUCCESSFULLY_SEND_REQUEST_RESTORE_PASSWORD, - content = @Content), + @ApiResponse(responseCode = "200", description = SUCCESSFULLY_SEND_REQUEST_RESTORE_PASSWORD), @ApiResponse(responseCode = "400", description = ERR_SENDING_EMAIL, content = @Content(schema = @Schema(implementation = ApiErrorResponseDto.class))) }) diff --git a/src/main/java/com/chat/yourway/controller/rest/MessageController.java b/src/main/java/com/chat/yourway/controller/rest/MessageController.java index 3e58d78..5d61c65 100644 --- a/src/main/java/com/chat/yourway/controller/rest/MessageController.java +++ b/src/main/java/com/chat/yourway/controller/rest/MessageController.java @@ -109,8 +109,7 @@ public void reportMessage(@PathVariable UUID id) { } @Operation(summary = "Mark a message as read", responses = { - @ApiResponse(responseCode = "200", description = SUCCESSFULLY, - content = @Content), + @ApiResponse(responseCode = "200", description = SUCCESSFULLY), @ApiResponse(responseCode = "400", description = MESSAGE_HAS_ALREADY_REPORTED, content = @Content(schema = @Schema(implementation = ApiErrorResponseDto.class))), @ApiResponse(responseCode = "404", description = MESSAGE_NOT_FOUND,