Skip to content

Commit

Permalink
Merge pull request #111 from Cherrypickk/feature/50-chat-auth
Browse files Browse the repository at this point in the history
#50 fix: 인증인가 필요한 chat api에 auth 어노테이션 추가
  • Loading branch information
letskuku authored Aug 17, 2023
2 parents 02cb73b + 4cc9b13 commit 9a27d27
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 9a27d27

Please sign in to comment.