Allows users to directly embed APIs defined as records of routes into vanilla Servant API types. E.g.: ```haskell data MyRoutes mode = MyRoutes { version :: mode :- Get '[JSON] Int , … } type API = "prefix" :> NamedRoutes MyRoutes :<|> … ``` APIs can thus be recursively defined directly with Generic record types. |
||
---|---|---|
.. | ||
src/Servant | ||
test | ||
.ghci | ||
CHANGELOG.md | ||
docs.sh | ||
LICENSE | ||
servant.cabal | ||
Setup.hs | ||
update-nixpkgs.sh |