{"action":"closed","issue":{"url":"https://api.github.com/repos/swagger-api/swagger-ui/issues/1482","labels_url":"https://api.github.com/repos/swagger-api/swagger-ui/issues/1482/labels{/name}","comments_url":"https://api.github.com/repos/swagger-api/swagger-ui/issues/1482/comments","events_url":"https://api.github.com/repos/swagger-api/swagger-ui/issues/1482/events","html_url":"https://github.com/swagger-api/swagger-ui/issues/1482","id":96663392,"number":1482,"title":"Maps appearing in model as 'undefined'","user":{"login":"j-m-baker","id":13384943,"avatar_url":"https://avatars.githubusercontent.com/u/13384943?v=3","gravatar_id":"","url":"https://api.github.com/users/j-m-baker","html_url":"https://github.com/j-m-baker","followers_url":"https://api.github.com/users/j-m-baker/followers","following_url":"https://api.github.com/users/j-m-baker/following{/other_user}","gists_url":"https://api.github.com/users/j-m-baker/gists{/gist_id}","starred_url":"https://api.github.com/users/j-m-baker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/j-m-baker/subscriptions","organizations_url":"https://api.github.com/users/j-m-baker/orgs","repos_url":"https://api.github.com/users/j-m-baker/repos","events_url":"https://api.github.com/users/j-m-baker/events{/privacy}","received_events_url":"https://api.github.com/users/j-m-baker/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/swagger-api/swagger-ui/labels/Support","name":"Support","color":"bfe5bf"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2015-07-22T21:04:43Z","updated_at":"2015-08-25T19:45:40Z","closed_at":"2015-08-25T19:45:39Z","body":"Hello,\r\n\r\nI've used Wordnik to annotate some Java, ie.\r\n\r\n  @ApiModelProperty(value = \"Field name and whether to sort ascending (true) or descending (false)\")\r\n  public void setSort(Map<String, Boolean> sortOrder) {\r\n    this.sortOrder= sortOrder;\r\n  }\r\n\r\nAnd Wordnik is producing the following JSON extract for SwaggerUI:\r\n\r\n\"sort\":{\"$ref\":\"Map[string,boolean]\"}\r\n\r\nWhich looks correct. But the UI displays:\r\n\r\nsort (undefined, optional),\r\n\r\nAnd I can't get any Map to result in the UI presenting a key/value map for the user to complete. I don't to replace the Map with a custom object - is there a way to get this working with SwaggerUI? I've tried 2.1 and the current code on the master branch.\r\n\r\nThanks"}}