Skip to content

Add support for ajv discriminator #91

@NivGreenstein

Description

@NivGreenstein

Right now theres a problem creating a schema containing oneOf with one of the subschemas having a default value.
This can be solved by enabling the discriminantor option of AJV

relevant links:
https://ajv.js.org/guide/modifying-data.html#assigning-defaults
https://ajv.js.org/json-schema.html#discriminator

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions