fix: pick up only the first value for the version from the openapi.yaml
We had an instance where the generation of the openapi.yaml was setting the version to 0.3.0 (v1), causing the generation of the Python and Typescript to fail. Changed to pick up just the first value with space separator