Upgrade OpenAPI Generator version for python client generator (#153)

Use v4.3.0 by default now using the OPENAPI_GENERATOR_COMMIT
variable. This can be overriden by specifying the same variable
in the SETTINGS_FILE

Also, set the `skipValidateSpec` parameter in `openapi/python.xml`
to work around
[this](https://github.com/kubernetes-client/gen/issues/145) bug.
This commit is contained in:
Nabarun Pal
2020-04-28 08:28:06 +05:30
committed by GitHub
parent 1c0911fe4c
commit 596385c0dd
2 changed files with 2 additions and 0 deletions

View File

@@ -45,6 +45,7 @@ popd > /dev/null
source "${SCRIPT_ROOT}/openapi-generator/client-generator.sh"
source "${SETTING_FILE}"
OPENAPI_GENERATOR_COMMIT="${OPENAPI_GENERATOR_COMMIT:-v4.3.0}"
CLIENT_LANGUAGE=python; \
CLEANUP_DIRS=(client/api client/apis client/models docs test); \