Skip to content

Commit

Permalink
Merge pull request #209 from swagger-api/fix-meta
Browse files Browse the repository at this point in the history
refs swagger-api/swagger-codegen#8784 - fix meta generator
  • Loading branch information
frantuma authored Oct 5, 2018
2 parents 2fe409b + 75ce7af commit ebb8806
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/main/resources/handlebars/codegen/generatorClass.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -151,4 +151,14 @@ public class {{generatorClass}} extends DefaultCodegenConfig {
public String getArgumentsLocation() {
return null;
}

@Override
protected String getTemplateDir() {
return templateDir;
}

@Override
public String getDefaultTemplateDir() {
return templateDir;
}
}
10 changes: 10 additions & 0 deletions src/main/resources/mustache/codegen/generatorClass.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -151,4 +151,14 @@ public class {{generatorClass}} extends DefaultCodegenConfig {
public String getArgumentsLocation() {
return null;
}

@Override
protected String getTemplateDir() {
return templateDir;
}

@Override
public String getDefaultTemplateDir() {
return templateDir;
}
}

0 comments on commit ebb8806

Please sign in to comment.