diff --git a/apisix/schema_def.lua b/apisix/schema_def.lua index 6f360ed3..6d35b707 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,