Skip to content

Commit

Permalink
feat: 스웨거 @tag - 그룹 단위 컨트롤러 설명 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
koreaioi committed Nov 13, 2024
1 parent 62796b5 commit 07a8818
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import com.leets.X.domain.chat.service.ChatRoomService;
import com.leets.X.global.common.response.ResponseDto;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import jakarta.validation.Valid;
import jakarta.validation.constraints.NotNull;
import lombok.RequiredArgsConstructor;
Expand All @@ -13,6 +14,7 @@

import static com.leets.X.domain.chat.controller.ResponseMessage.*;

@Tag(name="ChatRoomController", description = "채팅방 생성과 입장을 책임지는 ChatRoomController")
@Slf4j
@RestController
@RequestMapping("/api/v1/chatRoom")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import com.leets.X.domain.chat.service.ChattingService;
import com.leets.X.global.common.response.ResponseDto;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.RequiredArgsConstructor;
import org.springframework.web.bind.annotation.*;

Expand All @@ -13,6 +14,7 @@
import static com.leets.X.domain.chat.controller.ResponseMessage.CHATROOM_GET;
import static com.leets.X.domain.chat.controller.ResponseMessage.CHATTINGLIST_GET;

@Tag(name="ChattingController", description = "채팅 내역을 담당하는 ChattingController")
@RestController
@RequestMapping("/api/v1")
@RequiredArgsConstructor
Expand Down

0 comments on commit 07a8818

Please sign in to comment.