mscb402 commented on code in PR #8336:
URL: https://github.com/apache/apisix/pull/8336#discussion_r1024657894
##########
apisix/plugins/proxy-rewrite.lua:
##########
@@ -70,8 +74,58 @@ local schema = {
},
headers = {
description = "new headers for request",
- type = "object",
- minProperties = 1,
+ anyOf = {
Review Comment:
No, we should use anyOf to maintain downward compatibility. The
response-rewrite plugin has the same schema.
--
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]