File tree Expand file tree Collapse file tree
samples/client/petstore/rust Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,6 +5,6 @@ inputSpec: modules/openapi-generator/src/test/resources/3_0/rust/test_duplicates
55templateDir : modules/openapi-generator/src/main/resources/rust
66additionalProperties :
77 supportAsync : " false"
8- packageName : petstore -hyper
8+ packageName : test-duplicates -hyper
99modelNameMappings :
1010 Duplicatetest : another_test
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ inputSpec: modules/openapi-generator/src/test/resources/3_0/rust/test_duplicates
55templateDir : modules/openapi-generator/src/main/resources/rust
66additionalProperties :
77 supportAsync : false
8- packageName : petstore -reqwest
8+ packageName : test-duplicates -reqwest
99enumNameMappings :
1010 delivered : shipped
1111modelNameMappings :
Original file line number Diff line number Diff line change 11.gitignore
2- .openapi-generator-ignore
32.travis.yml
43Cargo.toml
54README.md
Original file line number Diff line number Diff line change 11[package ]
2- name = " petstore -hyper"
2+ name = " test-duplicates -hyper"
33version = " 1.0.0"
44authors = [" OpenAPI Generator team and contributors" ]
55description = " To test duplicates"
Original file line number Diff line number Diff line change 1- # Rust API client for petstore -hyper
1+ # Rust API client for test-duplicates -hyper
22
33To test duplicates
44
@@ -14,10 +14,10 @@ This API client was generated by the [OpenAPI Generator](https://openapi-generat
1414
1515## Installation
1616
17- Put the package under your project folder in a directory named ` petstore -hyper` and add the following to ` Cargo.toml ` under ` [dependencies] ` :
17+ Put the package under your project folder in a directory named ` test-duplicates -hyper` and add the following to ` Cargo.toml ` under ` [dependencies] ` :
1818
1919```
20- petstore- hyper = { path = "./petstore -hyper" }
20+ test-duplicates- hyper = { path = "./test-duplicates -hyper" }
2121```
2222
2323## Documentation for API Endpoints
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ impl Configuration<HttpConnector> {
4242 /// # Example
4343 ///
4444 /// ```
45- /// # use petstore_hyper ::apis::configuration::Configuration;
45+ /// # use test_duplicates_hyper ::apis::configuration::Configuration;
4646 /// let api_config = Configuration {
4747 /// basic_auth: Some(("user".into(), None)),
4848 /// ..Configuration::new()
@@ -62,7 +62,7 @@ impl<C: Connect> Configuration<C>
6262 ///
6363 /// ```
6464 /// # use core::time::Duration;
65- /// # use petstore_hyper ::apis::configuration::Configuration;
65+ /// # use test_duplicates_hyper ::apis::configuration::Configuration;
6666 /// use hyper_util::client::legacy::Client;
6767 /// use hyper_util::rt::TokioExecutor;
6868 ///
Original file line number Diff line number Diff line change 11[package ]
2- name = " petstore -reqwest"
2+ name = " test-duplicates -reqwest"
33version = " 1.0.0"
44authors = [" OpenAPI Generator team and contributors" ]
55description = " To test duplicates"
Original file line number Diff line number Diff line change 1- # Rust API client for petstore -reqwest
1+ # Rust API client for test-duplicates -reqwest
22
33To test duplicates
44
@@ -14,10 +14,10 @@ This API client was generated by the [OpenAPI Generator](https://openapi-generat
1414
1515## Installation
1616
17- Put the package under your project folder in a directory named ` petstore -reqwest` and add the following to ` Cargo.toml ` under ` [dependencies] ` :
17+ Put the package under your project folder in a directory named ` test-duplicates -reqwest` and add the following to ` Cargo.toml ` under ` [dependencies] ` :
1818
1919```
20- petstore- reqwest = { path = "./petstore -reqwest" }
20+ test-duplicates- reqwest = { path = "./test-duplicates -reqwest" }
2121```
2222
2323## Documentation for API Endpoints
You can’t perform that action at this time.
0 commit comments