Uses of Enum
com.networknt.schema.PathType
Packages that use PathType
-
Uses of PathType in com.networknt.schema
Fields in com.networknt.schema declared as PathTypeModifier and TypeFieldDescriptionstatic final 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 final PathType
JsonNodePath.type
Methods in com.networknt.schema that return PathTypeModifier and TypeMethodDescriptionJsonNodePath.getPathType()
Gets thePathType
.SchemaValidatorsConfig.getPathType()
Get the approach used to generate paths in messages, logs and errors.static PathType
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 PathTypeModifier and TypeMethodDescriptionSets 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 PathTypeModifierConstructorDescriptionImmutableSchemaValidatorsConfig
(ApplyDefaultsStrategy applyDefaultsStrategy, boolean cacheRefs, String errorMessageKeyword, ExecutionContextCustomizer executionContextCustomizer, boolean failFast, Boolean formatAssertionsEnabled, boolean handleNullableField, List<JsonSchemaWalkListener> itemWalkListeners, boolean javaSemantics, Map<String, List<JsonSchemaWalkListener>> keywordWalkListenersMap, Locale locale, boolean losslessNarrowing, MessageSource messageSource, boolean openAPI3StyleDiscriminators, PathType pathType, boolean preloadJsonSchema, int preloadJsonSchemaRefMaxNestingDepth, List<JsonSchemaWalkListener> propertyWalkListeners, Boolean readOnly, RegularExpressionFactory regularExpressionFactory, JsonSchemaIdValidator schemaIdValidator, Map<String, Boolean> strictness, boolean typeLoose, Boolean writeOnly) JsonNodePath
(PathType type) (package private)
SchemaValidatorsConfig
(ApplyDefaultsStrategy applyDefaultsStrategy, boolean cacheRefs, String errorMessageKeyword, ExecutionContextCustomizer executionContextCustomizer, boolean failFast, Boolean formatAssertionsEnabled, boolean nullableKeywordEnabled, List<JsonSchemaWalkListener> itemWalkListeners, boolean javaSemantics, Map<String, List<JsonSchemaWalkListener>> keywordWalkListenersMap, Locale locale, boolean losslessNarrowing, MessageSource messageSource, boolean discriminatorKeywordEnabled, PathType pathType, boolean preloadJsonSchema, int preloadJsonSchemaRefMaxNestingDepth, List<JsonSchemaWalkListener> propertyWalkListeners, Boolean readOnly, RegularExpressionFactory regularExpressionFactory, JsonSchemaIdValidator schemaIdValidator, Map<String, Boolean> strictness, boolean typeLoose, Boolean writeOnly) -
Uses of PathType in com.networknt.schema.utils
Methods in com.networknt.schema.utils with parameters of type PathTypeModifier and TypeMethodDescriptionstatic Collection
<String> private static void
JsonNodeUtil.visitArray
(PathType pathType, String root, com.fasterxml.jackson.databind.JsonNode node, Collection<String> collector) private static void
JsonNodeUtil.visitNode
(PathType pathType, String root, com.fasterxml.jackson.databind.JsonNode node, Collection<String> collector) private static void
JsonNodeUtil.visitObject
(PathType pathType, String root, com.fasterxml.jackson.databind.JsonNode node, Collection<String> collector)