datetimeformat
[Spring Boot] Java DateTime Json 입력 시 400 error
@RequestParam @DateTimeFormat(pattern = "yyyy-MM-dd") LocalDate date Json에 입력한 날짜를 String으로 인식하여 LocalDate와 연결이 되지 않는다. 컨트롤러에 해당 매핑을 추가하면 정상적으로 데이터를 조회할 수 있다.
@RequestParam @DateTimeFormat(pattern = "yyyy-MM-dd") LocalDate date Json에 입력한 날짜를 String으로 인식하여 LocalDate와 연결이 되지 않는다. 컨트롤러에 해당 매핑을 추가하면 정상적으로 데이터를 조회할 수 있다.