#![allow(unused_imports)] use postman::PostmanClient; use postman::model::*; #[tokio::main] async fn main() { let client = PostmanClient::from_env(); let api_id = "your api id"; let response = client .create_api_version(api_id) .version(::serde_json::json!({})) .send() .await .unwrap(); println!("{:#?}", response); }