Skip to content

Commit

Permalink
#50 fix: 인증인가 필요한 chat api에 auth 어노테이션 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
letskuku committed Aug 17, 2023
1 parent 02cb73b commit 4cc9b13
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import com.example.cherrypickserver.chat.dto.request.QuestionRequest;
import com.example.cherrypickserver.chat.dto.response.ChatResponse;
import com.example.cherrypickserver.global.dto.ResponseCustom;
import com.example.cherrypickserver.global.resolver.Auth;
import com.example.cherrypickserver.global.resolver.IsLogin;
import com.example.cherrypickserver.global.resolver.LoginStatus;
import io.swagger.v3.oas.annotations.Operation;
Expand All @@ -30,6 +31,7 @@ public class ChatController {
@ApiResponse(responseCode = "404", description = "존재하지 않는 회원"),
@ApiResponse(responseCode = "404", description = "존재하지 않는 기사")
})
@Auth
@Parameters({
@Parameter(name = "loginStatus", hidden = true),
@Parameter(name = "articleId", description = "기사 아이디")
Expand Down

0 comments on commit 4cc9b13

Please sign in to comment.