Skip to content

Comments

Add type field to HomeResponse and update HomeController to include i…#28

Merged
subsub97 merged 1 commit intomainfrom
fix-api
Feb 21, 2026
Merged

Add type field to HomeResponse and update HomeController to include i…#28
subsub97 merged 1 commit intomainfrom
fix-api

Conversation

@subsub97
Copy link
Collaborator

This pull request introduces an update to the API for member withdrawal and enhances the HomeResponse data structure by including the work schedule type. The changes primarily focus on improving API clarity and enriching the response data for home-related endpoints.

API endpoint changes:

  • Changed the member withdrawal endpoint from a DELETE method to a POST method at /withdrawal for better semantic clarity and flexibility. (MemberController.kt)

Data structure enhancements:

  • Added a new type field of DailyWorkScheduleType to the HomeResponse data class, allowing clients to receive the work schedule type in home-related API responses. (HomeResponse.kt, HomeController.kt) [1] [2]…t; change deleteMember endpoint to POST for withdrawal

…t; change deleteMember endpoint to POST for withdrawal
@github-actions
Copy link

Test Results

32 tests   32 ✅  0s ⏱️
 3 suites   0 💤
 3 files     0 ❌

Results for commit f83f6d8.

@subsub97 subsub97 merged commit e7aaeda into main Feb 21, 2026
2 checks passed
@subsub97 subsub97 deleted the fix-api branch February 21, 2026 21:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant