diff --git a/kubernetes-model-generator/openapi/maven-plugin/src/main/java/io/fabric8/kubernetes/schema/generator/InlineModelResolver.java b/kubernetes-model-generator/openapi/maven-plugin/src/main/java/io/fabric8/kubernetes/schema/generator/InlineModelResolver.java index 21dba7a1037..a0289769d67 100644 --- a/kubernetes-model-generator/openapi/maven-plugin/src/main/java/io/fabric8/kubernetes/schema/generator/InlineModelResolver.java +++ b/kubernetes-model-generator/openapi/maven-plugin/src/main/java/io/fabric8/kubernetes/schema/generator/InlineModelResolver.java @@ -784,7 +784,7 @@ private static Schema getSchemaFromContent(Content content) { return null; } if (content.size() > 1) { - LOGGER.warn("Multiple schemas found, returning only the first one"); + LOGGER.debug("Multiple schemas found, returning only the first one"); } MediaType mediaType = content.values().iterator().next(); return mediaType.getSchema(); diff --git a/kubernetes-model-generator/openapi/maven-plugin/src/main/java/io/fabric8/kubernetes/schema/generator/model/ModelGenerator.java b/kubernetes-model-generator/openapi/maven-plugin/src/main/java/io/fabric8/kubernetes/schema/generator/model/ModelGenerator.java index 402a5d1dbc3..61af1c31451 100644 --- a/kubernetes-model-generator/openapi/maven-plugin/src/main/java/io/fabric8/kubernetes/schema/generator/model/ModelGenerator.java +++ b/kubernetes-model-generator/openapi/maven-plugin/src/main/java/io/fabric8/kubernetes/schema/generator/model/ModelGenerator.java @@ -85,10 +85,10 @@ void generate() { .forEach(classEntry -> { final TemplateContext templateContext = new TemplateContext(settings, classEntry); if (hasOverride(templateContext)) { - settings.getLogger().info(String.format("Skipping %s since it has an override", templateContext.getClassName())); + settings.getLogger().fine(String.format("Skipping %s since it has an override", templateContext.getClassName())); return; } - settings.getLogger().info(String.format("Generating %ss", templateContext.getClassName())); + settings.getLogger().fine(String.format("Generating %ss", templateContext.getClassName())); mkPackageDirectories(templateContext); processTemplate(templateContext); final String fileContents = modelTemplate.execute(templateContext.getContext());