Skip to content

Commit 297673d

Browse files
committed
update package name
1 parent 0dbfdbb commit 297673d

8 files changed

Lines changed: 12 additions & 13 deletions

File tree

bin/configs/rust-hyper-test-duplicates.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ inputSpec: modules/openapi-generator/src/test/resources/3_0/rust/test_duplicates
55
templateDir: modules/openapi-generator/src/main/resources/rust
66
additionalProperties:
77
supportAsync: "false"
8-
packageName: petstore-hyper
8+
packageName: test-duplicates-hyper
99
modelNameMappings:
1010
Duplicatetest: another_test

bin/configs/rust-reqwest-test-duplicates.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ inputSpec: modules/openapi-generator/src/test/resources/3_0/rust/test_duplicates
55
templateDir: modules/openapi-generator/src/main/resources/rust
66
additionalProperties:
77
supportAsync: false
8-
packageName: petstore-reqwest
8+
packageName: test-duplicates-reqwest
99
enumNameMappings:
1010
delivered: shipped
1111
modelNameMappings:

samples/client/petstore/rust/hyper/test-duplicates/.openapi-generator/FILES

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
.gitignore
2-
.openapi-generator-ignore
32
.travis.yml
43
Cargo.toml
54
README.md

samples/client/petstore/rust/hyper/test-duplicates/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[package]
2-
name = "petstore-hyper"
2+
name = "test-duplicates-hyper"
33
version = "1.0.0"
44
authors = ["OpenAPI Generator team and contributors"]
55
description = "To test duplicates"

samples/client/petstore/rust/hyper/test-duplicates/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Rust API client for petstore-hyper
1+
# Rust API client for test-duplicates-hyper
22

33
To 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

samples/client/petstore/rust/hyper/test-duplicates/src/apis/configuration.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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
///

samples/client/petstore/rust/reqwest/test-duplicates/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[package]
2-
name = "petstore-reqwest"
2+
name = "test-duplicates-reqwest"
33
version = "1.0.0"
44
authors = ["OpenAPI Generator team and contributors"]
55
description = "To test duplicates"

samples/client/petstore/rust/reqwest/test-duplicates/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Rust API client for petstore-reqwest
1+
# Rust API client for test-duplicates-reqwest
22

33
To 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

0 commit comments

Comments
 (0)