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 {
5555 public static final String API_DOCS_URL = "${springdoc.api-docs.path:#{T(org.springdoc.core.utils.Constants).DEFAULT_API_DOCS_URL}}" ;
5656
5757 /**
58- * The constant SWAGGGER_CONFIG_FILE .
58+ * The constant SWAGGER_CONFIG_FILE .
5959 */
60- public static final String SWAGGGER_CONFIG_FILE = "swagger-config" ;
60+ public static final String SWAGGER_CONFIG_FILE = "swagger-config" ;
6161
6262 /**
6363 * The constant SWAGGER_CONFIG_URL.
6464 */
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 ;
6666
6767 /**
6868 * The constant YAML.
Original file line number Diff line number Diff line change 4545
4646import static org .springdoc .core .utils .Constants .DEFAULT_API_DOCS_ACTUATOR_URL ;
4747import 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 ;
4949import static org .springframework .util .AntPathMatcher .DEFAULT_PATH_SEPARATOR ;
5050
5151/**
@@ -58,7 +58,7 @@ public class SwaggerWelcomeActuator extends SwaggerWelcomeCommon {
5858 /**
5959 * The constant SWAGGER_CONFIG_ACTUATOR_URL.
6060 */
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 ;
6262
6363 /**
6464 * The Web endpoint properties.
@@ -147,7 +147,7 @@ protected String buildUrlWithContextPath(String swaggerUiUrl) {
147147 protected String buildSwaggerConfigUrl () {
148148 return contextPath + webEndpointProperties .getBasePath ()
149149 + DEFAULT_PATH_SEPARATOR + DEFAULT_SWAGGER_UI_ACTUATOR_PATH
150- + DEFAULT_PATH_SEPARATOR + SWAGGGER_CONFIG_FILE ;
150+ + DEFAULT_PATH_SEPARATOR + SWAGGER_CONFIG_FILE ;
151151 }
152152
153153}
Original file line number Diff line number Diff line change 3939import org .springframework .web .util .UriComponentsBuilder ;
4040
4141import 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 ;
4343import static org .springframework .util .AntPathMatcher .DEFAULT_PATH_SEPARATOR ;
4444
4545/**
@@ -137,7 +137,7 @@ protected String buildUrlWithContextPath(String swaggerUiUrl) {
137137 */
138138 @ Override
139139 protected String buildSwaggerConfigUrl () {
140- return this .apiDocsUrl + DEFAULT_PATH_SEPARATOR + SWAGGGER_CONFIG_FILE ;
140+ return this .apiDocsUrl + DEFAULT_PATH_SEPARATOR + SWAGGER_CONFIG_FILE ;
141141 }
142142
143143}
Original file line number Diff line number Diff line change 4141
4242import static org .springdoc .core .utils .Constants .DEFAULT_API_DOCS_ACTUATOR_URL ;
4343import 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 ;
4545import static org .springframework .util .AntPathMatcher .DEFAULT_PATH_SEPARATOR ;
4646
4747/**
5050@ ControllerEndpoint (id = DEFAULT_SWAGGER_UI_ACTUATOR_PATH )
5151public class SwaggerWelcomeActuator extends SwaggerWelcomeCommon {
5252
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 ;
5454
5555 /**
5656 * The Web endpoint properties.
@@ -117,7 +117,7 @@ protected String buildUrlWithContextPath(String swaggerUiUrl) {
117117 protected String buildSwaggerConfigUrl () {
118118 return contextPath + webEndpointProperties .getBasePath ()
119119 + DEFAULT_PATH_SEPARATOR + DEFAULT_SWAGGER_UI_ACTUATOR_PATH
120- + DEFAULT_PATH_SEPARATOR + SWAGGGER_CONFIG_FILE ;
120+ + DEFAULT_PATH_SEPARATOR + SWAGGER_CONFIG_FILE ;
121121 }
122122
123123}
You can’t perform that action at this time.
0 commit comments