Skip to content

Commit

Permalink
feat: Controller Swagger 문서화 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
ikjo39 committed Oct 11, 2024
1 parent b1b3506 commit 8e21ef9
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
import kr.momo.service.meeting.dto.MeetingConfirmResponse;
import kr.momo.service.meeting.dto.MeetingCreateRequest;
import kr.momo.service.meeting.dto.MeetingCreateResponse;
import kr.momo.service.meeting.dto.MeetingHomeResponse;
import kr.momo.service.meeting.dto.MeetingResponse;
import kr.momo.service.meeting.dto.MeetingSharingResponse;
import org.springframework.http.ResponseEntity;
Expand Down Expand Up @@ -147,4 +148,11 @@ ResponseEntity<Void> cancelConfirmedMeeting(
@PathVariable @Schema(description = "약속 UUID") String uuid,
@AuthAttendee @Schema(hidden = true) long id
);

@Operation(summary = "약속 입장 정보 조회", description = "약속 입장에 필요한 정보를 조회하는 API 입니다.")
@ApiSuccessResponse.NoContent("약속 입장 정보 조회 성공")
@ApiErrorResponse.BadRequest(ERROR_CODE_TABLE_HEADER + """
| NOT_FOUND_MEETING | 존재하지 않는 약속 정보 입니다. |
""")
MomoApiResponse<MeetingHomeResponse> findMeetingHome(@PathVariable @Schema(description = "약속 UUID") String uuid);
}

0 comments on commit 8e21ef9

Please sign in to comment.