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