WordDto.java (261B)
1 package com.wimdupont.model.dto; 2 3 import com.fasterxml.jackson.annotation.JsonIgnoreProperties; 4 5 import java.util.List; 6 7 @JsonIgnoreProperties(ignoreUnknown = true) 8 public record WordDto ( 9 String word, 10 List<DictionaryDto> dictionaryResults 11 ){ 12 }