Interface: ServerOptions
Defined in: service-core/src/Server.ts:31
The configuration options to use when constructing a new Server instance.
Properties
basePath?
optionalbasePath?:string
Defined in: service-core/src/Server.ts:35
The base file system path that models and routes will be searched from. Default is .
classLoader?
optionalclassLoader?:ClassLoader
Defined in: service-core/src/Server.ts:39
The ClassLoader used to scan the source for all exported classes.
config
config:
any
Defined in: service-core/src/Server.ts:33
The nconf-compatible configuration object to initialize the server with.
logger?
optionallogger?:any
Defined in: service-core/src/Server.ts:37
The logging utility to use for outputing to console/file. Default is Logger() from @rapidrest/core.
objectFactory?
optionalobjectFactory?:ObjectFactory
Defined in: service-core/src/Server.ts:41
The object factory to use for automatic dependency injection (IOC).