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,7 +5,7 @@ inputSpec: modules/openapi-generator/src/test/resources/3_0/rust/petstore.yaml
55templateDir : modules/openapi-generator/src/main/resources/rust
66additionalProperties :
77 topLevelApiClient : true
8- packageName : petstore-reqwest
8+ packageName : petstore-reqwest-trait
99 mockall : true
1010enumNameMappings :
1111 delivered : shipped
Original file line number Diff line number Diff line change 11[workspace ]
2- members = [" hyper/*" , " reqwest/*" ]
2+ members = [" hyper/*" , " reqwest/*" , " reqwest-trait/* " ]
33resolver = " 2"
Original file line number Diff line number Diff line change 11[package ]
2- name = " petstore-reqwest"
2+ name = " petstore-reqwest-trait "
33version = " 1.0.0"
44authors = [" OpenAPI Generator team and contributors" ]
55description = " This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters."
Original file line number Diff line number Diff line change 1- # Rust API client for petstore-reqwest
1+ # Rust API client for petstore-reqwest-trait
22
33This 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-trait ` and add the following to ` Cargo.toml ` under ` [dependencies] ` :
1818
1919```
20- petstore-reqwest = { path = "./petstore-reqwest" }
20+ petstore-reqwest-trait = { path = "./petstore-reqwest-trait " }
2121```
2222
2323## Documentation for API Endpoints
You can’t perform that action at this time.
0 commit comments