Uses of Class
com.networknt.schema.PathType
-
Packages that use PathType Package Description com.networknt.schema com.networknt.schema.utils -
-
Uses of PathType in com.networknt.schema
Fields in com.networknt.schema declared as PathType Modifier and Type Field Description static PathType
PathType. DEFAULT
The default path generation approach to use.private PathType
SchemaValidatorsConfig.Builder. pathType
private PathType
SchemaValidatorsConfig. pathType
The approach used to generate paths in reported messages, logs and errors.private PathType
JsonNodePath. type
Methods in com.networknt.schema that return PathType Modifier and Type Method Description PathType
JsonNodePath. getPathType()
Gets thePathType
.PathType
SchemaValidatorsConfig. getPathType()
Get the approach used to generate paths in messages, logs and errors.static PathType
PathType. valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static PathType[]
PathType. values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in com.networknt.schema with parameters of type PathType Modifier and Type Method Description SchemaValidatorsConfig.Builder
SchemaValidatorsConfig.Builder. pathType(PathType pathType)
Sets the path type to use when reporting the instance location of errors.void
SchemaValidatorsConfig.ImmutableSchemaValidatorsConfig. setPathType(PathType pathType)
void
SchemaValidatorsConfig. setPathType(PathType pathType)
Set the approach used to generate paths in messages, logs and errors (default is PathType.LEGACY).Constructors in com.networknt.schema with parameters of type PathType Constructor Description ImmutableSchemaValidatorsConfig(ApplyDefaultsStrategy applyDefaultsStrategy, boolean cacheRefs, java.lang.String errorMessageKeyword, ExecutionContextCustomizer executionContextCustomizer, boolean failFast, java.lang.Boolean formatAssertionsEnabled, boolean handleNullableField, java.util.List<JsonSchemaWalkListener> itemWalkListeners, boolean javaSemantics, java.util.Map<java.lang.String,java.util.List<JsonSchemaWalkListener>> keywordWalkListenersMap, java.util.Locale locale, boolean losslessNarrowing, MessageSource messageSource, boolean openAPI3StyleDiscriminators, PathType pathType, boolean preloadJsonSchema, int preloadJsonSchemaRefMaxNestingDepth, java.util.List<JsonSchemaWalkListener> propertyWalkListeners, java.lang.Boolean readOnly, RegularExpressionFactory regularExpressionFactory, JsonSchemaIdValidator schemaIdValidator, java.util.Map<java.lang.String,java.lang.Boolean> strictness, boolean typeLoose, java.lang.Boolean writeOnly)
JsonNodePath(PathType type)
SchemaValidatorsConfig(ApplyDefaultsStrategy applyDefaultsStrategy, boolean cacheRefs, java.lang.String errorMessageKeyword, ExecutionContextCustomizer executionContextCustomizer, boolean failFast, java.lang.Boolean formatAssertionsEnabled, boolean nullableKeywordEnabled, java.util.List<JsonSchemaWalkListener> itemWalkListeners, boolean javaSemantics, java.util.Map<java.lang.String,java.util.List<JsonSchemaWalkListener>> keywordWalkListenersMap, java.util.Locale locale, boolean losslessNarrowing, MessageSource messageSource, boolean discriminatorKeywordEnabled, PathType pathType, boolean preloadJsonSchema, int preloadJsonSchemaRefMaxNestingDepth, java.util.List<JsonSchemaWalkListener> propertyWalkListeners, java.lang.Boolean readOnly, RegularExpressionFactory regularExpressionFactory, JsonSchemaIdValidator schemaIdValidator, java.util.Map<java.lang.String,java.lang.Boolean> strictness, boolean typeLoose, java.lang.Boolean writeOnly)
-
Uses of PathType in com.networknt.schema.utils
Methods in com.networknt.schema.utils with parameters of type PathType Modifier and Type Method Description static java.util.Collection<java.lang.String>
JsonNodeUtil. allPaths(PathType pathType, java.lang.String root, com.fasterxml.jackson.databind.JsonNode node)
private static void
JsonNodeUtil. visitArray(PathType pathType, java.lang.String root, com.fasterxml.jackson.databind.JsonNode node, java.util.Collection<java.lang.String> collector)
private static void
JsonNodeUtil. visitNode(PathType pathType, java.lang.String root, com.fasterxml.jackson.databind.JsonNode node, java.util.Collection<java.lang.String> collector)
private static void
JsonNodeUtil. visitObject(PathType pathType, java.lang.String root, com.fasterxml.jackson.databind.JsonNode node, java.util.Collection<java.lang.String> collector)
-