For the below json, the jsonschema2pojo utility/plugin generates the getter-setter methods by suffixing JavaName of object in user.json with 'get'/'set' respectively.
Example: if the 'JavaName' in user.json is User, then getter/setter for property loggedInUser would take the name getUser() and setUser(User user). How can I avoid it taking $ref json's java name but instead user the property name like to generate methods like getLoggedInUser() and setLoggedInUser(User user)?
{
"type" : "object",
"properties" : {
"loggedInUser" : {
"$ref" : "user.json"
}
}
}