forked from loafle/openapi-generator-original
add version in properties
This commit is contained in:
parent
925caa223a
commit
c46f3f9ee4
@ -40,6 +40,8 @@ public class DefaultGenerator 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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user