Skip to content

Add draft2020 option to help command#255

Open
risu729 wants to merge 1 commit intoajv-validator:masterfrom
risu729:patch-1
Open

Add draft2020 option to help command#255
risu729 wants to merge 1 commit intoajv-validator:masterfrom
risu729:patch-1

Conversation

@risu729
Copy link
Copy Markdown

@risu729 risu729 commented Mar 12, 2026

No description provided.

Copilot AI review requested due to automatic review settings March 12, 2026 18:48
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds the missing draft2020 option to the schemaSpecOption() help text output in the CLI. The draft2020 spec was already fully supported by all commands (compile, validate, migrate, test) and the Ajv class mapping, but was not listed in the help output.

Changes:

  • Added draft2020 JSON Schema draft-2020-12 as a new line in the --spec help text in src/commands/help.ts

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants