public static DocParameter copy(final DocParameter source) {
        DocParameter target = new DocParameter();
        target.setId(source.getId());
        target.setExample(source.getExample());
        target.setDescription(source.getDescription());
        target.setName(source.getName());
        target.setModule(source.getModule());
        target.setMaxLength(source.getMaxLength());
        target.setRefs(source.getRefs());
        target.setRequired(source.isRequired());
        target.setType(source.getType());
        target.setXExample(source.getXExample());
        return target;
    }
copy DocParameter from source.
@param source DocParameter
@return DocParameter
shenyu-admin/src/main/java/org/apache/shenyu/admin/model/bean/DocParameter.java