1{-# LANGUAGE DataKinds #-}
3{-# LANGUAGE DerivingStrategies #-}
5{-# LANGUAGE OverloadedStrings #-}
6{-# LANGUAGE TypeOperators #-}
11import Servant.API.Flatten
14 ( "one" :> Summary "foo" :> Post '[JSON] Int
15 :<|> "two" :> Post '[JSON] Int
17 :<|> ( "three" :> Post '[JSON] Int
20type FlatApi = Flat Api
22server :: Server FlatApi
23server = pure 1 :<|> pure 2 :<|> pure 3
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list