{"action":"created","issue":{"url":"https://api.github.com/repos/swagger-api/swagger-ui/issues/1203","labels_url":"https://api.github.com/repos/swagger-api/swagger-ui/issues/1203/labels{/name}","comments_url":"https://api.github.com/repos/swagger-api/swagger-ui/issues/1203/comments","events_url":"https://api.github.com/repos/swagger-api/swagger-ui/issues/1203/events","html_url":"https://github.com/swagger-api/swagger-ui/issues/1203","id":70425188,"number":1203,"title":"Missing nested model in Model Schema","user":{"login":"lnowak","id":1785411,"avatar_url":"https://avatars.githubusercontent.com/u/1785411?v=3","gravatar_id":"","url":"https://api.github.com/users/lnowak","html_url":"https://github.com/lnowak","followers_url":"https://api.github.com/users/lnowak/followers","following_url":"https://api.github.com/users/lnowak/following{/other_user}","gists_url":"https://api.github.com/users/lnowak/gists{/gist_id}","starred_url":"https://api.github.com/users/lnowak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lnowak/subscriptions","organizations_url":"https://api.github.com/users/lnowak/orgs","repos_url":"https://api.github.com/users/lnowak/repos","events_url":"https://api.github.com/users/lnowak/events{/privacy}","received_events_url":"https://api.github.com/users/lnowak/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/swagger-api/swagger-ui/labels/Bug","name":"Bug","color":"e11d21"},{"url":"https://api.github.com/repos/swagger-api/swagger-ui/labels/P1","name":"P1","color":"5319e7"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/swagger-api/swagger-ui/milestones/2","html_url":"https://github.com/swagger-api/swagger-ui/milestones/v2.1","labels_url":"https://api.github.com/repos/swagger-api/swagger-ui/milestones/2/labels","id":795282,"number":2,"title":"v2.1","description":"Final release for 2.1.0, including support for:\r\n\r\nRemote model references\r\nToggle-able XML model support\r\nAutomatically generated authentication forms based on security schemes","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":44,"closed_issues":63,"state":"open","created_at":"2014-09-19T04:07:28Z","updated_at":"2015-06-03T13:32:23Z","due_on":"2015-04-19T07:00:00Z","closed_at":null},"comments":10,"created_at":"2015-04-23T14:23:48Z","updated_at":"2015-06-03T13:43:06Z","closed_at":null,"body":"My service description looks like this:\r\n\r\n    {  \r\n      \"apiVersion\":\"1.0.0\",\r\n      \"swaggerVersion\":\"1.2\",\r\n      \"basePath\":\"http://localhost:8000/api\",\r\n      \"resourcePath\":\"/authentication\",\r\n      \"produces\":[  \r\n        \"application/json\"\r\n      ],\r\n\r\n      \"apis\":[  \r\n      {  \r\n         \"path\":\"/authentication/checkToken\",\r\n         \"operations\":[  \r\n            {  \r\n               \"method\":\"GET\",\r\n               \"summary\":\"Checks if the authentication token is valid\",\r\n               \"notes\":\"\",\r\n               \"type\":\"response\",\r\n               \"nickname\":\"checkToken\",\r\n               \"parameters\":[  \r\n                  {  \r\n                     \"name\":\"token\",\r\n                     \"required\":false,\r\n                     \"type\":\"string\",\r\n                     \"paramType\":\"query\",\r\n                     \"allowMultiple\":false\r\n                  }\r\n               ]\r\n            }\r\n         ]\r\n      }\r\n    ],\r\n    \"models\":{  \r\n      \"status\":{  \r\n         \"id\":\"status\",\r\n         \"description\":\"Status of the operation\",\r\n         \"required\":[  \r\n            \"errorCode\"\r\n         ],\r\n         \"properties\":{  \r\n            \"errorCode\":{  \r\n               \"type\":\"integer\",\r\n               \"format\":\"int32\",\r\n               \"description\":\"error code identifier\"\r\n            },\r\n            \"message\":{  \r\n               \"type\":\"string\",\r\n               \"description\":\"error code message\"\r\n            }\r\n         }\r\n      },\r\n      \"response\":{  \r\n         \"id\":\"response\",\r\n         \"description\":\"Wrapper object for status of the operation\",\r\n         \"required\":[  \r\n            \"status\"\r\n         ],\r\n         \"properties\":{  \r\n            \"status\":{  \r\n               \"$ref\":\"status\",\r\n               \"description\":\"status of the operation\"\r\n             }\r\n           }\r\n        }\r\n      }\r\n    }\r\n\r\nI have noticed two problems:\r\n1. Model is incorrect - status object is optional and status definition is missing,\r\n2. Model Schema is incorrect - nested Model status is not attached.\r\n![model](https://cloud.githubusercontent.com/assets/1785411/7299259/1713a68e-e9d5-11e4-9f22-e3bb1885e16c.jpg)\r\n![model schema](https://cloud.githubusercontent.com/assets/1785411/7299262/1d0582ba-e9d5-11e4-8ba9-3ff54ca5e695.jpg)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/swagger-api/swagger-ui/issues/comments/108420828","html_url":"https://github.com/swagger-api/swagger-ui/issues/1203#issuecomment-108420828","issue_url":"https://api.github.com/repos/swagger-api/swagger-ui/issues/1203","id":108420828,"user":{"login":"ponelat","id":8438485,"avatar_url":"https://avatars.githubusercontent.com/u/8438485?v=3","gravatar_id":"","url":"https://api.github.com/users/ponelat","html_url":"https://github.com/ponelat","followers_url":"https://api.github.com/users/ponelat/followers","following_url":"https://api.github.com/users/ponelat/following{/other_user}","gists_url":"https://api.github.com/users/ponelat/gists{/gist_id}","starred_url":"https://api.github.com/users/ponelat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ponelat/subscriptions","organizations_url":"https://api.github.com/users/ponelat/orgs","repos_url":"https://api.github.com/users/ponelat/repos","events_url":"https://api.github.com/users/ponelat/events{/privacy}","received_events_url":"https://api.github.com/users/ponelat/received_events","type":"User","site_admin":false},"created_at":"2015-06-03T13:43:06Z","updated_at":"2015-06-03T13:43:06Z","body":"hey @stevage I'm must **humbly** apologize. I've led you astray with my own erroneous notions of the `parameters`. You are using just as the spec/swagger-js/swagger-ui designed it to be used. Here is the proof to back you up... https://github.com/swagger-api/swagger-spec/blob/master/guidelines/REUSE.md#parameters.\r\n\r\nRegarding the actual issue, I haven't been able to replicate yet.\r\nIf you have this...\r\n```yaml\r\n schema:\r\n        title: Departures\r\n        type: array\r\n        items:\r\n          $ref: \"#/definitions/timetable_value\"\r\n```\r\nYou should see some dummy (although pretty plain) stuff under 'Model Schema'/"}}