{"action":"created","issue":{"url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/1500","repository_url":"https://api.github.com/repos/swagger-api/swagger-codegen","labels_url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/1500/labels{/name}","comments_url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/1500/comments","events_url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/1500/events","html_url":"https://github.com/swagger-api/swagger-codegen/issues/1500","id":114813683,"number":1500,"title":"JAX-RS Extending an Exntended class with allof does not copy fields","user":{"login":"SalehAly","id":15343258,"avatar_url":"https://avatars.githubusercontent.com/u/15343258?v=3","gravatar_id":"","url":"https://api.github.com/users/SalehAly","html_url":"https://github.com/SalehAly","followers_url":"https://api.github.com/users/SalehAly/followers","following_url":"https://api.github.com/users/SalehAly/following{/other_user}","gists_url":"https://api.github.com/users/SalehAly/gists{/gist_id}","starred_url":"https://api.github.com/users/SalehAly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SalehAly/subscriptions","organizations_url":"https://api.github.com/users/SalehAly/orgs","repos_url":"https://api.github.com/users/SalehAly/repos","events_url":"https://api.github.com/users/SalehAly/events{/privacy}","received_events_url":"https://api.github.com/users/SalehAly/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/swagger-api/swagger-codegen/labels/Server:%20Java","name":"Server: Java","color":"f7c6c7"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/swagger-api/swagger-codegen/milestones/9","html_url":"https://github.com/swagger-api/swagger-codegen/milestones/v2.2.0","labels_url":"https://api.github.com/repos/swagger-api/swagger-codegen/milestones/9/labels","id":1375944,"number":9,"title":"v2.2.0","description":"","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":121,"closed_issues":86,"state":"open","created_at":"2015-10-25T23:43:33Z","updated_at":"2016-04-14T11:23:24Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2015-11-03T13:19:35Z","updated_at":"2016-04-14T11:27:35Z","closed_at":"2016-03-22T14:32:12Z","body":"Using master.. this works on http://editor.swagger.io/#/ but not when I generate the code using \r\nJAX-RS\r\n* sub class is generated correctly but the child of the sub class is not. If copying is an intended feature so I think this is a bug, otherwise how can I disable copying fields ?\r\n```\r\n  \"definitions\": {\r\n      \"Super\": {\r\n       \"properties\": {\r\n        \"super\": {\r\n          \"type\": \"string\"\r\n        }\r\n      }\r\n    },\r\n    \"Sub\": {\r\n      \"allOf\": [\r\n        {\r\n          \"$ref\": \"#/definitions/Super\"\r\n        },\r\n        {\r\n          \"properties\": {\r\n            \"sub\": {\r\n              \"type\": \"string\"\r\n            }\r\n          }\r\n        }\r\n      ]\r\n    },\r\n    \"Subsub\": {\r\n      \"allOf\": [\r\n        {\r\n          \"$ref\": \"#/definitions/Sub\"\r\n        },\r\n        {\r\n          \"properties\": {\r\n            \"subsub\": {\r\n              \"type\": \"string\"\r\n            }\r\n          }\r\n        }\r\n      ]\r\n    }\r\n  }\r\n```\r\nOutput\r\n``` \r\n public class Subsub extends Sub {\r\n     private String subsub = null; \r\n ```\r\n\r\nExpected Output\r\n\r\n```\r\n  public class Subsub extends Sub {\r\n       private String subsub = null; \r\n       private String sub = null;\r\n       private String super = null;\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/comments/209888941","html_url":"https://github.com/swagger-api/swagger-codegen/issues/1500#issuecomment-209888941","issue_url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/1500","id":209888941,"user":{"login":"SalehAly","id":15343258,"avatar_url":"https://avatars.githubusercontent.com/u/15343258?v=3","gravatar_id":"","url":"https://api.github.com/users/SalehAly","html_url":"https://github.com/SalehAly","followers_url":"https://api.github.com/users/SalehAly/followers","following_url":"https://api.github.com/users/SalehAly/following{/other_user}","gists_url":"https://api.github.com/users/SalehAly/gists{/gist_id}","starred_url":"https://api.github.com/users/SalehAly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SalehAly/subscriptions","organizations_url":"https://api.github.com/users/SalehAly/orgs","repos_url":"https://api.github.com/users/SalehAly/repos","events_url":"https://api.github.com/users/SalehAly/events{/privacy}","received_events_url":"https://api.github.com/users/SalehAly/received_events","type":"User","site_admin":false},"created_at":"2016-04-14T11:27:35Z","updated_at":"2016-04-14T11:27:35Z","body":"@wing328 did that thank you for the notice :+1: "}}