1
0
mirror of https://github.com/Prowlarr/Indexers.git synced 2026-04-29 21:00:59 +01:00

exclude optional for selectorinputs and getselectorinputs for older versions

This commit is contained in:
Servarr
2024-06-27 04:18:06 +03:00
parent e180fd0850
commit 7cf0cd594b
2 changed files with 12 additions and 4 deletions

View File

@@ -307,7 +307,9 @@
"additionalProperties": false,
"patternProperties": {
"^[A-Za-z0-9_]*$": {
"$ref": "#/definitions/SelectorBlock"
"type": "object",
"$ref": "#/definitions/SelectorBlock",
"not": { "required": ["optional"] }
}
}
},
@@ -316,7 +318,9 @@
"additionalProperties": false,
"patternProperties": {
"^[A-Za-z0-9_]*$": {
"$ref": "#/definitions/SelectorBlock"
"type": "object",
"$ref": "#/definitions/SelectorBlock",
"not": { "required": ["optional"] }
}
}
},