From 67149115cbabe7447c5eeeb7292ab782fc6bdadb Mon Sep 17 00:00:00 2001 From: Roman Strobl Date: Fri, 14 Jun 2024 11:45:10 +0200 Subject: [PATCH] Fix #161: Make documentDataId optional in request --- .../client/model/request/DocumentCreateRequest.java | 2 +- .../client/model/request/DocumentUpdateRequest.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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,