wordnik/swagger-codegen — pull request #70 by sibblegp (2013-07-16 21:21:32+00:00)
Title: Only check in lists and dictionaries

The "in" operator also works on strings which can cause problems with this line if the attribute and the object are named the same thing.

Signed-off-by: George Sibble