Skip to content

Commit

Permalink
fix: incorrect isStreamable serialized name (#210)
Browse files Browse the repository at this point in the history
The `isStreamable` was generating the wrong serialized name in the
manifest causing json schema validation to fail.

Before `IsStreamable`
After    `isStreamable`
  • Loading branch information
strantalis authored Nov 13, 2024
1 parent 0d6e761 commit 32825b0
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions sdk/src/main/java/io/opentdf/platform/sdk/Manifest.java
Original file line number Diff line number Diff line change
Expand Up @@ -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 {

Expand Down Expand Up @@ -203,6 +205,7 @@ public int hashCode() {
static public class Method {
public String algorithm;
public String iv;
@SerializedName(value = "isStreamable")
public Boolean IsStreamable;

@Override
Expand Down

0 comments on commit 32825b0

Please sign in to comment.