Page Contents

Home > @loopback/rest > RestServerResolvedOptions

RestServerResolvedOptions interface

Signature:

export interface RestServerResolvedOptions 

Properties

Property Type Description
apiExplorer ApiExplorerOptions  
basePath string Base path for API/static routes
cors cors.CorsOptions  
expressSettings {
[name: string]: any;
}
 
listenOnStart boolean Set this flag to false to not listen on connections when the REST server is started. It’s useful to mount a LoopBack REST server as a route to the facade Express application. If not set, the value is default to true.
openApiSpec OpenApiSpecOptions  
path string  
port number  
requestBodyParser RequestBodyParserOptions  
router RestRouterOptions  
sequence Constructor<SequenceHandler>