ajv-validator / ajv-validator/ajv-cli

What is the best way to pass an array of values into unknownFormats

Aberta
#86 1 comentário 0 reações 0 responsáveis Ver no GitHub
docs
Linguagem predominante
TypeScript
Estrelas
316
Forks
77
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

This is more of a query than an issue.

The following command called from Powershell works fine and returns errors for unknown formats:
`ajv validate -d data.json -s schema.json --unknown-formats ignore --verbose --errors text --all-errors`

To ignore specific formats the following command also works fine (after trying many different variations to pass multiple values for the `unknown-formats` parameter):
`ajv validate -d data.json -s schema.json --unknown-formats="int32" --unknown-formats="double" --verbose --errors text --all-errors`

Is there a better way to pass in the additional formats in the `unknown-formats` parameter without repeating `--unknown-formats`?

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.