From ae4d342b8eea52309e5322ccde5b983bff1251ff Mon Sep 17 00:00:00 2001 From: Sander Jochems Date: Sat, 8 Feb 2025 13:50:53 +0100 Subject: [PATCH] Fix list type for access list list --- backend/schema/components/access-list-list.json | 7 +++++++ backend/schema/paths/nginx/access-lists/get.json | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 backend/schema/components/access-list-list.json diff --git a/backend/schema/components/access-list-list.json b/backend/schema/components/access-list-list.json new file mode 100644 index 00000000..3745129d --- /dev/null +++ b/backend/schema/components/access-list-list.json @@ -0,0 +1,7 @@ +{ + "type": "array", + "description": "Access list list", + "items": { + "$ref": "./access-list-object.json" + } +} diff --git a/backend/schema/paths/nginx/access-lists/get.json b/backend/schema/paths/nginx/access-lists/get.json index ef9a6bf9..a5e39c22 100644 --- a/backend/schema/paths/nginx/access-lists/get.json +++ b/backend/schema/paths/nginx/access-lists/get.json @@ -88,7 +88,7 @@ } }, "schema": { - "$ref": "../../../components/access-list-object.json" + "$ref": "../../../components/access-list-list.json" } } }