diff --git a/modules/swagger-compat-spec-parser/pom.xml b/modules/swagger-compat-spec-parser/pom.xml
index 91f44632b3..95176e3f8b 100644
--- a/modules/swagger-compat-spec-parser/pom.xml
+++ b/modules/swagger-compat-spec-parser/pom.xml
@@ -3,13 +3,13 @@
io.swagger
swagger-parser-project
- 1.0.4
+ 1.0.5
../..
4.0.0
io.swagger
swagger-compat-spec-parser
- 1.0.4
+ 1.0.5
jar
swagger-compat-spec-parser
diff --git a/modules/swagger-compat-spec-parser/src/main/java/io/swagger/parser/SwaggerCompatConverter.java b/modules/swagger-compat-spec-parser/src/main/java/io/swagger/parser/SwaggerCompatConverter.java
index bdd2a9586e..561ee75e50 100644
--- a/modules/swagger-compat-spec-parser/src/main/java/io/swagger/parser/SwaggerCompatConverter.java
+++ b/modules/swagger-compat-spec-parser/src/main/java/io/swagger/parser/SwaggerCompatConverter.java
@@ -319,10 +319,8 @@ else if(items.getRef() != null) {
else {
if(obj.getRef() != null)
output = new RefProperty(obj.getRef());
- else if(type != null)
+ else if(type != null && !type.equals("void"))
output = new RefProperty(type);
- else
- output = new RefProperty("void");
}
}
diff --git a/modules/swagger-parser/pom.xml b/modules/swagger-parser/pom.xml
index eabdbd81cb..63daccdb4a 100644
--- a/modules/swagger-parser/pom.xml
+++ b/modules/swagger-parser/pom.xml
@@ -3,13 +3,13 @@
io.swagger
swagger-parser-project
- 1.0.4
+ 1.0.5
../..
4.0.0
io.swagger
swagger-parser
- 1.0.4
+ 1.0.5
jar
swagger-parser
diff --git a/modules/swagger-parser/src/main/java/io/swagger/parser/SwaggerResolver.java b/modules/swagger-parser/src/main/java/io/swagger/parser/SwaggerResolver.java
index 56f88a829f..6725ef8cbd 100644
--- a/modules/swagger-parser/src/main/java/io/swagger/parser/SwaggerResolver.java
+++ b/modules/swagger-parser/src/main/java/io/swagger/parser/SwaggerResolver.java
@@ -20,7 +20,7 @@
public class SwaggerResolver {
Logger LOGGER = LoggerFactory.getLogger(SwaggerResolver.class);
protected Swagger swagger;
- protected Map resolutionMap = new HashMap();
+ protected Map> resolutionMap = new HashMap>();
protected ResolverOptions opts;
public SwaggerResolver(){}
@@ -57,70 +57,71 @@ public void applyResolutions(List auths) {
objectList = new ArrayList