Bug Report Checklist
Description
pyproject.toml file had a format change.
Previous:
licence: "MIT"
Now:
license = { text = "MIT" }
Source: https://python-poetry.org/docs/pyproject/#license
Not following this change leads to this error when trying to upload the package generated to PyPi:
ERROR InvalidDistribution: Invalid distribution metadata: unrecognized or
malformed field 'license-expression'
Also, I did not find a way to change the license used by setting a var in config file.
openapi-generator version
7.14.0
Suggest a fix
Use this new format in pyproject.mustache file.
Bug Report Checklist
Description
pyproject.toml file had a format change.
Previous:
licence: "MIT"Now:
license = { text = "MIT" }Source: https://python-poetry.org/docs/pyproject/#license
Not following this change leads to this error when trying to upload the package generated to PyPi:
Also, I did not find a way to change the license used by setting a var in config file.
openapi-generator version
7.14.0
Suggest a fix
Use this new format in
pyproject.mustachefile.