{"comment":{"url":"https://api.github.com/repos/ndebeiss/swagger-core/comments/15949051","html_url":"https://github.com/ndebeiss/swagger-core/commit/e8f7bb5fc6a2e9d7d48536c190d340dff511b8b1#commitcomment-15949051","id":15949051,"user":{"login":"frantuma","id":15786658,"avatar_url":"https://avatars.githubusercontent.com/u/15786658?v=3","gravatar_id":"","url":"https://api.github.com/users/frantuma","html_url":"https://github.com/frantuma","followers_url":"https://api.github.com/users/frantuma/followers","following_url":"https://api.github.com/users/frantuma/following{/other_user}","gists_url":"https://api.github.com/users/frantuma/gists{/gist_id}","starred_url":"https://api.github.com/users/frantuma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frantuma/subscriptions","organizations_url":"https://api.github.com/users/frantuma/orgs","repos_url":"https://api.github.com/users/frantuma/repos","events_url":"https://api.github.com/users/frantuma/events{/privacy}","received_events_url":"https://api.github.com/users/frantuma/received_events","type":"User","site_admin":false},"position":null,"line":null,"path":"","commit_id":"e8f7bb5fc6a2e9d7d48536c190d340dff511b8b1","created_at":"2016-02-08T12:15:34Z","updated_at":"2016-02-08T12:15:34Z","body":"works ok for method annotations, the same bug also exists for class level, would need to implement similar change, lines 220-229 like\r\n\r\n```\r\n            if (!api.produces().isEmpty()) {\r\n                produces = new String[]{api.produces()};\r\n            }\r\n            if (!api.consumes().isEmpty()) {\r\n                consumes = new String[]{api.consumes()};\r\n            }\r\n```\r\n\r\nand move jax-rs annotation processing below at line 319\r\n\r\n```\r\n                    if (consumes.length == 0 && cls.getAnnotation(Consumes.class) != null) {\r\n                        consumes = ReaderUtils.splitContentValues(cls.getAnnotation(Consumes.class).value());\r\n                    }\r\n```\r\n\r\nand line 329\r\n\r\n```\r\n                    if (produces.length == 0 && cls.getAnnotation(Consumes.class) != null) {\r\n                        consumes = ReaderUtils.splitContentValues(cls.getAnnotation(Consumes.class).value());\r\n                    }\r\n```"}}