This is an automated email from the ASF dual-hosted git repository. membphis pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/apisix.git
The following commit(s) were added to refs/heads/master by this push: new c8823d0 fix(consumer): keep the id field for compatibility (#2829) c8823d0 is described below commit c8823d0eedcdc6e329afc48d6f41e7c92637ae28 Author: 罗泽轩 <spacewander...@gmail.com> AuthorDate: Tue Nov 24 11:02:44 2020 +0800 fix(consumer): keep the id field for compatibility (#2829) --- apisix/schema_def.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/apisix/schema_def.lua b/apisix/schema_def.lua index 6f360ed..6d35b70 100644 --- a/apisix/schema_def.lua +++ b/apisix/schema_def.lua @@ -559,7 +559,9 @@ _M.consumer = { }, create_time = timestamp_def, update_time = timestamp_def, - desc = {type = "string", maxLength = 256} + desc = {type = "string", maxLength = 256}, + -- deprecate fields, will be removed soon + id = id_schema, }, required = {"username"}, additionalProperties = false,