@ApplicationScoped public class JsonSchemaContentValidator extends Object implements ContentValidator
Constructor and Description |
---|
JsonSchemaContentValidator()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
validate(ValidityLevel level,
ContentHandle artifactContent)
Called to validate the given content.
|
public void validate(ValidityLevel level, ContentHandle artifactContent) throws InvalidContentException
ContentValidator
validate
in interface ContentValidator
InvalidContentException
ContentValidator.validate(io.apicurio.registry.rules.validity.ValidityLevel, ContentHandle)
Copyright © 2020 Red Hat. All rights reserved.