From 32825b0b79e004a19f5099e4af2bcc8754d78622 Mon Sep 17 00:00:00 2001 From: Sean Trantalis Date: Wed, 13 Nov 2024 13:26:41 -0500 Subject: [PATCH] fix: incorrect isStreamable serialized name (#210) The `isStreamable` was generating the wrong serialized name in the manifest causing json schema validation to fail. Before `IsStreamable` After `isStreamable` --- sdk/src/main/java/io/opentdf/platform/sdk/Manifest.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/sdk/src/main/java/io/opentdf/platform/sdk/Manifest.java b/sdk/src/main/java/io/opentdf/platform/sdk/Manifest.java index aca6d1c..0307566 100644 --- a/sdk/src/main/java/io/opentdf/platform/sdk/Manifest.java +++ b/sdk/src/main/java/io/opentdf/platform/sdk/Manifest.java @@ -31,8 +31,10 @@ import java.util.Objects; /** - * The Manifest class represents a detailed structure encapsulating various aspects - * of data integrity, encryption, payload, and assertions within a certain context. + * The Manifest class represents a detailed structure encapsulating various + * aspects + * of data integrity, encryption, payload, and assertions within a certain + * context. */ public class Manifest { @@ -203,6 +205,7 @@ public int hashCode() { static public class Method { public String algorithm; public String iv; + @SerializedName(value = "isStreamable") public Boolean IsStreamable; @Override