From db8bda087b043340d3a517418421f9276a277ffb Mon Sep 17 00:00:00 2001 From: Tony Tam Date: Wed, 11 Jun 2014 06:11:31 -0700 Subject: [PATCH] made nickname optional --- .../com/wordnik/swagger/codegen/model/LegacySerializers.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/scala/com/wordnik/swagger/codegen/model/LegacySerializers.scala b/src/main/scala/com/wordnik/swagger/codegen/model/LegacySerializers.scala index d36822ee05..499920ce10 100644 --- a/src/main/scala/com/wordnik/swagger/codegen/model/LegacySerializers.scala +++ b/src/main/scala/com/wordnik/swagger/codegen/model/LegacySerializers.scala @@ -201,7 +201,7 @@ object LegacySerializers { "" }), (json \ "nickname").extractOrElse({ - !!(json, OPERATION, "nickname", "missing required field", ERROR) + !!(json, OPERATION, "nickname", "missing required field", WARNING) "" }), (json \ "position").extractOrElse(0),