postman-api 2.0.0

Postman client, generated from the OpenAPI spec.
Documentation
use postman2::PostmanClient;
use postman2::model::*;
use postman2::request::CreateCollectionFromSchemaRequired;
#[tokio::main]
async fn main() {
    let client = PostmanClient::from_env();
    let args = CreateCollectionFromSchemaRequired {
        api_version_id: "your api version id",
        relations: vec![::serde_json::json!({})],
        schema_id: "your schema id",
        name: "your name",
        api_id: "your api id",
    };
    let response = client
        .create_collection_from_schema(args)
        .workspace_id("your workspace id")
        .send()
        .await
        .unwrap();
    println!("{:#?}", response);
}