pub fn gen( openapi_specs: Vec<OpenAPI>, target: &Path, name: &str, version: &str, overwrite_cargo: bool ) -> Result<()>