You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2020/08/27 03:46:47 UTC

[GitHub] [apisix] membphis commented on a change in pull request #2105: plugin(fault-injection): use draft7 way to rewrite the JSON Schema.

membphis commented on a change in pull request #2105:
URL: https://github.com/apache/apisix/pull/2105#discussion_r478058278



##########
File path: apisix/plugins/fault-injection.lua
##########
@@ -28,26 +29,28 @@ local schema = {
                 http_status = {type = "integer", minimum = 200},
                 body = {type = "string", minLength = 0},

Review comment:
       we do not need default value. the default `http_status` is `200` for nginx.




----------------------------------------------------------------
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.

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