-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat - 더미 앱 생성 api 구현 #75
Conversation
…HMH/HMH-Server into feat/#73-get-dummy-app-api
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@depricated 설정한거 좋습니다👍
@Deprecated | ||
public record DummyAppListResponse( | ||
List<DummyApp> apps | ||
) { | ||
public static DummyAppListResponse of() { | ||
List<DummyApp> dummyAppList = new ArrayList<>(); | ||
dummyAppList.add(new DummyApp("Netflix","https://github.com/Team-HMH/HMH-Server/assets/69035864/dd068b83-641a-4bff-b4f5-381ea6e04d44")); | ||
dummyAppList.add(new DummyApp("Instagram","https://github.com/Team-HMH/HMH-Server/assets/69035864/bd572377-9dd9-47e7-a9f4-9efbbe66cd2e")); | ||
dummyAppList.add(new DummyApp("YouTube","https://github.com/Team-HMH/HMH-Server/assets/69035864/8afa60c0-bf1d-4ff0-9b50-4d1558a71f0a")); | ||
return new DummyAppListResponse(dummyAppList); | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Q. 앱 3개를 한꺼번에 반환 해주는 건가요?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
그렇게 반환해달라는 클라이언트의 요청이 있었습니다!
금방 삭제할 api이므로 복잡하게 여러 파일로 확장성을 위해 분할하는 것 보다 한 파일에 작성하고 한 번에 삭제할 수 있도록 하였습니다!
Related issue 🚀
Work Description 💚
PR 참고 사항