forked from loafle/openapi-generator-original
* [docs] Updating docsite outputs to be browsable on Github as well * Fix links to other files Suffix `.md` was needed to make links works * [docs] Add clarification to differences between customization and templating docs * [docs] Collapsible side bar, scroll to top, minor enhancements
18 lines
473 B
Bash
Executable File
18 lines
473 B
Bash
Executable File
#!/bin/bash
|
|
|
|
SCRIPT="$0"
|
|
|
|
if [[ "$1" != "" ]]; then
|
|
NAME="$1"
|
|
echo "# START SCRIPT: ${SCRIPT} ${NAME}"
|
|
else
|
|
echo "Missing argument to ${SCRIPT}."
|
|
echo " Usage: ${SCRIPT} generator-name"
|
|
echo " Example: ${SCRIPT} groovy"
|
|
exit 1;
|
|
fi
|
|
|
|
executable="./modules/openapi-generator-cli/target/openapi-generator-cli.jar"
|
|
|
|
java -jar ${executable} config-help -g "${NAME}" --named-header --format markdown --markdown-header -o "docs/generators/${NAME}.md"
|