Skip to content

Commit 3cf7d51

Browse files
authored
fix: Update handlers in JSON schema to be an object instead of an array
Issue-733: #733 PR-734: #734
1 parent 52ea2f2 commit 3cf7d51

File tree

1 file changed

+5
-9
lines changed

1 file changed

+5
-9
lines changed

docs/schema.json

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -37,15 +37,11 @@
3737
"handlers": {
3838
"title": "The handlers global configuration.",
3939
"markdownDescription": "https://mkdocstrings.github.io/handlers/overview/",
40-
"type": "object",
41-
"default": null,
42-
"items": {
43-
"oneOf": [
44-
{
45-
"$ref": "https://raw.githubusercontent.com/mkdocstrings/python/master/docs/schema.json"
46-
}
47-
]
48-
}
40+
"anyOf": [
41+
{
42+
"$ref": "https://raw.githubusercontent.com/mkdocstrings/python/main/docs/schema.json"
43+
}
44+
]
4945
}
5046
},
5147
"additionalProperties": false

0 commit comments

Comments
 (0)