diff --git a/module-api/src/main/java/com/mile/controller/moim/MoimController.java b/module-api/src/main/java/com/mile/controller/moim/MoimController.java index feffe038..e71d2bbf 100644 --- a/module-api/src/main/java/com/mile/controller/moim/MoimController.java +++ b/module-api/src/main/java/com/mile/controller/moim/MoimController.java @@ -50,7 +50,7 @@ public SuccessResponse getMoimInfo( @GetMapping("/{moimId}/categoryList") @Override public SuccessResponse getCategoryList( - final Long moimId + @PathVariable final Long moimId ) { return SuccessResponse.of(SuccessMessage.CATEGORY_LIST_SEARCH_SUCCESS, moimService.getCategoryList(moimId)); } diff --git a/module-api/src/main/java/com/mile/controller/moim/MoimControllerSwagger.java b/module-api/src/main/java/com/mile/controller/moim/MoimControllerSwagger.java index 9e814c4f..1906c3bd 100644 --- a/module-api/src/main/java/com/mile/controller/moim/MoimControllerSwagger.java +++ b/module-api/src/main/java/com/mile/controller/moim/MoimControllerSwagger.java @@ -73,6 +73,6 @@ SuccessResponse getMoimInfo( } ) public SuccessResponse getCategoryList( - final Long moimId + @PathVariable final Long moimId ); }