petstore 0.1.0

Official PetStore client, generated from the OpenAPI spec.
Documentation
use petstore::PetStoreClient;

#[tokio::main]
async fn main() {
    let client = PetStoreClient::new("http://localhost:5000")
        .with_middleware(httpclient::middleware::RecorderMiddleware::new());
    let item_get = client.list_pets(100)
        .await
        .unwrap();
    println!("{:#?}", item_get);
}

Official PetStore client, generated from the OpenAPI spec.

Documentation

Contributing

Contributions are welcome!