forked from loafle/openapi-generator-original
Fill out qualified type when it's provided in the json
This commit is contained in:
parent
676283875b
commit
a8a2a41315
@ -515,7 +515,7 @@ object SwaggerSerializers {
|
|||||||
}
|
}
|
||||||
ModelProperty(
|
ModelProperty(
|
||||||
`type` = `type`,
|
`type` = `type`,
|
||||||
`qualifiedType` = `type`,
|
`qualifiedType` = (json \ "qualifiedType").extractOpt[String].getOrElse(`type`),
|
||||||
required = (json \ "required") match {
|
required = (json \ "required") match {
|
||||||
case e:JString => e.s.toBoolean
|
case e:JString => e.s.toBoolean
|
||||||
case e:JBool => e.value
|
case e:JBool => e.value
|
||||||
|
Loading…
x
Reference in New Issue
Block a user