I want to generate Java POJO class with @JsonUnwrapped by using jsonschema2pojo-maven-plugin,
I tried with below jsonSchema but its not generating @JsonUnwrapped annotation
{
"type": "object",
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"profile": {
"javaJsonUnwrapped" : true,
"$ref": "Profile"
}
"title": "Inbound"
}
{
"type": "object",
"properties": {
"data": {
"type": "array",
"items": [
{
"type": "string"
}
]
},
"title": "Profile"
}
Any help is appreciated.