{"action":"closed","issue":{"url":"https://api.github.com/repos/swagger-akka-http/swagger-akka-http/issues/22","repository_url":"https://api.github.com/repos/swagger-akka-http/swagger-akka-http","labels_url":"https://api.github.com/repos/swagger-akka-http/swagger-akka-http/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/swagger-akka-http/swagger-akka-http/issues/22/comments","events_url":"https://api.github.com/repos/swagger-akka-http/swagger-akka-http/issues/22/events","html_url":"https://github.com/swagger-akka-http/swagger-akka-http/issues/22","id":196935771,"number":22,"title":"response model Map","user":{"login":"mazorigal","id":15340875,"avatar_url":"https://avatars.githubusercontent.com/u/15340875?v=3","gravatar_id":"","url":"https://api.github.com/users/mazorigal","html_url":"https://github.com/mazorigal","followers_url":"https://api.github.com/users/mazorigal/followers","following_url":"https://api.github.com/users/mazorigal/following{/other_user}","gists_url":"https://api.github.com/users/mazorigal/gists{/gist_id}","starred_url":"https://api.github.com/users/mazorigal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mazorigal/subscriptions","organizations_url":"https://api.github.com/users/mazorigal/orgs","repos_url":"https://api.github.com/users/mazorigal/repos","events_url":"https://api.github.com/users/mazorigal/events{/privacy}","received_events_url":"https://api.github.com/users/mazorigal/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-12-21T13:42:24Z","updated_at":"2016-12-21T16:59:27Z","closed_at":"2016-12-21T16:59:27Z","body":"Hi,\r\n\r\nI have a response which looks like that:\r\n```case class Foo(x: String, y: Int)```\r\n\r\nresponse -> ```Map[String, Foo]```\r\nexample: ```Map(\"key1\" -> Foo(\"v1\", 1), \"key2\" -> Foo(\"v2\", 2))```\r\n\r\nI am using circe, so eventually the JSON response looks like:\r\n```{\"key1\": {\"x\": \"v1\", \"y\": 1}, \"key2\": {\"x\": \"v2\", \"y\": 2})```\r\n\r\nhow can I define the schema of the response with swagger ?\r\nIf I use responseContainer=\"Map\" I get in swagger\r\nexmple: ```{}```\r\nmodel: ```inline_model {}```\r\n\r\nThanks,"}}
{"actor":{"display_login":"pjfanning"}}