Skip to content

Commit 6b5fd6e

Browse files
authored
fix(python): skip license if not provided (#21471)
* fix: skip license if not provided * chore: formatting diff for JavaTimeFormatter.java, Pair.java
1 parent c010c89 commit 6b5fd6e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

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)