ajv-validator / ajv-validator/ajv-cli

There is no way to disable strict mode when using cli

Đang mở
#220 4 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
TypeScript
Star
316
Fork
77
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.