Skip to content

Commit e7d50a4

Browse files
committed
Fix sample
1 parent 7fa58cb commit e7d50a4

4 files changed

Lines changed: 5 additions & 6 deletions

File tree

bin/configs/rust-reqwest-petstore-serde-path-to-error.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ library: reqwest
44
inputSpec: modules/openapi-generator/src/test/resources/3_0/rust/petstore.yaml
55
templateDir: modules/openapi-generator/src/main/resources/rust
66
additionalProperties:
7-
packageName: petstore-reqwest
7+
packageName: petstore-reqwest-serde-path-to-error
88
useSerdePathToError: true
99
enumNameMappings:
1010
delivered: shipped

samples/client/petstore/rust/reqwest/petstore-serde-path-to-error/.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/reqwest/petstore-serde-path-to-error/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 = "petstore-reqwest-serde-path-to-error"
33
version = "1.0.0"
44
authors = ["OpenAPI Generator team and contributors"]
55
description = "This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters."

samples/client/petstore/rust/reqwest/petstore-serde-path-to-error/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 petstore-reqwest-serde-path-to-error
22

33
This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
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 `petstore-reqwest-serde-path-to-error` and add the following to `Cargo.toml` under `[dependencies]`:
1818

1919
```
20-
petstore-reqwest = { path = "./petstore-reqwest" }
20+
petstore-reqwest-serde-path-to-error = { path = "./petstore-reqwest-serde-path-to-error" }
2121
```
2222

2323
## Documentation for API Endpoints

0 commit comments

Comments
 (0)