diff --git a/user-data-store-client-model/src/main/java/com/wultra/security/userdatastore/client/model/request/DocumentCreateRequest.java b/user-data-store-client-model/src/main/java/com/wultra/security/userdatastore/client/model/request/DocumentCreateRequest.java index b0b8204..5b201bf 100644 --- a/user-data-store-client-model/src/main/java/com/wultra/security/userdatastore/client/model/request/DocumentCreateRequest.java +++ b/user-data-store-client-model/src/main/java/com/wultra/security/userdatastore/client/model/request/DocumentCreateRequest.java @@ -40,7 +40,7 @@ public record DocumentCreateRequest( String documentType, @NotBlank @Size(max = 32) String dataType, - @NotBlank @Size(max = 255) + @Size(max = 255) String documentDataId, @Size(max = 255) String externalId, diff --git a/user-data-store-client-model/src/main/java/com/wultra/security/userdatastore/client/model/request/DocumentUpdateRequest.java b/user-data-store-client-model/src/main/java/com/wultra/security/userdatastore/client/model/request/DocumentUpdateRequest.java index c37ea20..439ed75 100644 --- a/user-data-store-client-model/src/main/java/com/wultra/security/userdatastore/client/model/request/DocumentUpdateRequest.java +++ b/user-data-store-client-model/src/main/java/com/wultra/security/userdatastore/client/model/request/DocumentUpdateRequest.java @@ -40,7 +40,7 @@ public record DocumentUpdateRequest( String documentType, @NotBlank @Size(max = 32) String dataType, - @NotBlank @Size(max = 255) + @Size(max = 255) String documentDataId, @Size(max = 255) String externalId,