Expose "headers" lens

All other lenses for `Action` are exposed. Without it, it is impossible to access the headers field.
This commit is contained in:
Matthew Pickering 2015-01-03 16:11:09 +00:00
parent 174a4253fe
commit e333ed5ff6

View file

@ -99,7 +99,7 @@ module Servant.Docs
, DocCapture(..), capSymbol, capDesc , DocCapture(..), capSymbol, capDesc
, DocQueryParam(..), ParamKind(..), paramName, paramValues, paramDesc, paramKind , DocQueryParam(..), ParamKind(..), paramName, paramValues, paramDesc, paramKind
, Response, respStatus, respBody, defResponse , Response, respStatus, respBody, defResponse
, Action, captures, params, rqbody, response, defAction , Action, captures, headers, params, rqbody, response, defAction
, single , single
, -- * Useful modules when defining your doc printers , -- * Useful modules when defining your doc printers