From e8445da9d443541434513463a797f4fea5bcef0a Mon Sep 17 00:00:00 2001 From: Ji-Ha Date: Thu, 23 Jun 2022 18:29:58 +0900 Subject: [PATCH] =?UTF-8?q?[#132]=20refactor(=EB=B3=B4=EA=B4=80=ED=95=A8?= =?UTF-8?q?=20=EC=9C=A0=EC=A0=80=20=EC=A1=B0=ED=9A=8C=20API)=20-=20API=20?= =?UTF-8?q?=EB=AA=85=EC=84=B8=20+=20=ED=8C=8C=EB=9D=BC=EB=A9=94=ED=84=B0?= =?UTF-8?q?=20swagger=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../yapp/web2/domain/folder/controller/FolderController.kt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/kotlin/com/yapp/web2/domain/folder/controller/FolderController.kt b/src/main/kotlin/com/yapp/web2/domain/folder/controller/FolderController.kt index d8284f7d..21a4a0cf 100644 --- a/src/main/kotlin/com/yapp/web2/domain/folder/controller/FolderController.kt +++ b/src/main/kotlin/com/yapp/web2/domain/folder/controller/FolderController.kt @@ -117,8 +117,10 @@ class FolderController( return ResponseEntity.status(HttpStatus.OK).body(folderService.encryptFolderId(folderId)) } + @ApiOperation(value = "보관함에 속한 유저 리스트 조회 API") @GetMapping("belong/{folderId}") - fun getAccountList(@PathVariable folderId: Long): ResponseEntity { + fun getAccountList(@PathVariable @ApiParam(value = "폴더 ID", example = "2", required = true) folderId: Long): + ResponseEntity { return ResponseEntity.status(HttpStatus.OK).body(folderService.getAccountListAtRootFolder(folderId)) } } \ No newline at end of file