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
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