[BUG] openapi-generator-cli detects wrong version
Created by: kokorin
Bug Report Checklist
-
Have you provided a full/minimal spec to reproduce the issue? -
Have you validated the input using an OpenAPI validator (example)? -
What's the version of OpenAPI Generator used? -
Have you search for related issues/PRs? -
What's the actual output vs expected output? -
[Optional] Bounty to sponsor the fix (example)
Description
openapi-generator-cli.sh detects version as v3.3.4
not 3.3.4
openapi-generator version
3.3.4
Steps to reproduce
Download launch script and run it
Suggest a fix
if [[ $ver == v* ]]
then
ver=${ver:1}
fi```