{"action":"opened","issue":{"url":"https://api.github.com/repos/swagger-api/swagger-ui/issues/1538","labels_url":"https://api.github.com/repos/swagger-api/swagger-ui/issues/1538/labels{/name}","comments_url":"https://api.github.com/repos/swagger-api/swagger-ui/issues/1538/comments","events_url":"https://api.github.com/repos/swagger-api/swagger-ui/issues/1538/events","html_url":"https://github.com/swagger-api/swagger-ui/issues/1538","id":101092806,"number":1538,"title":"Relative reference issue: Cannot read property 'definition' of undefined","user":{"login":"rustybailey","id":1975147,"avatar_url":"https://avatars.githubusercontent.com/u/1975147?v=3","gravatar_id":"","url":"https://api.github.com/users/rustybailey","html_url":"https://github.com/rustybailey","followers_url":"https://api.github.com/users/rustybailey/followers","following_url":"https://api.github.com/users/rustybailey/following{/other_user}","gists_url":"https://api.github.com/users/rustybailey/gists{/gist_id}","starred_url":"https://api.github.com/users/rustybailey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rustybailey/subscriptions","organizations_url":"https://api.github.com/users/rustybailey/orgs","repos_url":"https://api.github.com/users/rustybailey/repos","events_url":"https://api.github.com/users/rustybailey/events{/privacy}","received_events_url":"https://api.github.com/users/rustybailey/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-14T20:04:43Z","updated_at":"2015-08-14T20:04:43Z","closed_at":null,"body":"I've been trying to follow all of the various Github issue threads related to relative paths, I pulled the latest version of swagger-ui, and I am trying to implement the [petstore-separate](https://github.com/swagger-api/swagger-spec/tree/master/examples/v2.0/json/petstore-separate) example locally, but I keep getting this error:\r\n```\r\nUncaught TypeError: Cannot read property 'definition' of undefined\r\n\r\nschemaToHTML\t@\tspec-converter.js:585\r\n9.Model.getMockSignature\t@\toperation.js:884\r\nSwaggerUi.Views.OperationView.Backbone.View.extend.render\t@\tindex.js:24\r\nSwaggerUi.Views.ResourceView.Backbone.View.extend.addOperation\t@\tindex.js:24\r\nSwaggerUi.Views.ResourceView.Backbone.View.extend.render\t@\tindex.js:24\r\nSwaggerUi.Views.MainView.Backbone.View.extend.addResource\t@\tindex.js:24\r\nSwaggerUi.Views.MainView.Backbone.View.extend.render\t@\tindex.js:24\r\nwindow.SwaggerUi.Backbone.Router.extend.render\t@\tindex.js:24\r\nwindow.SwaggerUi.Backbone.Router.extend.initialize.options.success\t@\tindex.js:24\r\n3.SwaggerClient.buildFromSpec\t@\tresolver.js:486\r\n6.Resolver.finish\t@\tspec-converter.js:114\r\n6.Resolver.resolve\t@\tspec-converter.js:36\r\n6.Resolver.finish\t@\tspec-converter.js:118\r\n6.Resolver.resolve\t@\tspec-converter.js:36\r\n6.Resolver.finish\t@\tspec-converter.js:118\r\n6.Resolver.resolve\t@\tspec-converter.js:36\r\n6.Resolver.finish\t@\tspec-converter.js:118\r\n6.Resolver.resolve\t@\tspec-converter.js:36\r\n6.Resolver.finish\t@\tspec-converter.js:118\r\n6.Resolver.resolve\t@\tspec-converter.js:36\r\n6.Resolver.finish\t@\tspec-converter.js:118\r\n6.Resolver.resolve\t@\tspec-converter.js:36\r\n6.Resolver.finish\t@\tspec-converter.js:118\r\n6.Resolver.resolve.obj.on.response\t@\tspec-converter.js:21\r\n5.SwaggerHttp.execute.responseInterceptor\t@\tschema-markup.js:129\r\n5.SwaggerHttp.execute.obj.on.response\t@\tschema-markup.js:133\r\n(anonymous function)\t@\tschema-markup.js:327\r\n160.Request.callback\t@\tindex.js:24\r\n(anonymous function)\t@\tindex.js:24\r\n161.Emitter.emit\t@\tindex.js:24\r\n160.Request.end.xhr.onreadystatechange\t@\tindex.js:24\r\n```\r\nAny idea what I could be doing wrong?"}}