-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c45d353
commit 65b276e
Showing
5 changed files
with
89 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 25 additions & 0 deletions
25
src/main/java/com/kkobugi/puremarket/recipe/domain/dto/RecipeEditViewResponse.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
package com.kkobugi.puremarket.recipe.domain.dto; | ||
|
||
import io.swagger.v3.oas.annotations.media.Schema; | ||
|
||
import java.util.List; | ||
|
||
@Schema(description = "레시피글 수정 화면 응답") | ||
public record RecipeEditViewResponse(@Schema(description = "글 제목", example = "레시피글") | ||
String title, | ||
@Schema(description = "글 내용", example = "레시피글 내용") | ||
String content, | ||
@Schema(description = "글 이미지 url", example = "https://dwffwdfdwbwv") | ||
String recipeImage, | ||
@Schema(description = "재료 리스트") | ||
List<IngredientDto> ingredientList, | ||
@Schema(description = "양념 리스트") | ||
List<SauceDto> sauceList, | ||
@Schema(description = "조리 순서 리스트") | ||
List<RecipeDescriptionDto> recipeDescriptionList, | ||
@Schema(description = "닉네임", example = "꼬부기") | ||
String nickname, | ||
@Schema(description = "연락처", example = "010112345678") | ||
String contact, | ||
@Schema(description = "프로필 이미지 url", example = "https://dwffwdfdwbwv") | ||
String profileImage) {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters