OptionalauthenticationOptionalbaseBase API path; e.g. the '/v1' in https://myapi.com/v1
OptionalcontrollerOptionalesmWhen enabled, the imports in the routes files will have a .js extention to support esm.
OptionaliocIOC module; e.g. './inversify/ioc' where IOC container named iocContainer is defined (https://github.com/inversify/InversifyJS)
OptionalmiddlewareMiddleware provider.
OptionalmiddlewareOverride the Middleware template
OptionalmulterOptionalnoAvoid writing the generated route file if the existing file is identical (useful to optimize watch processes); false by default
OptionalrewriteWhen enabled, the imports in the routes files will keep having a .ts extention to support the TypeScript 5.7 feature rewriteRelativeImportExtensions.
OptionalrootOptionalrouteRoutes directory; generated routes.ts (which contains the generated code wiring up routes using middleware of choice) will be dropped here
OptionalroutesRoutes filename; the filename of the generated route file ('routes.ts' by default)
Authentication Module for express, hapi and koa