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 @@ -76,7 +76,7 @@ public ApiResponse<?> login(@RequestBody SignInRequestDTO request, HttpServletRe
}

// 토큰 재발급
// @Operation(summary = "[회원 관련] 토큰 재발급", description = """
// @Operation(summary = "[회원 관련] 토큰 재발급", title = """
// ### 토큰을 재발급합니다. refresh-token을 이용하여 access-token을 재발급합니다.
//
// ### Request Header
Expand All @@ -89,7 +89,7 @@ public ApiResponse<?> login(@RequestBody SignInRequestDTO request, HttpServletRe


// 마이페이지
// @Operation(summary = "[회원 관련] 토큰 재발급", description = """
// @Operation(summary = "[회원 관련] 토큰 재발급", title = """
// ### 마이페이지를 조회합니다.
// """)
// @GetMapping("/my-page")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
import hyu.erica.capstone.domain.Attraction;

public record AttractionDetailResponseDTO (Long attractionId, String name, String imageUrl, String address,
String phone, String description, String usageDay,
String phone, String title, String operatingHour,
Double latitude, Double longitude) {

public static AttractionDetailResponseDTO of(Attraction attraction) {
return new AttractionDetailResponseDTO(attraction.getContentId(),
attraction.getContentName(), attraction.getImageUrl(), attraction.getAddress(),
attraction.getTravelDestination(), attraction.getImageUrl(), attraction.getAddress(),
attraction.getContact(), attraction.getSubtitle(), attraction.getOperatingHours(),
attraction.getLatitude(), attraction.getLongitude());
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ public record AttractionListResponseDTO(List<AttractionResponseDTO> attractions,

public static AttractionListResponseDTO of(List<Attraction> attractions) {
List<AttractionResponseDTO> responseDTOS = attractions.stream()
.map(attraction -> new AttractionResponseDTO(attraction.getContentId(), attraction.getContentName(),
.map(attraction -> new AttractionResponseDTO(attraction.getContentId(), attraction.getTravelDestination(),
attraction.getImageUrl(), attraction.getAddress(), attraction.getOperatingHours(),
attraction.getTitle(), attraction.getLatitude(), attraction.getLongitude()))
.toList();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ public record AttractionSearchResponseDTO(List<AttractionSearchDTO> attractions,

private record AttractionSearchDTO (Long attractionId, String title, String imageUrl, String address, String usageDay) {
private static AttractionSearchDTO of(Attraction attraction) {
return new AttractionSearchDTO(attraction.getContentId(), attraction.getTitle(), attraction.getImageUrl(),
return new AttractionSearchDTO(attraction.getContentId(), attraction.getTravelDestination(), attraction.getImageUrl(),
attraction.getAddress(), attraction.getClosedDays());
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import hyu.erica.capstone.domain.Restaurant;

public record RestaurantDetailResponseDTO (
Long restaurantId, String name, String imageUrl, String address, String phone, String description, String usageDay,
Long restaurantId, String name, String imageUrl, String address, String phone, String title, String operatingHour,
Double latitude, Double longitude) {

public static RestaurantDetailResponseDTO of(Restaurant restaurant) {
Expand Down