ajv-validator / ajv-validator/ajv-cli

There is no way to disable strict mode when using cli

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

Descrição

Apparently there is no way to disable strict mode when using ajv and that would not be such a big deal unless it would have allowed me to make use of `markdownDescription` property, something that is very popular among schema authors as it allows us to include markdown in descriptions and have nice popup in IDEs, like vscode.

```shell
$ ajv compile -s f/ansible-meta.json
error: strict mode: unknown keyword: "markdownDescription"
```

While I was able to fix the other problems, that one is impossible to address. This also make it impossible to use ajv-cli as part of CI/CD pipelines for validating the schema, as it would always be "invalid" due to this.

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.