pub fn generate_service(
spec: &Spec,
import_mapping: &BTreeMap<String, String>,
response_type_suffix: &str,
) -> Result<Service>Expand description
Lower every operation in spec into the server IR, resolving cross-file
schema references through import_mapping. response_type_suffix is
appended to each operation’s response-enum name.