You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
The template for the pyproject.toml has the version hardcoded as 0.1.0, which causes conflicts if the generated library is uploaded to a package repository that doesn't allow duplicate uploads for the same version.
Describe the solution you'd like
The GeneratorData class already has the version stored, just need to store it and pass it to the call to pyproject_template.render in _Project._build_metadata
The text was updated successfully, but these errors were encountered:
emann
changed the title
Use the "version" field in the OpenAPI spec as the version of the generated library
Use the "version" field in the OpenAPI doc as the version of the generated library
Aug 5, 2020
Is your feature request related to a problem? Please describe.
The template for the
pyproject.toml
has the version hardcoded as 0.1.0, which causes conflicts if the generated library is uploaded to a package repository that doesn't allow duplicate uploads for the same version.Describe the solution you'd like
The
GeneratorData
class already has the version stored, just need to store it and pass it to the call topyproject_template.render
in_Project._build_metadata
The text was updated successfully, but these errors were encountered: