swagger-api/swagger-codegen
Vedi su GitHub[Java] Generate copy constructor in models
Open
#3883 aperta il 28 set 2016
Client: JavaEnhancement: Generalhelp wanted
Metriche repository
- Star
- (12.701 star)
- Metriche merge PR
- (Nessuna PR mergiata in 30 g)
Descrizione
Description
Java models should have a way to easily create a clone or copy. Cloneable seems like a bad idea so I think we're probably left with a copy function or copy constructor.
I couldn't find anything in issues search. Has this been suggested before?