-
Notifications
You must be signed in to change notification settings - Fork 9
Closed
Description
Looking through some other issues, it looks like schema version support is dependent on the AJV library. Poking through their docs, it looks like that library now supports 2020-12 (https://ajv.js.org/guide/schema-language.html#draft-2019-09-and-draft-2020-12), but it looks like it requires a different import:
const Ajv2020 = require("ajv/dist/2020")
const ajv = new Ajv2020()
Would it be possible to add this? Looking through the library, it looks like that would need to be changed somewhere around here: https://github.com/tomcollins/json-schema-static-docs/blob/master/lib/validator.js#L1-L5
tomcollins
Metadata
Metadata
Assignees
Labels
No labels