forked from loafle/openapi-generator-original
Use packageName in all of install instructions (#10480)
Thanks for fixing the issue with the non-templatized package name in the install instructions. I'm submitting this slight improvement to - instruct the user to name the folder after the packageName - set the path to that new folder name
This commit is contained in:
@@ -21,10 +21,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 `{{packageName}}` and add the following to `Cargo.toml` under `[dependencies]`:
|
||||
|
||||
```
|
||||
{{{packageName}}} = { path = "./generated" }
|
||||
{{{packageName}}} = { path = "./{{{packageName}}}" }
|
||||
```
|
||||
|
||||
## Documentation for API Endpoints
|
||||
|
||||
Reference in New Issue
Block a user