{"action":"closed","issue":{"url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/4151","repository_url":"https://api.github.com/repos/swagger-api/swagger-codegen","labels_url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/4151/labels{/name}","comments_url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/4151/comments","events_url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/4151/events","html_url":"https://github.com/swagger-api/swagger-codegen/issues/4151","id":187794616,"number":4151,"title":"produces \"*/*\" is converted into Accept: *_/_*","user":{"login":"umbreak","id":1430863,"avatar_url":"https://avatars.githubusercontent.com/u/1430863?v=3","gravatar_id":"","url":"https://api.github.com/users/umbreak","html_url":"https://github.com/umbreak","followers_url":"https://api.github.com/users/umbreak/followers","following_url":"https://api.github.com/users/umbreak/following{/other_user}","gists_url":"https://api.github.com/users/umbreak/gists{/gist_id}","starred_url":"https://api.github.com/users/umbreak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/umbreak/subscriptions","organizations_url":"https://api.github.com/users/umbreak/orgs","repos_url":"https://api.github.com/users/umbreak/repos","events_url":"https://api.github.com/users/umbreak/events{/privacy}","received_events_url":"https://api.github.com/users/umbreak/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-07T18:46:42Z","updated_at":"2016-11-08T08:43:20Z","closed_at":"2016-11-08T08:43:20Z","body":"##### Swagger-codegen version: 2.2.1 (swagger-codegen-maven-plugin)\r\n\r\nMy yml file contains something like:\r\n\r\n````\r\n      consumes:\r\n        - application/json\r\n      produces:\r\n        - '*/*'\r\n````\r\n\r\nGenerating the client code from it works. However, I noticed that the server was crashing when returning the response to the client. After digging for quite some time I realized (with wireshark) that the client was sending the following **HTTP Header: \"Accept: *_/_*\"**\r\n\r\nWhat is that?\r\n\r\nAs a workaround I did as follows:\r\n\r\n````java\r\nApiClient apiClient = new ApiClient();\r\napiClient.addDefaultHeader(\"Accept\", \"*\");\r\n````"}}
{"actor":{"display_login":"wing328"}}