From 5e68bd58fc584355b6e09ae0153c073aadc216f8 Mon Sep 17 00:00:00 2001 From: Tony Tam Date: Wed, 18 Nov 2015 00:33:49 -0600 Subject: [PATCH] fixed swagger listing --- .../src/main/java/io/swagger/generator/online/Generator.java | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/swagger-generator/src/main/java/io/swagger/generator/online/Generator.java b/modules/swagger-generator/src/main/java/io/swagger/generator/online/Generator.java index bc7f4a8cc6..9946831640 100644 --- a/modules/swagger-generator/src/main/java/io/swagger/generator/online/Generator.java +++ b/modules/swagger-generator/src/main/java/io/swagger/generator/online/Generator.java @@ -109,6 +109,7 @@ public class Generator { if (opts.getOptions() != null) { codegenConfig.additionalProperties().putAll(opts.getOptions()); + codegenConfig.additionalProperties().put("swagger", swagger); } codegenConfig.setOutputDir(outputFolder);