juzhiyuan opened a new issue #2086: URL: https://github.com/apache/apisix/issues/2086
refer to https://github.com/apache/apisix/issues/2082#issue-681772868 ## Currently ```json { "additionalProperties":false, "id":"root:/", "properties":{ "count":{ "minimum":0, "type":"integer" }, "key":{ "enum":[ "remote_addr", "server_addr", "http_x_real_ip", "http_x_forwarded_for" ], "type":"string" }, "policy":{ "enum":[ "local", "redis" ], "type":"string" }, "redis_host":{ "minLength":2, "type":"string" }, "redis_password":{ "minLength":0, "type":"string" }, "redis_port":{ "minimum":1, "type":"integer" }, "redis_timeout":{ "minimum":1, "type":"integer" }, "rejected_code":{ "default":503, "maximum":600, "minimum":200, "type":"integer" }, "time_window":{ "minimum":0, "type":"integer" } }, "required":[ "count", "time_window", "key" ], "type":"object" } ``` ## Expected No expected schema currently, please refer to `dependencies` in JSONSchema, this can help us to build dynamically schema. e.g https://react-jsonschema-form.readthedocs.io/en/latest/usage/dependencies/#unidirectional ---------------------------------------------------------------- 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]
