mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-22 02:05:41 +01:00
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:
parent
0e92eaea18
commit
403b616a5a
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user