Skip to content

Commit

Permalink
chore: 엔드포인트 수정 #145
Browse files Browse the repository at this point in the history
  • Loading branch information
youngeun-dev committed Sep 12, 2024
1 parent 09b5f15 commit 789905b
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,14 +51,14 @@ public SecurityFilterChain filterChain(HttpSecurity http) throws Exception {
.requestMatchers("/members/sign-in","/members/sign-up", "/members/local-sign-in", "/token/**", "/members/email/check", "/members/nickname/check", "/members/email/certification", "/members/email/certification/check").permitAll()
.requestMatchers("/admin/**", "/members/email/whitelist/register").hasRole(Role.ROLE_ADMIN.getName())
.requestMatchers("/answers","/answers/**").authenticated()
.requestMatchers("/answerComments","/answerComments/**").authenticated()
.requestMatchers("/answer-comments","/answer-comments/**").authenticated()
.requestMatchers("/members","/members/**").authenticated()
.requestMatchers("/tags","/tags/**").authenticated()
.requestMatchers("/questions","/questions/**").authenticated()
.requestMatchers("/reports", "/reports/**").authenticated()
.requestMatchers("/boards", "/boards/**").authenticated()
.requestMatchers("/boardComments", "/boardComments/**").authenticated()
.requestMatchers("/boardCommentReports", "/boardCommentReports/**").authenticated()
.requestMatchers("/board-comments", "/board-comments/**").authenticated()
.requestMatchers("/reports/board-comments", "/reports/board-comments/**").authenticated()
.requestMatchers("/dummy","/dummy/**").hasRole(Role.ROLE_ADMIN.getName())
.anyRequest().denyAll());
http
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
@Tag(name = "답변 댓글 API", description = "답변 댓글 API입니다.")
@RestController
@RequiredArgsConstructor
@RequestMapping("/answerComments")
@RequestMapping("/answer-comments")
public class AnswerCommentController {

private final AnswerCommentService answerCommentService;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
@Tag(name = "게시글 댓글 API", description = "게시글 댓글 API입니다.")
@RestController
@RequiredArgsConstructor
@RequestMapping("/boardComments")
@RequestMapping("/board-comments")
public class BoardCommentController {

private final BoardCommentService boardCommentService;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@
@Tag(name = "게시판 댓글 신고 API", description = "게시판 댓글 신고 관련 API")
@RestController
@RequiredArgsConstructor
@RequestMapping("/boardCommentReports")
@RequestMapping("/reports/board-comment")
public class BoardCommentReportController {
private final BoardCommentReportService boardCommentReportService;

@Operation(summary = "게시판 신고함 작성 API", description = "게시판 신고를 작성합니다.")
@Operation(summary = "게시판 댓글 신고 API", description = "게시판 댓글 신고를 작성합니다.")
@ApiResponses(value = {
@ApiResponse(responseCode = "COMMON200", description = "성공"),
})
Expand Down

0 comments on commit 789905b

Please sign in to comment.