A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/OpenAPITools/openapi-generator/issues/18032 below:

[REQ] [java] create a builder pattern for the models · Issue #18032 · OpenAPITools/openapi-generator · GitHub

Is your feature request related to a problem? Please describe.

A good builder pattern generation can solve many issues:

Lombok can be used the generate builders. But the introduction of lombok creates more issues (#17793)

Describe the solution you'd like

Add a builder inner class
Add a static builder() method
Add a toBuilder() method

Describe alternatives you've considered

Reuse the builder from javaJAXRSServerCodeGen.
Fix the lombok generation issues.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4