We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3da06b8 commit d765be6Copy full SHA for d765be6
springdoc-openapi-ui/src/main/java/org/springdoc/ui/SwaggerWelcome.java
@@ -5,6 +5,8 @@
5
import org.springdoc.core.SwaggerUiConfigProperties;
6
import org.springframework.beans.factory.annotation.Autowired;
7
import org.springframework.beans.factory.annotation.Value;
8
+import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
9
+import org.springframework.stereotype.Controller;
10
import org.springframework.web.bind.annotation.GetMapping;
11
import org.springframework.web.util.UriComponentsBuilder;
12
@@ -15,6 +17,7 @@
15
17
import static org.springframework.util.AntPathMatcher.DEFAULT_PATH_SEPARATOR;
16
18
import static org.springframework.web.servlet.view.UrlBasedViewResolver.REDIRECT_URL_PREFIX;
19
20
+@Controller
21
class SwaggerWelcome {
22
23
@Value(API_DOCS_URL)
0 commit comments