From 9f7c8663691ee96ddef74be2a39857c217700f7c Mon Sep 17 00:00:00 2001 From: dst27 Date: Sun, 9 Apr 2023 17:28:45 +0000 Subject: [PATCH] fix(python-nextgen): Use spec format for authors in pyproject --- .../src/main/resources/python-nextgen/pyproject.mustache | 3 ++- samples/client/echo_api/python-nextgen/pyproject.toml | 3 ++- .../client/petstore/python-nextgen-aiohttp/pyproject.toml | 3 ++- samples/openapi3/client/petstore/python-nextgen/pyproject.toml | 3 ++- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/modules/openapi-generator/src/main/resources/python-nextgen/pyproject.mustache b/modules/openapi-generator/src/main/resources/python-nextgen/pyproject.mustache index 192ca5813418..2371b4975b6b 100644 --- a/modules/openapi-generator/src/main/resources/python-nextgen/pyproject.mustache +++ b/modules/openapi-generator/src/main/resources/python-nextgen/pyproject.mustache @@ -2,7 +2,7 @@ name = "{{{packageName}}}" version = "{{{packageVersion}}}" description = "{{{appName}}}" -authors = ["{{infoEmail}}{{^infoEmail}}team@openapitools.org{{/infoEmail}}"] +authors = ["{{infoName}}{{^infoName}}OpenAPI Generator Community{{/infoName}} <{{infoEmail}}{{^infoEmail}}team@openapitools.org{{/infoEmail}}>"] license = "{{{licenseInfo}}}{{^licenseInfo}}NoLicense{{/licenseInfo}}" readme = "README.md" repository = "https://github.com/{{{gitRepoId}}}/{{{gitUserId}}}" @@ -34,3 +34,4 @@ flake8 = ">=6.0.0" [build-system] requires = ["setuptools"] build-backend = "setuptools.build_meta" + diff --git a/samples/client/echo_api/python-nextgen/pyproject.toml b/samples/client/echo_api/python-nextgen/pyproject.toml index a1ad217c1905..d0b1274a98a0 100644 --- a/samples/client/echo_api/python-nextgen/pyproject.toml +++ b/samples/client/echo_api/python-nextgen/pyproject.toml @@ -2,7 +2,7 @@ name = "openapi_client" version = "1.0.0" description = "Echo Server API" -authors = ["team@openapitools.org"] +authors = ["OpenAPI Generator Community "] license = "Apache 2.0" readme = "README.md" repository = "https://github.com/GIT_REPO_ID/GIT_USER_ID" @@ -24,3 +24,4 @@ flake8 = ">=6.0.0" [build-system] requires = ["setuptools"] build-backend = "setuptools.build_meta" + diff --git a/samples/openapi3/client/petstore/python-nextgen-aiohttp/pyproject.toml b/samples/openapi3/client/petstore/python-nextgen-aiohttp/pyproject.toml index 3c1002a84450..447122c74863 100644 --- a/samples/openapi3/client/petstore/python-nextgen-aiohttp/pyproject.toml +++ b/samples/openapi3/client/petstore/python-nextgen-aiohttp/pyproject.toml @@ -2,7 +2,7 @@ name = "petstore_api" version = "1.0.0" description = "OpenAPI Petstore" -authors = ["team@openapitools.org"] +authors = ["OpenAPI Generator Community "] license = "Apache-2.0" readme = "README.md" repository = "https://github.com/GIT_REPO_ID/GIT_USER_ID" @@ -27,3 +27,4 @@ flake8 = ">=6.0.0" [build-system] requires = ["setuptools"] build-backend = "setuptools.build_meta" + diff --git a/samples/openapi3/client/petstore/python-nextgen/pyproject.toml b/samples/openapi3/client/petstore/python-nextgen/pyproject.toml index d70b472207cc..3ba7360599ac 100644 --- a/samples/openapi3/client/petstore/python-nextgen/pyproject.toml +++ b/samples/openapi3/client/petstore/python-nextgen/pyproject.toml @@ -2,7 +2,7 @@ name = "petstore_api" version = "1.0.0" description = "OpenAPI Petstore" -authors = ["team@openapitools.org"] +authors = ["OpenAPI Generator Community "] license = "Apache-2.0" readme = "README.md" repository = "https://github.com/GIT_REPO_ID/GIT_USER_ID" @@ -26,3 +26,4 @@ flake8 = ">=6.0.0" [build-system] requires = ["setuptools"] build-backend = "setuptools.build_meta" +