{"action":"created","issue":{"url":"https://api.github.com/repos/swagger-api/swagger-core/issues/964","labels_url":"https://api.github.com/repos/swagger-api/swagger-core/issues/964/labels{/name}","comments_url":"https://api.github.com/repos/swagger-api/swagger-core/issues/964/comments","events_url":"https://api.github.com/repos/swagger-api/swagger-core/issues/964/events","html_url":"https://github.com/swagger-api/swagger-core/issues/964","id":66638855,"number":964,"title":"@ApiModel value ignored","user":{"login":"chasetec","id":691070,"avatar_url":"https://avatars.githubusercontent.com/u/691070?v=3","gravatar_id":"","url":"https://api.github.com/users/chasetec","html_url":"https://github.com/chasetec","followers_url":"https://api.github.com/users/chasetec/followers","following_url":"https://api.github.com/users/chasetec/following{/other_user}","gists_url":"https://api.github.com/users/chasetec/gists{/gist_id}","starred_url":"https://api.github.com/users/chasetec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chasetec/subscriptions","organizations_url":"https://api.github.com/users/chasetec/orgs","repos_url":"https://api.github.com/users/chasetec/repos","events_url":"https://api.github.com/users/chasetec/events{/privacy}","received_events_url":"https://api.github.com/users/chasetec/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-06T15:59:43Z","updated_at":"2015-04-14T16:56:11Z","closed_at":"2015-04-14T16:56:11Z","body":"I have a Jersey 1 application using swagger-jersey-jaxrs_2.11 version 1.3.12. With a simple Jackson POJO model class I am trying to change the model name/id in the generated Swagger 1.2 spec. My example is:\r\n\r\n    import com.wordnik.swagger.annotations.ApiModel;\r\n    import org.codehaus.jackson.map.annotate.JsonSerialize;\r\n    \r\n    @ApiModel(value=\"BOB\", description=\"A user in the application.\")\r\n    @JsonSerialize(include = JsonSerialize.Inclusion.NON_NULL)\r\n    public class User {\r\n        public String email;\r\n        public String firstName;\r\n        public String lastName;\r\n    }\r\n\r\nAccording to https://github.com/swagger-api/swagger-core/wiki/Annotations#apimodel I should see my custom value as the id of this model but I only see the description getting used.\r\n\r\n    \"User\":{\"id\":\"User\",\"description\":\"A user in the application.\",\"properties\":{\"email\":{\"type\":\"string\"},\"firstName\":{\"type\":\"string\"},\"lastName\":{\"type\":\"string\"}}}"},"comment":{"url":"https://api.github.com/repos/swagger-api/swagger-core/issues/comments/92978613","html_url":"https://github.com/swagger-api/swagger-core/issues/964#issuecomment-92978613","issue_url":"https://api.github.com/repos/swagger-api/swagger-core/issues/964","id":92978613,"user":{"login":"fehguy","id":249413,"avatar_url":"https://avatars.githubusercontent.com/u/249413?v=3","gravatar_id":"","url":"https://api.github.com/users/fehguy","html_url":"https://github.com/fehguy","followers_url":"https://api.github.com/users/fehguy/followers","following_url":"https://api.github.com/users/fehguy/following{/other_user}","gists_url":"https://api.github.com/users/fehguy/gists{/gist_id}","starred_url":"https://api.github.com/users/fehguy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fehguy/subscriptions","organizations_url":"https://api.github.com/users/fehguy/orgs","repos_url":"https://api.github.com/users/fehguy/repos","events_url":"https://api.github.com/users/fehguy/events{/privacy}","received_events_url":"https://api.github.com/users/fehguy/received_events","type":"User","site_admin":false},"created_at":"2015-04-14T16:56:11Z","updated_at":"2015-04-14T16:56:11Z","body":"Please upgrade to 1.5.1-M2, this should be supported now."}}