Skip to content

Commit eaeba8c

Browse files
authored
Document how to use JBang to run openapi-generator-cli (#23584)
1 parent 4456261 commit eaeba8c

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

docs/installation.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,14 @@ export JAVA_HOME=`/usr/libexec/java_home -v 1.11`
143143
export PATH=${JAVA_HOME}/bin:$PATH
144144
```
145145

146+
## JBang
147+
148+
> **Platform(s)**: Linux, macOS, Windows
149+
150+
Use [JBang](https://www.jbang.dev/) to retrieve and run the JAR file using Maven coordinates.
151+
152+
Run `jbang --java 11 org.openapitools:openapi-generator-cli:LATEST help` to show the usage.
153+
146154
## Bash Launcher Script
147155

148156
> **Platform(s)**: Linux, macOS, Windows (variable)

0 commit comments

Comments
 (0)