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 1
1
package org .springdoc .core ;
2
2
3
+ import org .springframework .util .ResourceUtils ;
4
+
3
5
import static org .springframework .util .AntPathMatcher .DEFAULT_PATH_SEPARATOR ;
4
6
5
7
public final class Constants {
@@ -30,7 +32,7 @@ public final class Constants {
30
32
public static final String SPRINGDOC_ACTUATOR_DOC_DESCRIPTION = "Spring Boot Actuator Web API Documentation" ;
31
33
public static final String DEFAULT_WEB_JARS_PREFIX_URL = "/webjars" ;
32
34
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" ;
34
36
public static final String SWAGGER_UI_URL = "/swagger-ui/index.html" ;
35
37
public static final String SWAGGER_UI_OAUTH_REDIRECT_URL = "/swagger-ui/oauth2-redirect.html" ;
36
38
public static final String APPLICATION_OPENAPI_YAML = "application/vnd.oai.openapi" ;
You can’t perform that action at this time.
0 commit comments