Methods
Private generateImportControllersData
- generateImportControllersData(schema: Schema): string
-
Parameters
Returns string
Private generateRouterUseData
- generateRouterUseData(schema: Schema): string
-
Parameters
Returns string
- multiple lines data, each line having one router.use('/models', modelController);
getRouterConfig
- getRouterConfig(schema: Schema): string
-
Parameters
Returns string
Class which generates string content for router.js configuration file
Router