Function setupControllersWithSwaggerStats

  • Sets up an IHttpServer instance, that returns statistics about its Swagger documentation.

    Parameters

    Returns IControllersResult

    The result of the underlying server.controllers call.

    Example

    import createServer, { setupControllersWithSwaggerStats } from '@egomobile/http-server'

    const app = createServer()

    setupControllersWithSwaggerStats(app)

    app.listen()
    .catch(console.error)

Generated using TypeDoc