Class StructuralShapeDiff.ShapeDiff

java.lang.Object
org.mockserver.llm.drift.StructuralShapeDiff.ShapeDiff
Enclosing class:
StructuralShapeDiff

public static final class StructuralShapeDiff.ShapeDiff extends Object
The structural delta between a recorded ("baseline") and a live document.
  • Method Details

    • getAddedPaths

      public List<String> getAddedPaths()
      Paths present in the live document but not the baseline.
    • getRemovedPaths

      public List<String> getRemovedPaths()
      Paths present in the baseline but missing from the live document.
    • getTypeChangedPaths

      public List<String> getTypeChangedPaths()
      Paths present in both but with a different value type.
    • hasDrift

      public boolean hasDrift()
      True if the two documents differ structurally.