wordnik/swagger-codegen — pull request #37 by sibblegp (2013-03-07 18:45:25+00:00)
Title: Fix Object Type Detection

Prior to this patch, zero integers and False booleans were being converted to None since both evaluate the origin if statement (it not obj) to True. This can screw up APIs expecting False values or an integer, not a null.

Signed-off-by: George Sibble