@@ -223,21 +223,21 @@ Examples:
223
223
# Execute latest released openapi-generator-cli
224
224
openapi-generator-cli version
225
225
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
228
228
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
231
231
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
236
236
237
237
# 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
239
239
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
241
241
```
242
242
243
243
### [ 1.4 - Build Projects] ( #table-of-contents )
0 commit comments