From 42e3873258e2c91b7609322c80d33df4c8cf2456 Mon Sep 17 00:00:00 2001 From: Tarun Kumar <102040059+tarunclub@users.noreply.github.com> Date: Mon, 8 May 2023 17:23:00 +0530 Subject: [PATCH] Add 'id' property to global_rule schema, closes #9429 Added 'id' property to the required section of global_rule schema as per issue #9429. --- apisix/schema_def.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apisix/schema_def.lua b/apisix/schema_def.lua index 06c18a9f5509..81d1448dae9d 100644 --- a/apisix/schema_def.lua +++ b/apisix/schema_def.lua @@ -836,7 +836,7 @@ _M.global_rule = { create_time = timestamp_def, update_time = timestamp_def }, - required = {"plugins"}, + required = {"id","plugins"}, }