Uses of Enum
com.networknt.schema.PathType
Packages that use PathType
-
Uses of PathType in com.networknt.schema
Subclasses with type arguments of type PathType in com.networknt.schemaModifier and TypeClassDescriptionenumEnumeration defining the different approached available to generate the paths added to validation messages.Fields in com.networknt.schema declared as PathTypeModifier and TypeFieldDescriptionstatic final PathTypePathType.DEFAULTThe default path generation approach to use.private PathTypeSchemaValidatorsConfig.Builder.pathTypeprivate PathTypeSchemaValidatorsConfig.pathTypeThe approach used to generate paths in reported messages, logs and errors.private final PathTypeJsonNodePath.typeMethods 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 PathTypeReturns 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.voidSchemaValidatorsConfig.ImmutableSchemaValidatorsConfig.setPathType(PathType pathType) voidSchemaValidatorsConfig.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 voidJsonNodeUtil.visitArray(PathType pathType, String root, com.fasterxml.jackson.databind.JsonNode node, Collection<String> collector) private static voidJsonNodeUtil.visitNode(PathType pathType, String root, com.fasterxml.jackson.databind.JsonNode node, Collection<String> collector) private static voidJsonNodeUtil.visitObject(PathType pathType, String root, com.fasterxml.jackson.databind.JsonNode node, Collection<String> collector)