membphis commented on a change in pull request #2943:
URL: https://github.com/apache/apisix/pull/2943#discussion_r536496556
##########
File path: apisix/schema_def.lua
##########
@@ -496,6 +496,13 @@ _M.route = {
},
id = id_schema,
+
+ status = {
+ description = "route status, 1 to enable, 0 to disable",
+ type = "integer",
+ enum = {1, 0},
Review comment:
add new test case: specify an invalid status value, eg: `100`
----------------------------------------------------------------
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:
[email protected]