You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2021/09/17 10:02:38 UTC
[GitHub] [apisix] bzp2010 opened a new issue #5085: bug: gzip plugin schema typo error
bzp2010 opened a new issue #5085:
URL: https://github.com/apache/apisix/issues/5085
### Issue description
Mistakenly write minitems as minitem in the schema of the gzip plugin.
[go to that line](https://github.com/apache/apisix/blob/c907ef0f663eba5f10686e13e431bd007e7c5ac3/apisix/plugins/gzip.lua#L34)
### Environment
- apisix version (cmd: `apisix version`): 2.9
- OS (cmd: `uname -a`): Linux d4af861caf32 5.10.16.3-microsoft-standard-WSL2 #1 SMP Fri Apr 2 22:23:49 UTC 2021 x86_64 Linux
- OpenResty / Nginx version (cmd: `nginx -V` or `openresty -V`): openresty/1.19.3.1
- etcd version, if have (cmd: run `curl http://127.0.0.1:9090/v1/server_info` to get the info from server-info API): 3.4.15
- apisix-dashboard version, if have: 2.8
- the plugin runner version, if the issue is about a plugin runner (cmd: depended on the kind of runner): none
- luarocks version, if the issue is about installation (cmd: `luarocks --version`): 3.7.0
### Steps to reproduce
1. An error occurs when JSON schema compiles the schema document output by APISIX Control API.
eg. unknown keyword `minItem`
### Actual result
return `minItem`
### Error log
Unhandled Rejection (Error): strict mode: unknown keyword: "minItem" by JavaScript
### Expected result
return `minItems`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] spacewander closed issue #5085: bug: gzip plugin schema typo error
Posted by GitBox <gi...@apache.org>.
spacewander closed issue #5085:
URL: https://github.com/apache/apisix/issues/5085
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org