File tree Expand file tree Collapse file tree 4 files changed +11
-11
lines changed
springdoc-openapi-starter-common/src/main/java/org/springdoc/core/utils
springdoc-openapi-starter-webflux-ui/src/main/java/org/springdoc/webflux/ui
springdoc-openapi-starter-webmvc-ui/src/main/java/org/springdoc/webmvc/ui Expand file tree Collapse file tree 4 files changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -55,14 +55,14 @@ public final class Constants {
55
55
public static final String API_DOCS_URL = "${springdoc.api-docs.path:#{T(org.springdoc.core.utils.Constants).DEFAULT_API_DOCS_URL}}" ;
56
56
57
57
/**
58
- * The constant SWAGGGER_CONFIG_FILE .
58
+ * The constant SWAGGER_CONFIG_FILE .
59
59
*/
60
- public static final String SWAGGGER_CONFIG_FILE = "swagger-config" ;
60
+ public static final String SWAGGER_CONFIG_FILE = "swagger-config" ;
61
61
62
62
/**
63
63
* The constant SWAGGER_CONFIG_URL.
64
64
*/
65
- public static final String SWAGGER_CONFIG_URL = API_DOCS_URL + DEFAULT_PATH_SEPARATOR + SWAGGGER_CONFIG_FILE ;
65
+ public static final String SWAGGER_CONFIG_URL = API_DOCS_URL + DEFAULT_PATH_SEPARATOR + SWAGGER_CONFIG_FILE ;
66
66
67
67
/**
68
68
* The constant YAML.
Original file line number Diff line number Diff line change 45
45
46
46
import static org .springdoc .core .utils .Constants .DEFAULT_API_DOCS_ACTUATOR_URL ;
47
47
import static org .springdoc .core .utils .Constants .DEFAULT_SWAGGER_UI_ACTUATOR_PATH ;
48
- import static org .springdoc .core .utils .Constants .SWAGGGER_CONFIG_FILE ;
48
+ import static org .springdoc .core .utils .Constants .SWAGGER_CONFIG_FILE ;
49
49
import static org .springframework .util .AntPathMatcher .DEFAULT_PATH_SEPARATOR ;
50
50
51
51
/**
@@ -58,7 +58,7 @@ public class SwaggerWelcomeActuator extends SwaggerWelcomeCommon {
58
58
/**
59
59
* The constant SWAGGER_CONFIG_ACTUATOR_URL.
60
60
*/
61
- private static final String SWAGGER_CONFIG_ACTUATOR_URL = DEFAULT_PATH_SEPARATOR + SWAGGGER_CONFIG_FILE ;
61
+ private static final String SWAGGER_CONFIG_ACTUATOR_URL = DEFAULT_PATH_SEPARATOR + SWAGGER_CONFIG_FILE ;
62
62
63
63
/**
64
64
* The Web endpoint properties.
@@ -147,7 +147,7 @@ protected String buildUrlWithContextPath(String swaggerUiUrl) {
147
147
protected String buildSwaggerConfigUrl () {
148
148
return contextPath + webEndpointProperties .getBasePath ()
149
149
+ DEFAULT_PATH_SEPARATOR + DEFAULT_SWAGGER_UI_ACTUATOR_PATH
150
- + DEFAULT_PATH_SEPARATOR + SWAGGGER_CONFIG_FILE ;
150
+ + DEFAULT_PATH_SEPARATOR + SWAGGER_CONFIG_FILE ;
151
151
}
152
152
153
153
}
Original file line number Diff line number Diff line change 39
39
import org .springframework .web .util .UriComponentsBuilder ;
40
40
41
41
import static org .springdoc .core .utils .Constants .SWAGGER_UI_PATH ;
42
- import static org .springdoc .core .utils .Constants .SWAGGGER_CONFIG_FILE ;
42
+ import static org .springdoc .core .utils .Constants .SWAGGER_CONFIG_FILE ;
43
43
import static org .springframework .util .AntPathMatcher .DEFAULT_PATH_SEPARATOR ;
44
44
45
45
/**
@@ -137,7 +137,7 @@ protected String buildUrlWithContextPath(String swaggerUiUrl) {
137
137
*/
138
138
@ Override
139
139
protected String buildSwaggerConfigUrl () {
140
- return this .apiDocsUrl + DEFAULT_PATH_SEPARATOR + SWAGGGER_CONFIG_FILE ;
140
+ return this .apiDocsUrl + DEFAULT_PATH_SEPARATOR + SWAGGER_CONFIG_FILE ;
141
141
}
142
142
143
143
}
Original file line number Diff line number Diff line change 41
41
42
42
import static org .springdoc .core .utils .Constants .DEFAULT_API_DOCS_ACTUATOR_URL ;
43
43
import static org .springdoc .core .utils .Constants .DEFAULT_SWAGGER_UI_ACTUATOR_PATH ;
44
- import static org .springdoc .core .utils .Constants .SWAGGGER_CONFIG_FILE ;
44
+ import static org .springdoc .core .utils .Constants .SWAGGER_CONFIG_FILE ;
45
45
import static org .springframework .util .AntPathMatcher .DEFAULT_PATH_SEPARATOR ;
46
46
47
47
/**
50
50
@ ControllerEndpoint (id = DEFAULT_SWAGGER_UI_ACTUATOR_PATH )
51
51
public class SwaggerWelcomeActuator extends SwaggerWelcomeCommon {
52
52
53
- private static final String SWAGGER_CONFIG_ACTUATOR_URL = DEFAULT_PATH_SEPARATOR + SWAGGGER_CONFIG_FILE ;
53
+ private static final String SWAGGER_CONFIG_ACTUATOR_URL = DEFAULT_PATH_SEPARATOR + SWAGGER_CONFIG_FILE ;
54
54
55
55
/**
56
56
* The Web endpoint properties.
@@ -117,7 +117,7 @@ protected String buildUrlWithContextPath(String swaggerUiUrl) {
117
117
protected String buildSwaggerConfigUrl () {
118
118
return contextPath + webEndpointProperties .getBasePath ()
119
119
+ DEFAULT_PATH_SEPARATOR + DEFAULT_SWAGGER_UI_ACTUATOR_PATH
120
- + DEFAULT_PATH_SEPARATOR + SWAGGGER_CONFIG_FILE ;
120
+ + DEFAULT_PATH_SEPARATOR + SWAGGER_CONFIG_FILE ;
121
121
}
122
122
123
123
}
You can’t perform that action at this time.
0 commit comments