Package ai.docling.serve.api.validation
Class ValidationErrorContext
java.lang.Object
ai.docling.serve.api.validation.ValidationErrorContext
Represents the context information associated with a validation error.
This class provides additional details about the validation error,
such as the expected schemes relevant to the validation process.
The class leverages Jackson annotations for JSON serialization and
deserialization, and Lombok annotations to reduce boilerplate code,
including getter methods and builder patterns.
The builder pattern is implemented through an inner static `Builder` class
for flexible and readable object construction.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBuilder class for constructing instances of the enclosing class. -
Method Summary
Modifier and TypeMethodDescriptionstatic @NonNull ValidationErrorContext.Builderbuilder()@Nullable StringSpecifies the expected schemes relevant to a validation process.@NonNull ValidationErrorContext.Builder@NonNull StringtoString()