Commit 6cdf1b1e authored by Christian Tzolov's avatar Christian Tzolov Committed by Christian Tzolov
Browse files

fix: Add JsonInclude annotation to notification records for proper serialization (#552)



Add @JsonInclude(JsonInclude.Include.NON_ABSENT) to ResourcesUpdatedNotification
  and to LoggingMessageNotification

This ensures that absent (null/Optional.empty()) fields are excluded from JSON
serialization, preventing potential serialization issues with these MCP notification types.

Signed-off-by: default avatarChristian Tzolov <christian.tzolov@broadcom.com>
parent 71f318e5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment