Skip to content

Commit 0428037

Browse files
dbantymicha91
authored andcommitted
docs: Remove old reference to update command (openapi-generators#1078)
Fixes openapi-generators#1075
1 parent 8e78f19 commit 0428037

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,10 @@ You can use an OpenAPI file instead of a URL like `openapi-python-client generat
4949

5050
### Using custom templates
5151

52-
This feature leverages Jinja2's [ChoiceLoader](https://jinja.palletsprojects.com/en/2.11.x/api/#jinja2.ChoiceLoader) and [FileSystemLoader](https://jinja.palletsprojects.com/en/2.11.x/api/#jinja2.FileSystemLoader). This means you do _not_ need to customize every template. Simply copy the template(s) you want to customize from [the default template directory](openapi_python_client/templates) to your own custom template directory (file names _must_ match exactly) and pass the template directory through the `custom-template-path` flag to the `generate` and `update` commands. For instance,
52+
This feature leverages Jinja2's [ChoiceLoader](https://jinja.palletsprojects.com/en/2.11.x/api/#jinja2.ChoiceLoader) and [FileSystemLoader](https://jinja.palletsprojects.com/en/2.11.x/api/#jinja2.FileSystemLoader). This means you do _not_ need to customize every template. Simply copy the template(s) you want to customize from [the default template directory](openapi_python_client/templates) to your own custom template directory (file names _must_ match exactly) and pass the template directory through the `custom-template-path` flag to the `generate` command:
5353

5454
```
55-
openapi-python-client update \
55+
openapi-python-client generate \
5656
--url https://my.api.com/openapi.json \
5757
--custom-template-path=relative/path/to/mytemplates
5858
```

0 commit comments

Comments
 (0)