mirror of
https://gitee.com/iresty/apisix.git
synced 2024-12-14 08:51:29 +08:00
fix: we should keep 'enable_websocket' for compatibility (#2836)
This commit is contained in:
parent
ba114fc980
commit
3b4bfaf185
@ -374,7 +374,12 @@ local upstream_schema = {
|
||||
name = rule_name_def,
|
||||
desc = {type = "string", maxLength = 256},
|
||||
service_name = rule_name_def,
|
||||
id = id_schema
|
||||
id = id_schema,
|
||||
-- deprecate fields, will be removed soon
|
||||
enable_websocket = {
|
||||
description = "enable websocket for request",
|
||||
type = "boolean",
|
||||
},
|
||||
},
|
||||
anyOf = {
|
||||
{required = {"type", "nodes"}},
|
||||
|
Loading…
Reference in New Issue
Block a user