Skip to content

Make yaml dependency optional #840

@alturkovic

Description

@alturkovic

I tried to parse a json-schema like: JsonSchemaFactory.getInstance(version).getSchema(schema) That produces an exception if you do not have jackson-dataformat-yaml dependency even though I do not want to use YAML because the internal builder (com.networknt.schema.JsonSchemaFactory.Builder) uses an instance of YamlMapper upon construction.

This should be revised to be able to use the library without the dependency.

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