{"action":"created","issue":{"url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/1540","labels_url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/1540/labels{/name}","comments_url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/1540/comments","events_url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/1540/events","html_url":"https://github.com/swagger-api/swagger-codegen/issues/1540","id":115889507,"number":1540,"title":"'additionalProperties' breaks iOS codegen","user":{"login":"samskiter","id":1271643,"avatar_url":"https://avatars.githubusercontent.com/u/1271643?v=3","gravatar_id":"","url":"https://api.github.com/users/samskiter","html_url":"https://github.com/samskiter","followers_url":"https://api.github.com/users/samskiter/followers","following_url":"https://api.github.com/users/samskiter/following{/other_user}","gists_url":"https://api.github.com/users/samskiter/gists{/gist_id}","starred_url":"https://api.github.com/users/samskiter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samskiter/subscriptions","organizations_url":"https://api.github.com/users/samskiter/orgs","repos_url":"https://api.github.com/users/samskiter/repos","events_url":"https://api.github.com/users/samskiter/events{/privacy}","received_events_url":"https://api.github.com/users/samskiter/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-11-09T14:39:03Z","updated_at":"2015-11-09T18:29:18Z","closed_at":null,"body":"additionalProperties breaks objective-c code generation as it causes generated classes to inherit from NSMutableDictionary, rather than from JSONModel. This would be fine but the generated class doesn't implement `initWithDictionary` either so the check inside SWGApiClient to allow it to be deserialised won't work:\r\n\r\n```\r\n   // model\r\n    Class ModelClass = NSClassFromString(class);\r\n    if ([ModelClass instancesRespondToSelector:@selector(initWithDictionary:error:)]) {\r\n        return [[ModelClass alloc] initWithDictionary:data error:nil];\r\n    }\r\n```"},"comment":{"url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/comments/155147932","html_url":"https://github.com/swagger-api/swagger-codegen/issues/1540#issuecomment-155147932","issue_url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/1540","id":155147932,"user":{"login":"samskiter","id":1271643,"avatar_url":"https://avatars.githubusercontent.com/u/1271643?v=3","gravatar_id":"","url":"https://api.github.com/users/samskiter","html_url":"https://github.com/samskiter","followers_url":"https://api.github.com/users/samskiter/followers","following_url":"https://api.github.com/users/samskiter/following{/other_user}","gists_url":"https://api.github.com/users/samskiter/gists{/gist_id}","starred_url":"https://api.github.com/users/samskiter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samskiter/subscriptions","organizations_url":"https://api.github.com/users/samskiter/orgs","repos_url":"https://api.github.com/users/samskiter/repos","events_url":"https://api.github.com/users/samskiter/events{/privacy}","received_events_url":"https://api.github.com/users/samskiter/received_events","type":"User","site_admin":false},"created_at":"2015-11-09T18:29:18Z","updated_at":"2015-11-09T18:29:18Z","body":"(see also https://github.com/swagger-api/swagger-codegen/issues/453#issuecomment-154570630)"}}