mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-23 02:35:17 +01:00
Merge pull request #5224 from ywk253100/180629_swagger
Update the swagger file
This commit is contained in:
commit
896139ee5f
@ -2720,25 +2720,24 @@ definitions:
|
|||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
public:
|
public:
|
||||||
type: integer
|
type: string
|
||||||
format: int
|
description: The public status of the project. The valid values are "true", "false".
|
||||||
description: The public status of the project.
|
|
||||||
enable_content_trust:
|
enable_content_trust:
|
||||||
type: boolean
|
type: string
|
||||||
description: >-
|
description: >-
|
||||||
Whether content trust is enabled or not. If it is enabled, user cann't
|
Whether content trust is enabled or not. If it is enabled, user cann't
|
||||||
pull unsigned images from this project.
|
pull unsigned images from this project. The valid values are "true", "false".
|
||||||
prevent_vulnerable_images_from_running:
|
prevent_vulnerable_images_from_running:
|
||||||
type: boolean
|
type: string
|
||||||
description: Whether prevent the vulnerable images from running.
|
description: Whether prevent the vulnerable images from running. The valid values are "true", "false".
|
||||||
prevent_vulnerable_images_from_running_severity:
|
prevent_vulnerable_images_from_running_severity:
|
||||||
type: string
|
type: string
|
||||||
description: >-
|
description: >-
|
||||||
If the vulnerability is high than severity defined here, the images
|
If the vulnerability is high than severity defined here, the images
|
||||||
cann't be pulled.
|
cann't be pulled. The valid values are "negligible", "low", "medium", "high", "critical".
|
||||||
automatically_scan_images_on_push:
|
automatically_scan_images_on_push:
|
||||||
type: boolean
|
type: string
|
||||||
description: Whether scan images automatically when pushing.
|
description: Whether scan images automatically when pushing. The valid values are "true", "false".
|
||||||
Manifest:
|
Manifest:
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
@ -2989,9 +2988,7 @@ definitions:
|
|||||||
The replication policy filter kind. The valid values are project,
|
The replication policy filter kind. The valid values are project,
|
||||||
repository and tag.
|
repository and tag.
|
||||||
value:
|
value:
|
||||||
type:
|
type: string
|
||||||
- string
|
|
||||||
- integer
|
|
||||||
description: The value of replication policy filter. When creating repository and tag filter, filling it with the pattern as string. When creating label filter, filling it with label ID as integer.
|
description: The value of replication policy filter. When creating repository and tag filter, filling it with the pattern as string. When creating label filter, filling it with label ID as integer.
|
||||||
pattern:
|
pattern:
|
||||||
type: string
|
type: string
|
||||||
|
Loading…
Reference in New Issue
Block a user