swagger-api/swagger-codegen
Ver no GitHub[Java] Generate copy constructor in models
Open
#3.883 aberto em 28 de set. de 2016
Client: JavaEnhancement: Generalhelp wanted
Métricas do repositório
- Stars
- (12.701 stars)
- Métricas de merge de PR
- (Nenhuma PRs mesclada em 30d)
Description
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?