forked from loafle/openapi-generator-original
made nickname optional
This commit is contained in:
parent
06eb52118e
commit
db8bda087b
@ -201,7 +201,7 @@ object LegacySerializers {
|
|||||||
""
|
""
|
||||||
}),
|
}),
|
||||||
(json \ "nickname").extractOrElse({
|
(json \ "nickname").extractOrElse({
|
||||||
!!(json, OPERATION, "nickname", "missing required field", ERROR)
|
!!(json, OPERATION, "nickname", "missing required field", WARNING)
|
||||||
""
|
""
|
||||||
}),
|
}),
|
||||||
(json \ "position").extractOrElse(0),
|
(json \ "position").extractOrElse(0),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user