mirror of
https://gitee.com/iresty/apisix.git
synced 2024-12-14 17:01:20 +08:00
bugfix: removed useless schema of upstream. (#643)
This commit is contained in:
parent
6825f74096
commit
767786ce05
@ -239,33 +239,7 @@ local upstream_schema = {
|
||||
enum = {"remote_addr"},
|
||||
},
|
||||
desc = {type = "string", maxLength = 256},
|
||||
id = id_schema,
|
||||
scheme = {
|
||||
description = "scheme of upstream",
|
||||
type = "string",
|
||||
enum = {"http", "https"},
|
||||
},
|
||||
host = {
|
||||
description = "host of upstream",
|
||||
type = "string",
|
||||
pattern = host_def_pat,
|
||||
},
|
||||
upgrade = {
|
||||
description = "upgrade header for upstream",
|
||||
type = "string",
|
||||
},
|
||||
connection = {
|
||||
description = "connection header for upstream",
|
||||
type = "string",
|
||||
},
|
||||
uri = {
|
||||
description = "new uri for upstream",
|
||||
type = "string",
|
||||
},
|
||||
enable_websocket = {
|
||||
description = "enable websocket for request",
|
||||
type = "boolean",
|
||||
}
|
||||
id = id_schema
|
||||
},
|
||||
required = {"nodes", "type"},
|
||||
additionalProperties = false,
|
||||
|
Loading…
Reference in New Issue
Block a user