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 0cf1c3c + c46f3f9 commit 823ac04Copy full SHA for 823ac04
modules/swagger-codegen/src/main/java/com/wordnik/swagger/codegen/DefaultGenerator.java
@@ -41,6 +41,8 @@ public List<File> generate() {
41
Info info = swagger.getInfo();
42
if(info.getTitle() != null)
43
config.additionalProperties().put("appName", info.getTitle());
44
+ if(info.getVersion() != null)
45
+ config.additionalProperties().put("appVersion", info.getVersion());
46
if(info.getDescription() != null)
47
config.additionalProperties().put("appDescription", info.getDescription());
48
if(info.getContact() != null) {
0 commit comments