{"action":"opened","issue":{"url":"https://api.github.com/repos/joelittlejohn/jsonschema2pojo/issues/460","labels_url":"https://api.github.com/repos/joelittlejohn/jsonschema2pojo/issues/460/labels{/name}","comments_url":"https://api.github.com/repos/joelittlejohn/jsonschema2pojo/issues/460/comments","events_url":"https://api.github.com/repos/joelittlejohn/jsonschema2pojo/issues/460/events","html_url":"https://github.com/joelittlejohn/jsonschema2pojo/issues/460","id":121115702,"number":460,"title":"Description conflicts do not resolve correctly.","user":{"login":"steowens","id":978310,"avatar_url":"https://avatars.githubusercontent.com/u/978310?v=3","gravatar_id":"","url":"https://api.github.com/users/steowens","html_url":"https://github.com/steowens","followers_url":"https://api.github.com/users/steowens/followers","following_url":"https://api.github.com/users/steowens/following{/other_user}","gists_url":"https://api.github.com/users/steowens/gists{/gist_id}","starred_url":"https://api.github.com/users/steowens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/steowens/subscriptions","organizations_url":"https://api.github.com/users/steowens/orgs","repos_url":"https://api.github.com/users/steowens/repos","events_url":"https://api.github.com/users/steowens/events{/privacy}","received_events_url":"https://api.github.com/users/steowens/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-08T22:35:03Z","updated_at":"2015-12-08T22:35:03Z","closed_at":null,"body":"In the current implementation if you have a construct such as:\r\nBar.json\r\n``` \r\n{\r\n   \"type\":\"object\",\r\n   \"properties\":{\r\n        \"barProperty\": {\r\n              \"$ref\":\"Foo.json\",\r\n              \"description\":\"The bar property description.\"\r\n        } \r\n    }\r\n }\r\n```\r\nFoo.json\r\n```\r\n{\r\n    \"type\":\"object\",\r\n    \"description\":\"A general description of foo.\"\r\n   \"properties\":{\r\n   }\r\n}\r\n\r\n\r\nWhen Bar.java is generated the barProperty will receive the description \"A general description of foo.\" rather than the description \"The bar property description.\"  This is in spite of the fact that the Foo description does not account for context but the bar property description does."}}