opened
aaronc
username_0
I'm getting the following error:

```
No instance for (Servant.API.ContentTypes.AllCTRender '[] ()) …
      arising from a use of ‘serveWithContext’
```

when using API types such as `Post '[] ()` as in the tutorial examples.

I'm able to solve this with:

```
instance AllCTRender '[] () where
  handleAcceptH _ _ _ = Nothing
```

but then I get this warning:

```
Warning: …
    Orphan instance: instance AllCTRender '[] ()
```

Shouldn't this instance already be defined in `Servant.API.ContentTypes`?
No instance for (AllCTRender '[] ()) …
issue
created
aaronc
username_0
Oops, I think I should have opened this in servant, not servant-swagger. Closing here.
comment
closed
aaronc
username_0
issue
created
fizruk
username_1
Issue in `servant` repo: https://github.com/haskell-servant/servant/issues/498
comment