Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] [python-nextgen] Invalid "authors" field in pyproject.toml #15169

Closed
6 tasks
ditsuke opened this issue Apr 9, 2023 · 0 comments · Fixed by #15170
Closed
6 tasks

[BUG] [python-nextgen] Invalid "authors" field in pyproject.toml #15169

ditsuke opened this issue Apr 9, 2023 · 0 comments · Fixed by #15170

Comments

@ditsuke
Copy link
Contributor

ditsuke commented Apr 9, 2023

Bug Report Checklist

  • Have you provided a full/minimal spec to reproduce the issue?
  • Have you validated the input using an OpenAPI validator (example)?
  • Have you tested with the latest master to confirm the issue still exists?
  • Have you searched for related issues/PRs?
  • What's the actual output vs expected output?
  • [Optional] Sponsorship to speed up the bug fix or feature request (example)
Description

The pyproject.toml generated by the python-nextgen generator is invalid per the pyproject spec:

Invalid author string. Must be in the format: John Smith <[email protected]>
openapi-generator version

6.5.0

OpenAPI declaration file content or url

Use petstore.yaml

Generation Details

openapi-generator-cli generate -g python-nextgen -i petstore.yaml -o p

Steps to reproduce
  1. Generate client code with python-nextgen
  2. Validate pyproject.toml, either by running poetry install or through a YAML schema validator etc.
Related issues/PRs
Suggest a fix

Use format per spec.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants