{"action":"created","issue":{"url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/1505","labels_url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/1505/labels{/name}","comments_url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/1505/comments","events_url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/1505/events","html_url":"https://github.com/swagger-api/swagger-codegen/issues/1505","id":115051236,"number":1505,"title":"Spring MVC Generated, no Content-Type in Request Header on GETs","user":{"login":"mherb63","id":1205814,"avatar_url":"https://avatars.githubusercontent.com/u/1205814?v=3","gravatar_id":"","url":"https://api.github.com/users/mherb63","html_url":"https://github.com/mherb63","followers_url":"https://api.github.com/users/mherb63/followers","following_url":"https://api.github.com/users/mherb63/following{/other_user}","gists_url":"https://api.github.com/users/mherb63/gists{/gist_id}","starred_url":"https://api.github.com/users/mherb63/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mherb63/subscriptions","organizations_url":"https://api.github.com/users/mherb63/orgs","repos_url":"https://api.github.com/users/mherb63/repos","events_url":"https://api.github.com/users/mherb63/events{/privacy}","received_events_url":"https://api.github.com/users/mherb63/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-11-04T13:25:52Z","updated_at":"2015-11-05T11:58:32Z","closed_at":null,"body":"Downloaded Swagger Pet Store (Simple) from swagger.io editor and did a mvn jetty:run\r\n\r\nWhen opening up DevTools on Chrome, I don't see the header Content-Type field being set.\r\n\r\nThis is on the GET /pets{id}\r\n\r\n![image](https://cloud.githubusercontent.com/assets/1205814/10939155/7b2b8dbc-82cd-11e5-94fd-be6728bdb615.png)\r\n\r\n\r\nadding --header \"Content-Type: application/json\" to the curl command returns no errors"},"comment":{"url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/comments/154040649","html_url":"https://github.com/swagger-api/swagger-codegen/issues/1505#issuecomment-154040649","issue_url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/1505","id":154040649,"user":{"login":"mherb63","id":1205814,"avatar_url":"https://avatars.githubusercontent.com/u/1205814?v=3","gravatar_id":"","url":"https://api.github.com/users/mherb63","html_url":"https://github.com/mherb63","followers_url":"https://api.github.com/users/mherb63/followers","following_url":"https://api.github.com/users/mherb63/following{/other_user}","gists_url":"https://api.github.com/users/mherb63/gists{/gist_id}","starred_url":"https://api.github.com/users/mherb63/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mherb63/subscriptions","organizations_url":"https://api.github.com/users/mherb63/orgs","repos_url":"https://api.github.com/users/mherb63/repos","events_url":"https://api.github.com/users/mherb63/events{/privacy}","received_events_url":"https://api.github.com/users/mherb63/received_events","type":"User","site_admin":false},"created_at":"2015-11-05T11:58:32Z","updated_at":"2015-11-05T11:58:32Z","body":"Why do you say the URL should start with /v2?  This is generated code from the swagger.io editor page.  Your test doesn't prove anything."}}