From 50a51150cd622e1c96672ac52b237e7085f1366c Mon Sep 17 00:00:00 2001 From: Paulo Suzart Date: Tue, 12 Mar 2024 13:11:24 +0100 Subject: [PATCH] fix(java-sdk): fix clone of object mapper --- .../java/template/libraries/native/ApiClient.mustache | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/config/clients/java/template/libraries/native/ApiClient.mustache b/config/clients/java/template/libraries/native/ApiClient.mustache index acd7a617..a3aac395 100644 --- a/config/clients/java/template/libraries/native/ApiClient.mustache +++ b/config/clients/java/template/libraries/native/ApiClient.mustache @@ -231,12 +231,12 @@ public class ApiClient { } /** - * Get a copy of the current {@link ObjectMapper}. + * Get current {@link ObjectMapper}. * - * @return A copy of the current object mapper. + * @return the current object mapper. */ public ObjectMapper getObjectMapper() { - return mapper.copy(); + return mapper; } /**