@@ -115,7 +115,7 @@ type TestHeaders = '[Header "X-Example1" Int, Header "X-Example2" String]
115type Api =
115type Api =
116 Get '[JSON] Person
116 Get '[JSON] Person
117 :<|> "get" :> Get '[JSON] Person
117 :<|> "get" :> Get '[JSON] Person
118− :<|> "deleteEmpty" :> DeleteNoContent '[JSON] NoContent
118+ :<|> "deleteEmpty" :> DeleteNoContent
119 :<|> "capture" :> Capture "name" String :> Get '[JSON,FormUrlEncoded] Person
119 :<|> "capture" :> Capture "name" String :> Get '[JSON,FormUrlEncoded] Person
120 :<|> "captureAll" :> CaptureAll "names" String :> Get '[JSON] [Person]
120 :<|> "captureAll" :> CaptureAll "names" String :> Get '[JSON] [Person]
121 :<|> "body" :> ReqBody '[FormUrlEncoded,JSON] Person :> Post '[JSON] Person
121 :<|> "body" :> ReqBody '[FormUrlEncoded,JSON] Person :> Post '[JSON] Person
@@ -131,7 +131,7 @@ type Api =
131 ReqBody '[JSON] [(String, [Rational])] :>
131 ReqBody '[JSON] [(String, [Rational])] :>
132 Get '[JSON] (String, Maybe Int, Bool, [(String, [Rational])])
132 Get '[JSON] (String, Maybe Int, Bool, [(String, [Rational])])
133 :<|> "headers" :> Get '[JSON] (Headers TestHeaders Bool)
133 :<|> "headers" :> Get '[JSON] (Headers TestHeaders Bool)
134− :<|> "deleteContentType" :> DeleteNoContent '[JSON] NoContent
134+ :<|> "deleteContentType" :> DeleteNoContent
135 :<|> "redirectWithCookie" :> Raw
135 :<|> "redirectWithCookie" :> Raw
136 :<|> "empty" :> EmptyAPI
136 :<|> "empty" :> EmptyAPI