The server instance.
Optional
options: Nilable<ISetupControllersWithSwaggerStatsOptions>Custom options.
The result of the underlying server.controllers
call.
import createServer, { setupControllersWithSwaggerStats } from '@egomobile/http-server'
const app = createServer()
setupControllersWithSwaggerStats(app)
app.listen()
.catch(console.error)
Generated using TypeDoc
Sets up an
IHttpServer
instance, that returns statistics about its Swagger documentation.