Skip to content

Conversation

@Bucoco
Copy link
Contributor

@Bucoco Bucoco commented Jan 4, 2026

🧩 구현/변경 사항

  • 관광지 테마, 하위 테마 Enum 으로 관리
  • 조회 API 응답을 일관되게 수정
  • 지도 관광지 조회 응답에 Theme 필드 추가

BREAKING CHANGE (옵션)

  • 조회 API에서 테마, 하위테마가 이름을 반환하던 것을 코드를 반환하도록 수정했습니다.
  • 일부 API의 응답에서 변경사항이 있습니다.

/api/sight/curation/{curationId} : 큐레이션 관광지 목록 조회

  • theme -> subTheme 필드명 변경

/api/sight/search : 키워드 검색

  • detailTheme -> subTheme 필드명 변경

/api/sight/detail : 관광지 상세 정보 조회

  • detailTheme -> subTheme 필드명 변경

/api/sight/map/rectangle 지도 사각형 영역 내 관광지 조회

  • theme 필드 추가

참고

  • 응답 DTO가 바뀐 부분은 프론트엔드 개발자 분들이 숙지하고 있어야 합니다.
  • 테마와 하위테마 분류는 노션을 참고해주시길 바랍니다.

🪞 회고 및 개선 아이디어 (옵션)

  • 코어 쪽 정리가 아직 끝나지 않은 것 같아서 정리 이후에 다국어 지원이 되게 리팩토링 하도록 하겠습니다.

closes #15

Bucoco added 2 commits January 5, 2026 01:35
- theme, subtheme enum 추가
- 지도상 관광지 조회 theme 필드 추가
- 응답 DTO에서 theme, subtheme 필드 공통되게 code 형식으로 반환하게 수정
@Bucoco Bucoco self-assigned this Jan 4, 2026
@Bucoco Bucoco added the enhancement New feature or request label Jan 4, 2026
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

관광지 테마와 서브 테마의 이름을 서버측에서 가지고 있을 예정이면, 분류코드를 자연어로 변환하는 API나 전체 코드 & 자연어 쌍을 조회하는 API가 필요할것으로 보입니다.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

프론트에서 enum으로 관리하는 편이 더 좋아보입니다. 이름은 혹시 추후에 어떻게 될지 몰라서 일단 가지고 있으려고 했습니다. 담당자와 상의하고 필요하다면 추가하겠습니다.

Copy link
Member

@jaewonLeeKOR jaewonLeeKOR left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

고생하셨습니다👍🏻

@Bucoco Bucoco merged commit f53632b into develop Jan 7, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BE-SIGHT] 지도상 관광지 조회 테마 추가

3 participants