Generates an object containing routes for each model and controller based on provided configuration.
The models to generate routes for.
The associated controllers for each model.
The configuration for including or excluding routes.
The constructed routes object.
Generates an object containing routes for each model and controller based on provided configuration.