pub fn generate_to_file(
spec_path: &Path,
config: &Config,
output_path: &Path,
) -> Result<()>Expand description
Generate Rust from a spec file according to configuration and write it to
output_path, creating parent directories as needed.