Skip to content

Commit acabbe0

Browse files
authored
Update launcher script to use 4.x as examples
1 parent a24d314 commit acabbe0

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

README.md

+10-10
Original file line numberDiff line numberDiff line change
@@ -223,21 +223,21 @@ Examples:
223223
# Execute latest released openapi-generator-cli
224224
openapi-generator-cli version
225225
226-
# Execute version 3.1.0 for the current invocation, regardless of the latest released version
227-
OPENAPI_GENERATOR_VERSION=3.1.0 openapi-generator-cli version
226+
# Execute version 4.1.0 for the current invocation, regardless of the latest released version
227+
OPENAPI_GENERATOR_VERSION=4.1.0 openapi-generator-cli version
228228
229-
# Execute version 3.1.0-SNAPSHOT for the current invocation
230-
OPENAPI_GENERATOR_VERSION=3.1.0-SNAPSHOT openapi-generator-cli version
229+
# Execute version 4.1.0-SNAPSHOT for the current invocation
230+
OPENAPI_GENERATOR_VERSION=4.1.0-SNAPSHOT openapi-generator-cli version
231231
232-
# Execute version 3.0.2 for every invocation in the current shell session
233-
export OPENAPI_GENERATOR_VERSION=3.0.2
234-
openapi-generator-cli version # is 3.0.2
235-
openapi-generator-cli version # is also 3.0.2
232+
# Execute version 4.0.2 for every invocation in the current shell session
233+
export OPENAPI_GENERATOR_VERSION=4.0.2
234+
openapi-generator-cli version # is 4.0.2
235+
openapi-generator-cli version # is also 4.0.2
236236
237237
# To "install" a specific version, set the variable in .bashrc/.bash_profile
238-
echo "export OPENAPI_GENERATOR_VERSION=3.0.2" >> ~/.bashrc
238+
echo "export OPENAPI_GENERATOR_VERSION=4.0.2" >> ~/.bashrc
239239
source ~/.bashrc
240-
openapi-generator-cli version # is always 3.0.2, unless any of the above overrides are done ad hoc
240+
openapi-generator-cli version # is always 4.0.2, unless any of the above overrides are done ad hoc
241241
```
242242

243243
### [1.4 - Build Projects](#table-of-contents)

0 commit comments

Comments
 (0)