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 9e4645f + 6c2cea2 commit 1149e58Copy full SHA for 1149e58
src/main/java/io/swagger/codegen/v3/generators/nodejs/NodeJSServerCodegen.java
@@ -288,7 +288,9 @@ public void processOpts() {
288
* Template Location. This is the location which templates will be read from. The generator
289
* will use the resource stream to attempt to read the templates.
290
*/
291
- embeddedTemplateDir = templateDir = getTemplateDir();
+ if (StringUtils.isBlank(templateDir)) {
292
+ embeddedTemplateDir = templateDir = getTemplateDir();
293
+ }
294
295
if (additionalProperties.containsKey(GOOGLE_CLOUD_FUNCTIONS)) {
296
setGoogleCloudFunctions(
0 commit comments