forked from loafle/openapi-generator-original
removed optional name field for models
This commit is contained in:
@@ -287,10 +287,7 @@ object SwaggerSerializers {
|
||||
!!(json, MODEL, "id", "missing required field", ERROR)
|
||||
""
|
||||
}),
|
||||
(json \ "name").extractOrElse({
|
||||
!!(json, MODEL, "name", "missing required field", ERROR)
|
||||
""
|
||||
}),
|
||||
(json \ "name").extractOrElse(""),
|
||||
output,
|
||||
(json \ "description").extractOpt[String]
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user