Skip to content

Commit

Permalink
[Feat]: Place - Swagger에 장소 수정 설명 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
sonshn committed Oct 14, 2024
1 parent 40d4b5e commit 1481d89
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,13 @@ public ResponseEntity<JsonResponse> createPlace(
@Parameter(description = "장소 대표 이미지") @RequestPart(value = "image", required = false) MultipartFile image
);

@Operation(summary = "updatePlace", description = "장소 수정")
public ResponseEntity<JsonResponse> updatePlace(
@Parameter(description = "place code", example = "XFGEDS") @PathVariable("code") String code,
@Parameter(description = "장소 수정 요청 정보", required = true) @RequestPart("place") PlaceDto.updatePlaceReq updatePlaceReq,
@Parameter(description = "장소 대표 이미지") @RequestPart(value = "image", required = false) MultipartFile image
);

@Operation(summary = "getPlace", description = "장소 코드로 장소 정보 조회")
public ResponseEntity<JsonResponse> getPlace(
@Parameter(description = "place code", example = "XFGEDS") @PathVariable("code") String code
Expand Down

0 comments on commit 1481d89

Please sign in to comment.