dahuber-github
dahuber-github
I resolved this by editing the PatchOperation class directly. I made the following method changes: @JsonCreator private AddOperation( @JsonProperty(value = "path") final Path path, @JsonProperty(value = "value", required = true)...
I resolved this by changing PatchOperation. I changed... @JsonSubTypes({ @JsonSubTypes.Type(value = PatchOperation.AddOperation.class, name="add"), @JsonSubTypes.Type(value = PatchOperation.RemoveOperation.class, name="remove"), @JsonSubTypes.Type(value = PatchOperation.ReplaceOperation.class, name="replace") }) to @JsonSubTypes({ @JsonSubTypes.Type(value = PatchOperation.AddOperation.class, name="add"), @JsonSubTypes.Type(value =...
Don't return a null Long. Instead return an Optional. https://docs.oracle.com/javase/8/docs/api/java/util/Optional.html Best regards, Doug Huber