@@ -34,6 +34,9 @@ module Servant.API (
34 -- * Authentication
34 -- * Authentication
35 module Servant.API.BasicAuth,
35 module Servant.API.BasicAuth,
37+ -- * Endpoints description
38+ module Servant.API.Description,
37 -- * Content Types
40 -- * Content Types
38 module Servant.API.ContentTypes,
41 module Servant.API.ContentTypes,
39 -- | Serializing and deserializing types based on @Accept@ and
42 -- | Serializing and deserializing types based on @Accept@ and
@@ -68,6 +71,7 @@ import Servant.API.ContentTypes (Accept (..), FormUrlEncoded,
68 MimeRender (..), NoContent (NoContent),
71 MimeRender (..), NoContent (NoContent),
69 MimeUnrender (..), OctetStream,
72 MimeUnrender (..), OctetStream,
70 PlainText)
73 PlainText)
74+import Servant.API.Description (Description, Summary)
71import Servant.API.Empty (EmptyAPI (..))
75import Servant.API.Empty (EmptyAPI (..))
72import Servant.API.Experimental.Auth (AuthProtect)
76import Servant.API.Experimental.Auth (AuthProtect)
73import Servant.API.Header (Header (..))
77import Servant.API.Header (Header (..))