{"action":"created","issue":{"url":"https://api.github.com/repos/swagger-api/swagger-core/issues/960","labels_url":"https://api.github.com/repos/swagger-api/swagger-core/issues/960/labels{/name}","comments_url":"https://api.github.com/repos/swagger-api/swagger-core/issues/960/comments","events_url":"https://api.github.com/repos/swagger-api/swagger-core/issues/960/events","html_url":"https://github.com/swagger-api/swagger-core/issues/960","id":65997939,"number":960,"title":"JAXB Annotations Ignored (Default ObjectMapper behavior) for Definitions","user":{"login":"TomDataworks","id":1126377,"avatar_url":"https://avatars.githubusercontent.com/u/1126377?v=3","gravatar_id":"","url":"https://api.github.com/users/TomDataworks","html_url":"https://github.com/TomDataworks","followers_url":"https://api.github.com/users/TomDataworks/followers","following_url":"https://api.github.com/users/TomDataworks/following{/other_user}","gists_url":"https://api.github.com/users/TomDataworks/gists{/gist_id}","starred_url":"https://api.github.com/users/TomDataworks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TomDataworks/subscriptions","organizations_url":"https://api.github.com/users/TomDataworks/orgs","repos_url":"https://api.github.com/users/TomDataworks/repos","events_url":"https://api.github.com/users/TomDataworks/events{/privacy}","received_events_url":"https://api.github.com/users/TomDataworks/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/swagger-api/swagger-core/labels/Bug","name":"Bug","color":"e11d21"},{"url":"https://api.github.com/repos/swagger-api/swagger-core/labels/P2","name":"P2","color":"0052cc"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/swagger-api/swagger-core/milestones/9","html_url":"https://github.com/swagger-api/swagger-core/milestones/v1.5","labels_url":"https://api.github.com/repos/swagger-api/swagger-core/milestones/9/labels","id":795349,"number":9,"title":"v1.5","description":"Support for the 2.0 swagger-spec","creator":{"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},"open_issues":30,"closed_issues":46,"state":"open","created_at":"2014-09-19T06:14:30Z","updated_at":"2015-05-20T04:44:23Z","due_on":"2015-04-19T07:00:00Z","closed_at":null},"comments":11,"created_at":"2015-04-02T19:45:54Z","updated_at":"2015-05-20T05:18:13Z","closed_at":null,"body":"To replicate this issue, use a data model similar to this one:\r\n\r\nhttps://gist.github.com/TomDataworks/56e2b6e259fd1b971aa8\r\n\r\nThe XmlAccessType.NONE configuration requires explicit declaration of all JAXB Elements, and behaves as expected when using a JacksonJaxbJsonProvider in Apache CXF. However, when exposing the API listing via Swagger, the definitions match exactly what the JacksonJsonProvider or a standard ObjectMapper would produce.\r\n\r\nThe element marked @XmlElement(name=\"body\") does not appear in the definition of Message. While @XmlAccessorType(XmlAccessType.NONE) is specified, any elements that are explicitly defined should appear.\r\n\r\nThere are a number of ObjectMappers in the Swagger codebase, and I am trying to track down which one is responsible for this particular task (generating the definitions)."},"comment":{"url":"https://api.github.com/repos/swagger-api/swagger-core/issues/comments/103763194","html_url":"https://github.com/swagger-api/swagger-core/issues/960#issuecomment-103763194","issue_url":"https://api.github.com/repos/swagger-api/swagger-core/issues/960","id":103763194,"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-05-20T05:18:13Z","updated_at":"2015-05-20T05:18:13Z","body":"@webron @Poohie can we close this?"}}