juzhiyuan opened a new issue #2335: URL: https://github.com/apache/apisix/issues/2335
### Issue description As the Admin API[1] says, the `key` is only valid when using the `chash` type, so why it's required in API's request body? [1] https://github.com/apache/apisix/blob/master/doc/admin-api.md#upstream ### Environment * apisix version (cmd: `apisix version`): * OS: ### Minimal test code / Steps to reproduce the issue 1. 2. 3. ### What's the actual result? (including assertion message & call stack if applicable) ### What's the expected result? ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org