servant-swagger-ui-0.2.4.3.0.20: Servant swagger ui

Copyright(c) 2015 Futurice
LicenseMIT
MaintainerOleg Grenrus <oleg.grenrus@iki.fi>
Safe HaskellNone
LanguageHaskell2010

Servant.Swagger.UI.Internal

Description

Synopsis

Documentation

mkRecursiveEmbedded :: FilePath -> Q Exp Source #

Create a [(FilePath, ByteString)] list, recursively traversing given directory path.

staticApp $ embeddedSettings $(mkRecursiveEmbedded "static")
-- is an in-memory equivalent of
staticApp $ defaultFileServerSettings "static"