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/09/14 06:40:41 UTC

[GitHub] [apisix] membphis opened a new issue #2223: chore: the title of the `basic-auth` JSONSchema is wrong.

membphis opened a new issue #2223:
URL: https://github.com/apache/apisix/issues/2223


   That is the correct one:
   
   ```lua
   local schema = {
       type = "object",
       oneOf = {
           {
               title = "work with consumer object",
               properties = {
                   username = { type = "string" },
                   password = { type = "string" },
               },
               required = {"username", "password"},
               additionalProperties = false,
           },
           {
               title = "work with route or service object",
               properties = {},
               additionalProperties = false,
           }
       }
   }
   ```


----------------------------------------------------------------
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] moonming commented on issue #2223: chore: the title of the `basic-auth` JSONSchema is wrong.

Posted by GitBox <gi...@apache.org>.
moonming commented on issue #2223:
URL: https://github.com/apache/apisix/issues/2223#issuecomment-691849755


   here is the link: https://github.com/apache/apisix/blob/master/apisix/plugins/basic-auth.lua#L31


----------------------------------------------------------------
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] spacewander commented on issue #2223: chore: the title of the `basic-auth` JSONSchema is wrong.

Posted by GitBox <gi...@apache.org>.
spacewander commented on issue #2223:
URL: https://github.com/apache/apisix/issues/2223#issuecomment-706567329


   Solved.


----------------------------------------------------------------
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] spacewander closed issue #2223: chore: the title of the `basic-auth` JSONSchema is wrong.

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


   


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