Skip to content

Commit

Permalink
[FIX] remove endedAt field validation
Browse files Browse the repository at this point in the history
  • Loading branch information
nogamsung committed Dec 30, 2023
1 parent 080ce7f commit ff34531
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -272,13 +272,12 @@ public ResponseEntity<DefaultNoResponse> updateDescription(HttpServletRequest se
"- 400 = POSITION_FIELD_REQUIRED || POSITION_TYPE_INVALID || SKILL_NAME_FIELD_REQUIRED || " +
"SKILL_NAME_LENGTH_INVALID || IS_EXPERIENCED_FIELD_REQUIRED || LEVEL_FIELD_REQUIRED || " +
"LEVEL_TYPE_INVALID || INSTITUTION_NAME_FIELD_REQUIRED || INSTITUTION_NAME_LENGTH_INVALID || " +
"STARTED_AT_FIELD_REQUIRED || ENDED_AT_FILED_REQUIRED || IS_CURRENT_FIELD_REQUIRED || " +
"CORPORATION_NAME_FIELD_REQUIRED || CORPORATION_NAME_LENGTH_INVALID || " +
"WORK_DESCRIPTION_LENGTH_INVALID || PORTFOLIO_NAME_FIELD_REQUIRED || " +
"PORTFOLIO_NAME_LENGTH_INVALID || PORTFOLIO_URL_FIELD_REQUIRED || " +
"PORTFOLIO_URL_LENGTH_INVALID || MEDIA_FIELD_REQUIRED || MEDIA_TYPE_INVALID || " +
"EDUCATION_DATE_INVALID || EDUCATION_ENDED_AT_FIELD_REQUIRED || WORK_DATE_INVALID || " +
"WORK_ENDED_AT_FIELD_REQUIRED\n" +
"STARTED_AT_FIELD_REQUIRED || IS_CURRENT_FIELD_REQUIRED || CORPORATION_NAME_FIELD_REQUIRED || " +
"CORPORATION_NAME_LENGTH_INVALID || WORK_DESCRIPTION_LENGTH_INVALID || " +
"PORTFOLIO_NAME_FIELD_REQUIRED || PORTFOLIO_NAME_LENGTH_INVALID || " +
"PORTFOLIO_URL_FIELD_REQUIRED || PORTFOLIO_URL_LENGTH_INVALID || MEDIA_FIELD_REQUIRED || " +
"MEDIA_TYPE_INVALID || EDUCATION_DATE_INVALID || EDUCATION_ENDED_AT_FIELD_REQUIRED || " +
"WORK_DATE_INVALID || WORK_ENDED_AT_FIELD_REQUIRED\n" +
"- 401 = TOKEN_UNAUTHENTICATED\n" +
"- 403 = TOKEN_UNAUTHORIZED\n" +
"- 404 = USER_NOT_FOUND\n" +
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ public class EducationDefaultRequest {
private LocalDate startedAt;

@ApiModelProperty(position = 4, value = "종료일", notes = "string", example = "2000-01-02")
@NotNull(message = "종료일은 필수 입력입니다.", groups = ValidationSequence.Blank.class)
@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd")
private LocalDate endedAt;

Expand Down

0 comments on commit ff34531

Please sign in to comment.