Re-export EmptyAPI(..) from Servant.API
This commit is contained in:
parent
d02c7668ee
commit
5a65563d9a
1 changed files with 3 additions and 0 deletions
|
@ -5,6 +5,8 @@ module Servant.API (
|
||||||
-- | Type-level combinator for expressing subrouting: @':>'@
|
-- | Type-level combinator for expressing subrouting: @':>'@
|
||||||
module Servant.API.Alternative,
|
module Servant.API.Alternative,
|
||||||
-- | Type-level combinator for alternative endpoints: @':<|>'@
|
-- | Type-level combinator for alternative endpoints: @':<|>'@
|
||||||
|
module Servant.API.Empty,
|
||||||
|
-- | Type-level combinator for an empty API: @'EmptyAPI'@
|
||||||
|
|
||||||
-- * Accessing information from the request
|
-- * Accessing information from the request
|
||||||
module Servant.API.Capture,
|
module Servant.API.Capture,
|
||||||
|
@ -66,6 +68,7 @@ import Servant.API.ContentTypes (Accept (..), FormUrlEncoded,
|
||||||
MimeRender (..), NoContent (NoContent),
|
MimeRender (..), NoContent (NoContent),
|
||||||
MimeUnrender (..), OctetStream,
|
MimeUnrender (..), OctetStream,
|
||||||
PlainText)
|
PlainText)
|
||||||
|
import Servant.API.Empty (EmptyAPI (..))
|
||||||
import Servant.API.Experimental.Auth (AuthProtect)
|
import Servant.API.Experimental.Auth (AuthProtect)
|
||||||
import Servant.API.Header (Header (..))
|
import Servant.API.Header (Header (..))
|
||||||
import Servant.API.HttpVersion (HttpVersion (..))
|
import Servant.API.HttpVersion (HttpVersion (..))
|
||||||
|
|
Loading…
Reference in a new issue