From 236baa194f187c6a7ae761dfaf9695bb0c36f0f5 Mon Sep 17 00:00:00 2001 From: Francesco Tumanischvili Date: Thu, 18 Jan 2024 10:10:33 +0100 Subject: [PATCH] Replace log error with warning in reflection with type not found --- .../src/main/java/io/swagger/v3/core/util/ReflectionUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/swagger-core/src/main/java/io/swagger/v3/core/util/ReflectionUtils.java b/modules/swagger-core/src/main/java/io/swagger/v3/core/util/ReflectionUtils.java index a1bb422ee9..307058ad53 100644 --- a/modules/swagger-core/src/main/java/io/swagger/v3/core/util/ReflectionUtils.java +++ b/modules/swagger-core/src/main/java/io/swagger/v3/core/util/ReflectionUtils.java @@ -34,7 +34,7 @@ public static Type typeFromString(String type) { try { return loadClassByName(type); } catch (Exception e) { - LOGGER.error(String.format("Failed to resolve '%s' into class", type), e); + LOGGER.warn(String.format("Failed to resolve '%s' into class", type), e); } return null; }