yam-servant-0.1.4

Safe HaskellNone
LanguageHaskell2010

Yam.Servant

Documentation

type API api = (Proxy api, YamContext -> Server api) Source #

type SwaggerAPI = SwaggerSchemaUI "swagger-ui" "swagger.json" Source #

toAPI :: Enter (ServerT api App) App Handler (Server api) => ServerT api App -> API api Source #