jsonschema2pojo icon indicating copy to clipboard operation
jsonschema2pojo copied to clipboard

Generate anonymous enum into its parent class.

Open ghostd opened this issue 6 years ago • 1 comments
trafficstars

This avoids some potential naming conflicts with classes having the same name in the same package.

Fixes #1012

ghostd avatar Aug 16 '19 14:08 ghostd

I added @Ignore for the test multipleEnumArraysWithSameName, since the enum is now an inner class. This is also more stable across the re-generation when the new schema insert a new similar enum.

ghostd avatar Sep 10 '19 20:09 ghostd