From d0ee287ba1435402027f203028dbdc15ca147862 Mon Sep 17 00:00:00 2001 From: aaron levin Date: Sun, 13 Sep 2015 23:36:30 +0200 Subject: [PATCH] Properly export ToAuthInfo and AuthenticationInfo --- servant-docs/src/Servant/Docs.hs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/servant-docs/src/Servant/Docs.hs b/servant-docs/src/Servant/Docs.hs index 193b4e60..8e598837 100644 --- a/servant-docs/src/Servant/Docs.hs +++ b/servant-docs/src/Servant/Docs.hs @@ -30,11 +30,13 @@ module Servant.Docs , DocOptions(..) , defaultDocOptions, maxSamples , -- * Classes you need to implement for your types +<<<<<<< HEAD ToSample(..) , toSample , noSamples , singleSample , samples + ToAuthInfo(..) , sampleByteString , sampleByteStrings , ToParam(..) @@ -44,12 +46,13 @@ module Servant.Docs Method(..) , Endpoint, path, method, defEndpoint , API, apiIntros, apiEndpoints, emptyAPI + , AuthenticationInfo(..), authIntro, authDataRequired , DocCapture(..), capSymbol, capDesc , DocQueryParam(..), ParamKind(..), paramName, paramValues, paramDesc, paramKind , DocNote(..), noteTitle, noteBody , DocIntro(..), introTitle, introBody , Response(..), respStatus, respTypes, respBody, defResponse - , Action, captures, headers, notes, params, rqtypes, rqbody, response, defAction + , Action, authInfo, captures, headers, notes, params, rqtypes, rqbody, response, defAction , single ) where