I am currently trying to validate an OpenAPI 3.0 document using the json-schema-validator library and I am getting the following warning when creating the JsonSchema object:
[main] WARN com.networknt.schema.UnknownKeywordFactory - Unknown keyword exclusiveMinimum - you should define your own Meta Schema. If the keyword is irrelevant for validation, just use a NonValidationKeyword or if it should generate annotations AnnotationKeyword
I am using this code to create the JsonSchema object:
return JsonSchemaFactory
.getInstance(SpecVersion.VersionFlag.V4)
.getSchema(SchemaLocation.of("https://spec.openapis.org/oas/3.0/schema/latest"));
What is wrong with this and why am I getting the message printed to the console?