Temporary fix: Library cron can be null or false

This commit is contained in:
Nicholas Wallace 2024-05-12 06:47:45 +00:00
parent 1b3882b779
commit 39f2d7dbbb

View file

@ -37,8 +37,10 @@ components:
example: false example: false
autoScanCronExpression: autoScanCronExpression:
description: The cron expression for when to automatically scan the library folders. If null, automatic scanning will be disabled. description: The cron expression for when to automatically scan the library folders. If null, automatic scanning will be disabled.
type: string oneOf:
nullable: true - type: string
- type: boolean
- type: null
example: '0 0 0 * * *' example: '0 0 0 * * *'
audiobooksOnly: audiobooksOnly:
description: Whether the library should ignore ebook files and only allow ebook files to be supplementary. description: Whether the library should ignore ebook files and only allow ebook files to be supplementary.