Skip to content

Commit 8651975

Browse files
committed
fix: skip license if not provided
1 parent b05604d commit 8651975

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

modules/openapi-generator/src/main/resources/python/pyproject.mustache

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@ authors = [
1515
{name = "{{infoName}}{{^infoName}}OpenAPI Generator Community{{/infoName}}",email = "{{infoEmail}}{{^infoEmail}}team@openapitools.org{{/infoEmail}}"},
1616
]
1717
{{/poetry1}}
18-
license = "{{{licenseInfo}}}{{^licenseInfo}}NoLicense{{/licenseInfo}}"
18+
{{#licenseInfo}}
19+
license = "{{{licenseInfo}}}"
20+
{{/licenseInfo}}
1921
readme = "README.md"
2022
{{#poetry1}}
2123
repository = "https://{{{gitHost}}}/{{{gitUserId}}}/{{{gitRepoId}}}"

0 commit comments

Comments
 (0)