@@ -38,6 +38,7 @@ module Servant.API (
39 -- * Sub-APIs defined as records of routes
39 -- * Sub-APIs defined as records of routes
40 module Servant.API.NamedRoutes,
40 module Servant.API.NamedRoutes,
41+ module Servant.API.Generic,
42 -- * Streaming endpoints, distinguished by HTTP method
43 -- * Streaming endpoints, distinguished by HTTP method
43 module Servant.API.Stream,
44 module Servant.API.Stream,
@@ -102,6 +103,9 @@ import Servant.API.Fragment
102 (Fragment)
103 (Fragment)
103import Servant.API.Header
104import Servant.API.Header
104 (Header, Header')
105 (Header, Header')
106+import Servant.API.Generic
107+ (GenericMode ((:-)), AsApi, ToServant, ToServantApi, GServantProduct,
108+ GenericServant, fromServant, toServant, genericApi)
105import Servant.API.HttpVersion
109import Servant.API.HttpVersion
106 (HttpVersion (..))
110 (HttpVersion (..))
107import Servant.API.IsSecure
111import Servant.API.IsSecure