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

Builder methods return type is missing generics typed #1593

Open jiri-meluzin opened 8 months ago

jiri-meluzin commented 8 months ago

Previously the generated classes contained methods builder with no type returned generic base builder class. When I used such return value from builder the compiler complained about type of that generic class.

see https://github.com/joelittlejohn/jsonschema2pojo/pull/1587