Skip to content

Commit 5727457

Browse files
authored
docs: Add notes about action vs generator version
1 parent ccab562 commit 5727457

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
@@ -5,7 +5,7 @@ The official GitHub Action for [openapi-python-client](https://github.com/triaxt
55

66
### `openapi-python-client-version`
77

8-
The version of the openapi-python-client package to use. If unspecified the latest released version will be used.
8+
The version of the openapi-python-client package to use. If unspecified the latest released version will be used. **Version 2 of this action only supports version 0.9.0+ of the generator. Use version 1 of this action for older versions of the generator.**
99

1010
### `openapi-file`
1111

@@ -41,7 +41,7 @@ jobs:
4141
# Use the action to generate a client package
4242
# This uses all defaults (latest version, openapi.json in the current workspace, no configuration)
4343
- name: Generate Python Client
44-
uses: triaxtec/openapi-python-client-action@v1
44+
uses: triaxtec/openapi-python-client-action@v2
4545

4646
# Do something with the generated client (likely publishing it somewhere)
4747
# Here we assume that the info/title in the openapi document was "example-project"

0 commit comments

Comments
 (0)