mirror of
https://github.com/jlengrand/openapi-generator.git
synced 2026-05-16 08:31:26 +00:00
@@ -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