Skip to content

"Unknown keyword exclusiveMinimun" when validating an OpenAPI 3.0 document #1119

@sonallux

Description

@sonallux

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions