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