pub(crate) fn api_scoped_config(cfg: &mut ServiceConfig)