fix 修复单词拼写错误

This commit is contained in:
JackyTang 2023-04-03 18:13:38 +08:00
parent dffd5bf02a
commit bfd5a07b13

View File

@ -91,7 +91,7 @@ public class SwaggerConfig {
* 对已经生成好的 OpenApi 进行自定义操作 * 对已经生成好的 OpenApi 进行自定义操作
*/ */
@Bean @Bean
public OpenApiCustomizer openApiCustomiser() { public OpenApiCustomizer openApiCustomizer() {
String contextPath = serverProperties.getServlet().getContextPath(); String contextPath = serverProperties.getServlet().getContextPath();
String finalContextPath; String finalContextPath;
if (StringUtils.isBlank(contextPath) || "/".equals(contextPath)) { if (StringUtils.isBlank(contextPath) || "/".equals(contextPath)) {