forked from loafle/openapi-generator-original
[maven] Avoid "Schema unaliasing" INFO-spam on the Maven console (#6687)
This commit is contained in:
@@ -1026,7 +1026,7 @@ public class ModelUtils {
|
||||
if (schema != null && StringUtils.isNotEmpty(schema.get$ref())) {
|
||||
String simpleRef = ModelUtils.getSimpleRef(schema.get$ref());
|
||||
if (importMappings.containsKey(simpleRef)) {
|
||||
LOGGER.info("Schema unaliasing of {} omitted because aliased class is to be mapped to {}", simpleRef, importMappings.get(simpleRef));
|
||||
LOGGER.debug("Schema unaliasing of {} omitted because aliased class is to be mapped to {}", simpleRef, importMappings.get(simpleRef));
|
||||
return schema;
|
||||
}
|
||||
Schema ref = allSchemas.get(simpleRef);
|
||||
|
||||
Reference in New Issue
Block a user