Skip to content

Commit

Permalink
fix(metadata): Adding default values for contact details and license …
Browse files Browse the repository at this point in the history
…fields
  • Loading branch information
saigiridhar21 authored and spasumarthi21 committed Oct 31, 2019
1 parent 762e20e commit 17bc488
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,16 +29,16 @@ setup(
name=NAME,
version=VERSION,
description="{{appName}}",
author="{{infoName}}",
author_email="{{infoEmail}}",
author="{{#infoName}}{{infoName}}{{/infoName}}{{^infoName}}OpenAPI Generator community{{/infoName}}",
author_email="{{#infoEmail}}{{infoEmail}}{{/infoEmail}}{{^infoEmail}}team@openapitools.org{{/infoEmail}}",
url="{{packageUrl}}",
keywords=["OpenAPI", "OpenAPI-Generator", "{{{appName}}}"],
install_requires=REQUIRES,
extras_require=EXTRAS,
packages=find_packages(exclude=["test", "tests"]),
include_package_data=True,
license="{{licenseInfo}}",
long_description="""\
{{#licenseInfo}}license="{{licenseInfo}}",
{{/licenseInfo}}long_description="""\
{{appDescription}} # noqa: E501
"""
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,15 @@ setup(
name=NAME,
version=VERSION,
description="{{appName}}",
author="{{infoName}}",
author_email="{{infoEmail}}",
author="{{#infoName}}{{infoName}}{{/infoName}}{{^infoName}}OpenAPI Generator community{{/infoName}}",
author_email="{{#infoEmail}}{{infoEmail}}{{/infoEmail}}{{^infoEmail}}team@openapitools.org{{/infoEmail}}",
url="{{packageUrl}}",
keywords=["OpenAPI", "OpenAPI-Generator", "{{{appName}}}"],
install_requires=REQUIRES,
packages=find_packages(exclude=["test", "tests"]),
include_package_data=True,
license="{{licenseInfo}}",
long_description="""\
{{#licenseInfo}}license="{{licenseInfo}}",
{{/licenseInfo}}long_description="""\
{{appDescription}} # noqa: E501
"""
)
Expand Down
4 changes: 2 additions & 2 deletions samples/client/petstore/python-asyncio/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
name=NAME,
version=VERSION,
description="OpenAPI Petstore",
author="",
author_email="",
author="OpenAPI Generator community",
author_email="team@openapitools.org",
url="",
keywords=["OpenAPI", "OpenAPI-Generator", "OpenAPI Petstore"],
install_requires=REQUIRES,
Expand Down
4 changes: 3 additions & 1 deletion samples/client/petstore/python-experimental/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,15 @@
name=NAME,
version=VERSION,
description="OpenAPI Petstore",
author_email="",
author="OpenAPI Generator community",
author_email="team@openapitools.org",
url="",
keywords=["OpenAPI", "OpenAPI-Generator", "OpenAPI Petstore"],
install_requires=REQUIRES,
extras_require=EXTRAS,
packages=find_packages(exclude=["test", "tests"]),
include_package_data=True,
license="Apache-2.0",
long_description="""\
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
"""
Expand Down
4 changes: 2 additions & 2 deletions samples/client/petstore/python-tornado/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
name=NAME,
version=VERSION,
description="OpenAPI Petstore",
author="",
author_email="",
author="OpenAPI Generator community",
author_email="team@openapitools.org",
url="",
keywords=["OpenAPI", "OpenAPI-Generator", "OpenAPI Petstore"],
install_requires=REQUIRES,
Expand Down
4 changes: 2 additions & 2 deletions samples/client/petstore/python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
name=NAME,
version=VERSION,
description="OpenAPI Petstore",
author="",
author_email="",
author="OpenAPI Generator community",
author_email="team@openapitools.org",
url="",
keywords=["OpenAPI", "OpenAPI-Generator", "OpenAPI Petstore"],
install_requires=REQUIRES,
Expand Down

0 comments on commit 17bc488

Please sign in to comment.