[FEAT] 프로젝트내 사용할 Endpoint 정의 및 네트워크 구조 수정 - #14
Merged
Conversation
- Endpoint, HTTPHeader, HttpMethod, RequestParameter Foundation 폴더링 - HTTPHeader 케이스 authorization 추가 - RequestParameter 케이스 body, query로 변경 및 그에 따른 Endpoint코드 수정
- Common폴더 생성
cchanmi
reviewed
Aug 9, 2026
Contributor
Author
@cchanmi 해당 플로우는 현재 PR의도랑 달라서 다음 PR에서 따로 작업해서 올리도록 하겠습니다 !! |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Describe
Network Layer의 API 요청 구조를 개선하고 Endpoint 기반으로 요청을 구성할 수 있도록 네트워크 관련 기본 타입 및 요청 파라미터 구조를 정리했습니다.
Query Parameter와 Request Body를 RequestParameter를 통해 관리하도록 변경하여 Endpoint에서 URL에 Query String을 직접 작성하지 않도록 개선했습니다.
Works made
Changes Made
As-Is
기존 로직
스크린샷
![Image]()
To-BE
변경 로직
스크린샷
![Image]()
How to Test
만들어져있는 Endpoint를 호출해보고 올바르게 응답값을 받아오는지 확인
Issues Resolved
Additional context
현재 Endpoint별로 정의된 API가 실제 서버의 모든 API 요청 케이스에서 정상적으로 동작하는지까지는 전체적으로 검증하지 않았습니다.
따라서 각 Endpoint를 사용하는 경우 사용하려는 API의 HTTP Method, Path, Query Parameter, Request Body, Header 등의 API 명세를 확인한 후 사용해주시기 바랍니다.
특히 Query Parameter와 Request Body의 구성 방식이 API 명세와 일치하는지 확인이 필요합니다.
References