File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
modules/swagger-codegen-cli/src/main/java/io/swagger/codegen/cmd Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,7 @@ public class Meta implements Runnable {
29
29
30
30
private static final String TEMPLATE_DIR_CLASSPATH = "codegen" ;
31
31
private static final String MUSTACHE_EXTENSION = ".mustache" ;
32
+ private static final String CODEGEN_GENERATOR_VERSION = "1.0.0-SNAPSHOT" ;
32
33
33
34
private String outputFolder = "" ;
34
35
private String name = "default" ;
@@ -73,7 +74,7 @@ public void run() {
73
74
new ImmutableMap .Builder <String , Object >().put ("generatorPackage" , targetPackage )
74
75
.put ("generatorClass" , mainClass ).put ("name" , name )
75
76
.put ("fullyQualifiedGeneratorClass" , targetPackage + "." + mainClass )
76
- .put ("swaggerCodegenVersion " , swaggerVersion ).build ();
77
+ .put ("swaggerCodegenGeneratorVersion " , CODEGEN_GENERATOR_VERSION ).build ();
77
78
78
79
79
80
with (supportingFiles ).convert (processFiles (targetDir , data ));
You can’t perform that action at this time.
0 commit comments