{"action":"created","issue":{"url":"https://api.github.com/repos/swagger-api/swagger-ui/issues/1351","labels_url":"https://api.github.com/repos/swagger-api/swagger-ui/issues/1351/labels{/name}","comments_url":"https://api.github.com/repos/swagger-api/swagger-ui/issues/1351/comments","events_url":"https://api.github.com/repos/swagger-api/swagger-ui/issues/1351/events","html_url":"https://github.com/swagger-api/swagger-ui/issues/1351","id":86286906,"number":1351,"title":"Unable to enable XML Response in Swagger UI","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":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-06-08T18:41:29Z","updated_at":"2015-06-09T18:54:50Z","closed_at":null,"body":"Hi,\r\n\r\nI am new to Swagger and i have integrated in my Spring boot application to generate the api documentation. Its working fine with two known issue like:\r\n\r\n1) when i am trying to test any API from Swagger UI, i dont have a option to select whether i wanted XML/JSON response option. It always gives me the JSON response only .\r\n\r\nAlso in case of PUT/POST apis i wanted the request payload to send based upon the users choice like JSON/XML, but i can see only JSON is coming up in the drop down.\r\n\r\nI read lots of blog and discussion w.r.t Swagger UI and every where i see its been asked to use consume/produces in the @Apiresponse . I have used them as well but it has no impact at all.\r\n\r\n2) Also i have another issue like, i wanted to display some more static html information in the Swagger UI w.r.t my application other than the auto generated API documentation which Swagger is populating after integrating with my application. I tried but un-success to add any static content in the index.html.\r\n\r\ncan someone help me getting this issue resolved ?\r\n\r\n3) Also i have enabled to see the request headers but i  dont see them at all.\r\n\r\nThanks,\r\nDeba"},"comment":{"url":"https://api.github.com/repos/swagger-api/swagger-ui/issues/comments/110463813","html_url":"https://github.com/swagger-api/swagger-ui/issues/1351#issuecomment-110463813","issue_url":"https://api.github.com/repos/swagger-api/swagger-ui/issues/1351","id":110463813,"user":{"login":"webron","id":241629,"avatar_url":"https://avatars.githubusercontent.com/u/241629?v=3","gravatar_id":"","url":"https://api.github.com/users/webron","html_url":"https://github.com/webron","followers_url":"https://api.github.com/users/webron/followers","following_url":"https://api.github.com/users/webron/following{/other_user}","gists_url":"https://api.github.com/users/webron/gists{/gist_id}","starred_url":"https://api.github.com/users/webron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/webron/subscriptions","organizations_url":"https://api.github.com/users/webron/orgs","repos_url":"https://api.github.com/users/webron/repos","events_url":"https://api.github.com/users/webron/events{/privacy}","received_events_url":"https://api.github.com/users/webron/received_events","type":"User","site_admin":false},"created_at":"2015-06-09T18:54:50Z","updated_at":"2015-06-09T18:54:50Z","body":"I really can't help you with anything related to springfox. It's a project on its own. You'd have to ask there."}}