Skip to content

Commit

Permalink
refactor(Notification): API Docs 설명 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
limehee committed Nov 17, 2024
1 parent aa64979 commit 060fa83
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@
@RestController
@RequestMapping("/api/v1/notification-settings")
@RequiredArgsConstructor
@Tag(name = "Notification Setting", description = "알림 설정")
@Tag(name = "Notification Setting", description = "웹훅 알림 설정")
public class NotificationSettingRetrieveController {

private final RetrieveNotificationSettingUseCase retrieveNotificationSettingUseCase;

@Operation(summary = "[S] 슬랙 알림 조회", description = "ROLE_SUPER 이상의 권한이 필요함")
@Operation(summary = "[S] 웹훅 알림 조회", description = "ROLE_SUPER 이상의 권한이 필요함")
@PreAuthorize("hasRole('SUPER')")
@GetMapping("")
public ApiResponse<List<NotificationSettingResponseDto>> getNotificationSettings() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@
@RestController
@RequestMapping("/api/v1/notification-settings")
@RequiredArgsConstructor
@Tag(name = "Notification Setting", description = "알림 설정")
@Tag(name = "Notification Setting", description = "웹훅 알림 설정")
public class NotificationSettingUpdateController {

private final UpdateNotificationSettingUseCase updateNotificationSettingUseCase;

@Operation(summary = "[S] 슬랙 알림 설정 변경", description = "ROLE_SUPER 이상의 권한이 필요함")
@Operation(summary = "[S] 웹훅 알림 설정 변경", description = "ROLE_SUPER 이상의 권한이 필요함")
@PreAuthorize("hasRole('SUPER')")
@PutMapping("")
public ApiResponse<Void> updateNotificationSetting(
Expand Down

0 comments on commit 060fa83

Please sign in to comment.