Fixed issue 24 (circular reference of parent model).

https://github.com/yvasiyarov/swagger/issues/24