From f41d4d0601241f5c7c583970794fd78875c79158 Mon Sep 17 00:00:00 2001 From: EunbeenDev Date: Wed, 21 Aug 2024 16:25:25 +0900 Subject: [PATCH] =?UTF-8?q?[DOCS]=20API=20url=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/noplanb/domain/user/controller/UserController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/noplanb/domain/user/controller/UserController.java b/src/main/java/com/noplanb/domain/user/controller/UserController.java index de9e9e6..e8e426e 100644 --- a/src/main/java/com/noplanb/domain/user/controller/UserController.java +++ b/src/main/java/com/noplanb/domain/user/controller/UserController.java @@ -56,7 +56,7 @@ public ResponseEntity getUserCharacterExist(@Parameter @CurrentUser UserPrinc @ApiResponse(responseCode = "200", description = "탈퇴 성공", content = { @Content(mediaType = "application/json", schema = @Schema(implementation = Message.class) ) } ), @ApiResponse(responseCode = "400", description = "탈퇴 실패", content = { @Content(mediaType = "application/json", schema = @Schema(implementation = ErrorResponse.class) ) } ), }) - @DeleteMapping("/user") + @DeleteMapping("/") public ResponseEntity cancelAccount(@Parameter @CurrentUser UserPrincipal userPrincipal) { { return userService.cancelAccount(userPrincipal);