[Feature] ApiResponse<T> 공통 응답 포맷 구현 #14
Labels
No Label
Priority
High
Priority
Low
Priority
Medium
Priority
Non
Priority
Urgent
Status
Available
Status
Done
Status
In Progress
Type
Bug
Type
Chore
Type
Design
Type
Documentation
Type
Feature
Type
Improvement
Type
Refactor
Type
Research
Type
Task
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: SPMS/SPMS_API#14
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
설명
모든 API에서 사용할 통일된 응답 포맷
ApiResponse<T>를 구현한다.ErrorCodes.cs는 Issue #10에서 이미 구현 완료되었으므로, 이 이슈에서는 ApiResponse 래퍼 클래스만 구현한다.
응답 형식
체크리스트
SPMS.Domain/Common/ApiResponse.cs— 공통 응답 래퍼 클래스ApiResponse<T>.Success(data)정적 팩토리 메서드ApiResponse<T>.Fail(code, msg)정적 팩토리 메서드참조
Documents/Error_Codes.md— 에러 코드 체계SPMS.Domain/Common/ErrorCodes.cs— 에러 코드 상수 (구현 완료)