ARKI_SCHEMA_E003
thrownThis error is thrown. It stops your code unless you catch it. Fix the cause below; catching it only hides the problem.
What happened
A `withJsonSchema` converter was asked for a target other than draft-2020-12.
Fix
Ask for the `draft-2020-12` target.
Check the fix
bun run test -- src/vendors.test.tsRun it after the fix. It passes when the fix worked.
Where it comes from
- Package
- @arki/schema
- Version
- 0.2.0 · next release candidate
- Source
- src/errors.ts:12