public class JsonSchemaValidator extends ObjectWithReflectiveEqualsHashCodeToString implements Validator<String>
Modifier and Type | Field and Description |
---|---|
static String |
OPEN_API_SPECIFICATION_URL |
Constructor and Description |
---|
JsonSchemaValidator(MockServerLogger mockServerLogger,
String schema) |
JsonSchemaValidator(MockServerLogger mockServerLogger,
String routePath,
String mainSchemeFile,
String... referenceFiles) |
Modifier and Type | Method and Description |
---|---|
String |
getSchema() |
String |
isValid(String json) |
String |
isValid(String json,
boolean addOpenAPISpecificationMessage) |
equals, fieldsExcludedFromEqualsAndHashCode, hashCode, toString
public static final String OPEN_API_SPECIFICATION_URL
public JsonSchemaValidator(MockServerLogger mockServerLogger, String schema)
public JsonSchemaValidator(MockServerLogger mockServerLogger, String routePath, String mainSchemeFile, String... referenceFiles)
Copyright © 2020. All rights reserved.