{"action":"created","issue":{"url":"https://api.github.com/repos/haskell-servant/servant-swagger/issues/43","repository_url":"https://api.github.com/repos/haskell-servant/servant-swagger","labels_url":"https://api.github.com/repos/haskell-servant/servant-swagger/issues/43/labels{/name}","comments_url":"https://api.github.com/repos/haskell-servant/servant-swagger/issues/43/comments","events_url":"https://api.github.com/repos/haskell-servant/servant-swagger/issues/43/events","html_url":"https://github.com/haskell-servant/servant-swagger/issues/43","id":151989246,"number":43,"title":"No instance for (AllCTRender '[] ()) …","user":{"login":"aaronc","id":48918,"avatar_url":"https://avatars.githubusercontent.com/u/48918?v=3","gravatar_id":"","url":"https://api.github.com/users/aaronc","html_url":"https://github.com/aaronc","followers_url":"https://api.github.com/users/aaronc/followers","following_url":"https://api.github.com/users/aaronc/following{/other_user}","gists_url":"https://api.github.com/users/aaronc/gists{/gist_id}","starred_url":"https://api.github.com/users/aaronc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aaronc/subscriptions","organizations_url":"https://api.github.com/users/aaronc/orgs","repos_url":"https://api.github.com/users/aaronc/repos","events_url":"https://api.github.com/users/aaronc/events{/privacy}","received_events_url":"https://api.github.com/users/aaronc/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-04-29T23:43:40Z","updated_at":"2016-05-05T12:10:21Z","closed_at":"2016-05-05T01:01:38Z","body":"I'm getting the following error:\r\n\r\n```\r\nNo instance for (Servant.API.ContentTypes.AllCTRender '[] ()) …\r\n      arising from a use of ‘serveWithContext’\r\n```\r\n\r\nwhen using API types such as `Post '[] ()` as in the tutorial examples.\r\n\r\nI'm able to solve this with:\r\n\r\n```\r\ninstance AllCTRender '[] () where\r\n  handleAcceptH _ _ _ = Nothing\r\n```\r\n\r\nbut then I get this warning:\r\n\r\n```\r\nWarning: …\r\n    Orphan instance: instance AllCTRender '[] ()\r\n```\r\n\r\nShouldn't this instance already be defined in `Servant.API.ContentTypes`?"},"comment":{"url":"https://api.github.com/repos/haskell-servant/servant-swagger/issues/comments/217137695","html_url":"https://github.com/haskell-servant/servant-swagger/issues/43#issuecomment-217137695","issue_url":"https://api.github.com/repos/haskell-servant/servant-swagger/issues/43","id":217137695,"user":{"login":"fizruk","id":686582,"avatar_url":"https://avatars.githubusercontent.com/u/686582?v=3","gravatar_id":"","url":"https://api.github.com/users/fizruk","html_url":"https://github.com/fizruk","followers_url":"https://api.github.com/users/fizruk/followers","following_url":"https://api.github.com/users/fizruk/following{/other_user}","gists_url":"https://api.github.com/users/fizruk/gists{/gist_id}","starred_url":"https://api.github.com/users/fizruk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fizruk/subscriptions","organizations_url":"https://api.github.com/users/fizruk/orgs","repos_url":"https://api.github.com/users/fizruk/repos","events_url":"https://api.github.com/users/fizruk/events{/privacy}","received_events_url":"https://api.github.com/users/fizruk/received_events","type":"User","site_admin":false},"created_at":"2016-05-05T12:10:21Z","updated_at":"2016-05-05T12:10:21Z","body":"Issue in `servant` repo: https://github.com/haskell-servant/servant/issues/498"}}