mirror of
https://gitee.com/iresty/apisix.git
synced 2024-12-14 08:51:29 +08:00
fix(consumer): keep the id field for compatibility (#2829)
This commit is contained in:
parent
d7593a0ac3
commit
c8823d0eed
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user