Skip to content

Commit

Permalink
[#132] refactor(보관함 유저 조회 API)
Browse files Browse the repository at this point in the history
- API 명세 + 파라메터 swagger 추가
  • Loading branch information
Ji-Ha committed Jun 23, 2022
1 parent 866a400 commit e8445da
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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<AccountDto.FolderBelongAccountListDto> {
fun getAccountList(@PathVariable @ApiParam(value = "폴더 ID", example = "2", required = true) folderId: Long):
ResponseEntity<AccountDto.FolderBelongAccountListDto> {
return ResponseEntity.status(HttpStatus.OK).body(folderService.getAccountListAtRootFolder(folderId))
}
}

0 comments on commit e8445da

Please sign in to comment.