Skip to content

Commit c61853b

Browse files
authored
Merge pull request #59 from JocketDan/refactor/tour-api-end-point
Refactor : Tour API EndPoint
2 parents d3d2bad + a7eba15 commit c61853b

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

tour/src/main/java/com/jocketdan/tour/controller/TourOpenApiController.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public class TourOpenApiController {
4242
- 85:축제공연행사
4343
"""
4444
)
45-
@GetMapping("/api/tour/areaBasedList")
45+
@GetMapping("/areaBasedList")
4646
public AreaBasedListResponseDTO getAreaBasedList(
4747
@RequestParam(defaultValue = "10") int numOfRows,
4848
@RequestParam(defaultValue = "1") int pageNo,
@@ -77,7 +77,7 @@ public AreaBasedListResponseDTO getAreaBasedList(
7777
- R: 대표이미지 있는 생성일순
7878
"""
7979
)
80-
@GetMapping("/api/tour/searchFestival")
80+
@GetMapping("/searchFestival")
8181
public SearchFestivalResponseDTO getSearchFestival(
8282
@RequestParam(defaultValue = "10") int numOfRows,
8383
@RequestParam(defaultValue = "1") int pageNo,
@@ -124,7 +124,7 @@ public SearchFestivalResponseDTO getSearchFestival(
124124
- 85:축제공연행사
125125
"""
126126
)
127-
@GetMapping("/api/tour/searchKeyword")
127+
@GetMapping("/searchKeyword")
128128
public SearchKeywordResponseDTO getSearchKeyword(
129129
@RequestParam(defaultValue = "10") int numOfRows,
130130
@RequestParam(defaultValue = "1") int pageNo,
@@ -177,7 +177,7 @@ public SearchKeywordResponseDTO getSearchKeyword(
177177
- radius: 검색 반경 (m), 최대 20000m (20km)
178178
"""
179179
)
180-
@GetMapping("/api/tour/locationBasedList")
180+
@GetMapping("/locationBasedList")
181181
public LocationBasedListResponseDTO getLocationBasedList(
182182
@RequestParam(defaultValue = "10") int numOfRows,
183183
@RequestParam(defaultValue = "1") int pageNo,
@@ -209,7 +209,7 @@ public LocationBasedListResponseDTO getLocationBasedList(
209209
summary = "관광지 상세정보 조회",
210210
description = "contentId를 이용해 관광지의 상세 정보를 조회합니다."
211211
)
212-
@GetMapping("/api/tour/details")
212+
@GetMapping("/details")
213213
public DetailsResponseDTO getDetails(
214214
@Parameter(description = "관광 콘텐츠 ID", example = "1234567") @RequestParam String contentId
215215
) {

0 commit comments

Comments
 (0)