{"action":"created","issue":{"url":"https://api.github.com/repos/springfox/springfox/issues/835","labels_url":"https://api.github.com/repos/springfox/springfox/issues/835/labels{/name}","comments_url":"https://api.github.com/repos/springfox/springfox/issues/835/comments","events_url":"https://api.github.com/repos/springfox/springfox/issues/835/events","html_url":"https://github.com/springfox/springfox/issues/835","id":93371913,"number":835,"title":"@ApiResponses is suppressing \"Response Content Type\" drop down","user":{"login":"dpatra1","id":12764176,"avatar_url":"https://avatars.githubusercontent.com/u/12764176?v=3","gravatar_id":"","url":"https://api.github.com/users/dpatra1","html_url":"https://github.com/dpatra1","followers_url":"https://api.github.com/users/dpatra1/followers","following_url":"https://api.github.com/users/dpatra1/following{/other_user}","gists_url":"https://api.github.com/users/dpatra1/gists{/gist_id}","starred_url":"https://api.github.com/users/dpatra1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dpatra1/subscriptions","organizations_url":"https://api.github.com/users/dpatra1/orgs","repos_url":"https://api.github.com/users/dpatra1/repos","events_url":"https://api.github.com/users/dpatra1/events{/privacy}","received_events_url":"https://api.github.com/users/dpatra1/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/springfox/springfox/labels/investigating","name":"investigating","color":"fad8c7"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/springfox/springfox/milestones/31","html_url":"https://github.com/springfox/springfox/milestones/2.0.4","labels_url":"https://api.github.com/repos/springfox/springfox/milestones/31/labels","id":1178610,"number":31,"title":"2.0.4","description":"More performance improvements","creator":{"login":"dilipkrish","id":73257,"avatar_url":"https://avatars.githubusercontent.com/u/73257?v=3","gravatar_id":"","url":"https://api.github.com/users/dilipkrish","html_url":"https://github.com/dilipkrish","followers_url":"https://api.github.com/users/dilipkrish/followers","following_url":"https://api.github.com/users/dilipkrish/following{/other_user}","gists_url":"https://api.github.com/users/dilipkrish/gists{/gist_id}","starred_url":"https://api.github.com/users/dilipkrish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dilipkrish/subscriptions","organizations_url":"https://api.github.com/users/dilipkrish/orgs","repos_url":"https://api.github.com/users/dilipkrish/repos","events_url":"https://api.github.com/users/dilipkrish/events{/privacy}","received_events_url":"https://api.github.com/users/dilipkrish/received_events","type":"User","site_admin":false},"open_issues":14,"closed_issues":2,"state":"open","created_at":"2015-06-24T04:03:11Z","updated_at":"2015-07-07T04:02:15Z","due_on":null,"closed_at":null},"comments":5,"created_at":"2015-07-06T20:36:27Z","updated_at":"2015-07-07T14:08:34Z","closed_at":null,"body":"Hi,\r\nI am using springfox(Sagger2) for my microservice API documentation and i am having issue enabling \"Response Content Type\" drop down in all my APIs in Swagger-UI page.\r\n\r\nWhen i am adding @ApiResponses in any method, i am not able to see the \"Response Content Type\" dropdown for that API in Swagger-ui.html page.\r\n\r\n**Sample Method**\r\n@ApiOperation(value = \"createLocation\", notes = \"Create a business banking {@link Location}.\")\r\n@ApiResponses(value = {@ApiResponse(code = 201, message = \"Successfully created a Location\"),\r\n    \t\t\t\t\t   @ApiResponse(code = 409, message = \"Unable to create a Location due to some error\"),\r\n    \t\t\t\t\t   @ApiResponse(code = 500, message = \"Internal server error\")})\r\n@SuppressWarnings(\"rawtypes\")\r\n@RequestMapping (method = RequestMethod.GET, value = \"/fis/{fiId}/companies/{companyId}/locations\")\r\n    public ResponseEntity getLocation(@ApiParam(name = \"fiId\", value = \"ID of the FinancialInstitution associated with the Location/Company\", required = true)\r\n    \t\t\t\t\t\t\t\t\t @PathVariable(\"fiId\") String fiId, \r\n    \t\t\t\t\t\t\t\t\t @ApiParam(name = \"companyId\", value = \"ID of the company to create a Location\", required = true)\r\n\t\t\t\t\t\t\t    \t\t @PathVariable(\"companyId\") String companyId, \r\n\t\t\t\t\t\t\t    \t\t HttpServletRequest request, HttpServletResponse response) {\r\n.....\r\n\r\n\r\nOn my controller class level i have declared : \r\n@RequestMapping (value = \"/v1\", consumes={MediaType.APPLICATION_XML_VALUE, MediaType.APPLICATION_JSON_VALUE},\r\n\t\t\t\t\t\t\t\tproduces={MediaType.APPLICATION_XML_VALUE, MediaType.APPLICATION_JSON_VALUE})\r\n\r\n\r\nCan someone please help me understanding whats going wrong here ? \r\n\r\nThanks,\r\n...."},"comment":{"url":"https://api.github.com/repos/springfox/springfox/issues/comments/119214258","html_url":"https://github.com/springfox/springfox/issues/835#issuecomment-119214258","issue_url":"https://api.github.com/repos/springfox/springfox/issues/835","id":119214258,"user":{"login":"dpatra1","id":12764176,"avatar_url":"https://avatars.githubusercontent.com/u/12764176?v=3","gravatar_id":"","url":"https://api.github.com/users/dpatra1","html_url":"https://github.com/dpatra1","followers_url":"https://api.github.com/users/dpatra1/followers","following_url":"https://api.github.com/users/dpatra1/following{/other_user}","gists_url":"https://api.github.com/users/dpatra1/gists{/gist_id}","starred_url":"https://api.github.com/users/dpatra1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dpatra1/subscriptions","organizations_url":"https://api.github.com/users/dpatra1/orgs","repos_url":"https://api.github.com/users/dpatra1/repos","events_url":"https://api.github.com/users/dpatra1/events{/privacy}","received_events_url":"https://api.github.com/users/dpatra1/received_events","type":"User","site_admin":false},"created_at":"2015-07-07T14:08:34Z","updated_at":"2015-07-07T14:08:34Z","body":"One more point forgot to mention, in the curl command which shows in Swagger-UI, i can see always application/json no matter what i select from the \"Response Content Type\" dropdown"}}