Skip to content

Commit

Permalink
refactor: (#95) API 성공 시, swagger 표시를 201에서 200으로 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
tjdtls690 committed Jul 21, 2023
1 parent 1d93dd7 commit 8ab5bf2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public ResponseEntity<VoteOptionStatisticsResponse> getVoteOptionStatistics(

@Operation(summary = "게시글 조기 마감", description = "게시글을 조기 마감한다.")
@ApiResponses(value = {
@ApiResponse(responseCode = "201", description = "게시물이 조기 마감 되었습니다."),
@ApiResponse(responseCode = "200", description = "게시물이 조기 마감 되었습니다."),
@ApiResponse(responseCode = "400", description = "잘못된 입력입니다."),
@ApiResponse(responseCode = "500", description = "인터넷 서버 오류입니다.")
})
Expand Down

0 comments on commit 8ab5bf2

Please sign in to comment.