fix(manager-api-beans): add `@JsonIgnoreProperties` to UserDto
Previous development of previous versions we had an `id` field that we've removed, these may already
be persisted. Simply ignoring the unknown field should resolve this. For release, we could consider
removing it.
MODIFY
manager/api/beans/src/main/java/io/apiman/manager/api/beans/idm/UserDto.java
manager/api/beans/src/main/java/io/apiman/manager/api/beans/idm/UserDto.java
@@ -6,9 +6,12 @@ import java.util.StringJoiner;
import javax.annotation.Nullable;
import javax.validation.constraints.NotBlank;
+import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
+
/**
* @author Marc Savy {@literal <marc@blackparrotlabs.io>}
*/
+@JsonIgnoreProperties(ignoreUnknown = true)
public class UserDto {
@NotBlank
private String username;

fix(manager-api-beans): add `@JsonIgnoreProperties` to UserDto

Previous development of previous versions we had an `id` field that we've removed, these may already
be persisted. Simply ignoring the unknown field should resolve this. For release, we could consider
removing it.