pub(crate) fn router_config<S>(state: S) -> ApiRouterwhere S: ConfigApi + Clone + Send + Sync + 'static,