forked from loafle/openapi-generator-original
@@ -41,6 +41,8 @@ public class DefaultGenerator extends AbstractGenerator implements Generator {
|
||||
Info info = swagger.getInfo();
|
||||
if(info.getTitle() != null)
|
||||
config.additionalProperties().put("appName", info.getTitle());
|
||||
if(info.getVersion() != null)
|
||||
config.additionalProperties().put("appVersion", info.getVersion());
|
||||
if(info.getDescription() != null)
|
||||
config.additionalProperties().put("appDescription", info.getDescription());
|
||||
if(info.getContact() != null) {
|
||||
|
||||
Reference in New Issue
Block a user