File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
src/main/java/com/somemore/interestcenter/controller Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 1313
1414@ RequiredArgsConstructor
1515@ RestController
16- @ RequestMapping ("/api/interest-center" )
1716@ Tag (name = "Interest Center Command API" , description = "관심 기관의 등록과 취소 API를 제공합니다" )
1817public class InterestCenterCommandApiController {
1918
2019 private final RegisterInterestCenterUseCase registerInterestCenterUseCase ;
2120 private final CancelInterestCenterUseCase cancelInterestCenterUseCase ;
2221
2322 @ Operation (summary = "관심기관 등록 API" )
24- @ PostMapping ()
23+ @ PostMapping ("/api/interest-center" )
2524 public ApiResponse <RegisterInterestCenterResponseDto > registerInterestCenter (@ Valid @ RequestBody RegisterInterestCenterRequestDto requestDto ) {
2625
2726 RegisterInterestCenterResponseDto responseDto = registerInterestCenterUseCase .registerInterestCenter (requestDto );
@@ -30,7 +29,7 @@ public ApiResponse<RegisterInterestCenterResponseDto> registerInterestCenter(@Va
3029 }
3130
3231 @ Operation (summary = "관심기관 취소 API" )
33- @ DeleteMapping ("/{interest-center-id}" )
32+ @ DeleteMapping ("/api/interest-center/ {interest-center-id}" )
3433 public ApiResponse <String > deleteInterestCenter (@ PathVariable ("interest-center-id" ) Long interestCenterId ) {
3534
3635 cancelInterestCenterUseCase .cancelInterestCenter (interestCenterId );
You can’t perform that action at this time.
0 commit comments