diff options
author | stuebinm | 2022-07-03 00:39:34 +0200 |
---|---|---|
committer | stuebinm | 2022-07-03 00:39:34 +0200 |
commit | e254e7ae61ce55cde3e4dc0bae5a94e16577f7bf (patch) | |
tree | 42bc631f4fad450103ec70833c8677b297541b18 /lib/API.hs | |
parent | b4f267ce14c753e952508e6313eec0ff9a99a879 (diff) |
remove some unused imports
Diffstat (limited to 'lib/API.hs')
-rw-r--r-- | lib/API.hs | 20 |
1 files changed, 10 insertions, 10 deletions
@@ -13,22 +13,22 @@ import Data.Swagger (Swagger) import Data.Swagger.ParamSchema (ToParamSchema (..)) import Data.Text (Text) import Data.Time (Day, UTCTime) -import GTFS -import GTFS.Realtime.FeedEntity -import GTFS.Realtime.FeedMessage (FeedMessage) -import Persist +import Data.UUID (UUID) import Servant (Application, FromHttpApiData (parseUrlPiece), - Server, err401, err404, serve, - throwError, type (:>)) -import Servant.API (Capture, FromHttpApiData, Get, JSON, - NoContent, Post, QueryParam, - ReqBody, type (:<|>) ((:<|>))) + Server, err401, err404, type (:>)) +import Servant.API (Capture, Get, JSON, NoContent, Post, + QueryParam, ReqBody, + type (:<|>) ((:<|>))) import Servant.API.WebSocket (WebSocket) import Servant.GTFS.Realtime (Proto) import Servant.Swagger (HasSwagger (..)) -import Data.UUID (UUID) +import GTFS +import GTFS.Realtime.FeedEntity +import GTFS.Realtime.FeedMessage (FeedMessage) +import Persist + -- | The server's API (as it is actually intended). type API = "stations" :> Get '[JSON] (Map StationID Station) |