Skip to content

Commit

Permalink
Merge pull request #34 from xhh/void-response
Browse files Browse the repository at this point in the history
Fix issue that "void" response is treated as model
  • Loading branch information
fehguy committed Apr 3, 2015
2 parents 9f88afb + df235ce commit 6c8c04a
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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");
}
}

Expand Down

0 comments on commit 6c8c04a

Please sign in to comment.