{"action":"created","issue":{"url":"https://api.github.com/repos/springfox/springfox/issues/1036","labels_url":"https://api.github.com/repos/springfox/springfox/issues/1036/labels{/name}","comments_url":"https://api.github.com/repos/springfox/springfox/issues/1036/comments","events_url":"https://api.github.com/repos/springfox/springfox/issues/1036/events","html_url":"https://github.com/springfox/springfox/issues/1036","id":115087410,"number":1036,"title":"Unexpected characters in generated spec file.","user":{"login":"smwurster","id":15654576,"avatar_url":"https://avatars.githubusercontent.com/u/15654576?v=3","gravatar_id":"","url":"https://api.github.com/users/smwurster","html_url":"https://github.com/smwurster","followers_url":"https://api.github.com/users/smwurster/followers","following_url":"https://api.github.com/users/smwurster/following{/other_user}","gists_url":"https://api.github.com/users/smwurster/gists{/gist_id}","starred_url":"https://api.github.com/users/smwurster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smwurster/subscriptions","organizations_url":"https://api.github.com/users/smwurster/orgs","repos_url":"https://api.github.com/users/smwurster/repos","events_url":"https://api.github.com/users/smwurster/events{/privacy}","received_events_url":"https://api.github.com/users/smwurster/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/springfox/springfox/labels/question","name":"question","color":"006b75"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/springfox/springfox/milestones/34","html_url":"https://github.com/springfox/springfox/milestones/2.3.0","labels_url":"https://api.github.com/repos/springfox/springfox/milestones/34/labels","id":1249355,"number":34,"title":"2.3.0","description":"","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":23,"closed_issues":74,"state":"open","created_at":"2015-08-11T03:11:58Z","updated_at":"2015-11-05T04:30:20Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2015-11-04T16:07:13Z","updated_at":"2015-11-05T04:30:20Z","closed_at":"2015-11-05T04:30:20Z","body":"When using springfox-swagger2, version 2.2.2, the generated spec file is showing guillemets (i.e. french quotes: «, ») in the spec file for certain generic-based request and response types.  This ends up completely breaking code generation because those characters are obviously invalid.\r\n\r\nAn example that shows this behavior is a response class that contains the following definition: `List<Status<?>> itemStatuses`.  The JSON spec file will show that inner type as `Status«object»`.  Those are single-glyph guillemets instead of single `<` and `>` characters.\r\n\r\nAnother issue occurs where the response is a `List<Map<String, Object>>`.  This gets generated in the JSON spec file as `Map«string,object»`.\r\n\r\nBoth of these break code generation (w/ swagger-codegen) and also just seem to be invalid anyway.  Any idea what is causing this and if there is anything I can do to work around it?\r\n\r\nThanks."},"comment":{"url":"https://api.github.com/repos/springfox/springfox/issues/comments/153953739","html_url":"https://github.com/springfox/springfox/issues/1036#issuecomment-153953739","issue_url":"https://api.github.com/repos/springfox/springfox/issues/1036","id":153953739,"user":{"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},"created_at":"2015-11-05T04:30:20Z","updated_at":"2015-11-05T04:30:20Z","body":":+1: "}}