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/19 11:58:53 UTC

[GitHub] [apisix] juzhiyuan opened a new issue #2083: request help: Update plugin's schema basic-auth

juzhiyuan opened a new issue #2083:
URL: https://github.com/apache/apisix/issues/2083


   refer to https://github.com/apache/apisix/issues/2082#issue-681772868
   
   ## Currently
   ```json
   {
       "oneOf":[
           {
               "required":[
                   "username",
                   "password"
               ]
           },
           {
               "required":{
   
               }
           }
       ],
       "properties":{
           "password":{
               "type":"string"
           },
           "username":{
               "type":"string"
           }
       },
       "type":"object"
   }
   ```
   
   ## Expected
   ```json
   {
       "oneOf":[
           {
   	   "title": "Here is Title for current option1",
               "properties":{
                   "password":{
                       "type":"string"
                   },
                   "username":{
                       "type":"string"
                   }
               },
               "required":[
                   "username",
                   "password"
               ]
           },
           {
   	   "title": "Here is Title for current option2",
               "properties":{}
           }
       ],
       "type":"object"
   }
   ```


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



[GitHub] [apisix] membphis closed issue #2083: request help: Update plugin's schema basic-auth

Posted by GitBox <gi...@apache.org>.
membphis closed issue #2083:
URL: https://github.com/apache/apisix/issues/2083


   


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