-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #497 from tukcomCD2024/fix/group_capsule-B-#495
fix : 그룹 캡슐 API 수정 #495
- Loading branch information
Showing
13 changed files
with
96 additions
and
173 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 0 additions & 20 deletions
20
...learchive/core/domain/capsule/group_capsule/data/dto/GroupMemberCapsuleOpenStatusDto.java
This file was deleted.
Oops, something went wrong.
22 changes: 22 additions & 0 deletions
22
...earchive/core/domain/capsule/group_capsule/data/response/GroupCapsuleMembersResponse.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
package site.timecapsulearchive.core.domain.capsule.group_capsule.data.response; | ||
|
||
import io.swagger.v3.oas.annotations.media.Schema; | ||
import java.util.List; | ||
import site.timecapsulearchive.core.domain.capsule.group_capsule.data.dto.GroupCapsuleMemberDto; | ||
|
||
@Schema(description = "그룹 캡슐의 그룹원들 목록 응답") | ||
public record GroupCapsuleMembersResponse( | ||
@Schema(description = "그룹 캡슐의 그룹원들 목록") | ||
List<GroupCapsuleMemberResponse> groupCapsuleMembers | ||
) { | ||
|
||
public static GroupCapsuleMembersResponse create( | ||
final List<GroupCapsuleMemberDto> groupCapsuleMembers | ||
) { | ||
List<GroupCapsuleMemberResponse> groupCapsuleMemberResponses = groupCapsuleMembers.stream() | ||
.map(GroupCapsuleMemberDto::toResponse) | ||
.toList(); | ||
|
||
return new GroupCapsuleMembersResponse(groupCapsuleMemberResponses); | ||
} | ||
} |
19 changes: 0 additions & 19 deletions
19
...sulearchive/core/domain/capsule/group_capsule/data/response/GroupCapsulePageResponse.java
This file was deleted.
Oops, something went wrong.
20 changes: 0 additions & 20 deletions
20
.../domain/capsule/group_capsule/data/response/GroupMemberCapsuleOpenStatusListResponse.java
This file was deleted.
Oops, something went wrong.
23 changes: 0 additions & 23 deletions
23
...core/domain/capsule/group_capsule/data/response/GroupMemberCapsuleOpenStatusResponse.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 0 additions & 21 deletions
21
...te/timecapsulearchive/core/common/fixture/dto/GroupMemberCapsuleOpenStatusDtoFixture.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.