Skip to content

Commit

Permalink
Merge pull request #91 from gloddy-dev/chore/swagger
Browse files Browse the repository at this point in the history
[CHORE]: 나의 모임 조회 Response Swagger Schema 반영
  • Loading branch information
jihwan2da authored Aug 30, 2023
2 parents 7bb07c2 + 0c01dfe commit e95d9cd
Showing 1 changed file with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package com.gloddy.server.myGroup.read.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
Expand All @@ -11,6 +12,7 @@ public class MyGroupResponse {
@Getter
@NoArgsConstructor
@AllArgsConstructor
@Schema(name = "MyGroupGetGroupInfoResponse")
public static class GroupInfo {
private Long groupId;
private String imageUrl;
Expand All @@ -28,13 +30,15 @@ public static class GroupInfo {
@Getter
@AllArgsConstructor
@NoArgsConstructor
@Schema(name = "MyGroupGetParticipatingResponse")
public static class Participating {

private List<One> groups;

@Getter
@AllArgsConstructor
@NoArgsConstructor
@Schema(name = "MyGroupGetParticipatingOneResponse")
public static class One {
private Boolean isNew;
private GroupInfo group;
Expand All @@ -44,12 +48,14 @@ public static class One {
@Getter
@NoArgsConstructor
@AllArgsConstructor
@Schema(name = "MyGroupGetHostingResponse")
public static class Hosting {
private List<One> groups;

@Getter
@NoArgsConstructor
@AllArgsConstructor
@Schema(name = "MyGroupGetHostingOneResponse")
public static class One {
private Boolean isExistNewApply;
private GroupInfo group;
Expand All @@ -59,11 +65,13 @@ public static class One {
@Getter
@NoArgsConstructor
@AllArgsConstructor
@Schema(name = "MyGroupGetWaitingResponse")
public static class Waiting {
private List<One> groups;
@Getter
@NoArgsConstructor
@AllArgsConstructor
@Schema(name = "MyGroupGetWaitingOneResponse")
public static class One {
private GroupInfo group;
}
Expand All @@ -72,12 +80,14 @@ public static class One {
@Getter
@NoArgsConstructor
@AllArgsConstructor
@Schema(name = "MyGroupGetRejectedResponse")
public static class Rejected {
private List<One> groups;

@Getter
@NoArgsConstructor
@AllArgsConstructor
@Schema(name = "MyGroupGetRejectedOneResponse")
public static class One {
private Long applyId;
private GroupInfo group;
Expand All @@ -87,12 +97,14 @@ public static class One {
@Getter
@NoArgsConstructor
@AllArgsConstructor
@Schema(name = "MyGroupGetNotEstimatedResponse")
public static class NotEstimated {
private List<One> groups;

@Getter
@NoArgsConstructor
@AllArgsConstructor
@Schema(name = "MyGroupGetNotEstimatedOneResponse")
public static class One {
private Boolean isCaptain;
private GroupInfo group;
Expand Down

0 comments on commit e95d9cd

Please sign in to comment.