Skip to content

Commit

Permalink
fix: return type 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
DongGeon0908 committed Apr 6, 2024
1 parent b76ffb1 commit 83b0ff8
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions src/main/java/com/core/api/item/controller/ItemController.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import com.core.api.auth.AuthUser;
import com.core.api.common.dto.ResponseDto;
import com.core.api.item.dto.request.ItemSaveDto;
import com.core.api.item.dto.response.ItemDetailResponseDto;
import com.core.api.item.dto.response.ItemSaveResponseDto;
import com.core.api.item.dto.response.MyItemResponse;
import com.core.api.item.service.ItemFacade;
Expand Down Expand Up @@ -35,13 +36,13 @@ public class ItemController {
* **Request**
* ```
* {
* "message": "극락",
* "latitude": 127.1086228,
* "longitude": 37.4012191,
* "type": "TYPE1"
* "message": "극락",
* "latitude": 127.1086228,
* "longitude": 37.4012191,
* "type": "TYPE1"
* }
* ```
*
* <p>
* *type**
* (나락)TYPE1 ~ TYPE5(극락)
*/
Expand Down Expand Up @@ -91,7 +92,7 @@ public ResponseEntity<Void> deleteItem(

@Operation(summary = "목탁 상세 조회")
@GetMapping("/item-detail")
public ResponseEntity<ResponseDto<Object>> itemDetail(
public ResponseEntity<ResponseDto<ItemDetailResponseDto>> itemDetail(
AuthUser user,
Long itemId
) {
Expand Down

0 comments on commit 83b0ff8

Please sign in to comment.