@@ -24,7 +24,7 @@ type TestApi =
2424 -- All of the verbs
2525 :<|> "get" :> Get '[JSON] NoContent
2626 :<|> "put" :> Put '[JSON] NoContent
27− :<|> "post" :> ReqBody '[JSON] 'True :> Post '[JSON] NoContent
27+ :<|> "post" :> ReqBody '[JSON] Bool :> Post '[JSON] NoContent
2828 :<|> "delete" :> Header "ponies" String :> Delete '[JSON] NoContent
2929 :<|> "raw" :> Raw
3030 :<|> NoEndpoint
@@ -124,6 +124,6 @@ type WrongPath = "getTypo" :> Get '[JSON] NoContent
124124type WrongReturnType = "get" :> Get '[JSON] Bool
125125type WrongContentType = "get" :> Get '[OctetStream] NoContent
126126type WrongMethod = "get" :> Post '[JSON] NoContent
127−type NotALink = "hello" :> ReqBody '[JSON] 'True :> Get '[JSON] Bool
127+type NotALink = "hello" :> ReqBody '[JSON] Bool :> Get '[JSON] Bool
128128type AllGood = "get" :> Get '[JSON] NoContent
129129type NoEndpoint = "empty" :> EmptyAPI