mirror of
https://github.com/valitydev/openapi-generator.git
synced 2024-11-07 19:08:52 +00:00
made nickname optional
This commit is contained in:
parent
06eb52118e
commit
db8bda087b
@ -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),
|
||||
|
Loading…
Reference in New Issue
Block a user