From e333ed5ff607b4db61e038978a5db6f777850505 Mon Sep 17 00:00:00 2001 From: Matthew Pickering Date: Sat, 3 Jan 2015 16:11:09 +0000 Subject: [PATCH] Expose "headers" lens All other lenses for `Action` are exposed. Without it, it is impossible to access the headers field. --- src/Servant/Docs.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Servant/Docs.hs b/src/Servant/Docs.hs index 606ac9da..a88fbd77 100644 --- a/src/Servant/Docs.hs +++ b/src/Servant/Docs.hs @@ -99,7 +99,7 @@ module Servant.Docs , DocCapture(..), capSymbol, capDesc , DocQueryParam(..), ParamKind(..), paramName, paramValues, paramDesc, paramKind , Response, respStatus, respBody, defResponse - , Action, captures, params, rqbody, response, defAction + , Action, captures, headers, params, rqbody, response, defAction , single , -- * Useful modules when defining your doc printers