Conversation
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.
📌 작업한 내용
현재 도서 필터 검색 API는 동일 필터 옵션(국가별 분류, 장르별 분류)에 대해 단일 선택만 가능하도록 되어 있어,
복수 선택이 가능하도록 수정했습니다.
🔍 참고 사항
기존 API 호출 방식은 파라미터를 쉼표로 구분해서 호출하면 하나의 문자열로 인식하는 문제가 발생했습니다.
따라서 아래 두 방식을 모두 지원하도록 수정했습니다.
방식 1: 쉼표 구분 (새로 추가)
GET /api/v1/books/filter?origins=한국소설,영미소설&genres=로맨스,희곡
방식 2: 배열 형식 (기존)
GET /api/v1/books/filter?origins=한국소설&origins=영미소설&genres=로맨스&genres=희곡
🖼️ 스크린샷
🔗 관련 이슈
#95
✅ 체크리스트