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

fix(python-nextgen): Use spec format for authors in pyproject #15170

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "{{{packageName}}}"
version = "{{{packageVersion}}}"
description = "{{{appName}}}"
authors = ["{{infoEmail}}{{^infoEmail}}[email protected]{{/infoEmail}}"]
authors = ["{{infoName}}{{^infoName}}OpenAPI Generator Community{{/infoName}} <{{infoEmail}}{{^infoEmail}}[email protected]{{/infoEmail}}>"]
license = "{{{licenseInfo}}}{{^licenseInfo}}NoLicense{{/licenseInfo}}"
readme = "README.md"
repository = "https://github.com/{{{gitRepoId}}}/{{{gitUserId}}}"
Expand Down Expand Up @@ -34,3 +34,4 @@ flake8 = ">=6.0.0"
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"

3 changes: 2 additions & 1 deletion samples/client/echo_api/python-nextgen/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "openapi_client"
version = "1.0.0"
description = "Echo Server API"
authors = ["[email protected]"]
authors = ["OpenAPI Generator Community <[email protected]>"]
license = "Apache 2.0"
readme = "README.md"
repository = "https://github.com/GIT_REPO_ID/GIT_USER_ID"
Expand All @@ -24,3 +24,4 @@ flake8 = ">=6.0.0"
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"

Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "petstore_api"
version = "1.0.0"
description = "OpenAPI Petstore"
authors = ["[email protected]"]
authors = ["OpenAPI Generator Community <[email protected]>"]
license = "Apache-2.0"
readme = "README.md"
repository = "https://github.com/GIT_REPO_ID/GIT_USER_ID"
Expand All @@ -27,3 +27,4 @@ flake8 = ">=6.0.0"
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"

Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "petstore_api"
version = "1.0.0"
description = "OpenAPI Petstore"
authors = ["[email protected]"]
authors = ["OpenAPI Generator Community <[email protected]>"]
license = "Apache-2.0"
readme = "README.md"
repository = "https://github.com/GIT_REPO_ID/GIT_USER_ID"
Expand All @@ -26,3 +26,4 @@ flake8 = ">=6.0.0"
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"