diff --git a/linknamu/src/main/java/com/kakao/linknamu/bookmark/dto/BookmarkResponseDto.java b/linknamu/src/main/java/com/kakao/linknamu/bookmark/dto/BookmarkResponseDto.java index faa6af3..6ddb599 100644 --- a/linknamu/src/main/java/com/kakao/linknamu/bookmark/dto/BookmarkResponseDto.java +++ b/linknamu/src/main/java/com/kakao/linknamu/bookmark/dto/BookmarkResponseDto.java @@ -27,14 +27,13 @@ public record BookmarkUpdateResponseDto( } } - @SuppressWarnings("checkstyle:RegexpSingleline") public record BookmarkGetResponseDto( Long bookmarkId, String title, String description, String url, String imageUrl, - List tagList, + List tags, LocalDateTime createdAt ) { @Builder @@ -48,7 +47,7 @@ public static BookmarkGetResponseDto of(BookmarkUserQueryDto bookmark, List .description(bookmark.getDescription()) .url(bookmark.getUrl()) .imageUrl(bookmark.getImageUrl()) - .tagList(tagList.stream().map(TagDto::of).toList()) + .tags(tagList.stream().map(TagDto::of).toList()) .createdAt(bookmark.getCreatedAt()) .build(); }