From e2cf49fbf980609a31da7986438c7015e94085ce Mon Sep 17 00:00:00 2001 From: muhsroom1324 Date: Mon, 22 Apr 2024 01:37:57 +0900 Subject: [PATCH] hotfix: swagger documentation --- .../domain/clothingSales/api/ClothingSalesController.java | 4 ++-- .../repick/domain/clothingSales/dto/PostBagCollectState.java | 2 +- .../repick/domain/clothingSales/dto/PostBoxCollectState.java | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/com/example/repick/domain/clothingSales/api/ClothingSalesController.java b/src/main/java/com/example/repick/domain/clothingSales/api/ClothingSalesController.java index a6b687bf..dc91cc7d 100644 --- a/src/main/java/com/example/repick/domain/clothingSales/api/ClothingSalesController.java +++ b/src/main/java/com/example/repick/domain/clothingSales/api/ClothingSalesController.java @@ -68,7 +68,7 @@ public SuccessResponse handleRepickBagCollectionRequest(@Mod - '요청취소' 네가지 값 중 하나를 bagCollectStateType 에 입력합니다. - 예시: bagCollectStateType: "배송중" + 예시: bagCollectStateType: "수거완료" """) @PostMapping("bags/collection/state") public SuccessResponse updateBagInitState(@RequestBody PostBagCollectState postBagCollectState) { @@ -97,7 +97,7 @@ public SuccessResponse handleBoxCollectionRequest(@ModelAttr - '요청취소' 네가지 값 중 하나를 boxCollectStateType 에 입력합니다. - 예시: boxCollectStateType: "배송중" + 예시: boxCollectStateType: "판매진행" """) @PostMapping("box/collection/state") public SuccessResponse updateBoxCollectState(@RequestBody PostBoxCollectState postBoxCollectState) { diff --git a/src/main/java/com/example/repick/domain/clothingSales/dto/PostBagCollectState.java b/src/main/java/com/example/repick/domain/clothingSales/dto/PostBagCollectState.java index 751186ef..6219f7b7 100644 --- a/src/main/java/com/example/repick/domain/clothingSales/dto/PostBagCollectState.java +++ b/src/main/java/com/example/repick/domain/clothingSales/dto/PostBagCollectState.java @@ -4,6 +4,6 @@ public record PostBagCollectState( @Schema(description = "백 수거 요청 ID", example = "3") Long bagCollectId, - @Schema(description = "백 수거 요청 상태", example = "배송중") String bagCollectStateType + @Schema(description = "백 수거 요청 상태", example = "수거완료") String bagCollectStateType ) { } diff --git a/src/main/java/com/example/repick/domain/clothingSales/dto/PostBoxCollectState.java b/src/main/java/com/example/repick/domain/clothingSales/dto/PostBoxCollectState.java index fd677412..10dc2605 100644 --- a/src/main/java/com/example/repick/domain/clothingSales/dto/PostBoxCollectState.java +++ b/src/main/java/com/example/repick/domain/clothingSales/dto/PostBoxCollectState.java @@ -4,6 +4,6 @@ public record PostBoxCollectState( @Schema(description = "박스 수거 요청 ID", example = "3") Long boxCollectId, - @Schema(description = "박스 수거 요청 상태", example = "배송중") String boxCollectStateType + @Schema(description = "박스 수거 요청 상태", example = "판매진행") String boxCollectStateType ) { }