joelittlejohn / jsonschema2pojo

Generate Java types from JSON or JSON Schema and annotate those types for data-binding with Jackson, Gson, etc
http://www.jsonschema2pojo.org
Apache License 2.0
6.24k stars 1.66k forks source link

Generating Duplicate Class from single Class Address and Addess_ #1192

Open sahiljindal339 opened 3 years ago

sahiljindal339 commented 3 years ago

I'm getting Duplicate POJO class for single file Example=> Address.json and Adress__1.json

if i'm using ref than it created one getter setter for $ref also

Anyone know how to fix that?

Thanks inadvance

guptavaishali28 commented 3 years ago

Such requests have been opened in the past like this issue https://github.com/joelittlejohn/jsonschema2pojo/issues/885 Is there any update on the fulfilment?

This is a very common problem and slightly inconvenient and makes the pojos look ugly too.