From d22e9fb1c1a9c6d643f7602c183e1a90ebfdc395 Mon Sep 17 00:00:00 2001 From: William Cheng Date: Tue, 28 Sep 2021 11:34:07 +0800 Subject: [PATCH] update rust samples --- samples/client/petstore/rust/hyper/petstore/README.md | 4 ++-- samples/client/petstore/rust/reqwest/petstore-async/README.md | 4 ++-- samples/client/petstore/rust/reqwest/petstore/README.md | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/samples/client/petstore/rust/hyper/petstore/README.md b/samples/client/petstore/rust/hyper/petstore/README.md index b7971071b7d..3e4d0401e5e 100644 --- a/samples/client/petstore/rust/hyper/petstore/README.md +++ b/samples/client/petstore/rust/hyper/petstore/README.md @@ -13,10 +13,10 @@ This API client was generated by the [OpenAPI Generator](https://openapi-generat ## Installation -Put the package under your project folder and add the following to `Cargo.toml` under `[dependencies]`: +Put the package under your project folder in a directory named `petstore-hyper` and add the following to `Cargo.toml` under `[dependencies]`: ``` -petstore-hyper = { path = "./generated" } +petstore-hyper = { path = "./petstore-hyper" } ``` ## Documentation for API Endpoints diff --git a/samples/client/petstore/rust/reqwest/petstore-async/README.md b/samples/client/petstore/rust/reqwest/petstore-async/README.md index 8b0301dbbfc..a26b68bd333 100644 --- a/samples/client/petstore/rust/reqwest/petstore-async/README.md +++ b/samples/client/petstore/rust/reqwest/petstore-async/README.md @@ -13,10 +13,10 @@ This API client was generated by the [OpenAPI Generator](https://openapi-generat ## Installation -Put the package under your project folder and add the following to `Cargo.toml` under `[dependencies]`: +Put the package under your project folder in a directory named `petstore-reqwest-async` and add the following to `Cargo.toml` under `[dependencies]`: ``` -petstore-reqwest-async = { path = "./generated" } +petstore-reqwest-async = { path = "./petstore-reqwest-async" } ``` ## Documentation for API Endpoints diff --git a/samples/client/petstore/rust/reqwest/petstore/README.md b/samples/client/petstore/rust/reqwest/petstore/README.md index 57cd46f384b..42df328ab66 100644 --- a/samples/client/petstore/rust/reqwest/petstore/README.md +++ b/samples/client/petstore/rust/reqwest/petstore/README.md @@ -13,10 +13,10 @@ This API client was generated by the [OpenAPI Generator](https://openapi-generat ## Installation -Put the package under your project folder and add the following to `Cargo.toml` under `[dependencies]`: +Put the package under your project folder in a directory named `petstore-reqwest` and add the following to `Cargo.toml` under `[dependencies]`: ``` -petstore-reqwest = { path = "./generated" } +petstore-reqwest = { path = "./petstore-reqwest" } ``` ## Documentation for API Endpoints