Package dev.tachyonmcp.core.server.json
Class NetworkntJsonSchemaValidator
java.lang.Object
dev.tachyonmcp.core.server.json.NetworkntJsonSchemaValidator
- All Implemented Interfaces:
JsonSchemaValidator
JSON Schema validator backed by
networknt/json-schema-validator.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvalidate(JsonSchema schema, JsonDocument document) Validates the given JSON document against the schema and returns any errors.
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
NetworkntJsonSchemaValidator
public NetworkntJsonSchemaValidator()
-
-
Method Details
-
validate
Description copied from interface:JsonSchemaValidatorValidates the given JSON document against the schema and returns any errors.- Specified by:
validatein interfaceJsonSchemaValidator
-