mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-06-29 04:00:51 +00:00
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(
|
||||
`type` = `type`,
|
||||
`qualifiedType` = `type`,
|
||||
`qualifiedType` = (json \ "qualifiedType").extractOpt[String].getOrElse(`type`),
|
||||
required = (json \ "required") match {
|
||||
case e:JString => e.s.toBoolean
|
||||
case e:JBool => e.value
|
||||
|
Loading…
x
Reference in New Issue
Block a user