mirror of
https://github.com/goharbor/harbor
synced 2024-09-20 12:15:31 +00: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:
|
||||||
type: string
|
type: string
|
||||||
description: |
|
description: |
|
||||||
The schedule type. The valid values are 'Hourly', 'Daily', 'Weekly', 'Custom', 'Manual' and 'None'.
|
The schedule type. The valid values are 'Hourly', 'Daily', 'Weekly', 'Custom', 'Manual', 'None' and 'Schedule'.
|
||||||
'Manual' means to trigger it right away and 'None' means to cancel the 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:
|
enum:
|
||||||
- Hourly
|
- Hourly
|
||||||
- Daily
|
- Daily
|
||||||
|
@ -7974,6 +7975,7 @@ definitions:
|
||||||
- Custom
|
- Custom
|
||||||
- Manual
|
- Manual
|
||||||
- None
|
- None
|
||||||
|
- Schedule
|
||||||
cron:
|
cron:
|
||||||
type: string
|
type: string
|
||||||
description: A cron expression, a time-based job scheduler.
|
description: A cron expression, a time-based job scheduler.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user