kwanhur commented on code in PR #6750:
URL: https://github.com/apache/apisix/pull/6750#discussion_r844782087
##########
apisix/plugins/response-rewrite.lua:
##########
@@ -48,6 +53,41 @@ local schema = {
vars = {
type = "array",
},
+ filters = {
+ description = "a group of filters that modify response body" ..
+ "by replacing one specified string by another",
+ type = "array",
+ minItems = 1,
+ items = {
+ description = "filter that modifies response body",
+ type = "object",
+ required = {"regex", "replace"},
+ properties = {
+ regex = {
+ description = "match pattern on response body",
+ type = "string",
+ default = "",
Review Comment:
Done
--
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]