{"action":"created","issue":{"url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/1959","repository_url":"https://api.github.com/repos/swagger-api/swagger-codegen","labels_url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/1959/labels{/name}","comments_url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/1959/comments","events_url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/1959/events","html_url":"https://github.com/swagger-api/swagger-codegen/issues/1959","id":128252309,"number":1959,"title":"Java codegen doesn't support multiple security schemes","user":{"login":"jasonmartens","id":1844931,"avatar_url":"https://avatars.githubusercontent.com/u/1844931?v=3","gravatar_id":"","url":"https://api.github.com/users/jasonmartens","html_url":"https://github.com/jasonmartens","followers_url":"https://api.github.com/users/jasonmartens/followers","following_url":"https://api.github.com/users/jasonmartens/following{/other_user}","gists_url":"https://api.github.com/users/jasonmartens/gists{/gist_id}","starred_url":"https://api.github.com/users/jasonmartens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jasonmartens/subscriptions","organizations_url":"https://api.github.com/users/jasonmartens/orgs","repos_url":"https://api.github.com/users/jasonmartens/repos","events_url":"https://api.github.com/users/jasonmartens/events{/privacy}","received_events_url":"https://api.github.com/users/jasonmartens/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/swagger-api/swagger-codegen/labels/Client:%20Java","name":"Client: Java","color":"fad8c7"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/swagger-api/swagger-codegen/milestones/10","html_url":"https://github.com/swagger-api/swagger-codegen/milestones/v2.1.6","labels_url":"https://api.github.com/repos/swagger-api/swagger-codegen/milestones/10/labels","id":1488305,"number":10,"title":"v2.1.6","description":"","creator":{"login":"fehguy","id":249413,"avatar_url":"https://avatars.githubusercontent.com/u/249413?v=3","gravatar_id":"","url":"https://api.github.com/users/fehguy","html_url":"https://github.com/fehguy","followers_url":"https://api.github.com/users/fehguy/followers","following_url":"https://api.github.com/users/fehguy/following{/other_user}","gists_url":"https://api.github.com/users/fehguy/gists{/gist_id}","starred_url":"https://api.github.com/users/fehguy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fehguy/subscriptions","organizations_url":"https://api.github.com/users/fehguy/orgs","repos_url":"https://api.github.com/users/fehguy/repos","events_url":"https://api.github.com/users/fehguy/events{/privacy}","received_events_url":"https://api.github.com/users/fehguy/received_events","type":"User","site_admin":false},"open_issues":73,"closed_issues":228,"state":"open","created_at":"2016-01-06T20:41:39Z","updated_at":"2016-02-19T02:14:35Z","due_on":null,"closed_at":null},"comments":9,"created_at":"2016-01-22T21:39:54Z","updated_at":"2016-02-19T02:17:45Z","closed_at":null,"body":"There is a comment in the DefaultGenerator.java:\r\n```\r\n// NOTE: Use only the first security requirement for now.\r\n// See the \"security\" field of \"Swagger Object\":\r\n//  https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#swagger-object\r\n//  \"there is a logical OR between the security requirements\"\r\nif (securities.size() > 1) {\r\n     LOGGER.warn(\"More than 1 security requirements are found, using only the first one\");\r\n}\r\n```\r\nWhich is incorrect as of the current version of the spec, which says there is a logical AND, not OR. "},"comment":{"url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/comments/186016381","html_url":"https://github.com/swagger-api/swagger-codegen/issues/1959#issuecomment-186016381","issue_url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/1959","id":186016381,"user":{"login":"wing328","id":934260,"avatar_url":"https://avatars.githubusercontent.com/u/934260?v=3","gravatar_id":"","url":"https://api.github.com/users/wing328","html_url":"https://github.com/wing328","followers_url":"https://api.github.com/users/wing328/followers","following_url":"https://api.github.com/users/wing328/following{/other_user}","gists_url":"https://api.github.com/users/wing328/gists{/gist_id}","starred_url":"https://api.github.com/users/wing328/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wing328/subscriptions","organizations_url":"https://api.github.com/users/wing328/orgs","repos_url":"https://api.github.com/users/wing328/repos","events_url":"https://api.github.com/users/wing328/events{/privacy}","received_events_url":"https://api.github.com/users/wing328/received_events","type":"User","site_admin":false},"created_at":"2016-02-19T02:17:45Z","updated_at":"2016-02-19T02:17:45Z","body":"Closing this as @jasonmartens has confirmed it's now working for him after pulling the latest master."}}