{"action":"closed","issue":{"url":"https://api.github.com/repos/swagger-api/swagger-ui/issues/4545","repository_url":"https://api.github.com/repos/swagger-api/swagger-ui","labels_url":"https://api.github.com/repos/swagger-api/swagger-ui/issues/4545/labels{/name}","comments_url":"https://api.github.com/repos/swagger-api/swagger-ui/issues/4545/comments","events_url":"https://api.github.com/repos/swagger-api/swagger-ui/issues/4545/events","html_url":"https://github.com/swagger-api/swagger-ui/issues/4545","id":322356099,"number":4545,"title":"Bad render \" Available authorizations\" modal in case use pair of API Keys","user":{"login":"DoroninVic","id":2978685,"avatar_url":"https://avatars3.githubusercontent.com/u/2978685?v=4","gravatar_id":"","url":"https://api.github.com/users/DoroninVic","html_url":"https://github.com/DoroninVic","followers_url":"https://api.github.com/users/DoroninVic/followers","following_url":"https://api.github.com/users/DoroninVic/following{/other_user}","gists_url":"https://api.github.com/users/DoroninVic/gists{/gist_id}","starred_url":"https://api.github.com/users/DoroninVic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DoroninVic/subscriptions","organizations_url":"https://api.github.com/users/DoroninVic/orgs","repos_url":"https://api.github.com/users/DoroninVic/repos","events_url":"https://api.github.com/users/DoroninVic/events{/privacy}","received_events_url":"https://api.github.com/users/DoroninVic/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-05-11T16:21:18Z","updated_at":"2018-05-11T23:11:09Z","closed_at":"2018-05-11T23:11:09Z","author_association":"NONE","body":"Hello.\r\nMy API use apiKey authorizations.\r\nFor use API methods client should send two headers:  X-APP-KEY and X-APP-ID\r\nSecurity section has been configured like it says in docs for use keys together:\r\n<pre>\r\nsecurity:\r\n  - apiKey: []\r\n    appId: []\r\n</pre>\r\nBut if open \"Available authorizations\" for needed API method, it contain list with two different types of authorization. I think if the keys are used together, then in the modal window they should be displayed as one authorization method.\r\n\r\n![image](https://user-images.githubusercontent.com/2978685/39934865-e4d969c6-554f-11e8-8da8-7e14b9ea2fa5.png)\r\n\r\nSwager UI: v3.14.1\r\n\r\nTest spec listing: \r\n<pre>\r\nswagger: '2.0'\r\ninfo:\r\n  version: 1.0.0\r\n  title: GATE API HTTP REST example\r\n  termsOfService: 'http://mydomain.test/terms/'\r\nhost: mydomain.test\r\nbasePath: /ge/\r\nschemes:\r\n  - https\r\ntags:\r\n  - name: test\r\n    description: For example\r\npaths:\r\n  /base/test:\r\n    get:\r\n      tags:\r\n        - test\r\n      summary: test method\r\n      operationId: testMethod\r\n      parameters:\r\n        - name: id\r\n          in: query\r\n          type: integer\r\n          required: true\r\n          minimum: 1\r\n          maximum: 9  \r\n      responses:\r\n        '200':\r\n          description: Success authorization\r\n      security:\r\n        - appKey: []\r\n          appId: []\r\nsecurityDefinitions:\r\n  appKey:\r\n    type: apiKey\r\n    in: header\r\n    name: X-APP-KEY\r\n  appId:\r\n    type: apiKey\r\n    in: header\r\n    name: X-APP-ID</pre>\r\n\r\n"}}
{"actor":{"display_login":"shockey"}}