Skip to content

Commit

Permalink
docs #45: Tag 변경 및 에러 코드 문서화
Browse files Browse the repository at this point in the history
  • Loading branch information
GiHoo committed Apr 28, 2024
1 parent 57c6913 commit d3a7631
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
@RestController
@RequiredArgsConstructor
@RequestMapping("/api/v1/solve-history")
@Tag(name = "문제 풀이 기록", description = "문제 풀이 기록 API")
@Tag(name = "SolveHistory", description = "문제 풀이 기록 API")
public class SolveHistoryController {

private final SolveHistoryService solveHistoryService;
Expand All @@ -44,6 +44,7 @@ public List<SolveHistoryResponseDto> getHistoryList(@AuthenticationPrincipal Mem
@GetMapping("/detail/{solveCount}")
@Operation(summary = "문제 풀이 기록 세부 조회", description = "사용자의 문제 풀이 기록 세부를 조회합니다. 문제 풀이 기록 번호를 통해 세부 조회가 가능합니다.")
@ApiResponse(responseCode = "200", description = "문제 풀이 기록 세부 조회 성공")
@ApiResponse(responseCode = "E2001", description = "해당 문제 풀이 기록이 존재하지 않습니다.")
public List<SolveHistoryDetailResponse> getHistoryDetails(@AuthenticationPrincipal Member member,
@PathVariable Long solveCount) {
return solveHistoryService.getHistoryDetails(member.getId(), solveCount);
Expand Down

0 comments on commit d3a7631

Please sign in to comment.