-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[feat] 식당 검색을 위한 네이버 검색 api 연결 #57
Conversation
NaverLocationsDto locationsDto = naverFeignClient.getLocationInfo(clientId, clientSecret, query, DEFAULT_SEARCH_SIZE); | ||
return LocationsResponse.of(locationsDto.items().stream() | ||
.map(LocationResponse::of) | ||
.collect(Collectors.toList())); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
.collect(Collectors.toList())); 대신 toList()로 써도 될 것 같습니당
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
수고하셨습니다
|
||
private final NaverFeignClient naverFeignClient; | ||
|
||
public LocationsResponse getLocations(String query) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
final 키워드 붙여주세요
|
||
@Service | ||
@RequiredArgsConstructor | ||
public class ExternalService { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
저희 카카오나 애플 로그인도 외부 서비스여서 ExternalService보다는 네이버 검색 api를 연결하는 서비스라는 것을 들어낼 수 있도록 클래스명을 변경하는 것이 좋아보여용
Related Issue 📌
close #56
Description ✔️
To Reviewers