Let's create a util to print out what routes have been registered. It's not always obvious from the routes config. Also, ideally we will be able to determine which routes are actually resolving to services.
What if makeAdapter returned an object including the keys:
printRoutes would be a function returning JSON. Then the consumer of law-connect could decide what to do with that. In our Axiom standardization, we can add the actual script that dumps the configuration out to the console.
Let's create a util to print out what routes have been registered. It's not always obvious from the routes config. Also, ideally we will be able to determine which routes are actually resolving to services.
What if makeAdapter returned an object including the keys:
printRouteswould be a function returning JSON. Then the consumer of law-connect could decide what to do with that. In our Axiom standardization, we can add the actual script that dumps the configuration out to the console.