From b232c9044247be7326fdb4032eaeeb0001717e2e Mon Sep 17 00:00:00 2001 From: Bin Liu Date: Tue, 9 May 2023 10:54:41 +0800 Subject: [PATCH] fix: non-ASCII chars in swagger.yaml (#18642) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- api/v2.0/swagger.yaml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/api/v2.0/swagger.yaml b/api/v2.0/swagger.yaml index 129c5599c..9f47fa9dc 100644 --- a/api/v2.0/swagger.yaml +++ b/api/v2.0/swagger.yaml @@ -239,7 +239,7 @@ paths: schema: $ref: '#/definitions/ConfigurationsResponse' '401': - description: User need to log in first.ß + description: User need to log in first. '403': description: User does not have permission of admin role. '500': @@ -4451,9 +4451,9 @@ paths: schema: $ref: '#/definitions/Schedule' description: | - The purge job's schedule, it is a json object. | - The sample format is | - {"parameters":{"audit_retention_hour":168,"dry_run":true, "include_operations":"create,delete,pull"},"schedule":{"type":"Hourly","cron":"0 0 * * * *"}} | + The purge job's schedule, it is a json object. | + The sample format is | + {"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. tags: - purge @@ -4481,9 +4481,9 @@ paths: schema: $ref: '#/definitions/Schedule' description: | - The purge job's schedule, it is a json object. | - The sample format is | - {"parameters":{"audit_retention_hour":168,"dry_run":true, "include_operations":"create,delete,pull"},"schedule":{"type":"Hourly","cron":"0 0 * * * *"}} | + The purge job's schedule, it is a json object. | + The sample format is | + {"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. tags: - purge