-
Notifications
You must be signed in to change notification settings - Fork 0
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 #63 from Leets-Official/Refactor-#62-api-응답-형식-변경-…
…및-커런트-유저-관련-수정 Refactor #62 api 응답 형식 변경, @parameter(hidden = true) 추가
- Loading branch information
Showing
30 changed files
with
289 additions
and
124 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
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: 20 additions & 0 deletions
20
src/main/java/leets/weeth/domain/account/presentation/ResponseMessage.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,20 @@ | ||
package leets.weeth.domain.account.presentation; | ||
|
||
import lombok.AllArgsConstructor; | ||
import lombok.Getter; | ||
|
||
@Getter | ||
@AllArgsConstructor | ||
public enum ResponseMessage { | ||
// AccountAdminController 관련 | ||
ACCOUNT_SAVE_SUCCESS("회비가 성공적으로 저장되었습니다."), | ||
|
||
// AccountController 관련 | ||
ACCOUNT_FIND_SUCCESS("회비가 성공적으로 조회되었습니다."), | ||
|
||
// ReceiptAdminController 관련 | ||
RECEIPT_SAVE_SUCCESS("영수증이 성공적으로 저장되었습니다."), | ||
RECEIPT_DELETE_SUCCESS("영수증이 성공적으로 삭제되었습니다."); | ||
|
||
private final String message; | ||
} |
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
18 changes: 18 additions & 0 deletions
18
src/main/java/leets/weeth/domain/attendance/presentation/ResponseMessage.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,18 @@ | ||
package leets.weeth.domain.attendance.presentation; | ||
|
||
import lombok.AllArgsConstructor; | ||
import lombok.Getter; | ||
|
||
@Getter | ||
@AllArgsConstructor | ||
public enum ResponseMessage { | ||
//AttendanceAdminController 관련 | ||
ATTENDANCE_CLOSE_SUCCESS("출석이 성공적으로 마감되었습니다."), | ||
|
||
//AttendanceController 관련 | ||
ATTENDANCE_CHECKIN_SUCCESS("출석이 성공적으로 처리되었습니다."), | ||
ATTENDANCE_FIND_SUCCESS("사용자의 출석 정보가 성공적으로 조회되었습니다."), | ||
ATTENDANCE_FIND_ALL_SUCCESS("사용자의 상세 출석 정보가 성공적으로 조회되었습니다."); | ||
|
||
private final String message; | ||
} |
19 changes: 0 additions & 19 deletions
19
src/main/java/leets/weeth/domain/board/domain/entity/enums/ResponseMessage.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
23 changes: 23 additions & 0 deletions
23
src/main/java/leets/weeth/domain/board/presentation/ResponseMessage.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,23 @@ | ||
package leets.weeth.domain.board.presentation; | ||
import lombok.AllArgsConstructor; | ||
import lombok.Getter; | ||
|
||
@Getter | ||
@AllArgsConstructor | ||
public enum ResponseMessage { | ||
//NoticeAdminController 관련 | ||
NOTICE_CREATED_SUCCESS("공지사항이 성공적으로 생성되었습니다."), | ||
NOTICE_UPDATED_SUCCESS("공지사항이 성공적으로 수정되었습니다."), | ||
NOTICE_DELETED_SUCCESS("공지사항이 성공적으로 삭제되었습니다."), | ||
//NoticeController 관련 | ||
NOTICE_FIND_ALL_SUCCESS("공지사항 목록이 성공적으로 조회되었습니다."), | ||
NOTICE_FIND_BY_ID_SUCCESS("공지사항이 성공적으로 조회되었습니다."), | ||
//PostController 관련 | ||
POST_CREATED_SUCCESS("게시글이 성공적으로 생성되었습니다."), | ||
POST_UPDATED_SUCCESS("게시글이 성공적으로 수정되었습니다."), | ||
POST_DELETED_SUCCESS("게시글이 성공적으로 삭제되었습니다."), | ||
POST_FIND_ALL_SUCCESS("게시글 목록이 성공적으로 조회되었습니다."), | ||
POST_FIND_BY_ID_SUCCESS("게시글이 성공적으로 조회되었습니다."); | ||
|
||
private final String message; | ||
} |
15 changes: 0 additions & 15 deletions
15
src/main/java/leets/weeth/domain/comment/domain/entity/enums/ResponseMessage.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.