Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public ResponseEntity<ResponseDto<WrittenEvaluationsResponseDto>> getWrittenEval
}

@GetMapping
@Operation(summary = "평가 조회", description = "평가를 조회합니다.")
@Operation(summary = "평가 조회", description = "평가를 조회합니다.")
public ResponseEntity<ResponseDto<ReceivedEvaluationsResponseDto>> getEvaluationsByUser() {
ReceivedEvaluationsResponseDto response = evaluationService.getEvaluationsByUser();
return ResponseEntity.ok(ResponseDto.of(response, "평가 정보 조회 성공"));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
import java.util.List;

@RestController
@Tag(name = "[Notification] Notification API", description = "알림을 조회하고 읽음 처리합니다.")
@Tag(name = "[Notification] Notification API", description = "알림 관련 API")
@RequestMapping("/api/v1/notifications")
@RequiredArgsConstructor
@Validated
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@

import java.util.List;

@Tag(name = "[Favorite Place] Favorite Place API", description = "사용자가 장소에 즐겨찾기 합니다.")
@Tag(name = "[Favorite Place] Favorite Place API", description = "즐겨찾기 장소 관련 API")
@RestController
@RequestMapping("/api/v1/favorite-place")
@RequiredArgsConstructor
public class FavoritePlaceController {

private final FavoritePlaceService favoritePlaceService;

@Operation(summary = "유저가 장소를 즐겨찾기로 등록합니다.",description = "헤더의 토큰 기반의 유저가 장소를 즐겨찾기 합니다.")
@Operation(summary = "장소 즐겨찾기 등록",description = "헤더의 토큰 기반의 유저가 장소를 즐겨찾기 합니다.")
@PostMapping
public ResponseEntity<ResponseDto<FavoritePlaceResponseDto>> registerFavoritePlace(@RequestBody PlaceRequestDto placeRequestDto){
FavoritePlaceResponseDto favoritePlace = favoritePlaceService.registerFavoritePlace(placeRequestDto);
Expand All @@ -31,7 +31,7 @@ public ResponseEntity<ResponseDto<FavoritePlaceResponseDto>> registerFavoritePla
return ResponseEntity.ok(ResponseDto.of(favoritePlace, message));
}

@Operation(summary = "유저가 즐겨찾기 한 장소를 조회합니다.", description = "헤더의 토큰 기반의 즐겨찾기한 장소를 조회합니다.")
@Operation(summary = "즐겨찾기 한 장소 조회", description = "헤더의 토큰 기반의 즐겨찾기한 장소를 조회합니다.")
@GetMapping
public ResponseEntity<ResponseDto<PagingResponseDto>> getAllFavoritePlace(@RequestParam(name = "page", required = false, defaultValue = "1") int page){
PagingResponseDto favoritePlaceResponseDtos = favoritePlaceService.getAllFavoritePlace(page);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.servlet.mvc.method.annotation.SseEmitter;

@Tag(name = "[SSE] SSE API", description = "사용자에게 실시간으로 알림을 리턴합니다.")
@Tag(name = "[SSE] SSE API", description = "SSE 관련 API")
@RestController
@RequiredArgsConstructor
@RequestMapping("/api/v1/sse")
Expand All @@ -21,7 +21,7 @@ public class SseController {
private final SseService sseService;

// http://localhost:8080/api/v1/sse/subscribe
@Operation(summary = "유저가 알림을 구독합니다.", description = "헤더의 토큰 기반의 유저가 알림을 구독합니다.")
@Operation(summary = "알림 구독", description = "헤더의 토큰 기반의 유저가 알림을 구독합니다.")
@GetMapping(value = "/subscribe",produces = MediaType.TEXT_EVENT_STREAM_VALUE)
public SseEmitter subscribe(){
return sseService.subscribe();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
@RestController
@RequestMapping("api/v1/users")
@RequiredArgsConstructor
@Tag(name = "User API", description = "사용자 관련 API")
@Tag(name = "[User] User API", description = "사용자 관련 API")
public class UserController {

private static final Logger logger = LoggerFactory.getLogger(UserController.class); // ✅ Logger 선언 추가
Expand Down