Skip to content

Commit

Permalink
feat: 회원가입 응모권 팝업 렌더링 플래그 API 문서화
Browse files Browse the repository at this point in the history
  • Loading branch information
swa07016 committed Aug 4, 2024
1 parent 65e03d2 commit 5c2259b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,10 @@ public CommonResponse<PrizeEventResponseDTO.CheckPrizeEntryResult> checkPrizeEnt
return CommonResponse.onSuccess(prizeEventService.checkPrizeEntryResult(request));
}

@Operation
@GetMapping("/prizes/tickets/me")
@Operation(
summary = "07-07 Event 🎁 경품 응모 이벤트의 응모권 팝업 플래그 확인 Made By 성훈",
description = "경품 응모 이벤트의 응모권 팝업 플래그 확인 API입니다.")
@GetMapping("/tickets/me")
public CommonResponse<PrizeEventResponseDTO.MyInfo> myInfo() {
return CommonResponse.onSuccess(prizeEventService.myInfo());
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ public void setup() {

// when & then
MockHttpServletRequestBuilder request =
MockMvcRequestBuilders.get("/api/v1/events/prizes/tickets/me");
MockMvcRequestBuilders.get("/api/v1/events/tickets/me");

mockMvc.perform(request)
.andDo(print())
Expand All @@ -315,7 +315,7 @@ public void setup() {

// when & then
MockHttpServletRequestBuilder request =
MockMvcRequestBuilders.get("/api/v1/events/prizes/tickets/me");
MockMvcRequestBuilders.get("/api/v1/events/tickets/me");

mockMvc.perform(request)
.andDo(print())
Expand Down

0 comments on commit 5c2259b

Please sign in to comment.