We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7262675 + cf46dee commit 61b82caCopy full SHA for 61b82ca
src/main/java/io/swagger/codegen/v3/generators/swift/Swift5Codegen.java
@@ -244,6 +244,14 @@ public Swift5Codegen() {
244
public void processOpts() {
245
super.processOpts();
246
247
+ /*
248
+ * Template Location. This is the location which templates will be read from. The generator
249
+ * will use the resource stream to attempt to read the templates.
250
+ */
251
+ if (StringUtils.isBlank(templateDir)) {
252
+ embeddedTemplateDir = templateDir = getTemplateDir();
253
+ }
254
+
255
// Setup project name
256
if (additionalProperties.containsKey(PROJECT_NAME)) {
257
setProjectName((String) additionalProperties.get(PROJECT_NAME));
0 commit comments