swagger-api/swagger-codegen

[Java] Generate copy constructor in models

Open

#3,883 建立於 2016年9月28日

在 GitHub 查看
 (6 留言) (6 反應) (0 負責人)HTML (5,474 fork)batch import
Client: JavaEnhancement: Generalhelp wanted

倉庫指標

Star
 (12,701 star)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

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?

貢獻者指南