From f8d2fc4a477162f50a5ed171061f92e9b5064e38 Mon Sep 17 00:00:00 2001 From: Angel Date: Tue, 10 Oct 2023 16:10:00 -0400 Subject: [PATCH] feat(db): add example field to meta schema --- kong/db/schema/metaschema.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/kong/db/schema/metaschema.lua b/kong/db/schema/metaschema.lua index 6483aaab5260..cb2c9eafba49 100644 --- a/kong/db/schema/metaschema.lua +++ b/kong/db/schema/metaschema.lua @@ -179,6 +179,7 @@ local field_schema = { { required = { type = "boolean" }, }, { reference = { type = "string" }, }, { description = { type = "string", len_min = 10, len_max = 500}, }, + { examples = { type = "array", elements = { type = "any" } } }, { auto = { type = "boolean" }, }, { unique = { type = "boolean" }, }, { unique_across_ws = { type = "boolean" }, },