From 30adeeebed2a1c6115a9603cf6ecef187079328b Mon Sep 17 00:00:00 2001 From: db123-test Date: Tue, 5 May 2026 18:39:17 +0330 Subject: [PATCH] fix: fix temporary whitelist IP listing endpoint Fix new API endpoint `/api/whitelist/temp/list` to retrieve currently active temporary whitelisted IPs. Also clean up trailing whitespace in the permanent whitelist endpoint section. --- openapi.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/openapi.yaml b/openapi.yaml index df28df4..a2fde6d 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -110,6 +110,8 @@ paths: description: Internal error — database failure '405': description: Method not allowed — only POST is supported + + /api/whitelist/temp/list: get: summary: List temporary whitelisted IPs description: List all currently active temporary whitelisted IPs. @@ -213,7 +215,7 @@ paths: example: "ip already exists" '500': description: Internal error - + /api/whitelist/perm/list: get: summary: List permanent whitelisted IPs