You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by "jiangfucheng (via GitHub)" <gi...@apache.org> on 2023/03/11 02:51:54 UTC

[GitHub] [apisix] jiangfucheng commented on a diff in pull request #9039: feat: suppot header injection for fault-injection plugin

jiangfucheng commented on code in PR #9039:
URL: https://github.com/apache/apisix/pull/9039#discussion_r1133015893


##########
apisix/plugins/fault-injection.lua:
##########
@@ -32,6 +35,10 @@ local schema = {
             properties = {
                 http_status = {type = "integer", minimum = 200},
                 body = {type = "string", minLength = 0},
+                headers = {
+                    type = "object",
+                    minProperties = 1

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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org