Skip to content
This repository has been archived by the owner on Nov 27, 2024. It is now read-only.

Commit

Permalink
모든 파일 조회 서비스 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
ori0o0p committed Mar 8, 2024
1 parent 199d5ce commit 324357c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,9 @@ public Flux<File> getFileByName(@NotBlank @RequestParam("name") String name) {
return getFile.getFileByName(name);
}

@GetMapping("/list")
public Flux<File> getAll() {
return getFile.getAll();
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,8 @@ public Flux<File> getFileByName(String fileName) {
return fileRepository.findByFileNameContaining(fileName);
}

public Flux<File> getAll() {
return fileRepository.findAll();
}

}

0 comments on commit 324357c

Please sign in to comment.