From cda34d73119d9d69c7139dbaf10c8daa65cde3c2 Mon Sep 17 00:00:00 2001 From: Tony Tam Date: Mon, 19 Sep 2016 20:29:47 -0700 Subject: [PATCH] disabled reference removal for https://github.com/swagger-api/swagger-core/issues/1929 --- src/main/java/io/swagger/inflector/utils/DefaultSpecFilter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/io/swagger/inflector/utils/DefaultSpecFilter.java b/src/main/java/io/swagger/inflector/utils/DefaultSpecFilter.java index 9985550a..87d9416b 100644 --- a/src/main/java/io/swagger/inflector/utils/DefaultSpecFilter.java +++ b/src/main/java/io/swagger/inflector/utils/DefaultSpecFilter.java @@ -39,6 +39,6 @@ public boolean isPropertyAllowed(Model model, Property property, String property @Override public boolean isRemovingUnreferencedDefinitions() { - return true; + return false; } }