Support non-collection routes in ApiApplication

Currently, we assume all routes are either collection routes or the `/health/` route.
For cases like `join_paths('/')`