From b516684f26005464e2da1f664e747228ca85d0d3 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 20 Nov 2023 11:12:02 +0300 Subject: [PATCH] Update backend-api-docs.json (#2863) Co-authored-by: github-actions[bot] --- save-backend/backend-api-docs.json | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/save-backend/backend-api-docs.json b/save-backend/backend-api-docs.json index 11126271e8..26f38c1ad9 100644 --- a/save-backend/backend-api-docs.json +++ b/save-backend/backend-api-docs.json @@ -15128,8 +15128,7 @@ }, "VulnerabilityFilter": { "required": [ - "identifierPrefix", - "isOwner", + "freeText", "maxCriticality", "minCriticality", "tags" @@ -15139,11 +15138,21 @@ "authorName": { "type": "string" }, - "identifierPrefix": { - "type": "string" + "chosenStatuses": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "APPROVED", + "AUTO_APPROVED", + "CREATED", + "PENDING_REVIEW", + "REJECTED" + ] + } }, - "isOwner": { - "type": "boolean" + "freeText": { + "type": "string" }, "language": { "type": "string",