-
-
Notifications
You must be signed in to change notification settings - Fork 7.4k
Closed
Labels
Description
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
Python package name is wrong for openapi-cli v4.0.3.
openapi-generator version
4.0.3
Command line used for generation
docker run -u $(id -u) --rm -v ${PWD}:/local openapitools/openapi-generator-cli generate \
-i /local/api.json \
-g python \
-o /local/pulp_file-client \
-DpackageName=pulpcore.client.pulp_file \
-DprojectName=pulp_file-client \
-DpackageVersion=0.1.0b1 \
--skip-validate-spec \
--strict-spec=false
Steps to reproduce
Use the above command to generate a client.
With 4.0.2:
cat pulp_file-client/setup.py | grep NAME
NAME = "pulp_file-client"
name=NAME,
With 4.0.3:
cat pulp_file-client/setup.py | grep NAME
NAME = "openapi-client"
name=NAME,
Reactions are currently unavailable