virtcontainers: clh: Upgrade to the openapi-generator v5.2.1

To improve the quality and correctness of the auto-generated code, this
patch upgrade the `openapi-generator` to its latest stable release
v5.2.1.

Fixes: #2487

Signed-off-by: Bo Chen <chen.bo@intel.com>
This commit is contained in:
Bo Chen 2021-08-23 10:01:13 -07:00
parent cfd539dc6c
commit 80fba4d637

View File

@ -13,7 +13,7 @@ YQ := $(shell command -v yq 2> /dev/null)
generate-client-code: clean-generated-code generate-client-code: clean-generated-code
docker run --rm \ docker run --rm \
--user $$(id -u):$$(id -g) \ --user $$(id -u):$$(id -g) \
-v $${PWD}:/local openapitools/openapi-generator-cli:v4.3.1 generate \ -v $${PWD}:/local openapitools/openapi-generator-cli:v5.2.1 generate \
-i /local/cloud-hypervisor.yaml \ -i /local/cloud-hypervisor.yaml \
-g go \ -g go \
-o /local/client -o /local/client