smileby opened a new issue, #10744:
URL: https://github.com/apache/apisix/issues/10744
### Description
The following plugin response body structure should be defined by the user
- limit-conn.lua
- limit-count.lua
- limit-req.lua
- uri-blocker.lua
- consumer-restriction.lua
Current State
```
return conf.rejected_code, { error_msg = conf.rejected_msg }
OR
return 401, { message = err_msg}
```
Desired State
```
return conf.rejected_code, conf.rejected_msg
OR
return 401, err_msg
```
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]