This commit is contained in:
Jonas Reichert
2022-09-26 16:54:57 +02:00
parent 08ee36dea1
commit 5665f59fd6

View File

@@ -588,7 +588,7 @@ public class Swift5ClientCodegen extends DefaultCodegen implements CodegenConfig
supportingFiles.add(new SupportingFile("OpenISO8601DateFormatter.mustache",
sourceFolder,
"OpenISO8601DateFormatter.swift"));
if (additionalProperties.containsKey(USE_CUSTOM_DATE_WITHOUT_TIME)) {
if (useCustomDateWithoutTime) {
supportingFiles.add(new SupportingFile("OpenAPIDateWithoutTime.mustache",
sourceFolder,
"OpenAPIDateWithoutTime.swift"));