Skip to content

Commit

Permalink
Added for Swagger and fixed PrivateTopicInfoResponseDto
Browse files Browse the repository at this point in the history
  • Loading branch information
Vladik-gif committed Oct 18, 2024
1 parent 4eaa683 commit 81d74c8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ public class PrivateTopicInfoResponseDto {
@Schema(description = "Created time")
private LocalDateTime createdAt;

@Schema(description = "Unread messages from the users")
private List<MessageResponseDto> unreadMessages;

private LastMessageResponseDto lastMessage;
Expand Down
1 change: 0 additions & 1 deletion src/main/java/com/chat/yourway/service/TopicService.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
import com.chat.yourway.model.TopicScope;
import com.chat.yourway.repository.jpa.TagRepository;
import com.chat.yourway.repository.jpa.TopicRepository;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.mapstruct.Context;
import org.springframework.context.annotation.Lazy;
Expand Down

0 comments on commit 81d74c8

Please sign in to comment.