From f37e39bb4d2009238fc100c512716f96ca88792f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6nke=20Hahn?= Date: Tue, 28 Oct 2014 14:25:08 +0800 Subject: [PATCH] Tweaked comment in Servant.API.Post --- src/Servant/API/Post.hs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Servant/API/Post.hs b/src/Servant/API/Post.hs index 5bee0ccc..cd70eae8 100644 --- a/src/Servant/API/Post.hs +++ b/src/Servant/API/Post.hs @@ -16,7 +16,9 @@ import Servant.Server import qualified Network.HTTP.Client as Client --- | Endpoint for POST requests. +-- | Endpoint for POST requests. The type variable represents the type of the +-- response body (not the request body, use 'Servant.API.RQBody.RQBody' for +-- that). data Post a instance ToJSON a => HasServer (Post a) where