mirror of
https://github.com/valitydev/openapi-generator.git
synced 2024-11-08 11:23:58 +00:00
e2c58fad71
* Add typescript-inversify language * Add windows script Add windows script * Use rxjs instead of rx and encoding only the value of URL parameters * Remove lodash dependency Remove lodash dependency * Readd linux user detail on run-docker script * Solve import problems * Remove configuration template * Add usePromise config's variable * Align Test to check usePromise config parameter * Add possibility to receive all the httpResponse * Better ts-lint on api service * Update sample client example with new ts-lint * Update petstore sample with new ts-lint
19 lines
451 B
Bash
Executable File
19 lines
451 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 "${maven_cache_repo}:/var/maven/.m2/repository" \
|
|
--entrypoint /gen/docker-entrypoint.sh \
|
|
maven:3-jdk-7 "$@"
|