Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,12 @@

public record ProblemCreateRequest(


@NotNull(message = "카테고리 이름를 설정해야 합니다.")
@Schema(description = "카테고리 코드 식별자(영어) / 한글 이름", example = "FOR_BEGINNER : 입문자용")
Map<String, String> categories,


@NotBlank(message = "문제 제목을 입력하세요.")
@Schema(description = "제목", example = "A+B")
String title,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ public record ProblemUpdateRequest(
@Schema(description = "제목", example = "A+B")
String title,

@Schema(description = "카테고리", example = "입력한 두수의 값을 더하고, 결과값을 출력하세요")
@Schema(description = "설명", example = "입력한 두수의 값을 더하고, 결과값을 출력하세요")
String description,

@Schema(description = "난이도", example = "BRONZE")
@Schema(description = "난이도", example = "LV1")
Difficulty difficulty,

@Schema(description = "메모리 제한(KB)", example = "30000")
Expand Down