From 8124f67ea2078281cd77fea879be3ed8958de638 Mon Sep 17 00:00:00 2001 From: Shengwen YU Date: Mon, 8 Apr 2024 13:11:50 +0800 Subject: [PATCH] fix: add 400 response code for /scan/{report_id}/log (#20243) Signed-off-by: Shengwen Yu --- api/v2.0/swagger.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/api/v2.0/swagger.yaml b/api/v2.0/swagger.yaml index 129c5599c5c..f38cf311fd4 100644 --- a/api/v2.0/swagger.yaml +++ b/api/v2.0/swagger.yaml @@ -1227,6 +1227,8 @@ paths: description: Successfully get scan log file schema: type: string + '400': + $ref: '#/responses/400' '401': $ref: '#/responses/401' '403':