liuxiran commented on issue #516:
URL: 
https://github.com/apache/apisix-dashboard/issues/516#issuecomment-707228768


   the correct schema:
   ```json
   {
     "type": "object",
     "oneOf": [
       {
         "title": "blacklist",
         "properties": {
           "blacklist": {
             "items": {
               "type": "string"
             },
             "minItems": 1,
             "type": "array"
           }
         },
         "required": [
           "blacklist"
         ]
       },
       {
         "title": "whitelist",
         "properties": {
           "whitelist": {
             "items": {
               "type": "string"
             },
             "minItems": 1,
             "type": "array"
           }
         },
         "required": [
           "whitelist"
         ]
       }
     ]
   }
   ```
   
   
![image](https://user-images.githubusercontent.com/2561857/95771016-eba1d980-0cec-11eb-9b20-0317e186b6bc.png)
   


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


Reply via email to