fix ScheduleObj.type in swagger (#19109)

fixes #18262
Add Schedule as a valid enum values of ScheduleObj.type

Signed-off-by: wang yan <wangyan@vmware.com>
This commit is contained in:
Wang Yan 2023-08-07 11:08:25 +08:00 committed by GitHub
parent 0e92eaea18
commit 403b616a5a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 2 deletions

View File

@ -7965,8 +7965,9 @@ definitions:
type:
type: string
description: |
The schedule type. The valid values are 'Hourly', 'Daily', 'Weekly', 'Custom', 'Manual' and 'None'.
'Manual' means to trigger it right away and 'None' means to cancel the schedule.
The schedule type. The valid values are 'Hourly', 'Daily', 'Weekly', 'Custom', 'Manual', 'None' and 'Schedule'.
'Manual' means to trigger it right away, 'Schedule' means to trigger it by a specified cron schedule and
'None' means to cancel the schedule.
enum:
- Hourly
- Daily
@ -7974,6 +7975,7 @@ definitions:
- Custom
- Manual
- None
- Schedule
cron:
type: string
description: A cron expression, a time-based job scheduler.