Skip to content

Commit

Permalink
refactor: internalName 필수요구 제거
Browse files Browse the repository at this point in the history
  • Loading branch information
Jang Jun Young committed Jul 1, 2024
1 parent 240aa8f commit 98aed4d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ public record AdminLandRequest(
@Size(max = 255, message = "방이름의 최대 길이는 255자입니다.")
String name,

@Schema(description = "이름 - not null - 최대 50자", example = "금실타운", requiredMode = REQUIRED)
@NotNull(message = "방이름은 필수입니다.")
@Schema(description = "이름 - not null - 최대 50자", example = "금실타운")
@Size(max = 50, message = "방이름의 최대 길이는 50자입니다.")
String internalName,

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public record AdminLandResponse(
@Schema(description = "이름", example = "금실타운", requiredMode = Schema.RequiredMode.REQUIRED)
String name,

@Schema(description = "내부 이름", example = "금실타운", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "내부 이름", example = "금실타운")
String internalName,

@Schema(description = "크기", example = "9.0")
Expand Down

0 comments on commit 98aed4d

Please sign in to comment.