Current Behavior

nodes_schema中的port不是必须的呀,辛苦修复一下,会导致通过admin api put上游时,如果node是array形式,无法通过校验!
Expected Behavior
No response
Error Logs
No response
Steps to Reproduce
- 运行APISIX;
- 给admin api发送请求:

Environment
- APISIX version (run
apisix version):3.4.1
- Operating system (run
uname -a):23.0.0 Darwin Kernel Version 23.0.0: Fri Sep 15 14:43:05 PDT 2023; root:xnu-10002.1.13~1/RELEASE_ARM64_T6020 arm64
- OpenResty / Nginx version (run
openresty -V or nginx -V):
- etcd version, if relevant (run
curl http://127.0.0.1:9090/v1/server_info): 3.5.0
- APISIX Dashboard version, if relevant:3.0.0
- Plugin runner version, for issues related to plugin runners:
- LuaRocks version, for installation issues (run
luarocks --version):
Current Behavior
nodes_schema中的port不是必须的呀,辛苦修复一下,会导致通过admin api put上游时,如果node是array形式,无法通过校验!
Expected Behavior
No response
Error Logs
No response
Steps to Reproduce
Environment
apisix version):3.4.1uname -a):23.0.0 Darwin Kernel Version 23.0.0: Fri Sep 15 14:43:05 PDT 2023; root:xnu-10002.1.13~1/RELEASE_ARM64_T6020 arm64openresty -Vornginx -V):curl http://127.0.0.1:9090/v1/server_info): 3.5.0luarocks --version):