From ce554a2f6beda15e8854c307d37a1b8dc8c103d4 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 ac908c96..2564bf28 100644 --- a/servant-docs/src/Servant/Docs.hs +++ b/servant-docs/src/Servant/Docs.hs @@ -149,11 +149,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(..) @@ -163,12 +165,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