From 791f9c7f17e3afd8325f3614acbe316bce519a19 Mon Sep 17 00:00:00 2001 From: altro3 Date: Sat, 1 Jul 2023 15:45:54 +0700 Subject: [PATCH] Fixes #1085 --- openapi/build.gradle | 2 +- .../io/micronaut/openapi/visitor/OpenApiApplicationVisitor.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/openapi/build.gradle b/openapi/build.gradle index ee5d665859..4aac8aa703 100644 --- a/openapi/build.gradle +++ b/openapi/build.gradle @@ -5,7 +5,7 @@ plugins { dependencies { compileOnly(mn.micronaut.core.processor) - implementation(mn.micronaut.http.server) + implementation(mn.micronaut.http) api(projects.micronautOpenapiAnnotations) api(mn.jackson.databind) diff --git a/openapi/src/main/java/io/micronaut/openapi/visitor/OpenApiApplicationVisitor.java b/openapi/src/main/java/io/micronaut/openapi/visitor/OpenApiApplicationVisitor.java index 68fda13a94..0159c55f22 100644 --- a/openapi/src/main/java/io/micronaut/openapi/visitor/OpenApiApplicationVisitor.java +++ b/openapi/src/main/java/io/micronaut/openapi/visitor/OpenApiApplicationVisitor.java @@ -705,7 +705,7 @@ public ClassPathResourceLoader getResourceLoader() { if (classLoader == null) { classLoader = ClassLoader.getSystemClassLoader(); } - return new DefaultClassPathResourceLoader(classLoader, null, false); + return new DefaultClassPathResourceLoader(classLoader, null, false, false); } @Override