resticprofile
resticprofile copied to clipboard
JSON schema missing `unlimited` option for `--keep-*` flags in the retention and forget profile sections
Both the v1 and v2 JSON schemas are missing the unlimited option for --keep-* flags in the retention and forget profile sections. These options are currently set to "type": "integer" and, instead, should be:
{
"type": ["integer", "string"]
"oneOf": [
{
"type": "integer"
},
{
"type": "string",
"enum": ["unlimited"]
}
]
}
I think anyOf is fine here too, not totally sure on which is preferred in this case as I have never used JSON schema.
that was definitely missed, thanks for the report 👍🏻