fixed swagger listing

This commit is contained in:
Tony Tam 2015-11-18 00:33:49 -06:00
parent 7f62576d88
commit 5e68bd58fc

View File

@ -109,6 +109,7 @@ public class Generator {
if (opts.getOptions() != null) { if (opts.getOptions() != null) {
codegenConfig.additionalProperties().putAll(opts.getOptions()); codegenConfig.additionalProperties().putAll(opts.getOptions());
codegenConfig.additionalProperties().put("swagger", swagger);
} }
codegenConfig.setOutputDir(outputFolder); codegenConfig.setOutputDir(outputFolder);