qihaiyan commented on code in PR #6949:
URL: https://github.com/apache/apisix/pull/6949#discussion_r862619029
##########
apisix/plugins/api-breaker.lua:
##########
@@ -35,6 +35,13 @@ local schema = {
minimum = 200,
maximum = 599,
},
+ break_response_body = {
+ type = "string"
+ },
+ break_response_content_type = {
Review Comment:
> As for this plugin, I would suggest adding a field to add any response
headers instead of just content-type.
Is there any other plugin witch such a field? I'm not sure of which field is
suitable for representing any response headers.
--
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]