Open
Description
Metarpheus removes unused models from the generated code. If no routes are specified no models are generated.
Tapiro retrieves models and routes separately so that models can be imported from different sbt projects.
val models = Metarpheus.run(modelsPaths, config).models
val routes: List[TapiroRoute] = Metarpheus.run(routesPaths, config).routes.map { route =>
TapiroRoute(route, routeError(route, models))
}