-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathLibraryController.java
More file actions
25 lines (21 loc) · 973 Bytes
/
LibraryController.java
File metadata and controls
25 lines (21 loc) · 973 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
package DiffLens.back_end.domain.library.controller;
import DiffLens.back_end.domain.library.dto.LibraryResponseDTO;
import DiffLens.back_end.global.responses.exception.ApiResponse;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.RequiredArgsConstructor;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
@Tag(name = "라이브러리 API")
@RestController
@RequestMapping("/libraries")
@RequiredArgsConstructor
public class LibraryController {
@GetMapping
@Operation(summary = "라이브러리 목록 조회 ( 미구현 )")
public ApiResponse<LibraryResponseDTO.ListResult> libraryList( /* 파라미터 추가 필요 */ ){
LibraryResponseDTO.ListResult result = new LibraryResponseDTO.ListResult();
return ApiResponse.onSuccess(result);
}
}