{"action":"created","issue":{"url":"https://api.github.com/repos/swagger-api/swagger-ui/issues/4354","repository_url":"https://api.github.com/repos/swagger-api/swagger-ui","labels_url":"https://api.github.com/repos/swagger-api/swagger-ui/issues/4354/labels{/name}","comments_url":"https://api.github.com/repos/swagger-api/swagger-ui/issues/4354/comments","events_url":"https://api.github.com/repos/swagger-api/swagger-ui/issues/4354/events","html_url":"https://github.com/swagger-api/swagger-ui/issues/4354","id":307242913,"number":4354,"title":"Problem with authorizations: empty popup","user":{"login":"nbourdeau","id":6557616,"avatar_url":"https://avatars1.githubusercontent.com/u/6557616?v=4","gravatar_id":"","url":"https://api.github.com/users/nbourdeau","html_url":"https://github.com/nbourdeau","followers_url":"https://api.github.com/users/nbourdeau/followers","following_url":"https://api.github.com/users/nbourdeau/following{/other_user}","gists_url":"https://api.github.com/users/nbourdeau/gists{/gist_id}","starred_url":"https://api.github.com/users/nbourdeau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nbourdeau/subscriptions","organizations_url":"https://api.github.com/users/nbourdeau/orgs","repos_url":"https://api.github.com/users/nbourdeau/repos","events_url":"https://api.github.com/users/nbourdeau/events{/privacy}","received_events_url":"https://api.github.com/users/nbourdeau/received_events","type":"User","site_admin":false},"labels":[{"id":185046751,"url":"https://api.github.com/repos/swagger-api/swagger-ui/labels/type:%20support","name":"type: support","color":"bfdadc","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-03-21T13:25:03Z","updated_at":"2018-03-22T13:51:57Z","closed_at":null,"author_association":"NONE","body":"Using version 3.13.0 with OpenApi spec 3.0\r\n\r\n\r\n| Q                               | A\r\n| ------------------------------- | -------\r\n| Bug or feature request?         |  Bug\r\n| Which Swagger/OpenAPI version?  | 3.0\r\n| Which Swagger-UI version?       | 3.13.0\r\n| How did you install Swagger-UI? | Downloaded from github\r\n| Which browser & version?        | Firefox 59.0\r\n| Which operating system?         | Linux\r\n\r\n\r\n### Demonstration API definition\r\nHere is the snippets from our API definition file relevant to authentication:\r\n...\r\n\"security\": [\r\n    {\r\n      \"bearer\": []\r\n    }\r\n  ],\r\n...\r\n\"components\": {\r\n\"securitySchemes\": {\r\n      \"bearer\": {\r\n        \"type\": \"HTTP\",\r\n        \"in\": \"HEADER\",\r\n        \"scheme\": \"Bearer\"\r\n      }\r\n    }\r\n...\r\n\r\n### Configuration (browser query string, constructor, config.yaml)\r\n\r\nwindow.onload = function() {\r\n  \r\n  // Build a system\r\n  const ui = SwaggerUIBundle({\r\n    url: \"/spec.json\",\r\n    dom_id: '#swagger-ui',\r\n    deepLinking: true,\r\n    presets: [\r\n      SwaggerUIBundle.presets.apis\r\n    ],\r\n    plugins: [\r\n      SwaggerUIBundle.plugins.DownloadUrl\r\n    ]\r\n  });\r\n\r\n  window.ui = ui\r\n}\r\n\r\n### Expected Behavior\r\nWhen clicking on the authorize button to authorize requests, exepecting the UI to present me with a field to put Bearer header to authorize requests.\r\n\r\n### Current Behavior\r\nPopup is empty\r\n\r\n### Possible Solution\r\nDon't know what is wrong !\r\n\r\n### Context\r\nTried with different versions and always the same error.\r\n![screenshot at 2018-03-21 09-24-45](https://user-images.githubusercontent.com/6557616/37712267-b8ecf078-2ce9-11e8-9680-35d5838d66e2.png)\r\n"},"comment":{"url":"https://api.github.com/repos/swagger-api/swagger-ui/issues/comments/375313194","html_url":"https://github.com/swagger-api/swagger-ui/issues/4354#issuecomment-375313194","issue_url":"https://api.github.com/repos/swagger-api/swagger-ui/issues/4354","id":375313194,"user":{"login":"nbourdeau","id":6557616,"avatar_url":"https://avatars1.githubusercontent.com/u/6557616?v=4","gravatar_id":"","url":"https://api.github.com/users/nbourdeau","html_url":"https://github.com/nbourdeau","followers_url":"https://api.github.com/users/nbourdeau/followers","following_url":"https://api.github.com/users/nbourdeau/following{/other_user}","gists_url":"https://api.github.com/users/nbourdeau/gists{/gist_id}","starred_url":"https://api.github.com/users/nbourdeau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nbourdeau/subscriptions","organizations_url":"https://api.github.com/users/nbourdeau/orgs","repos_url":"https://api.github.com/users/nbourdeau/repos","events_url":"https://api.github.com/users/nbourdeau/events{/privacy}","received_events_url":"https://api.github.com/users/nbourdeau/received_events","type":"User","site_admin":false},"created_at":"2018-03-22T13:51:57Z","updated_at":"2018-03-22T13:51:57Z","author_association":"NONE","body":"Thanks for your help. I see what the problem is. These values are case sensitive it seems. Then I build my JSON spec using the OpenApi java model provided by swagger and serializing it using Jackson and the enum are not serializing as expected by the spec ... I will find a workaround ...\r\nIt may be out of scope here but adding @JsonValue annotation to these enums would be great !\r\n"}}
{"actor":{"display_login":"nbourdeau"}}