jsonschema2pojo to accept single string into an array of strings variable
05:48 05 Apr 2020

I am generating POJO using jsonschema2pojo plugin. This object has 100 variables where for only few variables which are of type array of String, I would like to accept simple string values as well.

Current schema for one such attribute is given below. I want to change it to accept both array of strings and string value.

"location" : {
   "type" : "string",
}
java jackson objectmapper jsonschema2pojo