use PetStoreClient;
async
Official PetStore client, generated from the OpenAPI spec.
Documentation
Contributing
Contributions are welcome!
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.
Contributions are welcome!