diff --git a/photo-service/src/main/java/kr/mafoo/photo/controller/SumoneController.java b/photo-service/src/main/java/kr/mafoo/photo/controller/SumoneController.java index dbd302a..b490687 100644 --- a/photo-service/src/main/java/kr/mafoo/photo/controller/SumoneController.java +++ b/photo-service/src/main/java/kr/mafoo/photo/controller/SumoneController.java @@ -4,11 +4,11 @@ import io.swagger.v3.oas.annotations.tags.Tag; import java.util.concurrent.atomic.AtomicInteger; import kr.mafoo.photo.controller.dto.request.ObjectStoragePreSignedUrlRequest; -import kr.mafoo.photo.controller.dto.request.RecapCreateRequest; +import kr.mafoo.photo.controller.dto.request.SumoneRecapCreateRequest; import kr.mafoo.photo.controller.dto.response.PreSignedUrlResponse; import kr.mafoo.photo.controller.dto.response.RecapResponse; import kr.mafoo.photo.controller.dto.response.SumoneAlbumResponse; -import kr.mafoo.photo.controller.dto.response.SumoneBulkUrlRequest; +import kr.mafoo.photo.controller.dto.request.SumoneBulkUrlRequest; import kr.mafoo.photo.controller.dto.response.SumonePhotoResponse; import kr.mafoo.photo.controller.dto.response.SumoneSummaryResponse; import kr.mafoo.photo.domain.enums.AlbumType; @@ -126,7 +126,7 @@ Mono createPreSignedUrls( Mono createRecapVideo( @PathVariable String albumId, @RequestBody - RecapCreateRequest request + SumoneRecapCreateRequest request ) { return recapService.generateRecapVideo(request.fileUrls(), albumId, sumoneAlbumCommonMemberId) .map(RecapResponse::fromDto); diff --git a/photo-service/src/main/java/kr/mafoo/photo/controller/dto/response/SumoneBulkUrlRequest.java b/photo-service/src/main/java/kr/mafoo/photo/controller/dto/request/SumoneBulkUrlRequest.java similarity index 90% rename from photo-service/src/main/java/kr/mafoo/photo/controller/dto/response/SumoneBulkUrlRequest.java rename to photo-service/src/main/java/kr/mafoo/photo/controller/dto/request/SumoneBulkUrlRequest.java index f65753e..7ed7223 100644 --- a/photo-service/src/main/java/kr/mafoo/photo/controller/dto/response/SumoneBulkUrlRequest.java +++ b/photo-service/src/main/java/kr/mafoo/photo/controller/dto/request/SumoneBulkUrlRequest.java @@ -1,4 +1,4 @@ -package kr.mafoo.photo.controller.dto.response; +package kr.mafoo.photo.controller.dto.request; import io.swagger.v3.oas.annotations.media.ArraySchema; import io.swagger.v3.oas.annotations.media.Schema; diff --git a/photo-service/src/main/java/kr/mafoo/photo/controller/dto/request/SumoneRecapCreateRequest.java b/photo-service/src/main/java/kr/mafoo/photo/controller/dto/request/SumoneRecapCreateRequest.java new file mode 100644 index 0000000..1a4f571 --- /dev/null +++ b/photo-service/src/main/java/kr/mafoo/photo/controller/dto/request/SumoneRecapCreateRequest.java @@ -0,0 +1,15 @@ +package kr.mafoo.photo.controller.dto.request; + +import io.swagger.v3.oas.annotations.media.ArraySchema; +import io.swagger.v3.oas.annotations.media.Schema; +import java.util.List; + +@Schema(description = "리캡 비디오 생성 요청") +public record SumoneRecapCreateRequest( + @ArraySchema( + schema = @Schema(description = "파일 URL 목록"), + arraySchema = @Schema(example = "[\"file_url_1\", \"file_url_2\", \"file_url_3\"]") + ) + List fileUrls +) { +}