We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fd4a67c commit 19d1296Copy full SHA for 19d1296
1 file changed
modules/openapi-generator/src/main/resources/Java/libraries/native/ApiClient.mustache
@@ -297,12 +297,17 @@ public class ApiClient {
297
}
298
299
/**
300
- * Get a copy of the current {@link ObjectMapper}.
+ * Get {{^useJackson3}}a copy of {{/useJackson3}}the current {@link ObjectMapper}.
301
*
302
- * @return A copy of the current object mapper.
+ * @return {{^useJackson3}}A copy of the current{{/useJackson3}}{{#useJackson3}}The current{{/useJackson3}} object mapper.
303
*/
304
public ObjectMapper getObjectMapper() {
305
+{{^useJackson3}}
306
return mapper.copy();
307
+{{/useJackson3}}
308
+{{#useJackson3}}
309
+ return mapper;
310
311
312
313
0 commit comments