mirror of
https://github.com/valitydev/openapi-generator.git
synced 2024-11-06 10:35:25 +00:00
8c599ebf12
* add all parent names * clean up supportsInheritance * fix npe * fix allVars, fix test cases * add more tests, remove comments * update docker m2 cache dir, add more tests, fix mandatory * update samples * regenerate js spec files * add logic to detect self reference * add isSelfReference flag to codegen property * add ruby tests for cat model * remove debugging info * fix JS allvars not have x-js-doctype * update samples * update js samples
19 lines
416 B
Bash
Executable File
19 lines
416 B
Bash
Executable File
#!/bin/bash
|
|
set -exo pipefail
|
|
|
|
cd "$(dirname ${BASH_SOURCE})"
|
|
|
|
maven_cache_repo="${HOME}/.m2/repository"
|
|
|
|
mkdir -p "${maven_cache_repo}"
|
|
|
|
docker run --rm -it \
|
|
-w /gen \
|
|
-e GEN_DIR=/gen \
|
|
-e MAVEN_CONFIG=/var/maven/.m2 \
|
|
-u "$(id -u):$(id -g)" \
|
|
-v "${PWD}:/gen" \
|
|
-v "$HOME/.m2":/root/.m2 \
|
|
--entrypoint /gen/docker-entrypoint.sh \
|
|
maven:3-jdk-8 "$@"
|