You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error from plugin execution: Execution goal org.jsonschema2pojo:jsonschema2pojo-maven-plugin:0.4.0:generate failed: String index out of range: 0 -> [Help 1]
Other observations : It works for other letters.
If it is not an array type, then plain object works too, but not as an array
I tried in version 0.5.0 and also in 1.1.1 , it still doesnt work. It does not geneate with 's' at the end .
My class name is ColleagueRelationships , but it just generated it as "ColleagueRelationship.java" . It removed 's' at the end from ColleagueRelationship(s)
@tanarun1234 yes, this is the expected behaviour. If you have an array of client relationships, then a single item within that array is assumed to be a client relationship.
Problem : If I have the class name as "s", POJO is not generated for it.
I have tried using the maven plugin as well as http://www.jsonschema2pojo.org/
Both give errors while generating the pojos.
Error from plugin execution: Execution goal org.jsonschema2pojo:jsonschema2pojo-maven-plugin:0.4.0:generate failed: String index out of range: 0 -> [Help 1]
Other observations : It works for other letters.
If it is not an array type, then plain object works too, but not as an array
Sample excerpt of schema
The text was updated successfully, but these errors were encountered: