Skip to content

Commit

Permalink
Getting 404 when trying to access swagger-ui of a native spring-boot …
Browse files Browse the repository at this point in the history
…app. Fixes #1394.
  • Loading branch information
bnasslahsen committed Dec 19, 2021
1 parent b2f298a commit d1b8d75
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,7 @@
@Lazy(false)
@Configuration(proxyBeanMethods = false)
@ConditionalOnProperty(name = SPRINGDOC_ENABLED, matchIfMissing = true)
@ResourceHint(patterns = SpringDocHints.SPRINGDOC_CONFIG_PROPERTIES)
public class SpringDocHints implements InitializingBean {

/**
Expand All @@ -306,7 +307,7 @@ public class SpringDocHints implements InitializingBean {
/**
* The constant SPRINGDOC_CONFIG_PROPERTIES.
*/
private static final String SPRINGDOC_CONFIG_PROPERTIES = "springdoc.config.properties";
public static final String SPRINGDOC_CONFIG_PROPERTIES = "springdoc.config.properties";

/**
* The constant SPRINGDOC_SWAGGERUI_VERSION.
Expand Down

0 comments on commit d1b8d75

Please sign in to comment.