CAMEL-17061: camel-openapi-java-starter - Integrate with springdoc. WIP. Should be moved to a new -starter JAR instead.
diff --git a/components-starter/camel-openapi-java-starter/src/main/java/org/apache/camel/springboot/openapi/OpenApiAutoConfiguration.java b/components-starter/camel-openapi-java-starter/src/main/java/org/apache/camel/springboot/openapi/OpenApiAutoConfiguration.java
index c0f728a..e9e5998 100644
--- a/components-starter/camel-openapi-java-starter/src/main/java/org/apache/camel/springboot/openapi/OpenApiAutoConfiguration.java
+++ b/components-starter/camel-openapi-java-starter/src/main/java/org/apache/camel/springboot/openapi/OpenApiAutoConfiguration.java
@@ -97,13 +97,10 @@
                         if (created.getPaths() != null) {
                             openAPI.setPaths(created.getPaths());
                         }
-                        // TODO: servers is not correct
-//                        if (created.getServers() != null) {
-//                            openAPI.setServers(created.getServers());
-//                        }
                         if (created.getTags() != null) {
                             openAPI.setTags(created.getTags());
                         }
+                        // do not copy servers as we use the spring-boot configured setting
                     }
                 } catch (Exception e) {
                     LOG.warn("Error generating OpenAPI from Camel Rest DSL due to: " + e.getMessage() + ". This exception is ignored.", e);