File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
springdoc-openapi-common/src/main/java/org/springdoc/core Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 11package org .springdoc .core ;
22
3+ import org .springframework .util .ResourceUtils ;
4+
35import static org .springframework .util .AntPathMatcher .DEFAULT_PATH_SEPARATOR ;
46
57public final class Constants {
@@ -30,7 +32,7 @@ public final class Constants {
3032 public static final String SPRINGDOC_ACTUATOR_DOC_DESCRIPTION = "Spring Boot Actuator Web API Documentation" ;
3133 public static final String DEFAULT_WEB_JARS_PREFIX_URL = "/webjars" ;
3234 public static final String WEB_JARS_PREFIX_URL = "${springdoc.webjars.prefix:" +DEFAULT_WEB_JARS_PREFIX_URL +"}" ;
33- public static final String CLASSPATH_RESOURCE_LOCATION = "classpath: /META-INF/resources" ;
35+ public static final String CLASSPATH_RESOURCE_LOCATION = ResourceUtils . CLASSPATH_URL_PREFIX + " /META-INF/resources" ;
3436 public static final String SWAGGER_UI_URL = "/swagger-ui/index.html" ;
3537 public static final String SWAGGER_UI_OAUTH_REDIRECT_URL = "/swagger-ui/oauth2-redirect.html" ;
3638 public static final String APPLICATION_OPENAPI_YAML = "application/vnd.oai.openapi" ;
You can’t perform that action at this time.
0 commit comments