The CLI of openapi generator changed a bit with the 5.0.0 release.
As mention here, the global property must now be provided using the --global-property flag instead of -D.
Documentation was updated as well as some tests with specific openapi-cli versions.
The parsing of the version from the jar might not be resilient (if the version number contains a - for instance) but regular expression are not available in Starlark.
The Bazel compatibility matrix will probably need an update once this commit is merged.
The CLI of openapi generator changed a bit with the 5.0.0 release. As mention here, the global property must now be provided using the
--global-property
flag instead of-D
.Documentation was updated as well as some tests with specific openapi-cli versions.
The parsing of the version from the jar might not be resilient (if the version number contains a
-
for instance) but regular expression are not available in Starlark.The
Bazel compatibility matrix
will probably need an update once this commit is merged.