Skip to content

Commit

Permalink
Merge pull request #82 from BLACKPINK-SLJY/dev
Browse files Browse the repository at this point in the history
fix: ApiResponse 제네릭 클래스 지정
  • Loading branch information
thisIsJooS authored Jul 13, 2023
2 parents eff2d12 + 23c8274 commit 4276ad1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ public ApiResponse<PresignedUrlResponseDto> getPresignedUrl(
@io.swagger.annotations.ApiResponse(code = 40301, message = "presigned-url 발급에 실패하였습니다. (500)"),
})
@GetMapping("/answer")
public ApiResponse<Object> getMyAnswer(
public ApiResponse<AnswerReportResponseDto> getMyAnswer(
@Parameter(name = "Authorization", description = "Bearer {accessToken}", in = HEADER) @RequestHeader(name = "Authorization") String token,
@RequestParam Long questionId
){
Expand All @@ -103,7 +103,7 @@ public ApiResponse<Object> getMyAnswer(
@io.swagger.annotations.ApiResponse(code = 20502, message = "내 답변 보기 응답 성공 (200)"),
})
@GetMapping("/answer/replay")
public ApiResponse<Object> replayAnswer(
public ApiResponse<AnswerVideoResponseDto> replayAnswer(
@Parameter(name = "Authorization", description = "Bearer {accessToken}", in = HEADER) @RequestHeader(name = "Authorization") String token,
@RequestParam Long questionId
){
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public ApiResponse<QuestionDto> insertQuestion(
@io.swagger.annotations.ApiResponse(code = 20201, message = "질문 삭제 완료 (200)"),
})
@DeleteMapping("/question")
public ApiResponse<String> deleteQuestion(
public ApiResponse<Object> deleteQuestion(
@Parameter(name = "id", description = "질문 id (Question ID)", in = QUERY) @RequestParam Long id
){
questionService.deleteQuestion(id);
Expand Down

0 comments on commit 4276ad1

Please sign in to comment.