mirror of
https://github.com/go-task/task.git
synced 2025-03-17 21:08:01 +02:00
JetBrains JSON Schema Validator Error Workaround
`schema.json` Workaround for these two JetBrains issues: - [IDEA-236928 json schema: False positive "Schema validation: Validates to more than one variant" with "oneOf"](https://youtrack.jetbrains.com/issue/IDEA-236928) - [IDEA-265710 JSON schema validation fails if anyOf is nested in oneOf](https://youtrack.jetbrains.com/issue/IDEA-265710) There is no material effect on the actual schema validation, as the `oneOf`/`allOf` evaluates only one list entry. `allOf([1])` is `1`, and `oneOf([1])` is also `1`. Fixes #847
This commit is contained in:
parent
593980e45a
commit
8823887bb4
2
docs/static/schema.json
vendored
2
docs/static/schema.json
vendored
@ -260,7 +260,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"oneOf": [
|
||||
"allOf": [
|
||||
{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
|
Loading…
x
Reference in New Issue
Block a user