mirror of
https://github.com/goharbor/harbor.git
synced 2024-09-28 21:37:31 +02:00
fix: non-ASCII chars in swagger.yaml (#18642)
There are a `ß` char and some U+ff5c "|" in the swagger.yaml. The character U+ff5c "|" could be confused with the ASCII character U+007c "|". Signed-off-by: bin liu <liubin0329@gmail.com>
This commit is contained in:
parent
2fec790148
commit
b232c90442
@ -239,7 +239,7 @@ paths:
|
|||||||
schema:
|
schema:
|
||||||
$ref: '#/definitions/ConfigurationsResponse'
|
$ref: '#/definitions/ConfigurationsResponse'
|
||||||
'401':
|
'401':
|
||||||
description: User need to log in first.ß
|
description: User need to log in first.
|
||||||
'403':
|
'403':
|
||||||
description: User does not have permission of admin role.
|
description: User does not have permission of admin role.
|
||||||
'500':
|
'500':
|
||||||
@ -4451,9 +4451,9 @@ paths:
|
|||||||
schema:
|
schema:
|
||||||
$ref: '#/definitions/Schedule'
|
$ref: '#/definitions/Schedule'
|
||||||
description: |
|
description: |
|
||||||
The purge job's schedule, it is a json object. |
|
The purge job's schedule, it is a json object. |
|
||||||
The sample format is |
|
The sample format is |
|
||||||
{"parameters":{"audit_retention_hour":168,"dry_run":true, "include_operations":"create,delete,pull"},"schedule":{"type":"Hourly","cron":"0 0 * * * *"}} |
|
{"parameters":{"audit_retention_hour":168,"dry_run":true, "include_operations":"create,delete,pull"},"schedule":{"type":"Hourly","cron":"0 0 * * * *"}} |
|
||||||
the include_operation should be a comma separated string, e.g. create,delete,pull, if it is empty, no operation will be purged.
|
the include_operation should be a comma separated string, e.g. create,delete,pull, if it is empty, no operation will be purged.
|
||||||
tags:
|
tags:
|
||||||
- purge
|
- purge
|
||||||
@ -4481,9 +4481,9 @@ paths:
|
|||||||
schema:
|
schema:
|
||||||
$ref: '#/definitions/Schedule'
|
$ref: '#/definitions/Schedule'
|
||||||
description: |
|
description: |
|
||||||
The purge job's schedule, it is a json object. |
|
The purge job's schedule, it is a json object. |
|
||||||
The sample format is |
|
The sample format is |
|
||||||
{"parameters":{"audit_retention_hour":168,"dry_run":true, "include_operations":"create,delete,pull"},"schedule":{"type":"Hourly","cron":"0 0 * * * *"}} |
|
{"parameters":{"audit_retention_hour":168,"dry_run":true, "include_operations":"create,delete,pull"},"schedule":{"type":"Hourly","cron":"0 0 * * * *"}} |
|
||||||
the include_operation should be a comma separated string, e.g. create,delete,pull, if it is empty, no operation will be purged.
|
the include_operation should be a comma separated string, e.g. create,delete,pull, if it is empty, no operation will be purged.
|
||||||
tags:
|
tags:
|
||||||
- purge
|
- purge
|
||||||
|
Loading…
Reference in New Issue
Block a user